Question about MySensors features
-
Hi. Sorry for my English. I'm new to automation and programming... I want to get advice from a guru... I made an OpenHab-based controller on a Raspberry PI... Installed MySensors Binding... Now I want to make an mqtt gateway using a GatewayESP32MQTTClient sketch that will connect to the Raspberry via WiFi... But I want to connect the sensors by wire, without using RF... in each room I plan my own separate ESP 32 with sensors... How many ESP32 with GatewayESP32MQTTClient can I connect to Openhab via WiFi? In each room, about 15 sensors will be connected to the ESP32... Touch buttons, relays, gas sensors, fire sensors, leaks, etc. Can I combine 15 different sketches from the examples into one sketch? Thank you for your advice and have a nice day!
-
@IronFelix said in Question about MySensors features:
Can I combine 15 different sketches from the examples into one sketch?
You might be able to. I am pretty sure I would not be able to. Having all that complexity in a single sketch would be a nightmare to troubleshoot. Start small, build a simple node. Then build another one, maybe slightly more complicated, but don't try to fit everything into a single node.
-
@mfalkvidd Thank you very much! It's not that simple.
-
When I started this was my intent as well. Not exactly 15 but 6-10 for some nodes. It starts to get hard and messy really fast. I was abble to get some basic stuff combined but nothing more. But that's because I am not so good with programming.
So for me I ended up going mostly to esphome and tasmota as almost all my sensors are powered by mains and that matches my knowledge more. But that all depends on your skills mostly.
-
@IronFelix
I would not combine so many inputs and outputs in one sketch. But I think if there is enough memory for variables ; then it is possible to go for sensing (step by step) for a combination of sensors.
Similarly for buttons, actuators, use a separate hardware.
Suggested Topics
-
Fan control and feedback
Development • 3 Mar 2016, 19:46 • emc2 4 Mar 2016, 06:43 -
💬 simple MySensors MultiSensor Board
OpenHardware.io • 2 Mar 2018, 16:50 • openhardware.io 7 Dec 2018, 09:04 -
How long a cable can one have between the uC and a sensor?
Hardware • 14 Dec 2014, 16:53 • Zeph 16 Dec 2014, 02:33 -
Boundary sensing
Hardware • 18 Sept 2018, 07:08 • Maru 24 Sept 2018, 12:28 -
Temperature Sensor, 0.1 degree precison
Hardware • 26 Jan 2016, 20:14 • Martin 27 Jan 2016, 22:24 -
Network Gateway with Sensors/Actuators
My Project • 20 Jan 2015, 14:31 • lunarok 20 Jan 2015, 14:31 -
💬 Arduino Pro Mini Shield for RFM69(H)W
OpenHardware.io • 2 Nov 2016, 18:10 • openhardware.io 24 Mar 2018, 11:45