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. Development
  3. Experimental: ESP Easy MySensors Edition

Experimental: ESP Easy MySensors Edition

Scheduled Pinned Locked Moved Development
18 Posts 9 Posters 13.2k Views 8 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #7

    My first try with multiple sensors attached to a single node seems to confuse Domoticz as it tries to combine things that should not be combined. Like a DHT sensor combined with BMP085 turns into a single temp/hum/baro device. Looks nice but what if one of them is used indoor and the other outdoor. You'll get outdoor humidity reported while there is no outdoor reading for that.

    Maybe the MySensors protocol does not support this layer of grouping sensordata like Domoticz expects. I asked about this on the Domoticz forum but the question remains unanswered.

    http://www.domoticz.com/forum/viewtopic.php?f=42&t=9363

    It would be nice to know about this kind of limitations before further development will take place.

    1 Reply Last reply
    0
    • hekH Online
      hekH Online
      hek
      Admin
      wrote on last edited by
      #8

      Are they combined even if you use separate child-ids for the DHT/BMP085?

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #9

        Well to be more precise: If you have a DHT (temp+hum) and BMP (temp+baro) and each value has a unique child id, Domoticz seems to create two devices but each will have three values.
        What I send is this:

        child id 4 (hum value from DHT)
        child id 5 (temp value from DHT)
        child id 12 (baro value from BMP)
        child id 13 (temp value from BMP)

        End result is two temp+hum+baro devices.
        So it adds the humidity value to the BMP sensor
        And adds the barometric pressure value to the DHT

        Or could I use the same child-id for multiple values?
        I though child-id's need to be unique for each value?

        1 Reply Last reply
        0
        • hekH Online
          hekH Online
          hek
          Admin
          wrote on last edited by
          #10

          It's a bit weird they get grouped by the controller. Guess they had some nice device type they wanted to reuse.

          A few device types actually allows different sensor readings. You'll find them in the last column of the presentation-table here:
          http://www.mysensors.org/download/serial_api_15
          I.e. For a S_BARO device you can send bot V_PRESSURE and V_FORECAST.

          In retrospect we probably would have splitted/organized things differently.. But this is what we have at the moment.

          ? 1 Reply Last reply
          0
          • hekH hek

            It's a bit weird they get grouped by the controller. Guess they had some nice device type they wanted to reuse.

            A few device types actually allows different sensor readings. You'll find them in the last column of the presentation-table here:
            http://www.mysensors.org/download/serial_api_15
            I.e. For a S_BARO device you can send bot V_PRESSURE and V_FORECAST.

            In retrospect we probably would have splitted/organized things differently.. But this is what we have at the moment.

            ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #11

            @hek said:

            It's a bit weird they get grouped by the controller. Guess they had some nice device type they wanted to reuse.

            A few device types actually allows different sensor readings. You'll find them in the last column of the presentation-table here:
            http://www.mysensors.org/download/serial_api_15
            I.e. For a S_BARO device you can send bot V_PRESSURE and V_FORECAST.

            In retrospect we probably would have splitted/organized things differently.. But this is what we have at the moment.
            I think Domoticz can only work with a fixed number of combined sensor devices and it looks like this is the only way to transform data from MySensors to one of the build-in device types.

            As Domoticz is our main platform it would make not much sense to further develop on something that is not supported.

            I don't know how other Home Automation controllers handle this. If you connect two similar DHT22 unit's to a single node, would they be able to figure out how to display this properly? Would they automatically create two devices with both values displayed. Or (I guess) they would create 4 devices and not combine them in any way?

            1 Reply Last reply
            0
            • hekH Online
              hekH Online
              hek
              Admin
              wrote on last edited by
              #12

              Most controllers show them as separate devices. But I guess that if different sensor values are reported on the same chid-id it could be a candidate for combination (GUI-vise).

              J 1 Reply Last reply
              0
              • hekH hek

                Most controllers show them as separate devices. But I guess that if different sensor values are reported on the same chid-id it could be a candidate for combination (GUI-vise).

                J Offline
                J Offline
                Jan Gatzke
                wrote on last edited by Jan Gatzke
                #13

                @martinus The last commit was in 2015. Is this going to be developed any further? I like the approach and would give it a try, if the project was still alive.

                1 Reply Last reply
                0
                • hekH Online
                  hekH Online
                  hek
                  Admin
                  wrote on last edited by
                  #14

                  @Jan-Gatzke

                  Asking me? Think you have to address @martinus .

                  1 Reply Last reply
                  0
                  • Hamid s kH Offline
                    Hamid s kH Offline
                    Hamid s k
                    wrote on last edited by
                    #15

                    well done , but anyone here can tell me is it possible with ESP easy make network of ESP module , one in AP mode and others in Station mode ? AP module receive the sensor data of all other Station ESP module and probably send back them command or acknowledgment

                    1 Reply Last reply
                    0
                    • mfalkviddM Offline
                      mfalkviddM Offline
                      mfalkvidd
                      Mod
                      wrote on last edited by
                      #16

                      If anyone answers @Hamid-s-k, please answer in https://forum.mysensors.org/topic/4053/esp-iot-net/ instead of here so we kepe the discussion in one place.

                      1 Reply Last reply
                      0
                      • ? Offline
                        ? Offline
                        A Former User
                        wrote on last edited by
                        #17

                        @hek said:

                        Most controllers show them as separate devices. But I guess that if different sensor values are reported on the same chid-id it could be a candidate for combination (GUI-vise).

                        Well the child ID's are unique, but Domoticz seems to keeps on trying to combine stuff within the same Node ID and create a mess if you have more than one similar sensor attached to a single node. This renders this project useless.

                        0_1470075190046_Childs.png
                        This list is merged into 5 separate devices by Domoticz, creating incorrect and confusing information.

                        There's a thread on the subject, and it the issue seems to count for native mysensor nodes too.

                        http://www.domoticz.com/forum/viewtopic.php?f=42&t=9363&start=20

                        I think the mysensors protocol lacks some sort of group ID. If you connect two DHT22 sensors on a single node, how to tell which temp goes with which humidity if you receive 4 arbitrary child ID's ?

                        TheoLT 1 Reply Last reply
                        0
                        • ? A Former User

                          @hek said:

                          Most controllers show them as separate devices. But I guess that if different sensor values are reported on the same chid-id it could be a candidate for combination (GUI-vise).

                          Well the child ID's are unique, but Domoticz seems to keeps on trying to combine stuff within the same Node ID and create a mess if you have more than one similar sensor attached to a single node. This renders this project useless.

                          0_1470075190046_Childs.png
                          This list is merged into 5 separate devices by Domoticz, creating incorrect and confusing information.

                          There's a thread on the subject, and it the issue seems to count for native mysensor nodes too.

                          http://www.domoticz.com/forum/viewtopic.php?f=42&t=9363&start=20

                          I think the mysensors protocol lacks some sort of group ID. If you connect two DHT22 sensors on a single node, how to tell which temp goes with which humidity if you receive 4 arbitrary child ID's ?

                          TheoLT Offline
                          TheoLT Offline
                          TheoL
                          Contest Winner
                          wrote on last edited by TheoL
                          #18

                          @martinus Anoying isn't it?

                          I allways give a description for each child I present. E.g.

                            gw.present( TEMP1_CHILD_ID, S_TEMP,  "DHT1 sensor", true );  // present to controller
                            gw.present( TEMP2_CHILD_ID, S_TEMP,  "DHT2 sensor", true );  // present to controller
                          

                          By doing this I can see the description in Domoticz, so that I know what to add.

                          1 Reply Last reply
                          0
                          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