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. General Discussion
  3. Looking to switch automation controller software

Looking to switch automation controller software

Scheduled Pinned Locked Moved General Discussion
27 Posts 10 Posters 8.5k 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.
  • dbemowskD Offline
    dbemowskD Offline
    dbemowsk
    wrote on last edited by
    #5

    Thanks @drock1985 . It has been a number of years since I created my thermostat plugin for Open Source Automation. I will have to see if I still have my code around somewhere for that. Maybe I can adapt it to the arduino. The hard part in it may be how I would adapt it to MySensors code.

    RS485 modules for arduino are cheap:
    http://www.ebay.com/itm/First-rate-MAX485-RS-485-Module-TTL-to-RS-485-module-for-Arduino-Raspberry-EFC-/291731314046?hash=item43ec8a957e:g:KegAAOSwnDxUp7o9

    Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
    Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

    1 Reply Last reply
    0
    • D Offline
      D Offline
      drock1985
      wrote on last edited by drock1985
      #6

      Hi @dbemowsk

      I don't think it would be too hard to adapt the code over to MySensors. Check out the Library and Serial API pages to get an idea of how the messages can be constructed.

      As for making them talk to each other, there may already be someone doing this, or has done it in the past with an Arduino. it would be worth Googling for things like "Arduino thermostat (insert your brand/model here)" and see what comes up. If not, backwards engineering should be ok too (serial read maybe?)

      In any event good luck and have fun! If you ever get stuck, post in the forums and if you are new to Arduino in general, there are a lot of great tutorials on the internet/YouTube or my personal favourite, a course from a place like Udemy can be useful.

      My Projects
      2 Door Chime Sensor
      Washing Machine Monitor

      hekH 1 Reply Last reply
      0
      • D drock1985

        Hi @dbemowsk

        I don't think it would be too hard to adapt the code over to MySensors. Check out the Library and Serial API pages to get an idea of how the messages can be constructed.

        As for making them talk to each other, there may already be someone doing this, or has done it in the past with an Arduino. it would be worth Googling for things like "Arduino thermostat (insert your brand/model here)" and see what comes up. If not, backwards engineering should be ok too (serial read maybe?)

        In any event good luck and have fun! If you ever get stuck, post in the forums and if you are new to Arduino in general, there are a lot of great tutorials on the internet/YouTube or my personal favourite, a course from a place like Udemy can be useful.

        hekH Online
        hekH Online
        hek
        Admin
        wrote on last edited by
        #7

        Hey guys,

        https://github.com/mysensors/Arduino/blob/development/libraries/MySensors/examples/GatewaySerialRS485/GatewaySerialRS485.ino

        https://github.com/mysensors/Arduino/blob/development/libraries/MySensors/core/MyTransportRS485.cpp

        (background)
        https://forum.mysensors.org/topic/1947/rs485-rs232-serial-transport-class-for-mysensors-org

        1 Reply Last reply
        1
        • P Offline
          P Offline
          pjr
          wrote on last edited by
          #8

          @dbemowsk did you mean setup like this? controller <- usb -> GW <- rf -> "gateway node" <- rs485 -> thermostat network. If so, I have done it with my heat pump. I have "gateway node" that translates modbus to mysensors to/from my heat pump.

          AWIA 1 Reply Last reply
          0
          • P pjr

            @dbemowsk did you mean setup like this? controller <- usb -> GW <- rf -> "gateway node" <- rs485 -> thermostat network. If so, I have done it with my heat pump. I have "gateway node" that translates modbus to mysensors to/from my heat pump.

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

            @pjr sounds interesting, can you share some details?

            1 Reply Last reply
            0
            • dbemowskD Offline
              dbemowskD Offline
              dbemowsk
              wrote on last edited by
              #10

              @pjr that is exactly what I am talking about. The only thing on my RS485 network is my thermostat. As I mentioned before, I had written a plugin for a project called Open Source Automation that I worked on a few years back and will be trying to find that code. Can't remember if I did that one in Visual Basic or C#. If I did it in VB, it may take a bit to port it to arduino, but if I did it in C#, porting it shouldn't be that hard at all. I just need to bridge that gap.

              Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
              Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

              K 1 Reply Last reply
              0
              • P Offline
                P Offline
                pjr
                wrote on last edited by pjr
                #11

                @AWI I'm kinda waiting that someone with more skills could implement this. Then I can finalize my functionality and a post project topic about it.
                If someone wants to have current version of the source just pm me!

                @dbemowsk what protocol your thermostat is "speaking"?

                1 Reply Last reply
                0
                • dbemowskD Offline
                  dbemowskD Offline
                  dbemowsk
                  wrote on last edited by
                  #12

                  The protocol as far as I know is specific to RCS hardware. I have never compared it to modus or anything, but it may be similar.

                  Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                  Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                  1 Reply Last reply
                  0
                  • dbemowskD dbemowsk

                    @pjr that is exactly what I am talking about. The only thing on my RS485 network is my thermostat. As I mentioned before, I had written a plugin for a project called Open Source Automation that I worked on a few years back and will be trying to find that code. Can't remember if I did that one in Visual Basic or C#. If I did it in VB, it may take a bit to port it to arduino, but if I did it in C#, porting it shouldn't be that hard at all. I just need to bridge that gap.

                    K Offline
                    K Offline
                    kimot
                    wrote on last edited by
                    #13

                    @dbemowsk You can use NODE RED as a translator between your hardware and protokol and then send translated messages to Domoticz ( for example). I think NODE RED + any sw controller is very powerfull combination.

                    1 Reply Last reply
                    1
                    • dbemowskD Offline
                      dbemowskD Offline
                      dbemowsk
                      wrote on last edited by
                      #14

                      @kimot Does NODE RED have any kind of web interface for flows that are created? I am not seeing anything on their website.

                      Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                      Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                      1 Reply Last reply
                      0
                      • mfalkviddM Offline
                        mfalkviddM Offline
                        mfalkvidd
                        Mod
                        wrote on last edited by
                        #15

                        This is what node red looks like
                        alt text
                        From https://learn.adafruit.com/raspberry-pi-hosting-node-red/what-is-node-red

                        1 Reply Last reply
                        0
                        • dbemowskD Offline
                          dbemowskD Offline
                          dbemowsk
                          wrote on last edited by
                          #16

                          @mfalkvidd I can see that being nice for the logic side, but what I was asking about when I mentioned a web interface was some nice easy way of looking up the status of devices from something like a floorplan or list view, and a way to control those devices manually if I see the need.

                          Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                          Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                          D K 2 Replies Last reply
                          0
                          • dbemowskD dbemowsk

                            @mfalkvidd I can see that being nice for the logic side, but what I was asking about when I mentioned a web interface was some nice easy way of looking up the status of devices from something like a floorplan or list view, and a way to control those devices manually if I see the need.

                            D Offline
                            D Offline
                            drock1985
                            wrote on last edited by
                            #17

                            @dbemowsk

                            Domoticz. Domoticz offers floorplan setup (just upload a .jpg of the plan) and has manual switches you can set up. As well, the automation uses blocky - an easy to use GUI way of automating. Or LUA; if you are feeling brave.

                            My Projects
                            2 Door Chime Sensor
                            Washing Machine Monitor

                            1 Reply Last reply
                            0
                            • dbemowskD dbemowsk

                              @mfalkvidd I can see that being nice for the logic side, but what I was asking about when I mentioned a web interface was some nice easy way of looking up the status of devices from something like a floorplan or list view, and a way to control those devices manually if I see the need.

                              K Offline
                              K Offline
                              kimot
                              wrote on last edited by
                              #18

                              @dbemowsk I think, that for example Domoticz does not understood your RS485 thermostat. So you can recieve its message by serial node in NODE RED,
                              decode message and send it via HTTP to the Domnoticz. Or you are not happy with Domoticz graph style end limitation only 7 days for detail teperature storage. So you can first recieve data from sensor by NODE RED, store them to the file or database and then send them to the Domoticz. I wrote that NODE RED is good for cooperation with other sw controllers, witch do visualisation measured data.

                              1 Reply Last reply
                              0
                              • dbemowskD Offline
                                dbemowskD Offline
                                dbemowsk
                                wrote on last edited by
                                #19

                                @kimot I see, you are only using NODE RED as a go between for Domoticz, not as the actual controller itself. Like a way to interface hardware that Domoticz doesn't normally recognize.

                                Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                                Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                                1 Reply Last reply
                                0
                                • DidiD Offline
                                  DidiD Offline
                                  Didi
                                  wrote on last edited by
                                  #20

                                  Read this for a Nodered userinterface
                                  http://tech.scargill.net/node-red-ui/
                                  http://tech.scargill.net/more-node-red-ui/

                                  if (knowledge == 0) { use BRAIN; use GOOGLE;use SEARCH; } else {make POST;}

                                  1 Reply Last reply
                                  0
                                  • F Offline
                                    F Offline
                                    Fabien
                                    wrote on last edited by
                                    #21

                                    node-red-ui is currently switching to node-red-dashboard and maintained by the core team.

                                    1 Reply Last reply
                                    0
                                    • DidiD Offline
                                      DidiD Offline
                                      Didi
                                      wrote on last edited by
                                      #22

                                      I don´t have noticed that.
                                      Here is the github link

                                      if (knowledge == 0) { use BRAIN; use GOOGLE;use SEARCH; } else {make POST;}

                                      1 Reply Last reply
                                      0
                                      • dbemowskD Offline
                                        dbemowskD Offline
                                        dbemowsk
                                        wrote on last edited by
                                        #23

                                        So in the interest of keeping my current HA setup running while I get this set up and tested, I figured that this might be a place to use a new controller I got a while back. The controller is an Orange Pi. When a guy from work said he could get me one for $18 US, I couldn't say no. I have had it sitting around for a couple months now waiting to find a use for it. I think I found my use.

                                        The unit that I have is an Orange Pi PC which has a 1.6GHz quad coreprocessor with 1GB ram. A lot of choices for OS. Need to find me an 8GB class 10 MicroSD card (Might have one laying around). Then I want to find an automation software that is easy to install and use with this computer. Has anyone in here used an Orange Pi, and if so, what automation software have you used with it?

                                        Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                                        Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

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

                                          @dbemowsk

                                          As some of the other posts in this thread indicate, you can use node-red as a middleware, between domoticz (or any other controller frontends you like) and sensors.

                                          I'm using it here, between my mysensors GW and domoticz. I have one arduino on my utility meter, that isn't wireless, and doesn't use mysensors protocol. I have used node-red to change it's protocol into mysensors format, and are injecting that into the mysensors datastream into domoticz.

                                          At the same time, I have influxdb / grafana installed, and node-red publishes all sensor data into influxdb, so I can use that package as graphing solution.

                                          I have been running two controllers at the same time at one point in time, where node-red was feeding the two controllers the same mysensors datastream, and both controllers could send data to mysensors nodes.

                                          The possibilities are endless with node-red :)

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


                                          19

                                          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