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. My Project
  3. Unique ID-value DS18B20 Temperature sensors

Unique ID-value DS18B20 Temperature sensors

Scheduled Pinned Locked Moved My Project
14 Posts 6 Posters 9.1k Views 7 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.
  • B boozz

    @FotoFieber and @flopp

    Thank you both for pointing me in the right direction. As far as I can see from here this contains the solutions for my problem. I'm very happy with this info.

    :+1:

    BR,

    Boozz

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

    I have been thinking about another solution for this. As present() supports an optional description, it should be possible to send the 1-wire address in the description. Then the controller can handle things and there's no need to hardcode anything in the sketch - it would also mean that there's no need to update the sketch if a 1-wire device gets replaced.

    1 Reply Last reply
    0
    • hekH Offline
      hekH Offline
      hek
      Admin
      wrote on last edited by
      #6

      The idea was to use V_ID for sensor identifiers when available, like on the DS18B20.

      https://www.mysensors.org/download/serial_api_20#set,-req

      chrilleC 1 Reply Last reply
      0
      • hekH hek

        The idea was to use V_ID for sensor identifiers when available, like on the DS18B20.

        https://www.mysensors.org/download/serial_api_20#set,-req

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

        @hek said:

        The idea was to use V_ID for sensor identifiers when available, like on the DS18B20.

        Too bad this isn't supported for domoticz :(

        "Error: MySensors: Unknown/Invalid sensor type (42)"

        • Jan
        F 1 Reply Last reply
        0
        • chrilleC chrille

          @hek said:

          The idea was to use V_ID for sensor identifiers when available, like on the DS18B20.

          Too bad this isn't supported for domoticz :(

          "Error: MySensors: Unknown/Invalid sensor type (42)"

          • Jan
          F Offline
          F Offline
          flopp
          wrote on last edited by flopp
          #8

          @chrille said:

          @hek said:

          The idea was to use V_ID for sensor identifiers when available, like on the DS18B20.

          Too bad this isn't supported for domoticz :(

          "Error: MySensors: Unknown/Invalid sensor type (42)"

          • Jan

          I have not tried it my self but it should be possible to use. What version of Domoticz do you use?

          See here which type of identifier that is implemented, seems that it was implemented 18 oct 2015
          https://github.com/domoticz/domoticz/blob/master/hardware/MySensorsBase.cpp

          chrilleC 1 Reply Last reply
          0
          • F flopp

            @chrille said:

            @hek said:

            The idea was to use V_ID for sensor identifiers when available, like on the DS18B20.

            Too bad this isn't supported for domoticz :(

            "Error: MySensors: Unknown/Invalid sensor type (42)"

            • Jan

            I have not tried it my self but it should be possible to use. What version of Domoticz do you use?

            See here which type of identifier that is implemented, seems that it was implemented 18 oct 2015
            https://github.com/domoticz/domoticz/blob/master/hardware/MySensorsBase.cpp

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

            @flopp said:

            I have not tried it my self but it should be possible to use. What version of Domoticz do you use?

            See here which type of identifier that is implemented, seems that it was implemented 18 oct 2015
            https://github.com/domoticz/domoticz/blob/master/hardware/MySensorsBase.cpp

            I'm using 3.5637 (quite recent beta)

            It would be interesting to hear if someone actually used the V_ID feature (with domoticz, or other controllers), that would share their sketch - just to see if I'm missing something obvious

            • Jan
            1 Reply Last reply
            0
            • F Offline
              F Offline
              flopp
              wrote on last edited by flopp
              #10

              I have now test V_ID, not working in Domoticz. I also get

              Error: MySensors: Unknown/Invalid sensor type (42)
              
              1 Reply Last reply
              0
              • F Offline
                F Offline
                flopp
                wrote on last edited by
                #11

                @chrille
                What version of MySensors are you using?

                I am using 1.5.1

                chrilleC 1 Reply Last reply
                0
                • F Offline
                  F Offline
                  flopp
                  wrote on last edited by
                  #12

                  I started a thread at Domoticz forum
                  https://www.domoticz.com/forum/viewtopic.php?f=42&t=13373&p=96694#p96669

                  1 Reply Last reply
                  0
                  • F flopp

                    @chrille
                    What version of MySensors are you using?

                    I am using 1.5.1

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

                    @flopp said:

                    @chrille
                    What version of MySensors are you using?

                    I am using 1.5.1

                    I am using 2.0.1

                    • Jan
                    1 Reply Last reply
                    0
                    • L Offline
                      L Offline
                      LeoDesigner
                      wrote on last edited by
                      #14

                      Check this solution too:
                      https://forum.mysensors.org/topic/2184/enhanced-dallas-temperature-example-with-permanent-sensor-index

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


                      22

                      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