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.
  • D Offline
    D Offline
    Dylantje
    wrote on last edited by
    #24

    So please..
    Include this realy nice stuff to domoticz.

    +10

    1 Reply Last reply
    0
    • M Offline
      M Offline
      maglo18
      wrote on last edited by
      #25

      I ask again what is the best way to use mysensor in domoticz software?

      hekH 1 Reply Last reply
      0
      • M maglo18

        I ask again what is the best way to use mysensor in domoticz software?

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

        @maglo18

        Someone who knows Domoticz need to step up and help creating a plugin for the controller. Either by using the serial protocol or by utilizing MQTT.

        We can help someone get started but the actual work has to be done by someone actually using the controller.

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

          I would add someone developping in domoticz for there are (too) few and some new features should be added too...

          externally is possible and ongoing...

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

          1 Reply Last reply
          0
          • V Offline
            V Offline
            Vincent TODESCHINI
            wrote on last edited by
            #28

            +1 to domoticz full integration plizzzz !!!!

            1 Reply Last reply
            0
            • S Offline
              S Offline
              ShaK
              wrote on last edited by
              #29

              +1 to Domoticz full integration :)

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

                I've commented on the Domiticz feature request:
                http://www.domoticz.com/forum/tracker.php?p=2&t=143

                epierreE 1 Reply Last reply
                0
                • bjornhallbergB Offline
                  bjornhallbergB Offline
                  bjornhallberg
                  Hero Member
                  wrote on last edited by
                  #31

                  Also, if such a C++ ninja would appear, many would be very, very happy to also see native MQTT support for Domoticz.
                  http://www.domoticz.com/forum/viewtopic.php?f=5&t=838

                  YveauxY 1 Reply Last reply
                  0
                  • bjornhallbergB bjornhallberg

                    Also, if such a C++ ninja would appear, many would be very, very happy to also see native MQTT support for Domoticz.
                    http://www.domoticz.com/forum/viewtopic.php?f=5&t=838

                    YveauxY Offline
                    YveauxY Offline
                    Yveaux
                    Mod
                    wrote on last edited by
                    #32

                    @bjornhallberg did you call for a c++ ninja? ;-)

                    http://yveaux.blogspot.nl

                    bjornhallbergB 1 Reply Last reply
                    0
                    • hekH hek

                      I've commented on the Domiticz feature request:
                      http://www.domoticz.com/forum/tracker.php?p=2&t=143

                      epierreE Offline
                      epierreE Offline
                      epierre
                      Hero Member
                      wrote on last edited by
                      #33

                      @hek I would say a demi dozen ninjas would be necessary, one for understanding, one for mapping, one for coding, one for testing one for answering people claims and one ... to support the integration of the code... did I miss one ? ;-)

                      the internal model is not unified, this is more types built uppon types in several classes, based on evolutions from rfxtrx and then zwave, some are duplications of others (hard coded, no attributes...)... a real headache just on the JSON interface and no testbed/test cases/testmaterial, just full debug with users reporting bugs... doing the Imperihome integration I can say I had a hard time just from outside the code...

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

                      1 Reply Last reply
                      0
                      • YveauxY Yveaux

                        @bjornhallberg did you call for a c++ ninja? ;-)

                        bjornhallbergB Offline
                        bjornhallbergB Offline
                        bjornhallberg
                        Hero Member
                        wrote on last edited by
                        #34

                        @Yveaux Haha, yeah, but in all honestly I'm not expecting or suggesting anyone here do their work for them. If they had any sense they would have had support for MQTT and such years ago. And an infrastructure in place for user plugins. I'm such a sad sod that I actually subscribe to the RSS feed for Domoticz commits (for a few months now, as I do with many of these HA software) and I can't say I'm often surprised by anything they put into the code.

                        On the other hand Domoticz has a lot going for it, including pretty decent graphs that work out of the box. It has blockly. And it has native code. And its JSON API isn't half bad either. I mean, I did try the script by @epierre for a while and I could have settled for hard coding sensor input into Domoticz ... but now I've scrapped the serial gateway due to issues brought up in the other thread and I'm back to either the MQTT or Ethernet gateway so no more Domoticz input. Unless I get a new single-board computer or NUC or whatever to interface with.

                        epierreE 1 Reply Last reply
                        0
                        • bjornhallbergB bjornhallberg

                          @Yveaux Haha, yeah, but in all honestly I'm not expecting or suggesting anyone here do their work for them. If they had any sense they would have had support for MQTT and such years ago. And an infrastructure in place for user plugins. I'm such a sad sod that I actually subscribe to the RSS feed for Domoticz commits (for a few months now, as I do with many of these HA software) and I can't say I'm often surprised by anything they put into the code.

                          On the other hand Domoticz has a lot going for it, including pretty decent graphs that work out of the box. It has blockly. And it has native code. And its JSON API isn't half bad either. I mean, I did try the script by @epierre for a while and I could have settled for hard coding sensor input into Domoticz ... but now I've scrapped the serial gateway due to issues brought up in the other thread and I'm back to either the MQTT or Ethernet gateway so no more Domoticz input. Unless I get a new single-board computer or NUC or whatever to interface with.

                          epierreE Offline
                          epierreE Offline
                          epierre
                          Hero Member
                          wrote on last edited by
                          #35

                          @bjornhallberg What do you mean by :

                          but now I've scrapped the serial gateway due to issues brought up in the other thread and I'm back to either the MQTT or Ethernet gateway so no more Domoticz input. Unless I get a new single-board computer or NUC or whatever to interface with.
                          

                          Domoticz is perfect for 433Mhz users supported by the rfxtrx, which is its origin. Here you need to code, flash, wire, power, find a box... not for the faintest of heart... clearly not a plug and play philosophy of Domoticz. This is why I'm wopndering so many people ask for the integration but actually don't report questions on sketches or issues, are there are many...

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

                          bjornhallbergB 1 Reply Last reply
                          0
                          • epierreE epierre

                            @bjornhallberg What do you mean by :

                            but now I've scrapped the serial gateway due to issues brought up in the other thread and I'm back to either the MQTT or Ethernet gateway so no more Domoticz input. Unless I get a new single-board computer or NUC or whatever to interface with.
                            

                            Domoticz is perfect for 433Mhz users supported by the rfxtrx, which is its origin. Here you need to code, flash, wire, power, find a box... not for the faintest of heart... clearly not a plug and play philosophy of Domoticz. This is why I'm wopndering so many people ask for the integration but actually don't report questions on sketches or issues, are there are many...

                            bjornhallbergB Offline
                            bjornhallbergB Offline
                            bjornhallberg
                            Hero Member
                            wrote on last edited by bjornhallberg
                            #36

                            @epierre I just meant that I used to have an Arduino Nano + NRF24 PA LNA connected to my Raspberry, but due to some issue or another (I'm not sure) it wouldn't work properly. Perhaps the power draw on the 3.3V. Perhaps the two extra walls between the Raspberry and where I currently have the MQTT gateway. Perhaps interference from some other piece of electronic inside the cramped camera housing. Who knows.

                            Of course moving away from serial gateway means a world of trouble as most controllers and such have plugins made with that gateway in mind. IF I get a new computer to host a serial gateway, it would have to be many, many times faster than the Raspberry and preferably x86. With only slightly higher idle power consumption. Only the latest generation i3 and i5 NUCs match that description.

                            Right now I'm looking into paho-mqtt for python and making a script much like yours that uses the JSON API to update virtual sensors inside Domoticz. I'm almost there I hope. It's not pretty but trying to get some of these other HA solutions to work is like banging your head against a brick wall. At least with Domoticz you have a great deal going for you out of the box. Like graphing which I mentioned above. Seeing all these new and fantastic JS graphing solutions, you sort of get a bit spoiled. Domoticz has some of the best graphs imo, even if that isn't saying much.

                            epierreE 1 Reply Last reply
                            0
                            • bjornhallbergB bjornhallberg

                              @epierre I just meant that I used to have an Arduino Nano + NRF24 PA LNA connected to my Raspberry, but due to some issue or another (I'm not sure) it wouldn't work properly. Perhaps the power draw on the 3.3V. Perhaps the two extra walls between the Raspberry and where I currently have the MQTT gateway. Perhaps interference from some other piece of electronic inside the cramped camera housing. Who knows.

                              Of course moving away from serial gateway means a world of trouble as most controllers and such have plugins made with that gateway in mind. IF I get a new computer to host a serial gateway, it would have to be many, many times faster than the Raspberry and preferably x86. With only slightly higher idle power consumption. Only the latest generation i3 and i5 NUCs match that description.

                              Right now I'm looking into paho-mqtt for python and making a script much like yours that uses the JSON API to update virtual sensors inside Domoticz. I'm almost there I hope. It's not pretty but trying to get some of these other HA solutions to work is like banging your head against a brick wall. At least with Domoticz you have a great deal going for you out of the box. Like graphing which I mentioned above. Seeing all these new and fantastic JS graphing solutions, you sort of get a bit spoiled. Domoticz has some of the best graphs imo, even if that isn't saying much.

                              epierreE Offline
                              epierreE Offline
                              epierre
                              Hero Member
                              wrote on last edited by
                              #37

                              @bjornhallberg intel is not the only way... for $50 there is the banana-pi ... I've moved from raspi to a cubie 2 in urgency, latest domoticz updates made it impossible to live on a raspi... with only rfxtrx and JSON updates... the cubie 2 is a bi-core A20 and my cpuload is 10% at worse... in raspi it was 100%... for a better community support the odroid is way faster and better supported (quad core, the samsung S3 ekynos processor just to name it) but is twice the price.

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

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

                                In the quest for Domoticz full integration, I have been doing some prototyping in Python. Domoticz has very capable JSON support and virtual device types so we can do without "full integration" .
                                My python script is built around a 'dictionary' based Database with a hardcoded MySensor-Domoticz translation. The script is running stable with 20+ sensor/actuators and limited cpu load on raspberry pi (15%).

                                What is next:

                                • dynamic sensor inclusion i.s.o. fixed nodes.
                                • more sensor types and support for combined devices (e.g. Temp, Hum, Baro)
                                • (sqlite i.s.o. python dictionary)

                                dependencies: requests, json

                                anybody interested?

                                You can find the attempt at: Domoticz-MySensors
                                all suggestions welcome..

                                hekH A 2 Replies Last reply
                                2
                                • AWIA AWI

                                  In the quest for Domoticz full integration, I have been doing some prototyping in Python. Domoticz has very capable JSON support and virtual device types so we can do without "full integration" .
                                  My python script is built around a 'dictionary' based Database with a hardcoded MySensor-Domoticz translation. The script is running stable with 20+ sensor/actuators and limited cpu load on raspberry pi (15%).

                                  What is next:

                                  • dynamic sensor inclusion i.s.o. fixed nodes.
                                  • more sensor types and support for combined devices (e.g. Temp, Hum, Baro)
                                  • (sqlite i.s.o. python dictionary)

                                  dependencies: requests, json

                                  anybody interested?

                                  You can find the attempt at: Domoticz-MySensors
                                  all suggestions welcome..

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

                                  @AWI

                                  That would be awesome!

                                  AWIA 1 Reply Last reply
                                  0
                                  • AWIA AWI

                                    In the quest for Domoticz full integration, I have been doing some prototyping in Python. Domoticz has very capable JSON support and virtual device types so we can do without "full integration" .
                                    My python script is built around a 'dictionary' based Database with a hardcoded MySensor-Domoticz translation. The script is running stable with 20+ sensor/actuators and limited cpu load on raspberry pi (15%).

                                    What is next:

                                    • dynamic sensor inclusion i.s.o. fixed nodes.
                                    • more sensor types and support for combined devices (e.g. Temp, Hum, Baro)
                                    • (sqlite i.s.o. python dictionary)

                                    dependencies: requests, json

                                    anybody interested?

                                    You can find the attempt at: Domoticz-MySensors
                                    all suggestions welcome..

                                    A Offline
                                    A Offline
                                    andriej
                                    wrote on last edited by
                                    #40

                                    @AWI That would be pretty awesome!
                                    If I can help anyhow, just say so.

                                    Currently I'm running Domoticz with custom-built gateway on MEGA, but could probably start switching whole thing to MySensors as whole setup use nRF24L01 :-)

                                    How can I help? Or is it ready for tests?

                                    :-)

                                    AWIA 1 Reply Last reply
                                    0
                                    • A andriej

                                      @AWI That would be pretty awesome!
                                      If I can help anyhow, just say so.

                                      Currently I'm running Domoticz with custom-built gateway on MEGA, but could probably start switching whole thing to MySensors as whole setup use nRF24L01 :-)

                                      How can I help? Or is it ready for tests?

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

                                      @andriej It is ready for test. Just edit the your setup in the header and adapt "Sensor_DB" to your setup. Nothing really fancy.

                                      A 1 Reply Last reply
                                      0
                                      • AWIA AWI

                                        @andriej It is ready for test. Just edit the your setup in the header and adapt "Sensor_DB" to your setup. Nothing really fancy.

                                        A Offline
                                        A Offline
                                        andriej
                                        wrote on last edited by
                                        #42

                                        @AWI I'm after first test and that's what I get just after running the code:

                                        # python mysensors-dom.py
                                        2015-01-17 02:59:41 Start
                                        ('Wrong/No input from MySensors gateway', ValueError('No JSON object could be decoded',))
                                        ('Wrong/No input from MySensors gateway', ValueError('No JSON object could be decoded',))
                                        ('Wrong/No input from MySensors gateway', ValueError('No JSON object could be decoded',))
                                        0;0;3;0;14;Gateway startup complete.
                                        ('Wrong/No input from MySensors gateway', ValueError('No JSON object could be decoded',))
                                        

                                        Are these desired messages?
                                        What I'm supposed to do later on?

                                        :-)

                                        A 1 Reply Last reply
                                        0
                                        • A andriej

                                          @AWI I'm after first test and that's what I get just after running the code:

                                          # python mysensors-dom.py
                                          2015-01-17 02:59:41 Start
                                          ('Wrong/No input from MySensors gateway', ValueError('No JSON object could be decoded',))
                                          ('Wrong/No input from MySensors gateway', ValueError('No JSON object could be decoded',))
                                          ('Wrong/No input from MySensors gateway', ValueError('No JSON object could be decoded',))
                                          0;0;3;0;14;Gateway startup complete.
                                          ('Wrong/No input from MySensors gateway', ValueError('No JSON object could be decoded',))
                                          

                                          Are these desired messages?
                                          What I'm supposed to do later on?

                                          A Offline
                                          A Offline
                                          andriej
                                          wrote on last edited by
                                          #43

                                          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 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          12

                                          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