Topic: Home automation / socket communication / messages sent to chumby
Hy folks,
I received my chumby One one month ago and I'm now familier with the concept of this amazing linux toy.
I want to use the chumby for interacting with my home automation.
The main thing I use till now is the image view widget.
The measurements from my heating and my weather station are stored in an rrdb database. My router generates new jpg-images via 'rrdb graph' every hour . This graphs are shown on my chumby.
Here my two suggestions:
1. Send messages to the chumby
To use it interactivly, I'm looking for the possibility to send messages via http to the chumby, that are directly displayed on the screen.
My router is also controlling the telephone line and is able to call an URL with the incoming number (AVM Fritz Box). I want to show this number for, say 20s, if a call is received.
It could be done in the way:
http://chumby.local/control/message?msg=This+is+the+message&time=20
Since the message must be formatted in some graphical format, I don't know how to build it.
2. Build menus to call socket operations
My home automation is done via X10 and the Gambit USB-controllable plug. Both are connected on my router and can be controlled via sockets. The X10 uses the x10d C-program and the Gambit plug uses the sispmctl program.
I'm looking for a widget that is capable to call a socket or shell command by touching the screen.
So it would be able to define some home automation functions (perhaps via an XML control file):
Button1 -> Light on -> <some URL>
Button 2 -> Light off -> <another URL>
Button 3 -> Shuttder down -><some shell script like 'echo J1JOFF |nc router.local 1028'>
With this two functionalities the chumby can be easily used to interact with the home automation.