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.
3 out of 4
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
Echo request is not set
Troubleshooting • 12 Aug 2024, 15:36 • kamilb85 3 Sept 2024, 08:58 -
Ghost Child
Troubleshooting • 20 days ago • FcNanoLed 17 days ago -
JSN-SR04T-V3.0 Coax cable extended
Troubleshooting • 16 days ago • bocalexandru 14 days ago -
Raspberry Pi 5: invalid GPIO 9
Troubleshooting • 27 Aug 2024, 13:20 • igo 27 Aug 2024, 13:20 -
Forum Search not working?
Troubleshooting • 4 Oct 2023, 23:33 • Gibber 2 Sept 2024, 20:28