This implements the MySensors serial gateway. The program is written in Python and I had to build mono from source to get this running on my RPI.
I have only added a few device types (Temp/ Humidity/Switch) since I have not found a good way to relate the MySensors devices to HG types, widgets etc.
Working:
1. MySensosrs Serial Gateway
2. Auto address assignment via this HG app
3. Controller responds to get time request from sensors
4. Auto add new sensors via AddVirtualModule when presented to the Gateway
5. Relay/Switch controllable via web interface and HG android App via WebServiceCallReceived
The temperature units in MySensors defaults to metric and the GW expects the controller to send (M)etric or (I)mperal upon request. The sensor then handles the conversion and presents messages in (M)etric or (I)mperal. It looks like HG expects all temperature units in Metric. I am not sure if HG expects distance in centimeters or if inches can be used.
This is still a work in progress. Any improvements are welcome.
http://mysensors.org