Self Hosted Smart Heating using a Moes BHT-002 Zigbee Thermostat with Node-RED & Zigbee2MQTT

Поделиться
HTML-код
  • Опубликовано: 31 июл 2024
  • In this video I build a self hosted smart central heating control system using a Moes BHT-002 Zigbee Thermostat connected to Node-RED using Zigbee2MQTT. We will take a full look at the thermostat hardware including a teardown, install it and then show it working over MQTT and within Node-RED including the Node-RED dashboard I've built.
    Buy Moes BHT-002 Zigbee Thermostat on Aliexpress (Affiliate): s.click.aliexpress.com/e/_AW25f2
    Disclaimer: I am not an electrician, this video is not intended as an installation tutorial, do not attempt to copy anything shown in this video unless you have sufficient knowledge and understanding to do it safely. Copying this video without sufficient knowledge risks fire, injury/death or severe damage to your central heating system.
    Chapters:
    00:00 - Introduction
    01:00 - A look at the Zigbee Thermostat
    10:20 - Thermostat Teardown
    17:00 - Testing the Thermostat
    22:12 - Use with Zigbee2MQTT
    26:04 - Demonstration with MQTT Explorer
    29:40 - Tour of my Existing System
    32:24 - Installing the new Thermostat
    42:27 - Node-RED Dashboard Demonstration
    51:14 - Demonstration with Boiler
    52:53 - Node-RED Flow Tour
    58:19 - Conclusion
    / camerongray1515
    www.camerongray.me/
    AFFILIATE LINKS NOTICE:
    Product links under this video marked “(Affiliate)” are affiliate links where I may receive a small commission on qualifying sales. Affiliate programs that I am a member of include, but are not limited to: Amazon Associates, eBay Partner Network and AliExpress Affiliates.
    As an Amazon Associate I earn from qualifying purchases.
    Purchasing through these affiliate links will not cost you any more money, however the commission earned significantly helps fund the production of videos on my channel.
  • НаукаНаука

