SSMSG - Single file SQL MySensors Gateway
-
This is what I've been working on, Exact purpose is still unknown, Probobly full of bugs and lacks functionallity.
https://github.com/Damme/SSMSG
start with no parameters and it will be running in background.
- Requires version 1.4b
-
@Damme said:
Exact purpose is still unknown
So leave it to us to figure out
I think you want to create some middleware to send to/receive from sensor nodes without using Vera, right?
-
@Yveaux correct, I use a small php page for controlling some lights and stuff and a cron script that reads light value and calculate if it should turn on / off lights.
the small scripts dont need any access to the usb device, only a DB connection.
-
@Damme You might be interested in my post at http://forum.mysensors.org/topic/175/open-source-home-automation-software/19
I experimented with MySensors and MQTT, a publish/subscribe messaging system.
It also acts as a database, but you don't have to actively request sensor data as you can subscribe to them from e.g. the sensor nodes or a logging task. Once subscribed you simply get the data pushed when an update arrives!
-
-
@Damme How the gateway recieve data and send to other sensor ? like "255;255;3;0;4;2\n" because if i send directly from arduino program work, but with other program connected to serial port not work.
-
@ch3b7 Uhm, Might misunderstood you. You'll have to configure the serial port correctly and then send \n , if using echo you need to use echo -e -n "1;1;1;1;1;1\n"
-
@Damme said:
1;1;1;1;1;1\n
sorry im from argentina and my english is very bad xD the problem is... i can send "255;255;3;0;4;2\n" from vb.net programm to arduino gateway in COM port and then the gateway send the same command to the sensor to change de ID
vb.net --> arduino gw ---> sensor
but i think the gw dont read the incoming data
at now im use your script and work fine