Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. Gas Sensor Problem

Gas Sensor Problem

Scheduled Pinned Locked Moved Troubleshooting
4 Posts 3 Posters 1.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • tianaT Offline
    tianaT Offline
    tiana
    wrote on last edited by
    #1

    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_LEVEL

    help me to sove this problem

    1 Reply Last reply
    0
    • icebobI Offline
      icebobI Offline
      icebob
      wrote on last edited by
      #2

      Use V_LEVEL

      MyMessage msgSmoke(CHILD_ID_SMOKE, V_LEVEL); 
      
      1 Reply Last reply
      0
      • tianaT Offline
        tianaT Offline
        tiana
        wrote on last edited by
        #3

        i use
        MyMessage msg(CHILD_ID_MQ, V_LEVEL);

        and is same as
        MyMessage msgSmoke(CHILD_ID_SMOKE, V_LEVEL);

        1 Reply Last reply
        0
        • M Offline
          M Offline
          Mihai
          wrote on last edited by
          #4

          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 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          24

          Online

          11.7k

          Users

          11.2k

          Topics

          113.1k

          Posts


          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • MySensors
          • OpenHardware.io
          • Categories
          • Recent
          • Tags
          • Popular