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.
  • AWIA Offline
    AWIA Offline
    AWI
    Hero Member
    wrote on last edited by
    #44

    Good to see you are taking the jump... What you see in the first test is are generic error messages which can be generated in many place. There is a "catch-all" exception handler on the main loop, I suggest you take out the word "ValueError". After that the script will come to a halt and indicate where it went wrong.

    I am 'almost' in the next major update. I hope to upload today .

    Good luck!

    1 Reply Last reply
    0
    • hekH hek

      @AWI

      That would be awesome!

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

      @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?

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

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

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