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. Feature Requests
  3. Domoticz full integration

Domoticz full integration

Scheduled Pinned Locked Moved Feature Requests
79 Posts 26 Posters 61.1k Views 11 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.
  • A andriej

    I've managed to get it to work.
    First issue - since always I've reported temperature and humidity altogether (from DHT sensors).
    Currently I can't specify one IDX for two values and I can't see in code where I could put two values to report in Domoticz at once.
    They use to be reported in one URL.

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

    @andriej I will be posting a new version tomorrow which adds maximum functionality for Domoticz (from my view): combined sensors (trick), node numbering, inclusion and an external database in JSON. I will keep it running tonight to test the stability. ...

    1 Reply Last reply
    0
    • AWIA Offline
      AWIA Offline
      AWI
      Hero Member
      wrote on last edited by
      #48

      Major update (but still very beta...,) supports:

      • dynamic sensor inclusion i.s.o. fixed nodes.
      • more sensor types and support for combined domoticz devices (e.g. Temp, Hum, Baro)
      • external JSON database

      The python script is built around a 'dictionary' based Database with the MySensor-Domoticz translation. The script is running stable with 20+ sensor/actuators and limited cpu load on raspberry pi (15%).

      Known issues:

      • You need to edit the JSON database yourself if you need combined Domoticz devices eg. (Temp/Hum/Baro). Not difficult
      • Need to create Switch types yourself in Domoticz , then assign these in the database
      • Usage/power not supported yet (need a "multiple value" trick..)

      You can find the attempt at: Domoticz-MySensors with a small instruction in the first few lines

      all suggestions welcome..

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

        @AWI, great work!

        You should probably post something over at Domoticz forum as well.

        1 Reply Last reply
        0
        • GizMoCuzG Offline
          GizMoCuzG Offline
          GizMoCuz
          wrote on last edited by GizMoCuz
          #50

          Domoticz:

          Starting with a native implementation, thanks to Ad for providing the RF interfaces.

          Maybe best (for domoticz) to continue on the forum,
          i need serial logs of all possible combinations and meaning

          node-id;child-sensor-id;message-type;ack;sub-type;payload

          we developers probably have to do some special tricks to get some nice sensors

          for instance, it would be nice if there where subtypes for:

          • Temp+Hum
          • Temp+Hum+Baro
          • Kwh+Watt
          • Wind+Gust+Direction

          I can not watch this forum, if you want to contribute, plz use the domoticz forum

          hekH 1 Reply Last reply
          2
          • GizMoCuzG GizMoCuz

            Domoticz:

            Starting with a native implementation, thanks to Ad for providing the RF interfaces.

            Maybe best (for domoticz) to continue on the forum,
            i need serial logs of all possible combinations and meaning

            node-id;child-sensor-id;message-type;ack;sub-type;payload

            we developers probably have to do some special tricks to get some nice sensors

            for instance, it would be nice if there where subtypes for:

            • Temp+Hum
            • Temp+Hum+Baro
            • Kwh+Watt
            • Wind+Gust+Direction

            I can not watch this forum, if you want to contribute, plz use the domoticz forum

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

            @Rob-Peters

            Hi, great to see you here! I'll send you my contact details if you have any specific questions.
            @AWI seems to have implemented most of the logic necessary.

            1 Reply Last reply
            0
            • A Offline
              A Offline
              andriej
              wrote on last edited by
              #52

              In latest release of Domoticz I can see first implementations of MySensors!
              Maybe it's worth a shot for someone to register on Domoticz forum and help their team out?

              :-)

              AWIA 1 Reply Last reply
              0
              • A andriej

                In latest release of Domoticz I can see first implementations of MySensors!
                Maybe it's worth a shot for someone to register on Domoticz forum and help their team out?

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

                @andriej Hi, GizMoCuz is working on it (2 reply's before) asked for serial log of all possible combinations. I am trying to help out, but some help and priority setting is more than welcome.

                1 Reply Last reply
                1
                • epierreE Offline
                  epierreE Offline
                  epierre
                  Hero Member
                  wrote on last edited by
                  #54

                  Hello,

                  I've answered to Rob sending some of my logs and a link to my interface, I guess seeing a link between values and JSON will help a bit ;-).

                  @hek we've not settled about gas values, no ?

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

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

                    @epierre
                    Sort of... But I will probably not change anything in 1.4.

                    1 Reply Last reply
                    0
                    • GizMoCuzG Offline
                      GizMoCuzG Offline
                      GizMoCuz
                      wrote on last edited by
                      #56

                      Posted a new beta of domoticz.
                      Lots have been changed

                      If anyone can supply me with serial log messages of:
                      S_LIGHT_LEVEL
                      S_WATT
                      S_KWH

                      That would be helpfull

                      With regards,
                      Rob

                      hekH 1 Reply Last reply
                      0
                      • GizMoCuzG GizMoCuz

                        Posted a new beta of domoticz.
                        Lots have been changed

                        If anyone can supply me with serial log messages of:
                        S_LIGHT_LEVEL
                        S_WATT
                        S_KWH

                        That would be helpfull

                        With regards,
                        Rob

                        hekH Offline
                        hekH Offline
                        hek
                        Admin
                        wrote on last edited by
                        #57

                        @GizMoCuz

                        Sent you an email...

                        1 Reply Last reply
                        0
                        • hekH hek

                          Just skip it. It's deprecated and will be removed.

                          tekkaT Offline
                          tekkaT Offline
                          tekka
                          Admin
                          wrote on last edited by tekka
                          #58

                          @AWI said:

                          @hek I am almost done with the python -Domoticz "full integration" but strugling with a few message types. The code for Vera is a good source for information but it is hard to determine the role of the controller in the construction/routing of the network. For now I assumed only node numbering and keeping track of the sensors. Is the controller supposed to do something with the relay nodes? what is the function of the I_CHILDREN message?

                          @hek said:

                          Just skip it. It's deprecated and will be removed.

                          @hek:
                          The I_CHILDREN+"C" message is useful during development/implementation/repositioning of nodes with repeater functionality (changing node location may alter routing).

                          From my experience, this function is helpful and should even be expanded to clearing the parent_node_id: i.e. I faced the situation where the parent node (not gw) was out of range and the node could not communicate back to the gateway. The only resolution is to clear the eeprom or sending the I_CHILDREN + "C" command

                          1 Reply Last reply
                          0
                          • jendrushJ Offline
                            jendrushJ Offline
                            jendrush
                            wrote on last edited by
                            #59

                            I have a question. If someone is using pulse power meter with new version of Domoticz please tell me if Domoticz is able to send last know value of kwh to node?

                            1 Reply Last reply
                            0
                            • A Offline
                              A Offline
                              andriej
                              wrote on last edited by
                              #60

                              Has anyone tested the Domoticz's support of MySensors?
                              Maybe it should be mentioned on the webpage somehow.
                              It's still one of the most nice-looking systems out there...

                              :-)

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

                                I will create a page on the main site. Just waiting for some texts from Rob.

                                1 Reply Last reply
                                0
                                • M Offline
                                  M Offline
                                  markb
                                  wrote on last edited by markb
                                  #62

                                  @andriej I have managed to get a MySensor DHT11 sensor reporting consistently in Domoticz, via the Ethernet option. My next steps are to try a couple of other sensor types (eg distance, switches) and multiple sensors on one arduino node. After a first look at how the Serial and Ethernet options have been done in Domoticz, it looks to me like MQTT might also provide a third 'transport' option for integrating MySensors, with some development. I will be building my knowledge across MySensors and Domoticz over the coming week or two, so might be able to contribute to integration development in the future.

                                  1 Reply Last reply
                                  0
                                  • R Offline
                                    R Offline
                                    rtenklooster
                                    wrote on last edited by
                                    #63

                                    I've motion sensors, barometer, lux sensors 4 dallas sensors on 4 arduinos fully working on domoticz.
                                    It's al working fine, sensors don't always appear in the right tab, but that's no problem for now, new to mysensors, very happy with it!

                                    1 Reply Last reply
                                    0
                                    • AWIA Offline
                                      AWIA Offline
                                      AWI
                                      Hero Member
                                      wrote on last edited by
                                      #64

                                      Status of native Domoticz MySensors support:: For the ones who are interested @GizMoCuz did a great job in building native MySensors support in Domoticz. As documentation is lagging behind ;) I have examined the code and come up with a basic understanding of functionality.
                                      First of all: you need the beta version of Domoticz (can be enabled in setup->settings) for now to get MySensors support. By enabling the MySensors hardware (setup->hardware) you can enable MySensors USB/ LAN interface.

                                      The supported "V" types as of today for "SET" (read from the code):
                                      V_TEMP:, V_HUM, V_PRESSURE, V_VARx, V_TRIPPED, V_ARMED, V_LOCK_STATUS, V_LIGHT, V_DIMMER, V_DUST_LEVEL, V_WATT, V_KWH, V_DISTANCE, V_FLOW, V_VOLUME:, V_WIND, V_GUST, V_DIRECTION, V_LIGHT_LEVEL,:V_FORECAST,: V_VOLTAGE, V_UV, (so almost all )

                                      The list for 'REQ' is (and will be.?) limited to V_LIGHT, V_DIMMER and V_VAR types. If anyone needs more please address this on the Domticz forum as I am out of arguments.

                                      Be aware that the MySensor support is beta, but very promissing.

                                      G M 2 Replies Last reply
                                      2
                                      • A Offline
                                        A Offline
                                        andriej
                                        wrote on last edited by
                                        #65

                                        Is the Watt-sensor working ok for every of you?
                                        I've switched my installation to MySensors, but reports of current usage seems strange to me...

                                        I don't see how many watts my house is using that often as it's possible (so every 60 secs you could say how much pulses were counted...).
                                        I can't catch how often the value is refreshed.

                                        Second thing is - is it possible to enter 'current status' of the electrical counter?
                                        I can write down the value and I'd like to see new counts added to already measured value (to see after i.e. a month if the counts are counted same as by meter).

                                        Maybe it can be done by V_VAR? If yes, how to use it/push it to node?

                                        :-)

                                        1 Reply Last reply
                                        0
                                        • AWIA AWI

                                          Status of native Domoticz MySensors support:: For the ones who are interested @GizMoCuz did a great job in building native MySensors support in Domoticz. As documentation is lagging behind ;) I have examined the code and come up with a basic understanding of functionality.
                                          First of all: you need the beta version of Domoticz (can be enabled in setup->settings) for now to get MySensors support. By enabling the MySensors hardware (setup->hardware) you can enable MySensors USB/ LAN interface.

                                          The supported "V" types as of today for "SET" (read from the code):
                                          V_TEMP:, V_HUM, V_PRESSURE, V_VARx, V_TRIPPED, V_ARMED, V_LOCK_STATUS, V_LIGHT, V_DIMMER, V_DUST_LEVEL, V_WATT, V_KWH, V_DISTANCE, V_FLOW, V_VOLUME:, V_WIND, V_GUST, V_DIRECTION, V_LIGHT_LEVEL,:V_FORECAST,: V_VOLTAGE, V_UV, (so almost all )

                                          The list for 'REQ' is (and will be.?) limited to V_LIGHT, V_DIMMER and V_VAR types. If anyone needs more please address this on the Domticz forum as I am out of arguments.

                                          Be aware that the MySensor support is beta, but very promissing.

                                          G Offline
                                          G Offline
                                          GaryStofer
                                          wrote on last edited by GaryStofer
                                          #66

                                          @AWI I installed the latest BETA version and Enabled MySensor via the Serial/USB gateway. I have a simple network with one PIR Motion Sensor which sends a V_TRIPPED and a battery status message every time the motion detector goes off. I can see in the log that Domoticz communicates with the serial GW and that it gets a message every time the sensor goes of.
                                          HOWEVER the system identified the motion sensor as "Lighting 2" and doesn't convey the status of the PIR, but rather thinks it's a light bulb. The last seen date never changes after the initial startup of the sensor , however the battery percentage seems to read correctly,

                                          Where is the MySensor implementation coded ? Is it modifiable on the end system via scripts or is it compiled in?

                                          G

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


                                          15

                                          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