more G-Labs products

Author Topic: MySensors Controller App  (Read 6640 times)

October 20, 2014, 04:13:24 AM
Read 6640 times

haitch

  • *
  • Information
  • Newbie
  • Posts: 6
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

March 19, 2015, 01:45:01 PM
Reply #1

kevin1

  • *****
  • Information
  • Hero Member
  • Posts: 330
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.

September 09, 2015, 11:50:37 PM
Reply #2

djatie

  • **
  • Information
  • Jr. Member
  • Posts: 34
UP

Waiting for update

February 08, 2016, 08:42:26 PM
Reply #3

nolio

  • *****
  • Information
  • Global Moderator
  • Posts: 544
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

March 06, 2016, 09:14:23 PM
Reply #4

nolio

  • *****
  • Information
  • Global Moderator
  • Posts: 544
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 :
  • Motion sensor
  • Monoxide sensor
  • Distance sensor
  • RGBV Led control
  • Electric consumption (device plug on electric counter)
So probably some work to all work with HomeGenie ...
Bye

May 07, 2016, 02:39:57 PM
Reply #5

nolio

  • *****
  • Information
  • Global Moderator
  • Posts: 544
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) ...

October 12, 2016, 10:50:14 AM
Reply #6

mvdarend

  • *****
  • Information
  • Hero Member
  • Posts: 431
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.

October 12, 2016, 12:21:49 PM
Reply #7

nolio

  • *****
  • Information
  • Global Moderator
  • Posts: 544
Hi mvdarend,
I am still interested in !
MySensors is for now on another automation system in waiting time, I can integrated in HomeGenie..
Bye

October 12, 2016, 03:19:51 PM
Reply #8

jshan

  • ***
  • Information
  • Full Member
  • Posts: 71
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.

October 12, 2016, 04:53:59 PM
Reply #9

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
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!

October 12, 2016, 08:12:41 PM
Reply #10

mvdarend

  • *****
  • Information
  • Hero Member
  • Posts: 431