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. My Project
  3. Boiler control from MAX! Cube to Drayton Boiler via Raspberry Pi/Vera/Mysensors.

Boiler control from MAX! Cube to Drayton Boiler via Raspberry Pi/Vera/Mysensors.

Scheduled Pinned Locked Moved My Project
113 Posts 22 Posters 61.1k Views 24 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.
  • S Offline
    S Offline
    Stuart Middleton
    wrote on last edited by
    #91

    OK, so I've got my module, connected it to my Pi and installed homegear (used the Rasbian version with homegear and openhad installed). I connected to the Pi, ran homegear -r, families select 0, pairing on and started pairing on a device. However, I don't see anything in the peers list.

    So, any ideas or obvious things I'm missing?

    1 Reply Last reply
    0
    • T Offline
      T Offline
      twisted
      wrote on last edited by twisted
      #92

      it should be families select 4 I believe, did you go into the max.conf and uncomment all the lines under ti cc1101 module? you may need to set gpio to 25 (not 23) and don't uncomment the the additional section. Reboot, then you should see 4 max! when "sudo homegear -r", "ls"

      0_1486862348134_2017-02-12 01_17_56-mRemoteNG - confCons.xml.png

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Stuart Middleton
        wrote on last edited by
        #93

        OK, so I uncommented the settings in max.conf (I hadn't got to those) and I do get the following

        0_1486895529486_upload-52da0d3f-d4c9-4bc8-b6ed-e0e4b4f57ba1

        But no pairing when I do 'families select 4' then 'pon' and try to pair. The device just times out and an 'ls' doesn't show any devices.

        I may try a cleaner install and start again. I've been following a few posts and translating them into English, but it's still not working. It could, of course, be my hardware.

        Is there a log output somewhere that shows the hardware initializing?

        1 Reply Last reply
        0
        • T Offline
          T Offline
          twisted
          wrote on last edited by
          #94

          Sorry on the road ATM, but will look when i get home. Here is some pics of my wiring I have on my phone in case that is some use.0_1486896983992_IMG_20170210_165744.jpg 0_1486897020158_IMG_20170210_165751.jpg

          1 Reply Last reply
          0
          • T Offline
            T Offline
            twisted
            wrote on last edited by
            #95

            Quick thought did you factory reset the max! devices before trying to pair? I found mine wouldn't work until they had been reset due to the pairing with the cube.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              Stuart Middleton
              wrote on last edited by
              #96

              Thanks. I'm using a different module, but the wiring looks the same. I'll try again later.

              I didn't factory reset them. I'll try that.

              1 Reply Last reply
              0
              • marogM Offline
                marogM Offline
                marog
                wrote on last edited by
                #97

                You dont need to do reset. IT is enought to unpair with the cube. Try to set log debug in console of homegear with the option 10. Then logs should tell you what is wrong

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  Stuart Middleton
                  wrote on last edited by Stuart Middleton
                  #98

                  It looks like I've got the wrong module. I ordered from ebay about 3 months ago and the title said "CC1101 315/433/868/915Mhz Wireless Module SMA Antenna Transceiver fr Arduino New", but the description talks about a default "433 mhz". I'm not sure if it's switchable, but it doesn't seem to work. I've ordered another for the grand price of £1.95, but it'll take a month or so to get here. :(

                  1 Reply Last reply
                  0
                  • D Offline
                    D Offline
                    demusss
                    wrote on last edited by
                    #99

                    I've had a Honeywell wireless programmable thermostat for several years and the LCD is now a little temperamental so was looking for something new.

                    Found the Honeywell evoHome, then saw a link mention the MAX! products and then I found this thread which looks like what I'm after.

                    Its been 8 months since the last post on here so I was wondering what ever happened to this project? Its just seems to have stopped. Is it complete?

                    Did the CC1101 work so that the MAX! Cube is not required?
                    Did @Stuart-Middleton switch over to openhab2 and homegear?

                    Just wondering do I use @stephenmhall code or go the openhab2/homegear route?

                    Thanks
                    Anthony

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      Stuart Middleton
                      wrote on last edited by
                      #100

                      Hey, @demusss. I'm still using the python script talking to the MAX! Cube. It's a little temperamental but works most of the time. I finally got my hardware (CC1101) but, if I remember right, the homegear instructions listed above don't seem to work anymore. There's a missing module? I can't recall now. I'm sure I could sort it out but I just haven't had time.

                      Ideally, I'd like to talk to the system myself via the CC1101 and write the software myself instead of relying on OpenHAB but time is the limiting factor, unfortunately.

                      Maybe I'll pick it up again this weekend and try and get the CC1101 comms working.

                      Stu

                      1 Reply Last reply
                      0
                      • D Offline
                        D Offline
                        demusss
                        wrote on last edited by
                        #101

                        Wow Stu, quick reply.

                        What you've built is basically what I'm after, but from what I've read the Cube can be temperamental.

                        I do have RPi somewhere, so to have a play I may get a CC1101,
                        MAX! Wireless wall mount thermostat - BC-TC-C-WM-4 / 131651
                        MAX! TRV - BC-RT-TRX-CyN / 142016A0A

                        I would like to control the system from my mobile so if I'm out late there's no point in the heating being on. There are some HomeMatic apps out there which work with openhab etc, but maybe using your web interface would be easier.

                        Anthony

                        1 Reply Last reply
                        0
                        • S Offline
                          S Offline
                          Stuart Middleton
                          wrote on last edited by
                          #102

                          Hey, Anthony.

                          Yeah, the cube is the temperamental bit. It forgets the sensors every few weeks/months.

                          I have opened up the python web page to the web, secured behind a password, and it's OK to use. I mainly use it to monitor the system and look at the pretty graphs. I think the CC1101 with OpenHAB or custom software is the way to go.

                          Let me know if you get the Pi and CC1101 installed. I can't recall exactly what was wrong but I think it may be one of the packages that it tries to download no longer exists. It's something I really want to get fully working the way I want it, but to be honest it does a good job anyway.

                          Stu

                          1 Reply Last reply
                          0
                          • S Offline
                            S Offline
                            stephenmhall
                            wrote on last edited by stephenmhall
                            #103

                            Hi Anthony.

                            Funnily enough I went from the MAX system to a Honeywell Evo system and Domoticz as I have elderly parents and could not risk the times the max just forgot about all its radiators and either left the heating off or on all day.

                            Had the Evo for maybe a year now with no problems. The only thing I miss with the evo is notification as to when the heating is actually on. And being able to work on my code as I did enjoy writing it.

                            If you need any help with the code just ask, although it has been a while since I looked at it :)

                            Stephen

                            1 Reply Last reply
                            0
                            • A Offline
                              A Offline
                              angeloS
                              wrote on last edited by
                              #104

                              NIce post.. I was looking at adding boiler control to my max eq3 system and this looks fab

                              1 Reply Last reply
                              0
                              • A Offline
                                A Offline
                                angeloS
                                wrote on last edited by angeloS
                                #105

                                Hey all,

                                I want to revive an old thread here. Ive been chatting to Stephen via github and plan to extend , perhaps take over?, development of his PiHeating package on github..

                                Ive created my own fork (based on twistedsanity as he added some nice docker defns) and I plan to make massive changes to it.. By trade Im a Java/Javascript developer and Im using this project as an excuse to learn/play with Python

                                1. Please review my github issues Ive logged, Id love to know if people agree/disagree
                                2. Are there many MAX! Users out there? if there are then I'll invest time in making the code read-able, and pluggable with HA controllers like HomeAssistant.. If there isnt much interest then I'll trim the code down to my needs (remove vera etc)
                                3. Any other suggestions?? please log a Github issue and I'll look at it..

                                @twisted : are you twistedsanity on github?

                                My github repo is here https://github.com/asantaga/PiHeating

                                1 Reply Last reply
                                1
                                • A Offline
                                  A Offline
                                  angeloS
                                  wrote on last edited by
                                  #106
                                  This post is deleted!
                                  1 Reply Last reply
                                  0
                                  • A Offline
                                    A Offline
                                    angeloS
                                    wrote on last edited by
                                    #107

                                    Hey all,

                                    Well after long sessions of trial and error Ive given up on the Max! +Raspberry pi based on Stephens code. Regardless of how frequently you scan the max!cube it eventually looses its memory after 4-8 weeks.. Usually when Im not at home and thats not acceptable..

                                    Shame as my setup with HomeAssistant was "perfect":-(

                                    zboblamontZ 1 Reply Last reply
                                    0
                                    • A angeloS

                                      Hey all,

                                      Well after long sessions of trial and error Ive given up on the Max! +Raspberry pi based on Stephens code. Regardless of how frequently you scan the max!cube it eventually looses its memory after 4-8 weeks.. Usually when Im not at home and thats not acceptable..

                                      Shame as my setup with HomeAssistant was "perfect":-(

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

                                      @angelos I was looking into the MAX setup initially but reports of the Cube falling over put me off completely, even where some appeared to have ZERO problems. Some seemed to have circumvented the problems by reflashing the Cube (hazy recollection) but cannot remember the details of who where what, as I discarded it when a plug-in card for the Pi3 was released by the parent company (ELV?).
                                      I took it no further as I had set a target to cover all improvements from energy savings, so the budget didn't stretch to it having added insulation and improved Rad Valves, as well as the increased pricing on the market.
                                      If any of that info is potentially any help, pm me and I'll dig out what I found.

                                      1 Reply Last reply
                                      0
                                      • S stephenmhall

                                        Hi Guys. A rather specific project that may not be much use to many others but maybe of interest if you are looking for individual radiator heater control.

                                        I tried the Stella-Z radiator controllers with Vera and in all honesty they were crap, they talk to the system only rarely and they only hold one setpoint at a time, all in all no good.

                                        So I ended up getting a full set of the eq-3 MAX! kit with 7 radiator controllers, 3 wall thermostats an eco button and the central Cube controller. Apart from the supplied software being a little annoying with it sometimes messing with the heating times it is great. I solved the software problem in the app store with MAX! Remote unofficial replacement software, very good. The only problem I was left with was my Boiler.

                                        British Gas Boiler fitted with a single wireless wall thermostat in the living room. I had already upgraded the simple thermostat to a Drayton +3RF giving me daily timings but it still just took the one temperature. The problem being if the temp was up in the living room at night the heat would go off and the bedrooms would not heat up for going to bed.

                                        So to my solution. I already have a Vera automation controller and Mysensors nodes, so I now have a Raspberry Pi that polls the Cube to get all the valve open percentages if it decides the boiler needs to be on it sends a message to the Vera which transmits out on a Mysensors 433Mhz transmitter node to turn the boiler on. The Rpi has a web interface accessible in the house so I can see current temps and boiler state and also a graph of past temps for each room. I hope to implement the Cube controls in the web interface eventually so I don't need 2 pieces of software.

                                        Web UI
                                        2015-11-29.png

                                        Graph
                                        2015-11-29 (1).png

                                        Rpi2 very stock and I code in Python
                                        Heating Pi2.jpg

                                        And Finally the Mysensor Board, Just done today, has been running on a breadboard until now.
                                        heating_Mysensor.jpg

                                        It still needs a box printing.

                                        I could wire the RPi into the boiler switch direct but I want to have the old Thermostat as backup just in case.

                                        So if you have a Vera and MAX! radiator valves and an Rpi and a Drayton controlled Boiler, this is for you :)

                                        If anyone is interested I will post the code. It is very much my code as in an actual Python developer would go "What the!!" but it works. So far.

                                        W Offline
                                        W Offline
                                        w1ldf1re
                                        wrote on last edited by
                                        #109

                                        @stephenmhall

                                        Hi

                                        I have just installed a Max system, 17 TRV's, 4 Room stats and a cube. I also have a Danfoss wireless stat for controlling the boiler. I was wondering how to get boiler control with the Max because currently the boiler runs all day. I then found your project. It looks a bit advanced for me though. I was thinking of using a Sonoff device just so I could switch the boiler on/off at my leisure for a quick fix. I have never used a RPi before. I see you have now changed to an Evo system was the Max that unreliable?

                                        zboblamontZ 1 Reply Last reply
                                        0
                                        • W w1ldf1re

                                          @stephenmhall

                                          Hi

                                          I have just installed a Max system, 17 TRV's, 4 Room stats and a cube. I also have a Danfoss wireless stat for controlling the boiler. I was wondering how to get boiler control with the Max because currently the boiler runs all day. I then found your project. It looks a bit advanced for me though. I was thinking of using a Sonoff device just so I could switch the boiler on/off at my leisure for a quick fix. I have never used a RPi before. I see you have now changed to an Evo system was the Max that unreliable?

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

                                          @w1ldf1re While you are waiting...
                                          Pardon my interest and confusion, but if your Danfoss stat (presumably from a single area sensor) is controlling the boiler, how does the Cube connect to it, and if the Danfoss is connected, why does the boiler run all day?
                                          The discontinuation of the Cube compatible boiler relay due to lack of sales put me off the Cube, and quite a few complaints over reliability sealed it.
                                          My next notion was to go for a Pi3 Homematic controller which was allegedly Max compatible (see https://www.elv.de/funk-system-homematic.html - Bausatz) but when prices shot up I abandoned it for better valves/TRVs instead.
                                          Right now I'm looking at paralleling the existing commercial (Danfoss type) boiler relay with an Arduino fired one fed temperatures for all the rooms to cope with deep winters where the top floor can plunge, but they are quite separate controls.
                                          If you can find a relay (Schaltaktor) which can be called by the Cube, you should be good to go, the parallel system I would suggest better in case your Cube has a brainfart... Just my 2c...

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


                                          33

                                          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