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
Suggested Topics
-
Arduino Celebrates 10 years (Malmö/Sweden)
Announcements • 29 Mar 2014, 17:08 • hek 29 Mar 2014, 17:08 -
Radio waking up for no reason.
Development • 4 Jul 2020, 21:09 • Sasquatch 15 Jan 2025, 08:33 -
PJON and Minicore not working
Development • 13 days ago • Trand 13 days ago -
Gateway without a radio
Development • 12 Jan 2025, 23:19 • OldSurferDude 14 Jan 2025, 22:07 -
LAN8720A - will mysensors work with this module
Development • 13 Nov 2024, 17:06 • Marcin 15 Nov 2024, 10:59 -
Adding Listen only device to my system.
Development • 26 Feb 2025, 00:39 • dpcons 26 Feb 2025, 06:26