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. Controllers
  3. Best choise for a controller

Best choise for a controller

Scheduled Pinned Locked Moved Controllers
48 Posts 9 Posters 1.0k 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.
  • dzjrD Offline
    dzjrD Offline
    dzjr
    wrote on last edited by
    #1

    Hello MySensors friends,

    I plan to completely rebuild my controller, probably with a RaspberryPi 4, the current configuration crashes regularly, I have already set up a second controller to be able to read one of my MySensors gateways, that helped for a while, but now domoticz restarts every 1.5 days on average, I have installed "Monit" on the Pi to monitor the controller.

    Now I was wondering if domoticz is the right choice for my situation, or if you might recommend a better choice?

    My setup is:
    2x MySensors Ethernet gateways (both RS485) where I collect sensor data and control dimmers. relays, valves etc.
    option for a 3rd MySensors gateway (RF Gateway).
    DMX Garden lighting control (via MySensors with its own Ethernet gateway)
    Z-Wave for the smoke detectors in my house.
    IKEA Tradfri gateway, possibly with a ConBee-II Zigbee stick instead of the IKEA Gateway.
    P1 Smart energy meter (Dutch energy meter)
    APC UPS (via USB)
    RF Link (for 433mhz components)
    Sonos control
    Modbus readout (possibly I can read through Mysensors?)
    Read out Luftdaten sensor (via Json)
    Push notification via PushOver

    I now use a Raspberry Pi 3 with Domoticz Beta, but prefer to run stable
    And a Raspberry Pi 2 with Domoticz Stable where I read one of my MySensors gateway's.
    But I prefer to use one controller.

    I am curious about your experiences and tips.

    thank you in advance
    dzjr

    electrikE rejoe2R 2 Replies Last reply
    0
    • dzjrD dzjr

      Hello MySensors friends,

      I plan to completely rebuild my controller, probably with a RaspberryPi 4, the current configuration crashes regularly, I have already set up a second controller to be able to read one of my MySensors gateways, that helped for a while, but now domoticz restarts every 1.5 days on average, I have installed "Monit" on the Pi to monitor the controller.

      Now I was wondering if domoticz is the right choice for my situation, or if you might recommend a better choice?

      My setup is:
      2x MySensors Ethernet gateways (both RS485) where I collect sensor data and control dimmers. relays, valves etc.
      option for a 3rd MySensors gateway (RF Gateway).
      DMX Garden lighting control (via MySensors with its own Ethernet gateway)
      Z-Wave for the smoke detectors in my house.
      IKEA Tradfri gateway, possibly with a ConBee-II Zigbee stick instead of the IKEA Gateway.
      P1 Smart energy meter (Dutch energy meter)
      APC UPS (via USB)
      RF Link (for 433mhz components)
      Sonos control
      Modbus readout (possibly I can read through Mysensors?)
      Read out Luftdaten sensor (via Json)
      Push notification via PushOver

      I now use a Raspberry Pi 3 with Domoticz Beta, but prefer to run stable
      And a Raspberry Pi 2 with Domoticz Stable where I read one of my MySensors gateway's.
      But I prefer to use one controller.

      I am curious about your experiences and tips.

      thank you in advance
      dzjr

      electrikE Offline
      electrikE Offline
      electrik
      wrote on last edited by
      #2

      @dzjr
      I use node-red and it is really stable. Mysensors gateway is ESP32 based with MQTT.
      In the past I had some stability issues, but these were caused by plugins of Node-red. Perhaps this is a cause for your stability problems also? I don't know Domoticz, but I do know it is used very frequently so should be stable. Also corrupt SD cards can cause stability issues

      1 Reply Last reply
      0
      • dzjrD Offline
        dzjrD Offline
        dzjr
        wrote on last edited by
        #3

        @electrik Thank you for your comment,

        I was already thinking that it might be a problem with the SD card, so I ordered a new one from a better webshop (Reichelt.de).
        I also ordered a new RaspberryPi 4 4GB, and then build a new controller with domoticz on the Pi4.

        zboblamontZ 1 Reply Last reply
        0
        • dzjrD dzjr

          @electrik Thank you for your comment,

          I was already thinking that it might be a problem with the SD card, so I ordered a new one from a better webshop (Reichelt.de).
          I also ordered a new RaspberryPi 4 4GB, and then build a new controller with domoticz on the Pi4.

          zboblamontZ Offline
          zboblamontZ Offline
          zboblamont
          wrote on last edited by
          #4

          @dzjr SD cards caused failures on a Pi3 here mainly down to frequent power outages, but since you run on a UPS, puzzled why you should get corruptions or have instabilities.
          The SD market is awash with fakes unfortunately, a major headache for even established suppliers, bought two, both failed within months.
          Perhaps you might consider shifting from SD to HDD or SSD?
          I got greater stability in using HDD, and even after one power cut too many screwed Domoticz, managed to recover the database.
          Since deploying a DC/DC UPS, zero problems.
          Good luck...

          dzjrD 1 Reply Last reply
          0
          • zboblamontZ zboblamont

            @dzjr SD cards caused failures on a Pi3 here mainly down to frequent power outages, but since you run on a UPS, puzzled why you should get corruptions or have instabilities.
            The SD market is awash with fakes unfortunately, a major headache for even established suppliers, bought two, both failed within months.
            Perhaps you might consider shifting from SD to HDD or SSD?
            I got greater stability in using HDD, and even after one power cut too many screwed Domoticz, managed to recover the database.
            Since deploying a DC/DC UPS, zero problems.
            Good luck...

            dzjrD Offline
            dzjrD Offline
            dzjr
            wrote on last edited by
            #5

            @zboblamont thank you for your response

            To be honest, a "Fake" SD card is very possible, just think that the card I used came from Action Store, which is very well known in the Netherlands, and which is not known as the most expensive store ....

            I have now ordered a new Sandisk Micro SD card, but I am definitely considering your option for an SSD.

            I had seen the DC/DC (Meanwell) UPS before (in a post from you?), But I already bought the APC UPS, which can also be an advantage given that my entire network continues to run for about 30 minutes at a (rare) power failure.

            zboblamontZ 1 Reply Last reply
            0
            • dzjrD dzjr

              @zboblamont thank you for your response

              To be honest, a "Fake" SD card is very possible, just think that the card I used came from Action Store, which is very well known in the Netherlands, and which is not known as the most expensive store ....

              I have now ordered a new Sandisk Micro SD card, but I am definitely considering your option for an SSD.

              I had seen the DC/DC (Meanwell) UPS before (in a post from you?), But I already bought the APC UPS, which can also be an advantage given that my entire network continues to run for about 30 minutes at a (rare) power failure.

              zboblamontZ Offline
              zboblamontZ Offline
              zboblamont
              wrote on last edited by zboblamont
              #6

              @dzjr It was Sandisk I bought too, the reputable supplier was furious to discover fakes made it onto their inventory, after all they purchase in thousands of units. I suspect they are a lot more careful these days.
              Infuriatingly local powercuts are common here, deadly to a Pi3 SD card, but what was curious on the ultimate failure with a portable HDD in place, was that the database could be recovered from the HDD, unsuccessful with the SD card. And yes, backups were still on my to-do list... :face_with_rolling_eyes:
              Your UPS was the reason I queried SD card corruption, but cannot see the connection between corruption and Domoticz restarts.
              Thought initially on a commercial UPS, but ultimately it was the standby capacity which swung it on DC-DC conversion, easily standing an outage exceeding 12 hours, or can provide additional outputs up to 12v (router).
              Have not yet delved into the mysteries of Node-Red or MQTT unlike @electrik, but it certainly appears to offer flexibility, and remain curious..
              Good luck in any case.

              dzjrD 1 Reply Last reply
              0
              • zboblamontZ zboblamont

                @dzjr It was Sandisk I bought too, the reputable supplier was furious to discover fakes made it onto their inventory, after all they purchase in thousands of units. I suspect they are a lot more careful these days.
                Infuriatingly local powercuts are common here, deadly to a Pi3 SD card, but what was curious on the ultimate failure with a portable HDD in place, was that the database could be recovered from the HDD, unsuccessful with the SD card. And yes, backups were still on my to-do list... :face_with_rolling_eyes:
                Your UPS was the reason I queried SD card corruption, but cannot see the connection between corruption and Domoticz restarts.
                Thought initially on a commercial UPS, but ultimately it was the standby capacity which swung it on DC-DC conversion, easily standing an outage exceeding 12 hours, or can provide additional outputs up to 12v (router).
                Have not yet delved into the mysteries of Node-Red or MQTT unlike @electrik, but it certainly appears to offer flexibility, and remain curious..
                Good luck in any case.

                dzjrD Offline
                dzjrD Offline
                dzjr
                wrote on last edited by dzjr
                #7

                @zboblamont

                Do you use the SSD / HDD instead of the SD card, or only as storage?
                Did you use a separate USB drive or a Rasp-Pi SSD sheild like for example this one ?

                For the Pi4 I read that it is not (yet) supported to boot from SSD, namely ...

                What strikes me is that if domoticz has to process more measurement data that monit sees a problem sooner, or that Domoticz is fixed ....
                it seems like a buffer is full or something like that.

                And do you use a Meanwell ADD-155 series for the UPS Power supply?

                zboblamontZ 1 Reply Last reply
                0
                • dzjrD dzjr

                  @zboblamont

                  Do you use the SSD / HDD instead of the SD card, or only as storage?
                  Did you use a separate USB drive or a Rasp-Pi SSD sheild like for example this one ?

                  For the Pi4 I read that it is not (yet) supported to boot from SSD, namely ...

                  What strikes me is that if domoticz has to process more measurement data that monit sees a problem sooner, or that Domoticz is fixed ....
                  it seems like a buffer is full or something like that.

                  And do you use a Meanwell ADD-155 series for the UPS Power supply?

                  zboblamontZ Offline
                  zboblamontZ Offline
                  zboblamont
                  wrote on last edited by
                  #8

                  @dzjr The microSD acts only to redirect the Pi3 boot to the HDD, hence it's effectively RO. It can be reverted to full SD boot using a backup card if needed, the Pi4 is likely no different.
                  HDD is a simple slim Seagate laptop type running off a single USB port on the Pi3, the modern versions are light with a plastic case.
                  No issues for the original Pi3 PSU, had two coupled at one point, so they're very efficient. No need of a shield, only something to hold the drive to the wall.

                  The Meanwell from memory is AD55, a dedicated UPS type charging a 7.2Ah 12v battery to which it reverts on power failure. Power out is via a high efficiency buck converter with integrated USB, so plenty of headroom.
                  At below 50 euro built, very pleased, only mains detection to sort out as this PSU came without a breakout panel on the back for that purpose.

                  dzjrD 1 Reply Last reply
                  0
                  • dzjrD dzjr

                    Hello MySensors friends,

                    I plan to completely rebuild my controller, probably with a RaspberryPi 4, the current configuration crashes regularly, I have already set up a second controller to be able to read one of my MySensors gateways, that helped for a while, but now domoticz restarts every 1.5 days on average, I have installed "Monit" on the Pi to monitor the controller.

                    Now I was wondering if domoticz is the right choice for my situation, or if you might recommend a better choice?

                    My setup is:
                    2x MySensors Ethernet gateways (both RS485) where I collect sensor data and control dimmers. relays, valves etc.
                    option for a 3rd MySensors gateway (RF Gateway).
                    DMX Garden lighting control (via MySensors with its own Ethernet gateway)
                    Z-Wave for the smoke detectors in my house.
                    IKEA Tradfri gateway, possibly with a ConBee-II Zigbee stick instead of the IKEA Gateway.
                    P1 Smart energy meter (Dutch energy meter)
                    APC UPS (via USB)
                    RF Link (for 433mhz components)
                    Sonos control
                    Modbus readout (possibly I can read through Mysensors?)
                    Read out Luftdaten sensor (via Json)
                    Push notification via PushOver

                    I now use a Raspberry Pi 3 with Domoticz Beta, but prefer to run stable
                    And a Raspberry Pi 2 with Domoticz Stable where I read one of my MySensors gateway's.
                    But I prefer to use one controller.

                    I am curious about your experiences and tips.

                    thank you in advance
                    dzjr

                    rejoe2R Offline
                    rejoe2R Offline
                    rejoe2
                    wrote on last edited by
                    #9

                    @dzjr You may have a look at FHEM. At least all of your present hardware will be supported, and it's really a stable base that might run on any rasberry base (despite imo that's not a good choice for any HA solution, but that's different story).

                    Controller: FHEM; MySensors: 2.3.1, RS485,nRF24,RFM69, serial Gateways

                    dzjrD 1 Reply Last reply
                    0
                    • zboblamontZ zboblamont

                      @dzjr The microSD acts only to redirect the Pi3 boot to the HDD, hence it's effectively RO. It can be reverted to full SD boot using a backup card if needed, the Pi4 is likely no different.
                      HDD is a simple slim Seagate laptop type running off a single USB port on the Pi3, the modern versions are light with a plastic case.
                      No issues for the original Pi3 PSU, had two coupled at one point, so they're very efficient. No need of a shield, only something to hold the drive to the wall.

                      The Meanwell from memory is AD55, a dedicated UPS type charging a 7.2Ah 12v battery to which it reverts on power failure. Power out is via a high efficiency buck converter with integrated USB, so plenty of headroom.
                      At below 50 euro built, very pleased, only mains detection to sort out as this PSU came without a breakout panel on the back for that purpose.

                      dzjrD Offline
                      dzjrD Offline
                      dzjr
                      wrote on last edited by
                      #10

                      @zboblamont
                      Thank you for the information, i will look for a good SSD, that is not so difficult i think.

                      Also i will think of ordering a AD55 for powering the pi instead of the 5V 5A psu i use now.

                      1 Reply Last reply
                      0
                      • rejoe2R rejoe2

                        @dzjr You may have a look at FHEM. At least all of your present hardware will be supported, and it's really a stable base that might run on any rasberry base (despite imo that's not a good choice for any HA solution, but that's different story).

                        dzjrD Offline
                        dzjrD Offline
                        dzjr
                        wrote on last edited by
                        #11

                        @rejoe2 I had never looked at FHEM myself, I will certainly do so.

                        As a server, I also received a tip to use an Intel nuc instead of a Pi.

                        rejoe2R 1 Reply Last reply
                        0
                        • NeverDieN Offline
                          NeverDieN Offline
                          NeverDie
                          Hero Member
                          wrote on last edited by
                          #12

                          If you want stability, then for the price of a new Raspberry Pi 4 (or even less) you can buy yourself a combo motherboard + intel CPU. Then you can bypass SD cards altogether. Load it with Debian and you'll have practically the same user experience, except that it will run noticeably faster than a raspberry pi.

                          1 Reply Last reply
                          0
                          • NeverDieN Offline
                            NeverDieN Offline
                            NeverDie
                            Hero Member
                            wrote on last edited by NeverDie
                            #13

                            Or, better yet, $39 gets you a refurbished mini PC with everything but the operating system all neatly packaged and ready to plug in and turn on: https://www.ebay.com/itm/Zotac-ZBOX-BI319-Mini-PC-Celeron-2807U-1-5Ghz-Plus-2GB-RAM-500G-HD-HDMI-NO-OS/173925495203?hash=item287ec471a3:g:zI4AAOSwBPZc-WiS

                            i have one of these running Windows that I had purchased new a couple years ago, and it's a nice little box. Very quiet.

                            dzjrD 1 Reply Last reply
                            0
                            • NeverDieN NeverDie

                              Or, better yet, $39 gets you a refurbished mini PC with everything but the operating system all neatly packaged and ready to plug in and turn on: https://www.ebay.com/itm/Zotac-ZBOX-BI319-Mini-PC-Celeron-2807U-1-5Ghz-Plus-2GB-RAM-500G-HD-HDMI-NO-OS/173925495203?hash=item287ec471a3:g:zI4AAOSwBPZc-WiS

                              i have one of these running Windows that I had purchased new a couple years ago, and it's a nice little box. Very quiet.

                              dzjrD Offline
                              dzjrD Offline
                              dzjr
                              wrote on last edited by
                              #14

                              @neverdie

                              Thank you for your tip, unfortunately there are quite a few costs such as import duties .....

                              In the end I want to switch to a complete system, but after an afternoon of serving around I no longer know what I should and should not take .......
                              There is just a little too much choice in everything, and I don't want to take a risk with a second hand from a private person who might be broken or something.

                              I think I'll start with the Pi4 for the time being, and add an SSD once.

                              zboblamontZ TRS-80T 2 Replies Last reply
                              0
                              • dzjrD dzjr

                                @neverdie

                                Thank you for your tip, unfortunately there are quite a few costs such as import duties .....

                                In the end I want to switch to a complete system, but after an afternoon of serving around I no longer know what I should and should not take .......
                                There is just a little too much choice in everything, and I don't want to take a risk with a second hand from a private person who might be broken or something.

                                I think I'll start with the Pi4 for the time being, and add an SSD once.

                                zboblamontZ Offline
                                zboblamontZ Offline
                                zboblamont
                                wrote on last edited by
                                #15

                                @dzjr Perhaps SSD has moved on in $ and reliability since last I looked, but don't dismiss HDD so lightly, they may be old gen technology but are cheap and WAY faster than anything you'll ever need..

                                1 Reply Last reply
                                0
                                • monteM Offline
                                  monteM Offline
                                  monte
                                  wrote on last edited by monte
                                  #16

                                  I myself never got any problems with SD cards in my Pi's, but to ensure none of such will happen I've bought high endurance microSD from Samsung that costs about 3 times the price of a normal microSD card of the same brand and speed. They are designed to withstand continuous write for a warranty period. They are often used for onboard cameras and other surveillance equipment.
                                  As for controller I highly recommend Home Assistant. It seems to be the most developed and highly supported platform with the biggest community and the widest customizability. I still use Domoticz at home, but currently finishing install of a system based on Home Assistant at my friend's home. After I've looked deeper into HA I am going to migrate my own home automation to it too.
                                  If you have any network storage at home I would suggest you set up rsync to backup your config daily. HA can be installed like a Docker image, and it keeps all your config and custom installed modules/scripts/themes/etc in one folder, so it can be easily backed up and/or migrated to another system if needed.
                                  In the latest versions they added ability to make most of the configs within web UI, though configuring with config YAML files is pretty straight forward and almost every option you would need is described in a vast and well organized documentation.

                                  1 Reply Last reply
                                  0
                                  • dzjrD dzjr

                                    @rejoe2 I had never looked at FHEM myself, I will certainly do so.

                                    As a server, I also received a tip to use an Intel nuc instead of a Pi.

                                    rejoe2R Offline
                                    rejoe2R Offline
                                    rejoe2
                                    wrote on last edited by
                                    #17

                                    @dzjr said in Best choise for a controller:

                                    @rejoe2 I had never looked at FHEM myself, I will certainly do so.

                                    As a server, I also received a tip to use an Intel nuc instead of a Pi.

                                    Have a look at Linux compability first when looking for Intel NUC. My HA system runs on a ThinClient platform from hp. Consumes slightly more than a Pi or newer NUC, but only costs around the same as a new Pi.

                                    Wrt. to what @monte said about Home Assistant: Comparing is not really easy, as one can focus on different things, but most likely FHEM might stand the test, especially if you focus on hardware integration and automation (but to be honest: Perl on which FHEM is based is "special" and seems to be no longer "a la mode").
                                    If you are able to read German, you can find some infos on FHEM compared to OpenHAB and IOBroker here - there's also some few remarks from users with HASS experience (most of them highlight the shiny UI of HASS, and there are also some FHEM users going for FHEM for automation tasks and hardware interfacing and HASS as UI).

                                    Controller: FHEM; MySensors: 2.3.1, RS485,nRF24,RFM69, serial Gateways

                                    monteM 1 Reply Last reply
                                    0
                                    • rejoe2R rejoe2

                                      @dzjr said in Best choise for a controller:

                                      @rejoe2 I had never looked at FHEM myself, I will certainly do so.

                                      As a server, I also received a tip to use an Intel nuc instead of a Pi.

                                      Have a look at Linux compability first when looking for Intel NUC. My HA system runs on a ThinClient platform from hp. Consumes slightly more than a Pi or newer NUC, but only costs around the same as a new Pi.

                                      Wrt. to what @monte said about Home Assistant: Comparing is not really easy, as one can focus on different things, but most likely FHEM might stand the test, especially if you focus on hardware integration and automation (but to be honest: Perl on which FHEM is based is "special" and seems to be no longer "a la mode").
                                      If you are able to read German, you can find some infos on FHEM compared to OpenHAB and IOBroker here - there's also some few remarks from users with HASS experience (most of them highlight the shiny UI of HASS, and there are also some FHEM users going for FHEM for automation tasks and hardware interfacing and HASS as UI).

                                      monteM Offline
                                      monteM Offline
                                      monte
                                      wrote on last edited by
                                      #18

                                      @rejoe2 but is there anything that FHEM supports and HA doesn't?
                                      Also keep in mind ongoing development in contrary to others (over 70 releases on github this year alone). For example google pulled off "works with nest" API, so many users can't use their thermostats with 3rd party software, but one of HA users made a simple dirty hack which makes it possible to integrate your nest thermostat for now, until google will release their new API for users.
                                      Also HA is written in python which makes it pretty easy to fix any issues or add new features.

                                      rejoe2R 1 Reply Last reply
                                      0
                                      • dzjrD Offline
                                        dzjrD Offline
                                        dzjr
                                        wrote on last edited by
                                        #19

                                        Friends,

                                        I ordered a mini PC anyway, and am going to try both HA and FHEM (maybe with a virtual OS), in addition to my current Domoticz system for the time being, and then see what works best for my situation.

                                        What I had forgotten to say is that I will also use the controller to control the garden irrigation, of which I control the water valves and read the sensors with Mysensors, so I will certainly include the ease of scripting.

                                        1 Reply Last reply
                                        0
                                        • G Offline
                                          G Offline
                                          Grubstake
                                          wrote on last edited by
                                          #20

                                          I have been using Domoticz (currently 4.10717) for a few years and it has always very stable except sometimes when the trouble is introduced by my mistakes. If you are satisfied with Domoticz, except for the current stability, I suggest it is something you can correct. Changing to another controller will be a lot of work.

                                          I have had very good stability with Domoticz on rPI first, now on a basic Intel NUC running Ubuntu with SDD drive which is of course much faster.

                                          Of course hardware trouble on the device running Domoticz is possible. I suggest using fastest, best quality hardware & SD card for your controller. Other software running on the same Pi might be causing your problem rather than Domoticz.

                                          You can probably get better help debugging Domoticz on their forum.

                                          A few ideas:

                                          • Have you reviewed the Domoticz logs to identify any issues?
                                          • I wonder why you are running two separate Domoticz controllers, and if a conflict could be causing problems? It may be easy for you to test by removing your second controller for a while.

                                          Good luck!

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


                                          26

                                          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