Gas Sensor Problem
-
Gas Sensor Problem
I use MQ2 sensor
I Copy/Paste code without eny changes
and i have problem my gateway read like dust sensot
0;0;3;0;9;read: 25-25-0 s=0,c=1,t=37,pt=2,l=2,sg=0:0
MyMQTT/25/0/V_DUST_LEVELhelp me to sove this problem
-
Use V_LEVEL
MyMessage msgSmoke(CHILD_ID_SMOKE, V_LEVEL);
-
i use
MyMessage msg(CHILD_ID_MQ, V_LEVEL);and is same as
MyMessage msgSmoke(CHILD_ID_SMOKE, V_LEVEL);
-
I was using a different approach for smoke sensor read, if you are interested please take a look here: http://forum.mysensors.org/topic/2747/home-automation-multi-sensor-nodes
There are examples includes of single sensor node and multi-sensor node that include also MQ2 sensor and example how to read the associated MQTT message into HomeAssistant.
4 out of 4
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
Cannot compile sketch with STM32F1 BluePill board
Troubleshooting • 18 days ago • tnick 15 days ago -
NODs stop responding, but ping works.
Troubleshooting • 8 Mar 2025, 19:47 • Marcin 8 Mar 2025, 19:47 -
Ghost Child
Troubleshooting • 15 Mar 2025, 07:44 • FcNanoLed 18 Mar 2025, 18:36 -
Getting system time from the controller
Troubleshooting • 27 Feb 2025, 01:39 • dpcons 3 Mar 2025, 01:00 -
JSN SR04T - Temperature Influencing Readings
Troubleshooting • 6 Sept 2019, 07:51 • Timbergetter 28 Mar 2025, 12:28