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 60.7k 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 Stuart Middleton
    #68

    Ah, well, I think the cube tells you it happens instantly but queues the requests up and waits to be contacted by a valve. I think that's what the memory slot parameters are for when you get the cube data. It fills them up with outgoing data ready for when the device makes contact. I'm not 100% sure about this but when researching it a while ago (I was going to go down the 868Mhz radio route before I found your project) I'm sure I read that's how it worked. I'll see if I can find the article.

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

      I'm having a small issue, and I can't see why. I had to reload and now every time I try to load it I get the following before it terminates. This is from fresh install.

      Traceback (most recent call last):
      File "main.py", line 204, in <module>
      Main()
      File "main.py", line 96, in init
      self.doLoop()
      File "main.py", line 111, in doLoop
      buttonCheckHeat("main")
      File "/home/pi/PiHeating/heatinggpio.py", line 173, in buttonCheckHeat
      MaxInterface().checkHeat(0)
      File "/home/pi/PiHeating/max.py", line 56, in checkHeat
      self.switchHeat()
      File "/home/pi/PiHeating/max.py", line 486, in switchHeat
      roomTemps = CreateUIPage().createRooms()
      File "/home/pi/PiHeating/webui.py", line 224, in createRooms
      actualTemp, roomOpen, roomMode)
      UnboundLocalError: local variable 'roomOpen' referenced before assignment

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

        That error suggests you don't have a settings file?

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

          @stephenmhall - I'm getting a lot of issues that seem to plague the MAX system (not your excellent software of course :) ) where the cube forgets the valves randomly or updating timings don't get sent to the valves. I also hate that the realtime temp isn't reported.

          With this said, I was wondering if you (or anyone else) had seen the BlueTooth version of the valves that they sell. And if so, has anyone taken a peek at the messages to see if the temp is reported? I'd rather control the whole thing via BT than go via the dodgy cube! :)

          1 Reply Last reply
          0
          • Maciej JablonskiM Offline
            Maciej JablonskiM Offline
            Maciej Jablonski
            wrote on last edited by Maciej Jablonski
            #72

            Looks eq-3 at least have plans for eq-3 MAX! compatible boiler/hot water controller, the manual is already there, just cannot see the product anywhere.

            http://www.eq-3.de/Downloads/eq3/downloads_produktkatalog/max/bda/en/BC-TS-Sw2-WM_UM_E_eQ-3_160420.pdf

            betzaalB 1 Reply Last reply
            0
            • ? Offline
              ? Offline
              A Former User
              wrote on last edited by A Former User
              #73

              For anyone looking in having a setup like above, theres a way without extra buying the cube or the ccu2 when using homematic thermostats. Please have a look at https://www.homegear.eu , which eliminates the need of those boxes as it runs on a raspberry pi which most of us already have. You will have to add a CUL or better build yourself a NanoCUL (arduino nano + CC1101 ). Homegear does all the pairing and communication (also scripts) and best of all its converting and outputs all the communication via MQTT, so you can use Node Red.

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

                Damn, just weeks after I changed to a Honeywell system. Talk about bad timing.

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

                  FYI, I bought a CC1101 connected it up to an RPI, setup openhab, homegear, the homeatic binding, and within minutes I had all of the devices listed and complete control over them all. Well I can say that is where it has ended, I am struggling to either find pre-written logic or writing my own to control everything. The issue isn't so much writing it as such, but choosing which system should host it. This dilemma exists, as I have everything else in my vera, I am getting into node-red, and now also have openhab/homegear in the loop, I don't want to fracture my set up too much from a control interface point. I like the idea of keeping the WAF where it is, so I will probably still need to have some sort of control via the vera and therefore one of the apps that the other half is still happy with.

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

                    I've got a CC1101 on its way from China. I'm hoping it'll be here soon. My plan was to rewrite the excellent Python code from this page to talk to them directly rather than through the cube. Currently, I don't have an off the shelf home system. I'm kind of writing it all myself as I go (maybe a mistake, I know). I'll let you know how I get on when mine arrives.

                    T 1 Reply Last reply
                    0
                    • S Stuart Middleton

                      I've got a CC1101 on its way from China. I'm hoping it'll be here soon. My plan was to rewrite the excellent Python code from this page to talk to them directly rather than through the cube. Currently, I don't have an off the shelf home system. I'm kind of writing it all myself as I go (maybe a mistake, I know). I'll let you know how I get on when mine arrives.

                      T Offline
                      T Offline
                      twisted
                      wrote on last edited by
                      #77

                      @Stuart-Middleton Although I mentioned my difficulties, I would suggest that you at least have a look at homegear and openhab (or the openhabian bundle to make it easier) as it does give great access to the devices and opens up very easy use of MQTT.

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

                        Thanks. I'll take a look at that first.

                        T 1 Reply Last reply
                        0
                        • S Stuart Middleton

                          Thanks. I'll take a look at that first.

                          T Offline
                          T Offline
                          twisted
                          wrote on last edited by
                          #79

                          @Stuart-Middleton attached is an example of the items that get loaded when connected to openhab2 via homegear and the homematic binding.0_1484525182006_Rad1-Paper UI.png 0_1484525185963_Rad2-PaperUI.png 0_1484525188699_Thermostat-PaperUI.png

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

                            That pretty much covers all the settings. When my radio arrives I'll hopefully be able to get it working quickly and I may come to you for help with setting it up with openhab so I can at least see a working system before I start playing with the code. Thanks

                            1 Reply Last reply
                            0
                            • betzaalB Offline
                              betzaalB Offline
                              betzaal
                              wrote on last edited by
                              #81

                              For a beginner, what shall I read (links) to understand what it means to do this. I have MAX cube and 3 actuators and I need a boiler control device. I called eq-3 and they reply they are not selling boiler controller device BC-TS-Sw2-WM (The MAX! boiler controller has been withdrawn from the market due to poor customer uptake. We do not believe there to be any devices available in the sales channel.) Thanks a lot !

                              1 Reply Last reply
                              0
                              • Maciej JablonskiM Maciej Jablonski

                                Looks eq-3 at least have plans for eq-3 MAX! compatible boiler/hot water controller, the manual is already there, just cannot see the product anywhere.

                                http://www.eq-3.de/Downloads/eq3/downloads_produktkatalog/max/bda/en/BC-TS-Sw2-WM_UM_E_eQ-3_160420.pdf

                                betzaalB Offline
                                betzaalB Offline
                                betzaal
                                wrote on last edited by
                                #82

                                @Maciej-Jablonski
                                They are not selling any more this. (Their answer: The MAX! boiler controller has been withdrawn from the market due to poor customer uptake. We do not believe there to be any devices available in the sales channel.)

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

                                  It depends on how much of a beginner you are. If you're OK with very basic electronics, happy to install some software on a Raspberry Pi and can connect a mains voltage wire to your boiler without killing yourself, then it's pretty simple.

                                  At a minimum, you'll need a Raspberry Pi PC, a mains relay board controllable from the Pi (very cheap on eBay) and some cable.

                                  betzaalB 1 Reply Last reply
                                  1
                                  • S Stuart Middleton

                                    It depends on how much of a beginner you are. If you're OK with very basic electronics, happy to install some software on a Raspberry Pi and can connect a mains voltage wire to your boiler without killing yourself, then it's pretty simple.

                                    At a minimum, you'll need a Raspberry Pi PC, a mains relay board controllable from the Pi (very cheap on eBay) and some cable.

                                    betzaalB Offline
                                    betzaalB Offline
                                    betzaal
                                    wrote on last edited by
                                    #84

                                    @Stuart-Middleton
                                    Thanks. Of course, I can do these. I have Raspberry Pi B and other required things. What I need to know is a schematic of connections and what software to install (on PC, on Raspberry Pi...)

                                    Again, Thanks a lot !

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

                                      The software is all written in python and is linked somewhere near the top of this post. There are instructions of how to install and use it included if I remember right.

                                      The wiring is very simple. The boiler on output pin is defined in the software, so just change it to any GPIO pin that you want and connect your relay (3.3v I believe) to the pin and GND. I used a solid state 250v AC relay that accepts 3.3v input. Then just connect the "call for heat" wire on your boiler to the mains side of the relay. This is on your boiler schemaic, but is usually just the two wired to your wall thermostat.

                                      I've got a combi boiler so just set it to be on all the time and let the Pi contol the heating.

                                      1 Reply Last reply
                                      0
                                      • betzaalB Offline
                                        betzaalB Offline
                                        betzaal
                                        wrote on last edited by
                                        #86

                                        Thank you a lot! I will try it and let you now the progress. I need some time to do it...

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

                                          if you need any help with my software let me know, I have swapped to a Honywell system myself so no longer use it but if I can help I will.

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


                                          11

                                          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