Home Assistant: Cheap multi-room Temperature Sensors (Xiaomi Mijia BLE ESP32)

Поделиться
HTML-код
  • Опубликовано: 11 окт 2024
  • I have been using the Honeywell Evohome system in our house for multi-zone underfloor heating since it's we've moved in. I've also been having issues with this system since that time and it's cost me a lot of work to get it to do what it should do and I'm really fed up with it!
    This video is the first step into replacing that system! In this video we're going to set up an easy to configure and cheap multi-room temperature sensing system with Home Assistant at its heart.
    To join the Intermittent Technology discord server, click here: / discord
    ░▒▓[Associated blog post]▓▒░
    blog.quindoria...
    The LED dimmer boards are QuinLED boards, more information can be found on quinled.info or take a look at the following video for some usage examples: • QuinLED: Home Assistan...
    ░▒▓[Information & Shopping links]▓▒░
    !! 2020-01-04 Update !! Since a recent ESPhome update the e-ink versions of these sensors now also work in Home Assistant
    👉Normal Non-E-Ink Xiaomi Mijia Temperature and Humidity sensor: geni.us/Tr2RpJH
    👉E-ink Same round size: geni.us/eJIB
    👉E-ink Bigger rectangular model: geni.us/JBWKR
    ESP32 boards:
    👉MH-ET Live ESP32: geni.us/4OZdAj
    or
    👉Wemos D32 Mini: geni.us/9aXV
    Micro-USB power:
    👉Good Micro-USB cable: geni.us/4Yqui9t
    👉Good Phone charger that can deliver 5v 2A (10w) on a single port: geni.us/TiSqB
    ░▒▓[Music]▓▒░
    Intro&Outro
    TheFatRat - Xenogenesis
    ( • TheFatRat - Xenogenesi... )
    During Video
    Broken Elegance - Reflection
    ( • [Chillstep] Broken Ele... )

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

  • @Pewe1337
    @Pewe1337 4 года назад +3

    This is amazing. I followed your instructions and now my hassio picks up measurements from 5 xiaomi devices on a single esp32. I'm looking forward for the video about making graphs in grafana. Keep up the great work 👍

  • @aidanearl
    @aidanearl 4 года назад +3

    Back again to remind myself how to add additional esp32s and sensors. Went smoothly thanks to your clear instructions. Holding the boot button was a very useful tip.
    Thanks!

  • @studi0z
    @studi0z 5 лет назад +1

    amazing sensor , i been using 6 of this sensors simultaneously for over 1 year now to control my heating Baseboards on hassio with rpi3b (built-in BT ) /sonoff POW tasmoted (built-in BT ) with no problem , i noticed the RPI is a lil slower with this setup , i now want to migrate on a vm on proxmox , thx for sharing

  • @martinsoanes4113
    @martinsoanes4113 5 лет назад +7

    What a great vid, I was able to follow along and get the same temp and humidity sensor working from scratch with no prior knowledge of esphome. Greatly appreciated.

  • @sermayoral
    @sermayoral 5 лет назад +1

    Awesome video! It is exactly my case, but using aerothermal. The installation of the system I have scheduled for mid-July 2019, and I wanted to put the Evohome system, but after watching your video I think I will not do it!
    I can't wait to see the next part to see how you control the collectors domotically.
    Thanks!

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

    Hello, i am from Germany and my english is not very good, but how you are speak in the videos i can understand good. thanks for helping me with my BT Sensors and maybe other Problems/Solutions/ideas for HA. you got now my subsciption... oh .. and i dont forgot to hit the bell
    Greetings from Black Forest Germany

  • @JamesValero
    @JamesValero 5 лет назад +10

    Great video. For those that want to jump straight to the how-to, it starts at 3:40

    • @tomtreacy1545
      @tomtreacy1545 5 лет назад +2

      Content starts at the beginning.

    • @JamesValero
      @JamesValero 5 лет назад

      @@tomtreacy1545 Updated comment to be more accurate :)

  • @StePhanMckillen
    @StePhanMckillen 5 лет назад +1

    Thanks Just got the ESP32 Uploaded HAD to put finger on the boot switch worked now want the Other bits to come thanks. for taking the time to make this.

  • @TheTinkerDad
    @TheTinkerDad 4 года назад +3

    Great video, I'm about to give these sensors a shot - I'm pretty much in the same shoes with the multi-room heating thing. Subbed, keep up the good work!

  • @kaleun303
    @kaleun303 5 лет назад +1

    Great video! Based on this I was finally able to integrate my Xiaomi plant sensors again. Moved Home Assistant to a VM and lost the Bluetooth capability. Will get some of the room sensors as well. Thanks again for the inspiration.

    • @TylerFalwell
      @TylerFalwell 5 лет назад

      What did you do to get them working? I'm using my plant sensors for room temps at the moment but keep running into the 10 second timeout bug

  • @DannyMaas
    @DannyMaas 5 лет назад

    The ESP32's are on their way. I usually preconfig ESP8266 on a cable with my HA pi. Works great. Another great vlog BTW. Looking out for part 2.

  • @food-roger.eijkhoudt7049
    @food-roger.eijkhoudt7049 5 лет назад

    I have evohome with 8zones for over 3 years now and monitor it using domoticz/grafana. It is striking to see there is virtually no pid control, just on/off even on a eurotherm connection. Overshoots of 2 degrees are quite “normal”. It seems to me it shouldn’t be too difficult to mathematically model the zones and provide a sensible setpoint to the heating system. I certainly would welcome a pid alternative approach to evohome’s software and could help with the model.

  • @dusliangames
    @dusliangames 5 лет назад +4

    Love your work.
    Keep it up.
    Can't wait for the next video!

  • @xyloidify
    @xyloidify 4 года назад +1

    you make it all look so easy, thanks Qundor!

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

    OMG! 😆 I have the same experience with some crazy Indian technicians. Except it was in industrial setting.

  • @WoLpH
    @WoLpH 5 лет назад +3

    The evohome system is definitely far from perfect. In my case I've actually done something that honeywell said was impossible, I've got 2 separate heating systems with 2 separate boilers (1 for the heated floors, one for the regular radiatiors in the other sections of the house) and I actually got it working with a single evohome.

    • @food-roger.eijkhoudt7049
      @food-roger.eijkhoudt7049 5 лет назад +1

      WoLpH I definately would like to learn more about your solution. I have 2 independent heating systems, domoticz can talk to them

    • @WoLpH
      @WoLpH 5 лет назад

      In the end the setup is actually quite simple, it just took some trial and error to get it working.
      The first boiler with the radiators is setup as a regular evohome system.
      The second boiler is connected to the evohome as a Mixing Valve Controller (but it's physically just a R8810 OpenTherm Bridge) with a DTS92 thermostat as temperature sensor (and temperature control).
      That surprisingly works effortlessly for me :)
      The only problems I've had with the system is the occasional temperature overshoot/undershoot when the weather changes a lot in a short time. And I had to add a bypass conduit to my main boiler because the pump would crash otherwise.

  • @shambahri
    @shambahri 5 лет назад

    an excellent introduction to ble gateway. cheers

  • @MrFragso
    @MrFragso 5 лет назад

    Great stuff, exactly what I was looking for. This combined with sonoff main heating switch, bluetooth trvs gives me zonal HA controlled heating.
    Many thanks. :)

  • @SheLeftMeUnsupervised
    @SheLeftMeUnsupervised 4 года назад

    Thought this was a good addition to my Home Assistant. Bought 4 sensors and esp32 board. Followed blog post and video. Works good for me!! One snag I ran into (being in the US) is the Sensors themselves only display in Celsius. Home Assistant takes care of displaying in Fahrenheit so no big deal.. Bought 4 sensors to start. Buying 4 more soon.
    How would I get the esp32 boards to "mesh" if I need them too?? That wasn't covered in the video...

    • @IntermitTech
      @IntermitTech  4 года назад

      Great you like it, I still use it too and it works great! The ESP32 don't need something like a Mesh since they use WiFi?

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

    Best interessant die wandcontactdozen op de buitengevel!

  • @kriss1313
    @kriss1313 4 года назад

    Salut IT600 solved my problem :) . Cannot be integrated in HA tho, but in theory once you set up the heating there is no need for user intervention again.

  • @mrbarrington-smythe9033
    @mrbarrington-smythe9033 4 года назад +2

    Great video. Do you know if this will work for the new generation square version Xiaomi Mijia sensors?

  • @TaaviJuursalu
    @TaaviJuursalu 5 лет назад

    I use the same method. Also had problems with older soft.

  • @pratahsinnetamby
    @pratahsinnetamby 4 года назад

    Hi - many thanks for the great video.
    I was able to set this up using your blog and the video. However, the frequency of the readings appears quite low. Is there a way of increasing it. In the logs of the esp there is a whole lot of scanning
    I also find the distance between device and esp was pretty small, particularly if there is a wall in between. In the logs I noticed a statement which said 'Tx power: 2" - can that be controlled and if increased will it improve the connection distances?
    Your assistance is much appreciated.

  • @lemonsa
    @lemonsa 5 лет назад +2

    Great tutorial! I was able to get it work with one esp32 board in my bedroom.
    However, I want to be able to place the xiaomi sensor anywhere in the house, so I reuse the sensor in the second esp32 in living room. but the sensor in home assistant can only be updated via the bedroom esp32.
    I guess it's the limitation of home assistant. maybe I should use two different name and merge them in home assistant using template sensor instead?

    • @IntermitTech
      @IntermitTech  5 лет назад +1

      Ah yes, while toying with it I ran into this too. I deleted the entity from the Home Assistant database and after that I was able to move that sensor to another ESP32. I had hoped it could be done seamlessly, but something in Home Assistant is blocking that.

  • @Quizzer11
    @Quizzer11 4 года назад

    That's the reason why I have totally forbidden any plumber to make a step into my house, so i built up the heating all by myself.
    It doesn't matter if it is honeywell or Siemens, viessmann... They all want your best... Your money :)

  • @ecotts
    @ecotts 4 года назад +1

    Is that the best temp sensor to buy i.e Your Mija one, i noticed they have a few Xiaomi temps sensors now?

  • @xfabiosoft
    @xfabiosoft 5 лет назад +7

    Can you use bluetooth of the Raspbrerry Pi instead of the ESP module?

    • @aidanearl
      @aidanearl 4 года назад

      Seems it can: www.home-assistant.io/integrations/mitemp_bt/
      But I think only with one sensor.

    • @PipsTube
      @PipsTube 4 года назад

      @@aidanearl You can repeat entries in the config file. They have names on them for that reason.

    • @aidanearl
      @aidanearl 4 года назад +1

      @@PipsTube oh thanks. I found that it often lost connection so I set up my ESP module and that is a lot more reliable.

  • @thanasisglt
    @thanasisglt 5 лет назад +1

    Thank you for sharing!
    I have done everything as shown. I can see in esphome flasher that it is connected to wifi, the mac address and the measurements from the sensor. Also, it shows online in esphome. Although, it doesn't show logs ('' WARNING Initial connection failed. The ESP might not be connected to WiFi yet (Error connecting to 92.242.132.16: timed out). Re-Trying in 1 seconds'') not even connecting through configuration.
    Any idea?

  • @robcean
    @robcean 5 лет назад

    Excellent video! I would like to keep tracking of my refrigerator and freezer temperature. Is there a temperature sensor that you know for implement on this?

  • @JGNiDK
    @JGNiDK 4 года назад

    Great tutorial! Is this still the best option?

  • @jeroendevries9525
    @jeroendevries9525 5 лет назад

    Mooi huis! Bedankt voor je informatieve youtube filmpje.

  • @robertfreund7525
    @robertfreund7525 5 лет назад

    That's great idea, thank you. Keep up that god job

  • @Markobu4u
    @Markobu4u 4 года назад

    Great Video. Does this work with the zigbee t&h sensor?

  • @iulianch
    @iulianch 4 года назад

    Great video. I really like your work! Can you please give me feedback after one year of using the sensors? do you still use this solution? did you try with e-ink display? Thank you

    • @IntermitTech
      @IntermitTech  4 года назад +1

      There is an update video already and a new one coming soon. Short version, still use them and very happy with them!

    • @iulianch
      @iulianch 4 года назад

      @@IntermitTech I will want to but some sensors for the exact same scenario. witch one do you recommend? did you found a solution for a thermostat that will work with home assistant? thank you PS: just wait for the new video! make it faster, the winter is coming! :)

  • @pr19580
    @pr19580 5 лет назад

    Great videos, thanks! Did you look at Homematic for your heating control? I considered the Evohome, but realised that it couldn't everything I wanted and now I have Homematic-IP thermostats and TRVs. It works great, and I believe there is support for under-floor heating as well.

    • @IntermitTech
      @IntermitTech  5 лет назад

      I hadn't heard about that brand, I'll look into that! Mind you, this system was built in 2016 so probably newer stuff is available. :)
      --update
      Their stuff looks really nice! That wasn't available yet when I was looking for it, quite sure of that. Still going to continue my Home Assistant route though, I like having it open and flexible (being in a blackbox closed system now).

    • @pr19580
      @pr19580 5 лет назад +1

      Yes, I like that it does wireless and wired as well. Integrates well with HA as well, the only negative is the web interface sucks, especially setting heating/cooling schedules. However, I have a large living area with 3 radiators and parts of the room were either too hot or too cold. With Homematic it keeps the temperature the same overall.

  • @MrLarsjansen
    @MrLarsjansen 4 года назад

    I use the Xiaomi Aqara Temperature Humidity Sensor which are even cheaper and work via ZigBee. They don't have a nice display though. But that's okay for me. The only thing about your video that is still not clear to me, is how these sensors manage to heat/cool a specific room. How did you connect that and to what did you connect it?

  • @paytufo
    @paytufo 5 лет назад

    Hi! I discovered this video searching about heating floor smart system and I was thinking in the same idea to make a multiroom thermostat. I have not wait to watch your project ended. My house has some rooms and some valves to each one. I was think to make a temperature/hum sensor per room and a separate relay per valve but I don't know how to code in home assistant to show it like a thermostat to can made programs a change temperature individually.

    • @IntermitTech
      @IntermitTech  5 лет назад

      I'm still working on this series but other projects have a bit of priority, will return to it in the future though!

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

    interessant. Vervanging voor EVO home? link please. Alvast bedankt

  • @thomasvanlommel
    @thomasvanlommel 5 лет назад

    Nice work!! Thx for sharing, helped me out 😁

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

    Thanks for the video. Really good instructions. I have one question. Say that I have a Dig-Uno with an ESP32 that was flashed using the wled firmware and now I want to also include the Temp/Humidity sensor. By flashing it again the wled will be eliminated and the functionality lost, right? How can I add the read-Bluetooth-info-and-send-it-to-mqtt that is so nice to have without affecting the wled which ... is also so nice to have 🙂
    Thank you and keep up the great work.

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

      Sorry, you won't be able to do that with WLED. Running ESPhome it can work.

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

      @@IntermitTech alright. Thank you for the quick reply.

  • @aaa89h
    @aaa89h 5 лет назад

    you could've got xiaomi zigbee sensors which goes for 9$ each and that size of wrist watch (no display) connect them to a zigbee adapter (conbee/usb or raspbee/onboard)
    this will let you monitor/control/automate more devices with very low power consumption

  • @JabukaARG
    @JabukaARG 4 года назад

    Hello from Argentina, first of all great video!! .... I have a question, after setting all this up, would be possible to link Home assistance with google home and see/control the xiaomi's sensors directly in google home app?

  • @lukagodnic
    @lukagodnic 5 лет назад

    Really neat solution!
    I wonder how are you planning to control the underfloor heating since it has very slow reaction time? I have the same problem and I haven't come up with a decent algorithm yet...

  • @colemickens
    @colemickens 4 года назад

    I've just gone through a bunch of your videos. Great, great, great content in an era of bad content on YT. Thanks!

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

    Just a quick question. I have a intell compute stick with bluethoot on it....can i manage to get those without esphome?

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

    Do you have any video on how to start using the esp? im really interested in getting these sensors but i wanna know how to get them integrated in HA from the first step to the last.

  • @assocpress
    @assocpress 5 лет назад

    I've enjoyed watching some of your videos. Thank you. One thing...turn down that dang audio on your intro! Hopefully I'm not the only one who thinks so. 😁

  • @arrabidatech6333
    @arrabidatech6333 4 года назад

    very nice I will get one to test :)

  • @stephanmetph
    @stephanmetph 5 лет назад

    Did you also checked the zigbee protocol with Xiaomi sensors etc. using zigbee2mqtt?

  • @cumxum
    @cumxum 4 года назад

    Awesome tutorial and blog, worked like a charm. Set it up in 10 min !!

  • @ssl2928
    @ssl2928 4 года назад

    Awesome tutorial! Just one quick question, is it possible to use ESP32 with Xiaomi Bluetooth Gateway? Like both query the data from the sensors at the same time.

    • @IntermitTech
      @IntermitTech  4 года назад +1

      I haven't tested it but I think it will work since the sensors just broadcast their information

  • @patrickdackins412
    @patrickdackins412 5 лет назад +1

    get job keep up the good work

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

    Nice, I was trying to get this working on tasmota, but was having issues using it with ibeacon/itag devices also. Anyone using esphome with xiaomi and itag devices form a single bridge?

  • @wardope
    @wardope 5 лет назад

    It would be so much more easy to just get the Xiaomi Gateway, the Xiaomi Mijia Bedside Lamp and the temperature sensors. the reason why I say that. is because the gateway adds nicely and easy to Home assistant the along with everything added to the gateway. the bedside lamp doubles as a Bluetooth bridge between the Gateway and the temperature sensors. so it should report the temp and hum into the home assistant. hasslefree. I'm going to test this doing the summer

  • @louis-lau
    @louis-lau 5 лет назад +2

    Any reason you didn't just use the Xiaomi zigbee sensors? It sounds much easier.

    • @WoLpH
      @WoLpH 5 лет назад

      I'm not aware of any nice (and affordable) zigbee sensors that include a display. There's the Xiaomi Aqara Temperatue and Humidity Sensor: xiaomi-mi.com/sockets-and-sensors/aqara-temperature-and-humidity-sensor/
      But there's no display on that unfortunately.

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

    Is there a way to make the LED on ESP32 blink each time it receives any telemetry data from the MiJia units? I am not sure how to code it in esphome.

  • @PANiCnz
    @PANiCnz 5 лет назад

    Did you consider using the other Xiaomi temp and humidity sensors that work with their gateway/hub? It would avoid the need for the ESP32 boards. Admittedly they don't have the LCD display so are aren't a like for like replacement.

    • @IntermitTech
      @IntermitTech  5 лет назад

      Ah no, I did not try those. I liked the design of these and since I have ESP32's all around the house anyway (for my lighting system) it was ideal!

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

    Hi, can I flash the nodemcu without esphome via home assistant? Is there a repository with the images or the .ino files? Thankyou (my HA version has not the supervisor entry in the menu and I cannot change distibution.

  • @flyjodel
    @flyjodel 4 года назад

    Thanks for your video which is good quality. One question... I bought 4 of these, assuming that my Raspberry Pi 3B+ which runs Hass.io could use its own Bluetooth interface to gather the different values from the Mijia sensors.
    Is there any way to configure that in Hass.io, without the use of a separate ESP32/powersupply/case/config etc ?

    • @IntermitTech
      @IntermitTech  4 года назад

      I believe that's possible, but I haven't used it so don't really know know how. Maybe some other guides online?

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

    Hello all,
    Do we have any idea on the power consumption of the ESP Home, Home assistant server ? I would say like 5W for the Rasp and the esp i suppose near nothing

  • @jefflambert4243
    @jefflambert4243 4 года назад

    Is there any way to change these from celsius to fahrenheit. Everything I'm seeing so far says no.

  • @recklessroges
    @recklessroges 5 лет назад

    Good job. Would it be possible to tear down the Xiaomi device and power it directly from the ESP32? (Without the load of the screen it shouldn't need much power.) [I know that would not work for your application, where you want to measure each room and minimise the number of ESP32 devices.]

    • @IntermitTech
      @IntermitTech  5 лет назад

      No, that's not going to fly. The AAA battery is 1.5v and the ESP32 needs 3.3v or 5v for the whole development board. So you'd then need to add a DC-DC converter but at that point, what kind of frankenstein solution are we building. ;)

  • @jeppeladefoged5218
    @jeppeladefoged5218 5 лет назад

    I use these directly with Home Assistant and a LM1010 class 1 bluetooth USB dongle with a good result in a small house. I never had any luck with BLE and ESPHome but is that fixed now? (and thanks for the great videos)

    • @IntermitTech
      @IntermitTech  5 лет назад +1

      It's been running stable for me for the past few weeks, OTA updating has also been fixed! :)

  • @WaschyNumber1
    @WaschyNumber1 4 года назад

    👍

  • @pauld9530
    @pauld9530 5 лет назад +1

    can you use the builtin bluetooth of the Raspbrerry Pi instead of the ESP module?

    • @xfabiosoft
      @xfabiosoft 5 лет назад

      yes you can...according to this guide: flows.nodered.org/node/node-red-contrib-xiaomi-ble

  • @PhG1961
    @PhG1961 5 лет назад

    Interessante video !!

  • @softwarepole
    @softwarepole 5 лет назад

    3:30 this needed to be said loud - DHT22 are not that great as people want us to think. Not that reliable and integrating them into MCU systems is a pain, mostly due to wacky sub-milisecond delays.

  • @brucerawiri7170
    @brucerawiri7170 5 лет назад

    Hi there. I have brought two sensors and 2 ESP32 Development Boards. I have copied the Sketch and flashed to the board using NodeMCU PY Flasher as ESPEasy would not work for flashing. NodeMCU flashed and said it had successfully uploaded the file. During the flashing process the RED LED on the Esp32 Dev board stayed RED and no other LEDS were on, however it appeared that the flash was successful.
    After unplugging the USB cable from the Windows Computer and plugging the ESP32 Dev Board into a 5v Phone adaptor, the RED LED came on again (No other LEDs on) and it has not connected to Wifi. In ESPHome the File is Still showing as OFFLINE and all my other ESPHome devices are GREEN and connected as normal.
    This is the Top section of the Code - esphome:
    name: bluetooth_esp1
    platform: ESP32
    board: esp32doit-devkit-v1
    I also tried a seperate sketch using different board type with this code on a second ESP32 Dev Board and same result, NOT Connecting after a successful flash
    esphome:
    name: xiaomi_bluetooth
    platform: ESP32
    board: nodemcu-32s
    Any ideas on what could be wrong would be great appreciated as I am so keen to get these Xiaomi working. Thanks for your help in advance

  • @WietseStarsz
    @WietseStarsz 5 лет назад

    When using multiple ESP32's to cover your whole house, do you put the same sketch on all of them? By this I mean, if you add the MAC addresses on all the ESP32's or only to the one closest to the sensor?

    • @IntermitTech
      @IntermitTech  5 лет назад +1

      I tried using the same Mac addresses on all of them but it seems Home Assistant got confused by that so then I switched to basically appointing an ESP32 to which a sensor will connect and that's worked well so far.

    • @WietseStarsz
      @WietseStarsz 5 лет назад

      @@IntermitTech Alright, thanks for the reply!

  • @DarrenEbay
    @DarrenEbay 5 лет назад

    Hi. I am not getting any Serial Ports available on the drop down when using esphomeflasher. Any ideas?

  • @massey93
    @massey93 5 лет назад

    I was wondering if you could give me some advice. My ESP32 i thought was working great with the same Mija temp/humidity sensors as in video. Works great for about 24-48 hours. Then i check HA and see no activity for 12 hours and wondering why my heating hasn’t turned off - this is why.
    Have you had the same problem, if so, how did you fix?

    • @IntermitTech
      @IntermitTech  5 лет назад +2

      Yes, I have a few running and most run fine, but I've also seen the same behaviour you are seeing. I'm not sure yet why this happens (probably bluetooth code isn't fully stable yet) but as a workaround I've implemented a reset every night of those ESP32 modules. Not pretty, but it works for now. I will make a video update about that in the future, but I want to include more in that video and that isn't ready yet.
      For now you could add the following code:
      time:
      - platform: homeassistant
      on_time:
      - seconds: 0
      minutes: 0
      hours: 4
      days_of_week: MON-SUN
      then:
      - switch.toggle: restart
      switch:
      - platform: restart
      name: "test_temperature Restart"
      id: restart
      That should restart that ESP32 module each night at 04:00. Let me know if that helps you please. :)

    • @massey93
      @massey93 5 лет назад +1

      Intermit.Tech Wow that’s exactly the answer I was hoping for! Thanks very much all the way from Ireland. Really enjoyed this video.

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

    :) system is too stupid (2:00) you are star mate! I like your channel. I'm building my own system now ... well copy your stuff but yeah :)

  • @brainfreeze7979
    @brainfreeze7979 5 лет назад

    @10:16 specifically you show two boards that aren't listed in your description, you describe only as "quin" boards. What are they and where can we get more more information?

    • @brainfreeze7979
      @brainfreeze7979 5 лет назад +2

      disregard, I missed the LED in QuinLED and have found them, a link in the description would be handy. These look VERY interesting, I wish I'd known about these before! Great video, am currently checking out your channel!!! +thumbs!!

    • @IntermitTech
      @IntermitTech  5 лет назад +1

      Ah, my bad! Those are QuinLED LED dimmer boards, you can find more info about them on quinled.info or take a look at this video ( ruclips.net/video/Sd77zavUyjM/видео.html ) which shows some usage examples!

    • @brainfreeze7979
      @brainfreeze7979 5 лет назад +1

      @@IntermitTech Thanks, I got sidetracked on some of your other vids, Have been watching DrZ's for a while (although not of late), you've just earned another sub! Great work and I think you've convinced me to convert from OH to HA!

  • @mrteausaable
    @mrteausaable 4 года назад

    If you have multiple ESPHome receivers for Multiple Mijia units, do I flash all of the ESPHome receivers with all the same MACS address on all Mijia units? Since I not sure which ESPHome will receive which Mijia reading.

    • @IntermitTech
      @IntermitTech  4 года назад

      What I do is I pick one that is in range. Using the same MAC on multiple works for ESPhome, but Home Assistant doesn't understand them with the same name. I have seen others who aggregate the data received by all and then use that aggregated object, but it's a bit complex in my opinion.

  • @user-od3rl5mc
    @user-od3rl5mc 5 лет назад +1

    Did you consider using NodeRed?

    • @IntermitTech
      @IntermitTech  5 лет назад +1

      I will in the future, now that all the data is going to Home Assistant I can use it in Grafana and Node-Red no problem!

  • @indianfarmer007
    @indianfarmer007 5 лет назад

    Your microphone is cool, what make and model is it?

    • @IntermitTech
      @IntermitTech  5 лет назад +1

      It's a Neat Bumblebee, I did a video about it here: ruclips.net/video/Iq1UoeuOYr0/видео.html

    • @indianfarmer007
      @indianfarmer007 5 лет назад

      Intermit.Tech Thank you, they reminded me of the Bang & Olufsen earset2 design. For some reason I kept associating the image of the microphone displayed in the Video to a B&O design. The conflict in my head though was that an intelligent person like you would not waste your money on stupidly expensive stuff just for looks and design.

  • @RobNisters
    @RobNisters 5 лет назад

    I have one heated room and an opentherm gas heater with a round wireless Honeywell thermostat. How do I connect this to Home Assistant?

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

    top kanaal btw

  • @ragdepc
    @ragdepc 4 года назад

    Do you have an update after almost a year of this video??
    I am interested in know the battery life of the sensors and how well when with your problem!!!
    Thanks

    • @IntermitTech
      @IntermitTech  4 года назад +1

      I'll be doing more videos on this topic soon, but battery life has been good, most sensors where able to last up until now without too much issue. :)

  • @isaacbreuer3496
    @isaacbreuer3496 5 лет назад +1

    I have few Xiaomi with hassio, working great, but as I am in the us I am annoyed by the display only showing in C not being able to change to F, (no problem with hassio as I just convert it, i an just talking about the LCD display). Anyone with a way of changing this?

  • @jefflambert4243
    @jefflambert4243 4 года назад

    When I do the scan this all I get. There should be information for temperature and humidity correct?
    [17:09:38][D][esp32_ble_tracker:544]: Found device 58:2D:34:3A:E5:45 RSSI=-91
    [17:09:38][D][esp32_ble_tracker:565]: Address Type: PUBLIC
    [17:09:38][D][esp32_ble_tracker:567]: Name: 'MJ_HT_V1'

    • @IntermitTech
      @IntermitTech  4 года назад

      Yes, but there seem to have been changes to how it works in ESPhome. Now it won't display that data anymore until you add them. Best to just add them with a generic name and then override the name in Home Assistant to where it goes. :)

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

    Anyone know how to make the readings of the sensor in home assistant update more often? My humidity sensor is only updating every 40 mins or so.

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

    I follow all your video but when since the ESP32 is on all night, I still not getting any telemetry from the mini square MiJia. I see only unknown for all sensors but ESP32 signal is okay.

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

      Try connecting to the sensors again with your phone and spamming "mi like" a few times

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

      @@IntermitTech Maybe I did not remember on the video you mention need to clicked the Advertising type: Mi Like. It works now. Is there a way to get the bluetooth signal of each MiJia unit so we can see how far to place the unit before not receiving it. Thanks a lot. I

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

    Hi, great video. I followed it and I' so near to the success but I cannot have my CGG1 H version, bought few days ago, working. Is a different version? Thankyou! This is the message I ge
    Found device E3:80:F4:1C:BC:57 RSSI=-56
    Address Type: RANDOM
    Name: 'Qingping Temp RH H'

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

      Having the exact same problem, the ESP32 is not reading the data from this E-paper type xiaomi sensor. Already found a workaround?

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

      @@royteunissen4004 nope so far.

  • @jeffchan6614
    @jeffchan6614 5 лет назад +1

    Can the temperature change to FAHRENHEIT?

    • @IntermitTech
      @IntermitTech  5 лет назад +1

      Sadly on these meters no. You can do an easy conversion in Home Assistant but the meter will always display celcius.

  • @eughrologh
    @eughrologh 5 лет назад

    Does anyone know the difference between this and the Aqara. As the Aqara has wifi out of the box that would seem like an easier set up?

  • @XellosMetallium
    @XellosMetallium 4 года назад

    isn't home assistant requires you to different dongles to make it work?

    • @IntermitTech
      @IntermitTech  4 года назад

      No, in this case you can just use one or more ESP32s which connect over WiFi to Home Assistant. The Xiaomi sensors connect to those ESP32s and translate the BLE temperature data and send it to Home Assistant. That way, no matter how big your home is, you are not stuck to having to use dongles or multiple base stations!

  • @jeffchan6614
    @jeffchan6614 5 лет назад

    Why does the ESP32 is showing "UNKNOWN STATUS". I had to power cycle ESP32 Devkit.

  • @MrDenisJoshua
    @MrDenisJoshua 4 года назад

    Can I use one of this sensor out of my home in the greenhouse at aprox. 30 Mt from my home please ? thanks a lot

    • @IntermitTech
      @IntermitTech  4 года назад +1

      30 meters would be a bit much for the bluetooth I think. But if you get WiFi coverage there you could place an ESP32 close to it and relay it to Home Assistant that way.

    • @MrDenisJoshua
      @MrDenisJoshua 4 года назад

      @@IntermitTech Thanks a lot... but I'll go to study the RF433 modules.

    • @MrDenisJoshua
      @MrDenisJoshua 4 года назад

      I just buy one of this sensor in the Xiaomi Mi shop and I just tested it... well if I don't have a wall, it make about 7-8 Mt
      If I have 10 cm of wall between sensor and ESP32 it don't work. (new battery inside)
      Can you penetrate a wall with one of this sensor please ?
      Thanks again

    • @IntermitTech
      @IntermitTech  4 года назад

      I have a few that are through several walls even? Also one that I have 7 meters and a wall away! No problems.

    • @MrDenisJoshua
      @MrDenisJoshua 4 года назад

      @@IntermitTech Strange... maybe my ESP32 have no so good receive.
      The problem is that I need about 8 or 9 sensors in order to cover my house, greenhouse, chicken coop etc...
      Now I just study in order to make a sensor by DIY with the RFM69 chip and low power consume.
      Then... I'll put a sensor also in may bed :-)
      Thanks a lot

  • @Banjoba
    @Banjoba 4 года назад

    Why not just use a xiaomi aqara temp/humidity sensor?

  • @EstebanBurneo
    @EstebanBurneo 4 года назад

    Why didn’t you throw some sonoff th16 and avoid all the hassle ?

    • @IntermitTech
      @IntermitTech  4 года назад +1

      I don't see what you are saying. :S With those I'd need a power supply in each room and don't have a local read-out? Now I have 14 of these Xiaomi sensors through the house, battery on those WITH screen last well over a year and I have 2 ESP32's in places where I have wiring anyway. They are factory calibrated and only cost about 10$ each, how is that MORE hassle then having to power a device per room which I'll have to hide somewhere? Maybe I'm missing your point?

    • @EstebanBurneo
      @EstebanBurneo 4 года назад

      Intermit.Tech I’m sorry I misunderstood your video , I thought you needed 3 components for each room . Your projects are awesome . I’m trying to repurpose and Arduino mega with internet shield connected to 8 relay board onto hassio and HomeKit functionality , I still don’t understand mqtt that well so i will keep trying . Have a great Sunday

    • @IntermitTech
      @IntermitTech  4 года назад +1

      @@EstebanBurneo Aaah, ok, no no, I wanted to minimize the components I needed, especially in all the rooms! Now I just have two central ESP32's (which I had anyway because of my DIY lighting) and the rest are battery powered wireless sensors. :)
      But tinkering with stuff is always fun! Hope you get all your relays working! :D

  • @Κάκαλος
    @Κάκαλος 4 года назад

    Is there any way to boost the range of esp32? It seems that I wll need one in every room.

    • @IntermitTech
      @IntermitTech  4 года назад +1

      Really? Do you have lead walls? ;)
      Only way I can think of is using a ESP32 with an external connector, that could enhance range. :)

    • @Κάκαλος
      @Κάκαλος 4 года назад

      @@IntermitTech yes houses here in Greece use hard material even to separate rooms. The nearest sensor updates every some seconds but the other two i use in the two bedrooms may update every hour or so. Excellent video by the way.

  • @benjaminreede
    @benjaminreede 5 лет назад

    You’ve had me @ “you need 2 thermostats per room”. Heating in holland per room is quite difficult. Why? It’s not rocket science.

    • @benjaminreede
      @benjaminreede 5 лет назад

      Kjeld Schouten ok indeed, heating is not the problem, but heating or cooling (what’s that?) the way you want. Is to hot, or to cold. At least thats the issues i have.

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

    I've connected the ESP32 board to my Windows 64 PC via a USB cable but when it comes to flashing the firmware ( at 8:04 in the video ) , I can't select anything for the Comm Port as it's blank. What am I doing wrong? I download the ESPHome-Flasher-1.3.0-Windows-x64.exe
    file from github.com/esphome/esphome-flasher/releases.

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

      Check in device manager if the COM port shows up, sometimes you need a driver for it.

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

      @@IntermitTech Thanks for the quick reply.
      When I plug in the unit to my USB port, it does appear under devices as "CP2102 USB to UART Bridge Controller" but says there's no driver installed. Asking Windows to search and install driver automatically comes back with "No driver found".
      I went to www.pololu.com/docs/0J7/all#2 and downloaded these and tried to install the driver manually but it says "Windows could not find any drivers".
      In Windows Control Panel, the COM1 port shows as being fine.
      EDIT: Nevermind. Got it working. I installed the drivers from:
      www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers
      I'll leave this here in case others have issues.
      Now to complete the setup. Happy New Year.

  • @jeffchan6614
    @jeffchan6614 5 лет назад

    I re-uploaded OTA and now I see my BLE sensor in HA as sensor.name_2. Not sure what step I missed. How do I prevent sensor names with _2.... _3 and so on whenever I use OTA update?

    • @IntermitTech
      @IntermitTech  5 лет назад

      I haven't had this happen to me, I'll do some checking when I can.

  • @neoxnet
    @neoxnet 4 года назад

    BTW, Xiaomi is pronounced ‘shao-mee’. I get as non-Chinese speakers it’s hard to correctly pronounce it with the tones, but that’s pretty close for us. :)

    • @IntermitTech
      @IntermitTech  4 года назад +1

      Yeah, I know I butcher it but my attempts to correct myself never stick. :P

  • @Κάκαλος
    @Κάκαλος 4 года назад

    Is there a way to manage the scan interval? I used the scan_inteval code but I get an error that this function was removed.

    • @IntermitTech
      @IntermitTech  4 года назад

      Even if you could, you are limited by how often the device broadcasts, so what use would it be? Besides, in my experience, with changing values, it update quite often

    • @Κάκαλος
      @Κάκαλος 4 года назад

      @@IntermitTech that is the reason. They update quite often and the home assistant database is constantly growing.

    • @IntermitTech
      @IntermitTech  4 года назад +1

      @@Κάκαλος But Home Assistant throws away values after 1 or 2 weeks I believe? It's a setting you can set, then it should be no problem! :)

  • @xfabiosoft
    @xfabiosoft 5 лет назад

    Where is part 2?

  • @andreasscholdan8087
    @andreasscholdan8087 5 лет назад

    How do you plan to control each value?

    • @IntermitTech
      @IntermitTech  5 лет назад

      What I have currently as a test setup is measuring the temperature using the Xiaomi sensors and feeding that into Node-Red using Home Assistant. There I have set rules which check if the heat pump is heating or cooling and then based on that either open or close a valve for the underfloor heating system. I don't have it hooked up yet, but in testing it's been working pretty well.
      For the valves the underfloor heating system I made a different video about cheap relay boards!

    • @andreasscholdan8087
      @andreasscholdan8087 5 лет назад

      @@IntermitTech can you link the video to the underfloor heating 😀

    • @andreasscholdan8087
      @andreasscholdan8087 5 лет назад

      Dont some values use PWM?

    • @IntermitTech
      @IntermitTech  5 лет назад

      @@andreasscholdan8087 Well, I have the setup installed yet, but there is a video about relays in my Home Assistant playlist and also check out my "Bathroom ventilation" video which also has more info towards the whole solution! You can find them here: ruclips.net/p/PL4b74vD-Uo-NhFmZoQIIV4I_jI9I23jh1 (video 6, 7 and 8)

    • @IntermitTech
      @IntermitTech  5 лет назад +1

      @@andreasscholdan8087 For underfloor heating systems? No, generally they are on/off valve systems. The heat source (in my case a heat pump) determines the water temperature as a whole and that then flows to the rooms requesting heating/cooling at that moment and close when that need is satisfied.