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.
1 out of 4
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
JSN-SR04T-V3.0 Coax cable extended
Troubleshooting • 28 days ago • bocalexandru 27 days ago -
DHT22 wrong sensor type in Home Assistant
Troubleshooting • 7 days ago • Commodoreuno a day ago -
Echo request is not set
Troubleshooting • 12 Aug 2024, 15:36 • kamilb85 3 Sept 2024, 08:58 -
Getting system time from the controller
Troubleshooting • 27 Feb 2025, 01:39 • dpcons 3 Mar 2025, 01:00 -
Ghost Child
Troubleshooting • 15 Mar 2025, 07:44 • FcNanoLed 29 days ago