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. DS18B20 ans SHT31-D show up as combined sensors on Domoticz

DS18B20 ans SHT31-D show up as combined sensors on Domoticz

Scheduled Pinned Locked Moved Troubleshooting
19 Posts 5 Posters 8.0k Views 6 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.
  • sundberg84S sundberg84

    @palande.vaibhav - you need to download the sourcecode and compile it yourself.
    Its not possible to find the files in the installation or iso-image. Everything has been compiled there already.

    Sourcecode is found on github and if you dont know how to compile it i suggest you read on the domoticz site, there is some instructions but if you are not familiar with the sourcecode its a big project.

    palande.vaibhavP Offline
    palande.vaibhavP Offline
    palande.vaibhav
    wrote on last edited by palande.vaibhav
    #7

    @sundberg84 The instructions you pointed to are for raspberry pi. Can you point me to some instructions on how to do it on Windows?

    sundberg84S 1 Reply Last reply
    0
    • palande.vaibhavP palande.vaibhav

      @sundberg84 The instructions you pointed to are for raspberry pi. Can you point me to some instructions on how to do it on Windows?

      sundberg84S Offline
      sundberg84S Offline
      sundberg84
      Hardware Contributor
      wrote on last edited by
      #8

      @palande.vaibhav - https://www.google.com/search?q=compile+domoticz+windows&ie=utf-8&oe=utf-8&gws_rd=cr&ei=0iAHWICvGIPQswGk0Z6QBQ

      Controller: Proxmox VM - Home Assistant
      MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
      MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
      RFLink GW - Arduino Mega + RFLink Shield, 433mhz

      1 Reply Last reply
      0
      • palande.vaibhavP palande.vaibhav

        Hello all,
        I have built a node with total of 9 sensors.

        Two of them are DS18B20 (Temperature) and SHT31-D(Temperature and Humidity) from adafruit. In Domoticz they show up as combined sensors. DS18B20 is combined with the Humidity from SHT31-D and another sensor shows up with SHT31-D temperature and Humidity combined.
        How can I make them show up as separate Temperature and Humidity sensors?
        I want DS18B20, Temperature from SHT31-D and Humidity from SHT31-D all as separate sensors. I am presenting all of them as separate child sensors.

        I will really appreciate the help.

        Thank You,
        Vaibhav

        chrilleC Offline
        chrilleC Offline
        chrille
        wrote on last edited by
        #9

        @palande.vaibhav I agree this is very annoying. I have several nodes with a Si7021 and a DS18B20, where the DS18B20 is located some distance from the node (for instance in a freezer or outdoor). This means that the humidity measured by the Si7021 might be vastly different from the humidity where the DS18B20 is located
        I wonder if it would make sense to implement a NODEID_ALIAS (or NODEID_VIRTUAL) in MySensors, so a node could actually present itself as two (or more node ID's), so some sensors/children would belong to the main NODEID and other sensors could belong to another (virtual) NODEID - for the home automation system it would look like two different nodes

        • Jan
        palande.vaibhavP AWIA 2 Replies Last reply
        0
        • chrilleC chrille

          @palande.vaibhav I agree this is very annoying. I have several nodes with a Si7021 and a DS18B20, where the DS18B20 is located some distance from the node (for instance in a freezer or outdoor). This means that the humidity measured by the Si7021 might be vastly different from the humidity where the DS18B20 is located
          I wonder if it would make sense to implement a NODEID_ALIAS (or NODEID_VIRTUAL) in MySensors, so a node could actually present itself as two (or more node ID's), so some sensors/children would belong to the main NODEID and other sensors could belong to another (virtual) NODEID - for the home automation system it would look like two different nodes

          • Jan
          palande.vaibhavP Offline
          palande.vaibhavP Offline
          palande.vaibhav
          wrote on last edited by
          #10

          @chrille
          Hello,
          This is indeed very annoying.
          I am going to try what @AWI has suggested. Presenting sensors in sequence and then spacing them apart when presenting to see what this new feature in Domoticz does.
          Can you also try this? and report here? That would be really helpful.

          Thank You

          chrilleC 1 Reply Last reply
          0
          • palande.vaibhavP palande.vaibhav

            @chrille
            Hello,
            This is indeed very annoying.
            I am going to try what @AWI has suggested. Presenting sensors in sequence and then spacing them apart when presenting to see what this new feature in Domoticz does.
            Can you also try this? and report here? That would be really helpful.

            Thank You

            chrilleC Offline
            chrilleC Offline
            chrille
            wrote on last edited by
            #11

            @palande.vaibhav said:

            I am going to try what @AWI has suggested. Presenting sensors in sequence and then spacing them apart when presenting to see what this new feature in Domoticz does.
            Can you also try this? and report here? That would be really helpful.

            Yes, I'll test as soon as time permits and report back

            1 Reply Last reply
            0
            • chrilleC chrille

              @palande.vaibhav I agree this is very annoying. I have several nodes with a Si7021 and a DS18B20, where the DS18B20 is located some distance from the node (for instance in a freezer or outdoor). This means that the humidity measured by the Si7021 might be vastly different from the humidity where the DS18B20 is located
              I wonder if it would make sense to implement a NODEID_ALIAS (or NODEID_VIRTUAL) in MySensors, so a node could actually present itself as two (or more node ID's), so some sensors/children would belong to the main NODEID and other sensors could belong to another (virtual) NODEID - for the home automation system it would look like two different nodes

              • Jan
              AWIA Offline
              AWIA Offline
              AWI
              Hero Member
              wrote on last edited by AWI
              #12

              @palande-vaibhav @chrille agree that it is not the most userfriendly feature and solution, at least there is a work around. To summarize (my understanding) of the feature:

              • enumeration of the sensor is only increased if a sensor of the same type is presented.
              • combination only takes place if supported (i.e. Temp/ Hum/ Baro)
              • if you don't want sensors combined make sure to present them in the right order (takes a little puzzling ;) )

              The iissue and discussion on the Domoticz git. There are some examples there also.

              palande.vaibhavP 1 Reply Last reply
              0
              • AWIA AWI

                @palande-vaibhav @chrille agree that it is not the most userfriendly feature and solution, at least there is a work around. To summarize (my understanding) of the feature:

                • enumeration of the sensor is only increased if a sensor of the same type is presented.
                • combination only takes place if supported (i.e. Temp/ Hum/ Baro)
                • if you don't want sensors combined make sure to present them in the right order (takes a little puzzling ;) )

                The iissue and discussion on the Domoticz git. There are some examples there also.

                palande.vaibhavP Offline
                palande.vaibhavP Offline
                palande.vaibhav
                wrote on last edited by palande.vaibhav
                #13

                @AWI
                Thanks for the info. I will try to implement this today.

                At the end of discssion gizmocuz says that "this is already taken care of, see the forum thread about mysensors/grouping". But I checked Domoticz forum and couldn't find a thread named grouping in mysensors subforum.

                Can you find it? Or its the same one as mentioned in the last comment from issue which takes us here ?

                chrilleC 1 Reply Last reply
                0
                • palande.vaibhavP palande.vaibhav

                  @AWI
                  Thanks for the info. I will try to implement this today.

                  At the end of discssion gizmocuz says that "this is already taken care of, see the forum thread about mysensors/grouping". But I checked Domoticz forum and couldn't find a thread named grouping in mysensors subforum.

                  Can you find it? Or its the same one as mentioned in the last comment from issue which takes us here ?

                  chrilleC Offline
                  chrilleC Offline
                  chrille
                  wrote on last edited by
                  #14

                  @palande.vaibhav said:

                  At the end of discssion gizmocuz says that "this is already taken care of, see the forum thread about mysensors/grouping". But I checked Domoticz forum and couldn't find a thread named grouping in mysensors subforum.

                  It does seem to work without any changes to the domoticz code. The following is from a node with DS18B20, Si7021 and TSL2561

                  1_1476904421404_Skærmbillede 2016-10-19 kl. 21.09.45.png 0_1476904421404_Skærmbillede 2016-10-19 kl. 21.08.24.png

                  Child 1+2 is the Si7021 and child 4 is the DS18B20. The enumeration goes from 1 to 2 as soon as a second V_TEMP is presented

                  To push it even further - here's a node with a Si7021 + 10x DS18B20

                  (MySensors 2.0.1 beta and Domoticz dev from yesterday)

                  0_1476904653813_Skærmbillede 2016-10-19 kl. 21.17.07.png

                  This node also works fine with Domoticz and only shows the humidity for the first occurance of V_TEMP (which is the Si7021)

                  palande.vaibhavP 1 Reply Last reply
                  1
                  • chrilleC chrille

                    @palande.vaibhav said:

                    At the end of discssion gizmocuz says that "this is already taken care of, see the forum thread about mysensors/grouping". But I checked Domoticz forum and couldn't find a thread named grouping in mysensors subforum.

                    It does seem to work without any changes to the domoticz code. The following is from a node with DS18B20, Si7021 and TSL2561

                    1_1476904421404_Skærmbillede 2016-10-19 kl. 21.09.45.png 0_1476904421404_Skærmbillede 2016-10-19 kl. 21.08.24.png

                    Child 1+2 is the Si7021 and child 4 is the DS18B20. The enumeration goes from 1 to 2 as soon as a second V_TEMP is presented

                    To push it even further - here's a node with a Si7021 + 10x DS18B20

                    (MySensors 2.0.1 beta and Domoticz dev from yesterday)

                    0_1476904653813_Skærmbillede 2016-10-19 kl. 21.17.07.png

                    This node also works fine with Domoticz and only shows the humidity for the first occurance of V_TEMP (which is the Si7021)

                    palande.vaibhavP Offline
                    palande.vaibhavP Offline
                    palande.vaibhav
                    wrote on last edited by
                    #15

                    @chrille
                    I think I also got it to work.
                    0_1476918895078_chrome_2016-10-19_16-13-51.png
                    0_1476918911877_chrome_2016-10-19_16-13-05.png

                    I have DS18B20 which is child 5, SHT31-D temperature is child 6 and Humidity is 7.
                    Here child 4, 5, 6 have the same number #4 but they are not grouped, they show up as separate sensors in Devices tab.
                    Now I understand why 6 and 7 are in a group but why is child 4 which is a LIGHT also combined with them?

                    AWIA chrilleC R 3 Replies Last reply
                    0
                    • palande.vaibhavP palande.vaibhav

                      @chrille
                      I think I also got it to work.
                      0_1476918895078_chrome_2016-10-19_16-13-51.png
                      0_1476918911877_chrome_2016-10-19_16-13-05.png

                      I have DS18B20 which is child 5, SHT31-D temperature is child 6 and Humidity is 7.
                      Here child 4, 5, 6 have the same number #4 but they are not grouped, they show up as separate sensors in Devices tab.
                      Now I understand why 6 and 7 are in a group but why is child 4 which is a LIGHT also combined with them?

                      AWIA Offline
                      AWIA Offline
                      AWI
                      Hero Member
                      wrote on last edited by
                      #16

                      @palande.vaibhav said:

                      why is child 4 which is a LIGHT also combined with them?

                      The numbering algorithm is not specific for the temp/hum/baro sensors but a generic implementation. So it is just a consequence of the implementation although it has no effect (at this moment)

                      1 Reply Last reply
                      0
                      • palande.vaibhavP palande.vaibhav

                        @chrille
                        I think I also got it to work.
                        0_1476918895078_chrome_2016-10-19_16-13-51.png
                        0_1476918911877_chrome_2016-10-19_16-13-05.png

                        I have DS18B20 which is child 5, SHT31-D temperature is child 6 and Humidity is 7.
                        Here child 4, 5, 6 have the same number #4 but they are not grouped, they show up as separate sensors in Devices tab.
                        Now I understand why 6 and 7 are in a group but why is child 4 which is a LIGHT also combined with them?

                        chrilleC Offline
                        chrilleC Offline
                        chrille
                        wrote on last edited by
                        #17

                        @palande.vaibhav said:

                        0_1476918895078_chrome_2016-10-19_16-13-51.png

                        I have DS18B20 which is child 5, SHT31-D temperature is child 6 and Humidity is 7.
                        Here child 4, 5, 6 have the same number #4 but they are not grouped, they show up as separate sensors in Devices tab.

                        I think there's two issue

                        1. Something is wrong with the presentation of child 5 (DS18B20) - it should have value V_TEMP - it's empty
                        2. You need to change the SHT31 code to present temperature before humidiy - else the humidity of the SHT31 would be grouped with the temp from the DS18B20
                        palande.vaibhavP 1 Reply Last reply
                        0
                        • chrilleC chrille

                          @palande.vaibhav said:

                          0_1476918895078_chrome_2016-10-19_16-13-51.png

                          I have DS18B20 which is child 5, SHT31-D temperature is child 6 and Humidity is 7.
                          Here child 4, 5, 6 have the same number #4 but they are not grouped, they show up as separate sensors in Devices tab.

                          I think there's two issue

                          1. Something is wrong with the presentation of child 5 (DS18B20) - it should have value V_TEMP - it's empty
                          2. You need to change the SHT31 code to present temperature before humidiy - else the humidity of the SHT31 would be grouped with the temp from the DS18B20
                          palande.vaibhavP Offline
                          palande.vaibhavP Offline
                          palande.vaibhav
                          wrote on last edited by
                          #18

                          @chrille
                          I noticed it. Made the change and now it works. Thanx for your help.

                          1 Reply Last reply
                          0
                          • palande.vaibhavP palande.vaibhav

                            @chrille
                            I think I also got it to work.
                            0_1476918895078_chrome_2016-10-19_16-13-51.png
                            0_1476918911877_chrome_2016-10-19_16-13-05.png

                            I have DS18B20 which is child 5, SHT31-D temperature is child 6 and Humidity is 7.
                            Here child 4, 5, 6 have the same number #4 but they are not grouped, they show up as separate sensors in Devices tab.
                            Now I understand why 6 and 7 are in a group but why is child 4 which is a LIGHT also combined with them?

                            R Offline
                            R Offline
                            rodaman
                            wrote on last edited by
                            #19

                            @palande-vaibhav
                            Sorry for the dumb question. How do you achieved different #numbering in Values? I have all my Ds18b20 sensors with #1 number.

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            19

                            Online

                            11.7k

                            Users

                            11.2k

                            Topics

                            113.0k

                            Posts


                            Copyright 2019 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