HomeGenie Forum

Automation Program Plugins and Wizard Scripting => APP Contributions => Topic started by: haitch on October 20, 2014, 04:13:24 AM

Title: MySensors Controller App
Post by: haitch on October 20, 2014, 04:13:24 AM
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 (http://mysensors.org)
Title: Re: MySensors Controller App
Post by: kevin1 on March 19, 2015, 01:45:01 PM
Any update on this?  What type of devices are you using (arduino pro minis for sensors, RPi as mysensor gateway and home genie)?  I am wanting to move HG off to a RPi because laptop fan are too loud to keep running.  MySensors.org seems to have a cool setup, cheap sensors.
Title: Re: MySensors Controller App
Post by: djatie on September 09, 2015, 11:50:37 PM
UP

Waiting for update
Title: Re: MySensors Controller App
Post by: nolio on February 08, 2016, 08:42:26 PM
Hi,
Did some of you use mysensors device recently ?
I am going to receive some devices to try this and "play".
This program seems a good way to start, but did someone improve it ?
Bye
Title: Re: MySensors Controller App
Post by: nolio on March 06, 2016, 09:14:23 PM
Hi,
So i will start with that (to confirm the hardware part, i will try first with another homeautomation manager, which i am sure it work).
My targets :
So probably some work to all work with HomeGenie ...
Bye
Title: Re: MySensors Controller App
Post by: nolio on May 07, 2016, 02:39:57 PM
First, try failed with 1.5.1 MySensors gateway (I try gateway and 2 devices with another domotic controller before).
The script is write for 1.4 gateway, so probably the problem.
But the modification of the code didn't appear easy for me (for now) ...
Title: Re: MySensors Controller App
Post by: mvdarend on October 12, 2016, 10:50:14 AM
If anyone is still interested in this, I'm making a C# version of MySensors v2.0 serial gateway.

I should have a first version ready by Friday.
Title: Re: MySensors Controller App
Post by: nolio on October 12, 2016, 12:21:49 PM
Hi mvdarend,
I am still interested in !
MySensors is for now on another automation system in waiting time, I can integrated in HomeGenie..
Bye
Title: Re: MySensors Controller App
Post by: jshan on October 12, 2016, 03:19:51 PM
Yes, very interested.  Would be awesome too if you could post a short document on hardware used and how to hook up.  I could see this becoming a big part of HG.
Title: Re: MySensors Controller App
Post by: bkenobi on October 12, 2016, 04:53:59 PM
I've been eying the MySensors forum periodically with intense interest in the RFM stuff.  I keep hoping that it will be possible to use their setup to monitor non-MySensor modules (weather stations, power meters, etc) in the same frequency that the RFM modules can send/receive on.  So far, nothing I have found useful out of the box.  If that ever happens, I'll be deploying some of my own sensors too.  At that point, having HG integration will be awesome!
Title: Re: MySensors Controller App
Post by: mvdarend on October 12, 2016, 08:12:41 PM
I've added the first test version here:
http://www.homegenie.it/forum/index.php?topic=1714.0 (http://www.homegenie.it/forum/index.php?topic=1714.0)