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. Recommendation for Controller

Recommendation for Controller

Scheduled Pinned Locked Moved Controllers
14 Posts 6 Posters 6.8k Views 3 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.
  • R Offline
    R Offline
    rickmontana83
    wrote on last edited by
    #1

    I'm looking for a controller that hits as many of these points as possible. I know this is likely covered ad nauseam in this forum, but looking to see if anyone who has already gone before has any sage pointers.

    My key requirements are:

    • Free (as in beer) open source solution
    • Works with MySensors gateway "out of the box" (i.e. minimal fiddling or coding to wire the MySensors network to the controller)
    • Dynamic (picks up new nodes automatically)
    • Ideally written in Python.
    • Stable (I want to run more or less indefinitely without having to reboot all the time)
    • Runs on Raspberry Pi B+

    I don't have any other HA devices that I need to interface with yet, but I will likely be extending the the future, so connection with other popular HA devices is a plus.

    Thanks!

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

      There is a python controller called Home Assistance
      https://github.com/balloob/home-assistant

      The support for MySensors It is pretty new. I haven't even had time to add it to the main site.

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

        Ping @bjornhallberg

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

          Haven't tried Home Assistant, didn't even know it had MySensors support until now, but it does look pretty damn cool. Perhaps the best looking controller of all. And it has really useful plugins like open-wrt/tomato and sabnzbd. Not sure how well mysensors works with the controller though, supported sensors, and automatic discovery.

          If you really need Python it is pretty much your only choice.

          Can't really recommend any Java or Node.js solutions. Except for PiDome. Your other safe bet is to try Domoticz.

          Regardless of what you choose you may want to install something like monit (example instructions) to make sure your controller software is running, otherwise restart the software and even automatically restart your Pi if the controller crashes too often or too quickly.

          1 Reply Last reply
          0
          • R Offline
            R Offline
            rickmontana83
            wrote on last edited by
            #5

            Thanks for the replies! I think Domoticz might be my next stop. I'll also check out monit, sounds great.

            I tried OpenHab, but found it too ponderous to set up (and I detest Java). Seems like a general solution to map MySensors serial comms to/from OpenHab APIs is necessary. Right now it seems like you have to manually set up everything yourself, which is a major bummer if you just want to hack together a new sensor, turn it on and start collecting data. I see that as the main draw of the MySensors platform -- I can put together a sensor node from parts lying around on my desk, turn it on, and boom... new node!

            I had very high hopes for Home Assistant (I agree it looks awesome, and Python is great). But it didn't fit the bill. Here's my mini-review:

            Pros:

            • Dirt simple setup (worked first time on my Ubuntu 14.04 machine)
            • Easy to understand configuration
            • MySensors plugin does auto-detect and add sensors as they come online
            • End-to-end stack seems well architected without becoming overly ponderous and obfuscated. Perfect for learning and hacking.

            Cons:

            • Not stable yet (although take that with a grain of salt; the MySensors plugin was only added to GitHub a few days ago)
              • I saw lots of Python exceptions, losing connection, etc.
              • For some reason that I cannot fathom, the controller wouldn't see any messages from my sensor nodes unless the sensor had a serial terminal attached (even though the messages were sent to the gateway over the rf24 radio link!) I'm seriously at a loss for what was going on there...
            • No way to rename sensors after they are added
            • If a sensor hasn't reported data since it logged in, then it won't show up in the GUI (no looking at history when nodes are down)
            • Router discovery services are neat, but require you to add your admin password in plain-text (so much for security...)
            • I couldn't figure out how to get a light switch actuator working (sensor doesn't show up in the GUI)

            So for now at least it looks like that is a non-starter for me. I see lots of potential for growth here, and I'll be looking into it again in a few months to see where things have gone, but for now it looks like more of an interesting toy than a production-ready solution.

            bpairB 1 Reply Last reply
            1
            • R rickmontana83

              Thanks for the replies! I think Domoticz might be my next stop. I'll also check out monit, sounds great.

              I tried OpenHab, but found it too ponderous to set up (and I detest Java). Seems like a general solution to map MySensors serial comms to/from OpenHab APIs is necessary. Right now it seems like you have to manually set up everything yourself, which is a major bummer if you just want to hack together a new sensor, turn it on and start collecting data. I see that as the main draw of the MySensors platform -- I can put together a sensor node from parts lying around on my desk, turn it on, and boom... new node!

              I had very high hopes for Home Assistant (I agree it looks awesome, and Python is great). But it didn't fit the bill. Here's my mini-review:

              Pros:

              • Dirt simple setup (worked first time on my Ubuntu 14.04 machine)
              • Easy to understand configuration
              • MySensors plugin does auto-detect and add sensors as they come online
              • End-to-end stack seems well architected without becoming overly ponderous and obfuscated. Perfect for learning and hacking.

              Cons:

              • Not stable yet (although take that with a grain of salt; the MySensors plugin was only added to GitHub a few days ago)
                • I saw lots of Python exceptions, losing connection, etc.
                • For some reason that I cannot fathom, the controller wouldn't see any messages from my sensor nodes unless the sensor had a serial terminal attached (even though the messages were sent to the gateway over the rf24 radio link!) I'm seriously at a loss for what was going on there...
              • No way to rename sensors after they are added
              • If a sensor hasn't reported data since it logged in, then it won't show up in the GUI (no looking at history when nodes are down)
              • Router discovery services are neat, but require you to add your admin password in plain-text (so much for security...)
              • I couldn't figure out how to get a light switch actuator working (sensor doesn't show up in the GUI)

              So for now at least it looks like that is a non-starter for me. I see lots of potential for growth here, and I'll be looking into it again in a few months to see where things have gone, but for now it looks like more of an interesting toy than a production-ready solution.

              bpairB Offline
              bpairB Offline
              bpair
              wrote on last edited by
              #6

              @rickmontana83 I have been anxiously awaiting openHAB2 for several months now. It is supposed to solve most of your issues although still java but optimized for devices like raspberry pi. I believe ReleaseCandidate2 was scheduled in the next week. However that is all marketing at this point.

              To me openHAB seems to have the biggest user community and industry support which is why I have been waiting for openHAB2. I completely agree that asking new users to create sitemaps, xml files and download an eclipse app is just too much.

              I hope openHAB2 delivers.

              1 Reply Last reply
              1
              • tbowmoT Offline
                tbowmoT Offline
                tbowmo
                Admin
                wrote on last edited by
                #7

                I've added presence detection to domoticz here, I have a script running on openwrt every minute checking if certain MAC addresses (our phones) is present in the ARP table, if so it calls a url on my domoticz flipping a "lightswitch" on, and if it's not present then flipping it off.

                1 Reply Last reply
                1
                • Moshe LivneM Offline
                  Moshe LivneM Offline
                  Moshe Livne
                  Hero Member
                  wrote on last edited by
                  #8

                  I just added to domoticz a script that runs every minute, ping the phones/tablets and flicks the switch. domoticz is awsome....

                  1 Reply Last reply
                  0
                  • R Offline
                    R Offline
                    rickmontana83
                    wrote on last edited by
                    #9

                    After playing with it for a week or so, I can add my recomendationg for domoticz. It plays very well with mysensors. (On the RPi I run the latest binary beta on a stock-ish raspbian image. Seems pretty stable so far.) I suspect that the fact that the mysensors backend in domoticz is written in C++ makes it far easier to create a "deep" integration. Plus reading the mysensors plugin code is super simple if you are already delving into any of the mysensors innards, since they're just mirror images of one another.

                    Which by the way reminds me: there's currently a bug in the domoticz plugin code whereby presentations from S_DIMMER sensors are ignored. So to get domoticz to see/add the sensor you have to send a value. Not a huge deal, but I had to dig into the code to find this, so thought I'd pass along the info. For anyone intereste, note that there is no S_DIMMER around http://sourceforge.net/p/domoticz/code/HEAD/tree/trunk/hardware/MySensorsBase.cpp#l1230

                    I'm also a bit bummed no Wink support with domoticz. I'd love to be able to use some of the stuff that ecosystem opens up.

                    1 Reply Last reply
                    1
                    • Moshe LivneM Offline
                      Moshe LivneM Offline
                      Moshe Livne
                      Hero Member
                      wrote on last edited by
                      #10

                      domoticz is really cool. and any problem i had was solved really quickly. only bad thing i can say is the quality of apps that supports it on mobiles. not as slick as some of the other controllers. on the other hand, their web ui on mobile is terrific.

                      1 Reply Last reply
                      0
                      • Moshe LivneM Offline
                        Moshe LivneM Offline
                        Moshe Livne
                        Hero Member
                        wrote on last edited by
                        #11

                        ummmm did you try to open a bug tracker ticket? they usually fix it within 24h.

                        1 Reply Last reply
                        0
                        • R Offline
                          R Offline
                          rickmontana83
                          wrote on last edited by
                          #12

                          did you try to open a bug tracker ticket?

                          And miss an opportunity to whine about it on an unrelated forum? Never!

                          Okay, point taken. I should probably tell them about it. :-)

                          Moshe LivneM 1 Reply Last reply
                          0
                          • R rickmontana83

                            did you try to open a bug tracker ticket?

                            And miss an opportunity to whine about it on an unrelated forum? Never!

                            Okay, point taken. I should probably tell them about it. :-)

                            Moshe LivneM Offline
                            Moshe LivneM Offline
                            Moshe Livne
                            Hero Member
                            wrote on last edited by
                            #13

                            @rickmontana83 don't get me wrong, I would do that as well!!! (whine in unrelated forum) :-)

                            1 Reply Last reply
                            0
                            • R Offline
                              R Offline
                              rickmontana83
                              wrote on last edited by
                              #14

                              Wow... you weren't kidding about the turnaround time. Fix will be going into next beta release. +1 for Domoticz...

                              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.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