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. Hardware
  3. Air Quality Sensor

Air Quality Sensor

Scheduled Pinned Locked Moved Hardware
calibrationaqigas sensorhchoair quality
270 Posts 46 Posters 380.6k Views 35 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.
  • E Offline
    E Offline
    epierre
    Hero Member
    wrote on last edited by
    #35

    @hek about initial calibration, how would I do check if there is a value in the eeprom or not, and if not run an initial calibration ?

    z-wave - Vera -> Domoticz
    rfx - Domoticz <- MyDomoAtHome <- Imperihome
    mysensors -> mysensors-gw -> Domoticz

    H 1 Reply Last reply
    0
    • E epierre

      @hek about initial calibration, how would I do check if there is a value in the eeprom or not, and if not run an initial calibration ?

      H Offline
      H Offline
      hek
      Admin
      wrote on last edited by
      #36

      @epierre

      Unwritten eeprom has the value 0xff.

      1 Reply Last reply
      0
      • O Offline
        O Offline
        Omemanti
        wrote on last edited by
        #37

        Hi,
        First of al I'm a novice in all of this. I can read some code but the whole arduino thing is new to me.

        I tried to get the MQ135 working on my uno with tearing apart the : https://github.com/empierre/arduino/blob/master/1.3/MQ135dgi.ino.
        I tried to pull out the bits and parts to get a accurate reading on my serial monitor.

        It sometimes read 1 or 2, but most of the time it is 0.
        Can it have something to do with it being mounted on its own PCB? (I ordered the one suggested in the store..)
        Can someone help me out?

        Groetjes Mark

        E 1 Reply Last reply
        0
        • O Omemanti

          Hi,
          First of al I'm a novice in all of this. I can read some code but the whole arduino thing is new to me.

          I tried to get the MQ135 working on my uno with tearing apart the : https://github.com/empierre/arduino/blob/master/1.3/MQ135dgi.ino.
          I tried to pull out the bits and parts to get a accurate reading on my serial monitor.

          It sometimes read 1 or 2, but most of the time it is 0.
          Can it have something to do with it being mounted on its own PCB? (I ordered the one suggested in the store..)
          Can someone help me out?

          Groetjes Mark

          E Offline
          E Offline
          epierre
          Hero Member
          wrote on last edited by epierre
          #38

          @Omemanti hello have you plugged it on the right pins, this is an analogic sensor to be plugged on A0, with 5V and GND pins. Don't wire the digital one, useless...

          My minimal value is 53.. so not 0 or 1 hwich looks more like the digital output ;-)

          z-wave - Vera -> Domoticz
          rfx - Domoticz <- MyDomoAtHome <- Imperihome
          mysensors -> mysensors-gw -> Domoticz

          1 Reply Last reply
          0
          • O Offline
            O Offline
            Omemanti
            wrote on last edited by
            #39

            should be alright right?

            mq135ex.jpg

            E 1 Reply Last reply
            0
            • O Omemanti

              should be alright right?

              mq135ex.jpg

              E Offline
              E Offline
              epierre
              Hero Member
              wrote on last edited by
              #40

              @Omemanti cabling is correct

              z-wave - Vera -> Domoticz
              rfx - Domoticz <- MyDomoAtHome <- Imperihome
              mysensors -> mysensors-gw -> Domoticz

              1 Reply Last reply
              0
              • K Offline
                K Offline
                korttoma
                Hero Member
                wrote on last edited by korttoma
                #41

                Hi,
                Where can I find AirQuality1.xml?? (or all files related to this device if there are others then the .xml)

                01 09/03/14 13:46:53.685 ctrl_chr[31;1mDevice_LuaUPnP::LoadDeviceDoc can't load /etc/cmh-lu//D_AirQuality1.xmlctrl_chr[0m <0x2acc9000>
                02 09/03/14 13:46:53.686 ctrl_chr[33;1mJobHandler_LuaUPnP::m_sMissingFile_set /etc/cmh-lu//D_AirQuality1.xmlctrl_chr[0m <0x2acc9000>

                Seems like if this file is missing it brakes the whole MySensors plugin.
                All devices related to MySensors plugin are blank and nothing seems to update.
                Deleting the device that use AirQuality.xml will make the rest work again.

                Help!!

                • Tomas
                H 1 Reply Last reply
                0
                • K korttoma

                  Hi,
                  Where can I find AirQuality1.xml?? (or all files related to this device if there are others then the .xml)

                  01 09/03/14 13:46:53.685 ctrl_chr[31;1mDevice_LuaUPnP::LoadDeviceDoc can't load /etc/cmh-lu//D_AirQuality1.xmlctrl_chr[0m <0x2acc9000>
                  02 09/03/14 13:46:53.686 ctrl_chr[33;1mJobHandler_LuaUPnP::m_sMissingFile_set /etc/cmh-lu//D_AirQuality1.xmlctrl_chr[0m <0x2acc9000>

                  Seems like if this file is missing it brakes the whole MySensors plugin.
                  All devices related to MySensors plugin are blank and nothing seems to update.
                  Deleting the device that use AirQuality.xml will make the rest work again.

                  Help!!

                  H Offline
                  H Offline
                  hek
                  Admin
                  wrote on last edited by
                  #42

                  @korttoma

                  Unfortunately no one has created it :(

                  K 1 Reply Last reply
                  0
                  • H hek

                    @korttoma

                    Unfortunately no one has created it :(

                    K Offline
                    K Offline
                    korttoma
                    Hero Member
                    wrote on last edited by
                    #43

                    @hek
                    ahh, that's why I cant find it... no pressure from my side to get one done but maybe we should mention this little detail on the MySensors building page just as a heads up for others since there is a sketch published and all...

                    • Tomas
                    E 1 Reply Last reply
                    0
                    • E Offline
                      E Offline
                      epierre
                      Hero Member
                      wrote on last edited by
                      #44

                      I made a template but I'm unable to test it...

                      z-wave - Vera -&gt; Domoticz
                      rfx - Domoticz &lt;- MyDomoAtHome &lt;- Imperihome
                      mysensors -&gt; mysensors-gw -&gt; Domoticz

                      1 Reply Last reply
                      0
                      • E epierre

                        @hek Here is a first list from the most commons:

                        • Carbon Monoxide – CO
                        • Carbon Dioxide – CO2
                        • Oxygen – O2
                        • Methane – CH4
                        • Hydrogen – H2
                        • Ammonia – NH3
                        • Isobutane – C4H10
                        • Ethanol – CH3CH2OH (aka C2H5OH or C2H60)
                        • Toluene – C6H5CH3
                        • Hydrogen Sulfide – H2S
                        • Nitrogen Dioxide – NO2
                        • Ozone – O3
                        • Hydrocarbons – VOC
                        • Chlorine CL2
                        • Ammonium NH4
                        • Ethanol CO2H50H
                        • Methyl CH3
                        • Acetone CH3_2CO
                        • LPG (both C3H8 C4H10)
                        E Offline
                        E Offline
                        epierre
                        Hero Member
                        wrote on last edited by
                        #45

                        @hek here is an updated list from the Wunder Weather list of reportable gases:

                        Carbon Monoxide – CO
                        Carbon Dioxide – CO2
                        Oxygen – O2
                        Methane – CH4
                        Hydrogen – H2
                        Ammonia – NH3
                        Isobutane – C4H10
                        Ethanol – CH3CH2OH (aka C2H5OH or C2H60)
                        Toluene – C6H5CH3
                        Hydrogen Sulfide – H2S
                        Nitrogen Dioxide – NO2
                        Ozone – O3
                        Hydrocarbons – VOC
                        Chlorine CL2
                        Ammonium NH4
                        Ethanol CO2H50H
                        Methyl CH3
                        Acetone CH3_2CO
                        LPG (both C3H8 C4H10)

                        • NO - nitric oxide
                        • NOX - nitrogen oxides
                        • NO3 ion (nitrate, not adjusted for ammonium ion) UG/M3
                        • SO4 ion, sulfate, not adjusted for ammonium ion, UG/M3
                        • SO2 sulfur dioxide, ppb
                        • EC (elemental carbon) – PM2.5 UG/M3
                        • OC (organic carbon, not adjusted for oxygen and hydrogen) – PM2.5 UG/M3
                        • BC (black carbon at 880 nm) UG/M3
                        • UV-AETH (second channel of Aethalometer at 370 nm) UG/M3
                        • PM2.5 mass - UG/M3
                        • PM10 mass - PM10 mass

                        z-wave - Vera -&gt; Domoticz
                        rfx - Domoticz &lt;- MyDomoAtHome &lt;- Imperihome
                        mysensors -&gt; mysensors-gw -&gt; Domoticz

                        H 1 Reply Last reply
                        0
                        • E epierre

                          @hek here is an updated list from the Wunder Weather list of reportable gases:

                          Carbon Monoxide – CO
                          Carbon Dioxide – CO2
                          Oxygen – O2
                          Methane – CH4
                          Hydrogen – H2
                          Ammonia – NH3
                          Isobutane – C4H10
                          Ethanol – CH3CH2OH (aka C2H5OH or C2H60)
                          Toluene – C6H5CH3
                          Hydrogen Sulfide – H2S
                          Nitrogen Dioxide – NO2
                          Ozone – O3
                          Hydrocarbons – VOC
                          Chlorine CL2
                          Ammonium NH4
                          Ethanol CO2H50H
                          Methyl CH3
                          Acetone CH3_2CO
                          LPG (both C3H8 C4H10)

                          • NO - nitric oxide
                          • NOX - nitrogen oxides
                          • NO3 ion (nitrate, not adjusted for ammonium ion) UG/M3
                          • SO4 ion, sulfate, not adjusted for ammonium ion, UG/M3
                          • SO2 sulfur dioxide, ppb
                          • EC (elemental carbon) – PM2.5 UG/M3
                          • OC (organic carbon, not adjusted for oxygen and hydrogen) – PM2.5 UG/M3
                          • BC (black carbon at 880 nm) UG/M3
                          • UV-AETH (second channel of Aethalometer at 370 nm) UG/M3
                          • PM2.5 mass - UG/M3
                          • PM10 mass - PM10 mass
                          H Offline
                          H Offline
                          hek
                          Admin
                          wrote on last edited by
                          #46

                          Thanks!

                          Still thinking about you gas_type suggestion. It would introduce another level of device types. Hmm..

                          1 Reply Last reply
                          0
                          • K korttoma

                            @hek
                            ahh, that's why I cant find it... no pressure from my side to get one done but maybe we should mention this little detail on the MySensors building page just as a heads up for others since there is a sketch published and all...

                            E Offline
                            E Offline
                            epierre
                            Hero Member
                            wrote on last edited by
                            #47

                            @korttoma look above to S_CO2Sensor.json D_CO2Sensor.xml D_CO2Sensor.json, if you can test it...

                            z-wave - Vera -&gt; Domoticz
                            rfx - Domoticz &lt;- MyDomoAtHome &lt;- Imperihome
                            mysensors -&gt; mysensors-gw -&gt; Domoticz

                            K 1 Reply Last reply
                            0
                            • E Offline
                              E Offline
                              epierre
                              Hero Member
                              wrote on last edited by epierre
                              #48

                              @Yveaux I know you are strong at finding datasheet... can you find one for me ? I can't find the 2SH12 sensor altgough I've asked for it to all suppliers on aliexpress...

                              Same for theWSP1110

                              z-wave - Vera -&gt; Domoticz
                              rfx - Domoticz &lt;- MyDomoAtHome &lt;- Imperihome
                              mysensors -&gt; mysensors-gw -&gt; Domoticz

                              Y 1 Reply Last reply
                              0
                              • E epierre

                                @Yveaux I know you are strong at finding datasheet... can you find one for me ? I can't find the 2SH12 sensor altgough I've asked for it to all suppliers on aliexpress...

                                Same for theWSP1110

                                Y Offline
                                Y Offline
                                Yveaux
                                Mod
                                wrote on last edited by
                                #49

                                @epierre Couldn't find it either, sorry...
                                I wouldn't buy a $52,- component without a datasheet, if I were you...

                                http://yveaux.blogspot.nl

                                E 2 Replies Last reply
                                0
                                • Y Yveaux

                                  @epierre Couldn't find it either, sorry...
                                  I wouldn't buy a $52,- component without a datasheet, if I were you...

                                  E Offline
                                  E Offline
                                  epierre
                                  Hero Member
                                  wrote on last edited by epierre
                                  #50

                                  @Yveaux When I asked for the WSP110 they sent me only this (not the same for this one is HCHO and well documented...) :

                                  HTB1WamGGXXXXXXVXFXXq6xXFXXXS.jpg

                                  z-wave - Vera -&gt; Domoticz
                                  rfx - Domoticz &lt;- MyDomoAtHome &lt;- Imperihome
                                  mysensors -&gt; mysensors-gw -&gt; Domoticz

                                  H 1 Reply Last reply
                                  0
                                  • E epierre

                                    @Yveaux When I asked for the WSP110 they sent me only this (not the same for this one is HCHO and well documented...) :

                                    HTB1WamGGXXXXXXVXFXXq6xXFXXXS.jpg

                                    H Offline
                                    H Offline
                                    hek
                                    Admin
                                    wrote on last edited by
                                    #51

                                    @epierre

                                    I wonder what the green curve represents :confused:

                                    E 2 Replies Last reply
                                    0
                                    • H hek

                                      @epierre

                                      I wonder what the green curve represents :confused:

                                      E Offline
                                      E Offline
                                      epierre
                                      Hero Member
                                      wrote on last edited by
                                      #52

                                      @hek that should be the more sensitive, and since it is given mostly for CHCO I guess this is it... (Formaldehyde)

                                      z-wave - Vera -&gt; Domoticz
                                      rfx - Domoticz &lt;- MyDomoAtHome &lt;- Imperihome
                                      mysensors -&gt; mysensors-gw -&gt; Domoticz

                                      1 Reply Last reply
                                      0
                                      • H hek

                                        @epierre

                                        I wonder what the green curve represents :confused:

                                        E Offline
                                        E Offline
                                        epierre
                                        Hero Member
                                        wrote on last edited by
                                        #53

                                        @hek 甲醛 is formaldehyde, given by google translate so I'm right !

                                        z-wave - Vera -&gt; Domoticz
                                        rfx - Domoticz &lt;- MyDomoAtHome &lt;- Imperihome
                                        mysensors -&gt; mysensors-gw -&gt; Domoticz

                                        H 1 Reply Last reply
                                        0
                                        • E epierre

                                          @hek 甲醛 is formaldehyde, given by google translate so I'm right !

                                          H Offline
                                          H Offline
                                          hek
                                          Admin
                                          wrote on last edited by
                                          #54

                                          @epierre

                                          Haha :thumbsup:

                                          1 Reply Last reply
                                          0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          14

                                          Online

                                          12.0k

                                          Users

                                          11.2k

                                          Topics

                                          113.4k

                                          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