Комментарии • 65

  • @camerongray1515
    @camerongray1515  3 года назад +3

    If you're interested in purchasing the thermostat shown in this video, there's a link in the video description.

    • @thedogsdiddies8421
      @thedogsdiddies8421 2 года назад +2

      Hi Cameron, does your thermostat default to power on after a power cut? I've had a number of small (few seconds) power cuts and noticed that my heating is turned on permanently afterwards. Some other brands have a selection on what to do in the event of power cut (always off, always on, or last known state) which is very handy, but this product does not seem to have that!

  • @jovankostovski7976
    @jovankostovski7976 3 года назад +1

    I got mine this weekend and was thinking to open it to take a look, but you've done such a nice and detailed video. Thank you very much Cameron :)

  • @itsanarse
    @itsanarse 3 года назад +5

    Great stuff, this thermostat looks like exactly what I've wanted for a while now. I'm using ZigBee and Home Assistant for my lighting currently.

  • @WINGNUT307
    @WINGNUT307 Год назад

    Good video, thanks.
    I already got one of these but when I fitted it I found it doing all sorts of weird stuff. Initially the boiler was just on all the time regardless. Then after I reset it, Found that it wouldn't retain the set temperature and the boiler would go off after a minute or so. It seemed to have a mind of its own, so I took it out.
    You've inspired me to give it another go on the bench like you had it.
    Cheers.

  • @tehklevster
    @tehklevster 3 года назад +1

    Thanks for another excellent video Cameron. I'd love to implement something like this in my gaff but I think the landlord would be a bit unhappy :)

  • @uniekon
    @uniekon 2 года назад +1

    A great detailed video. I purchased one of these GA-002GA model for under floor wet system as a standalone function. In my case the Live is switched by CH timer, so the set time resets twice a day. I note there is a button battery holder on circuit board, but no mention of this in the instructions. I wonder if a correct battery would hold the time?

  • @Roedy_Coedy
    @Roedy_Coedy 2 года назад +4

    Out of interest, as this is mains powered, does it act as a zigbee router? (growing the network) or as an endpoint?
    Looks great though! I plan on getting this and the TRV valves based on your fantastic run through of the main thermostat.
    I'll control it via home assistant though rather than nodered. I just can't get my head around it..

  • @philipyeo2849
    @philipyeo2849 Год назад

    Really helpful. Thanks

  • @JD12ish
    @JD12ish Год назад

    This is quite nice actually!

  • @marknhopgood
    @marknhopgood 2 года назад +1

    Any ideas on the device for me? I have a zigbee hub and a switch connected to my boiler. I'm looking to get a thermostat / programmer that is wireless. I want to have the ability to move the stat to different rooms.

  • @kamilsobolak3316
    @kamilsobolak3316 2 года назад

    Cameron Gray have you tried out getting into advance setting, by pushing and holding Program and Manual mode buttons simultaneously?
    I am trying to - as I do use auxiliary temp. sens which is flooded into my floor and want to set top and low temp. Limit for floor itself. But can't reach advance mode settings either throughout device or ZigBee2MQQT

  • @alienatedsec
    @alienatedsec Год назад

    A great video, thanks for this. It's been a year since you made this video, and there are many more things in the Z2M which allow you to automate timers etc. However, have you also found that the 'current_heating_setpoint' keeps changing by itself? E.g. I change the setting to 20C, and suddenly it changes back down to 19C, and I cannot figure out why.

  • @WMartinNI
    @WMartinNI 2 года назад

    Quick question. I'm assuming with a dual zone heating system I could just use these to replace the two room thermostats and leave my existing controller in place and on an all day setting to keep these powered up?
    Also, on the node red side of things, I assume I could at some point replace my radiator valves with zigbee models and program node red to switch these on /off depending on whether other rooms are calling for heat? Reason being, I'm mostly worried about my little fur baby being cold but he stays in a room without a thermostat and it's really the only room I care about keeping warm if I'm out in the winter but if I could use a separate thermostat to call for heat on the upstairs zone without worrying about the temperatures in the other rooms it would be ideal.

  • @Banananananaaa
    @Banananananaaa 2 года назад +1

    What would happen if you try and pair this to any ordinary zigbee controller, would that work?

  • @whitewittock
    @whitewittock 2 года назад

    New to all this, is there a way to turn on the combi when any of the radiator valves are below the preset temperature?

  • @marketingteam3128
    @marketingteam3128 2 года назад +2

    Great video! Thanks for making one!
    Is it true, that there are (child) locks, but no PIN code option? Thanks :)

  • @daniel_illescas
    @daniel_illescas 2 года назад

    Hello Cameron, very good video, I bought the thermostat but with the manufacturer's App, smart life and with Tuya I don't see the option of the history. What app have you used in the video?
    Thank you

  • @karureijo
    @karureijo 2 года назад

    Hi can you send me me diagram of the test part how u did wiring to test it with bulb? I think mine relay is broken.

  • @hjvegter1824
    @hjvegter1824 Год назад

    Is there a 24v version? I only find the 95 - 240v versions. Can't seem to find 24v thermostats compatible with zigbee2mqtt.

  • @DakoseSan2
    @DakoseSan2 Год назад

    Is it possible to stop it lighting up when settings change remotely? I want a thermostat for bedrooms and that could be really annoying at night

  • @JoeRKsChannel
    @JoeRKsChannel 3 года назад +1

    This is great. I did something a while ago in a similar style, but could never quite crack the Node-RED scheduling flow like you've done. I take it that was hand-rolled, as apart from Big-Timer, there aren't many good scheduling nodes out there?

    • @camerongray1515
      @camerongray1515  3 года назад +2

      I'm just using this UI node for the scheduler: flows.nodered.org/node/node-red-contrib-ui-time-scheduler. It just outputs true/false depending on whether the current time falls within the schedule or not. It's not perfect since I can't specify different temperatures at different times but it was good enough to get an MVP up and running. I might build a custom dashboard widget in the future.

  • @deet5072
    @deet5072 Год назад

    Does anyone have this flow i can use? im having all sorts of issues getting Node red to work correctly, Its now got to the point its far to complicated and seemingly randomly turning on heating when it shouldnt.

  • @Zaknafeein
    @Zaknafeein 9 месяцев назад

    Thank you for a video, it help me to set up my thermostat. But right now i found some strange behavior from him. If i change parameters from a zigbee interface - he change it accordingly. But if i change them from node red or from mqtt explorer it ignore all comands. the comand is same as was before then it work.
    In mqtt explorer i see how i post an json, but it look's like thermostat dosn't recive them, because nothing changes.
    What reason can be for this behavior?

  • @lucdesvaux8230
    @lucdesvaux8230 3 года назад +2

    Great video !! Do you know if this Moes product supports mesh network and work with battery powered sensors ?
    Your response would help me a lot !!

    • @user-tl5cx3qc7o
      @user-tl5cx3qc7o 2 года назад

      I have a modification with battery placeholder, but I have not found any information on the net about battery type, and for which purposes it. Found fit in size CR1225 batt, I'll try to find the difference with/without battery.

  • @nickperry2
    @nickperry2 8 месяцев назад

    This Thermostat also works fine with ZHA. It's biggest problem is the viewing angle which bizarrely runs top to bottom so unless you are viewing from a higher angle the display is washed out or totally invisible.

  • @MajorSnifEr
    @MajorSnifEr 10 месяцев назад

    hi, great video. can you share the node red flow ?

  • @svenbaum6227
    @svenbaum6227 Год назад

    Hi, I'm new to HA and Node Red. Found your flow and would like to use it. Setting and connecting the nodes is not a problem or connecting MQTT, just what do I enter in the individual nodes? Could you send me your flow so I can have it as a sample?
    MFG Sven

  • @r.fortal6322
    @r.fortal6322 10 месяцев назад

    Are you aware of a Tuya thermostat that supports the opentherm standard and is zigbee?

  • @cmptuomp3
    @cmptuomp3 2 года назад

    Hi, at 26:34 - you set it manually to 17.5 - but on MQTT you got 17. Can you confirm if 0.5 values work? I got the same thermostat, tried both ZHA and zigbee2mqtt and it seems it only takes/sends integers for heating values. Also the calibration of the temperature only works under zigbee2mqtt but it's only in full degrees so it's not really useful for small adjustments.

    • @camerongray1515
      @camerongray1515  2 года назад

      Unfortunately not, I've only been able to get it to do 1 degree increments over MQTT

    • @cmptuomp3
      @cmptuomp3 2 года назад

      @@camerongray1515 thanks, I was thinking of testing the official app and if there's an OTA, but I doubt it, and I don't have the hub to test with, anyway :)

  • @user-kf5um2bd5b
    @user-kf5um2bd5b 3 года назад +1

    Why are you against flashing custom firmware for Tuya devices? I think wifi would be more robust for a thermostat.

    • @camerongray1515
      @camerongray1515  3 года назад +6

      It's not as though it's something that I'm strictly against, I just quite like the idea of being able to buy a piece of hardware and have it work out of the box without needing to flash it by either dismantling it and connecting it to a programmer or relying on exploits to flash a firmware image OTA. I may look at trying it in the future just to see what it's like or if there's any sort of device that is only available as a WiFi version. It's not as big a deal with a thermostat since I only have one however for things like bulbs and sensors where I have a lot of them, it's nice not needing to flash them all. Likewise, if I were to have used flashed WiFi Tuya devices instead all of my current Zigbee devices, I'd already be at 22 WiFi clients just for smart home stuff. From a security perspective it's also nice to minimise the amount of embedded/IoT devices sitting around on the network. Reliability wise, Zigbee shouldn't be much different to WiFi - Hive heating for example uses Zigbee between the various components without any issue. It's not as long range as WiFi but has the benefit of being able to mesh between different devices.

  • @onyx84d
    @onyx84d Год назад

    Hello. I have a gas central heating. I have a smart valve on each of the radiators. at the moment I do not have a smart room thermostat yet. At the moment I have an ordinary portable room thermostat and if I want to have a set temperature in the room, e.g. in the bedroom when going to sleep, the smart head is opened to the maximum in the bedroom and closed in the living room. then I have heating water circulation only for the radiator in the bedroom and the temperature is controlled by a portable room thermostat. The question bothers me, if I install a smart room thermostat, it will stay permanently in some place in the house on the wall, will it be able to independently read temperature readings from the valve on the radiators? Will the centeal heating turn off when it reaches a certain temperature in a room? and one more scenario, if I close each of the heads on the radiator because I do not want to heat the house and the smart room thermostat is set to, for example, 22 degrees, the central heating will heat the water non-stop, but the temperature in the house will not increase because the radiators valves are turned off? my main question, does the smart room thermostat read the temperature from each smart valve separately and then fires central heating if it drops below the saved level or does the smart thermostat have its own temperature sensor and cannot manage each smart valve separately?

    • @camerongray1515
      @camerongray1515  Год назад +1

      If you want to use Smart TRVs on each radiator, you'd be better off getting a thermostat that also includes smart TRVs as part of an integrated solution such as Tado, Drayton Wiser or Honeywell Evohome. That way the TRVs will feed their temperatures back to the thermostat. You won't get a satisfactory result with separate smart TRVs and a smart thermostat without a lot of bodging! That said, intensely zoning your heating to only heat a single room at a time may not be saving you as much energy as you think - Condensing boilers rely on the water going back to the boiler to be relatively cool so that the boiler can operate in a more efficient condensing mode. If you are only running individual radiators one at a time, you won't be dissipating enough heat from the water so it will return to the boiler at a high temperature, the boiler won't condense and the efficiency will drop. Smart TRVs are only really designed for creating small temperature differences between rooms (such as wanting the living room to be warm in the evenings but keep the bedroom a few degrees cooler for sleeping), they aren't really meant to be used to frequently turn radiators completely on and off throughout the day.
      Instead of smart TRVs, assuming you have a modern enough combi boiler, I'd personally rather go with a smart thermostat that uses OpenTherm and then just use manual TRVs on the radiators set fully open except for maybe in completely unused rooms. OpenTherm thermostats communicate intelligently with the boiler to adjust the temperature of the water in your radiators based on the heating demands which keeps a much more stable room temperature and ensures that your boiler can operate as efficiently as possible. Since making this video I have replaced this system with a Google Nest connected up for OpenTherm and couldn't be happier. I made a video about this: ruclips.net/video/gZcy0sruFfA/видео.html

  • @Geyer128
    @Geyer128 2 года назад

    Have you heard about weather-controlled heating systems?
    I am using a heat pump that has this built in. It measures the outdoor temperature and then calculates the temperature which the water should go into the floor heating and come back. With that technique, it can control a pretty accurate temperature inside the house.
    The drawback of that systems are:
    no room-based control and if the weather changes it can happen that the temperature needs a day to get back to the perfect level. The systems only runs at night.
    Does anyone know a open source project that can achieve a similar control way? I want to retrofit this kind of system with an existing furnace at another place.

  • @daniel_illescas
    @daniel_illescas Год назад

    Hello, I would like to ask you, how did you turn off the circle of the power button?

    • @camerongray1515
      @camerongray1515  Год назад +1

      I never turned it off, it's just not super bright so doesn't really show up on camera under my bright video lights

  • @zuid37
    @zuid37 3 года назад +1

    Did you consciously decide against OpenTherm compatibility, or was that not a consideration?

    • @camerongray1515
      @camerongray1515  3 года назад +3

      It's not something I'm against by any means however my boiler simply isn't OpenTherm compatible so there was no need for me to consider it.

    • @edfx
      @edfx Год назад

      How would opentherm system work if you have for example three of these thermostats around the house. How would you wire 3 opentherm thermostats to one boiler?

  • @99DoubleDutch
    @99DoubleDutch Год назад

    Can you share your wiring please for your bulb? I asume it is:
    4 - Live (Connected to 2)
    3 - Neutral - Connected to Lamp Neutral
    2 - Connected to Pin 4 (Live)
    1 - Live (Switched) to Lamp

    • @camerongray1515
      @camerongray1515  Год назад

      Exactly, that's how I had it wired, and then the incoming mains supply into terminals 3 and 4 to power the thermostat.

  • @Minggoreng
    @Minggoreng Год назад

    may i ask where can i download the “zigbee to mqtt” software? and do you have a usb zigbee receiver on laptop? thanks.

    • @camerongray1515
      @camerongray1515  Год назад +1

      They have a website here: www.zigbee2mqtt.io/. I run Zigbee2MQTT on a Raspberry Pi which has a Zigbee USB stick connected to it, I don't connect it directly to my laptop.

    • @Minggoreng
      @Minggoreng Год назад

      @@camerongray1515 you really deserve a subscription! wondering if you have linkedin for me to follow as well

    • @camerongray1515
      @camerongray1515  Год назад

      Thanks! I technically have LinkedIn but only really for work related stuff and honestly can't think of the last time I used it, just seems to be a nightmare of recruitment spam for me!

    • @Minggoreng
      @Minggoreng Год назад

      @@camerongray1515 I am sure you talent skills will get lots of agents giving you lots of jobs on linkedin

  • @thomasvnl
    @thomasvnl 3 года назад +2

    "switching off when I go outside the door": use an arp scan and scan your network for mobile device mac address. If present, turn the heating on according to schedule/preferences. Otherwise, turn the heating off

    • @tehklevster
      @tehklevster 3 года назад +1

      All very well until one of a) you leave your phone at work, b) you leave your phone on the bus home c) the batteries run out d) replace phone e) drop phone into the toilet.

    • @thomasvnl
      @thomasvnl 3 года назад

      @@tehklevster try being creative. Has worked for me for ages now

    • @tehklevster
      @tehklevster 3 года назад +1

      @@thomasvnl Sometimes a simple button is enough creativity.

    • @camerongray1515
      @camerongray1515  3 года назад +3

      I'm not sure I'd go down the ARP route but I can definitely see the value in some sort of automatic control. If I was doing it I'd probably integrate it with my alarm system so the heating will turn off when I set the alarm.

    • @thomasvnl
      @thomasvnl 3 года назад +1

      @@camerongray1515 that would of course also be a viable solution as it implies that you arent home. Except when you forget to manually set the alarm I guess. I use arp as last resort. There are other ways, including sending geo location to my nodered via OwnTracks and reading the wifi client list from the unifi controller via nodered node. Both can overrule each other when a detection is more recent than a previous detection. Arp is for if all else fails.

  • @szookk
    @szookk 2 года назад

    I have tested this thermostat with external floor temperature sensor. I where not able to read temperature from both sensors at the same time (You can use wall sensor OR externa sensor, not both). This comment is for all people who will try to set up temperature limit from underfloor sensor OR wall sensor - You will need to use some other method to get room temperature.

  • @thedogsdiddies8421
    @thedogsdiddies8421 3 года назад +1

    What kind of power do these devices use? I find a lot of these devices are unnecessarily power hungry, due to no thought being put into the design. But I do like the idea of those kinetic switches, like the one Big Clive posted a detailed video on - ruclips.net/video/9Pw7U0XFgUM/видео.html

  • @xavil6341
    @xavil6341 5 месяцев назад

    this is the only zigbee thermostat that I found and it works fine for now (with some bugs) and you can't set the temperature to decimals... that's so stupid..

  • @Suriprofz
    @Suriprofz 2 года назад +3

    Play at 0.75x for normal sound