Тёмный

Bed Occupancy and IR transmitter for Home Assistant 

ResinChem Tech
Подписаться 25 тыс.
Просмотров 10 тыс.
50% 1

Опубликовано:

 

7 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 38   
@rodneysmith1750
@rodneysmith1750 Год назад
Great and timely video, thanks for sharing. I plan to use the IR controls for my mini split A/C as well as my ceiling fans coupled with a temp/humidity sensor.
@ResinChemTech
@ResinChemTech Год назад
Thanks! Now that I've gotten this to work for the AC unit, it's started me thinking about how I could do something similar to control/automate other IR devices in my home that are normally "dumb" devices. I think it should work with something like a ceiling fan as well, assuming you can capture the needed IR codes from the existing remote.
@LukeAurio
@LukeAurio Год назад
I just wanted to leave a comment saying thanks! You inspired me to upgrade my place with an ESP8265 with IR Receiver and Transmitter combo similar to (but a titch cheaper haha) than the one you linked to. My Frigidaire units aren't (yet) supported for the climate integration but I managed to clone my Remote signals from the IR Reciever too! You've provided a lot of much needed inspiration to make my apartment a whole lot "cooler". This was my first time making a model from scratch, which made me feel super proud. Files will be on thingiverse after I clean up the files and and some personal touches. You've been a great resource while I've been dipping my toes into homeassistant and helped inspire me to take the dive and upgrade to a proxmox isntance that made my (fairly rudimentary) home lab a heck of a lot easier to manage. Thanks for making content that newbies and experts can take a page from! Keep on doing what you're doing.
@ResinChemTech
@ResinChemTech Год назад
Wow... thank you so much for the kind words. I'm glad you find my videos helpful and that they inspire you to give DIY a shot. For me, there is a lot of satisfaction in making something work and figuring out how to do it (even though I often make some mistakes along the way). I think you will be very happy with Home Assistant on Proxmox. It was one of the best moves I've made for my smart home... even if no one else sees it. Thanks again for the comments. It's comments like yours that inspire me to continue to make videos! Keep me advised of your progress on other projects.
@RealMangaAddict
@RealMangaAddict Год назад
I'm new to Home Assistant and your videos have been extremely helpful. I live in the Caribbean and we use Air Conditioning rather than Thermostats, so I was looking for a solution to managing my Ac through HA, this video could not have come at a better time. Thank you, I've learnt soo much from you!
@ResinChemTech
@ResinChemTech Год назад
You are most welcome... and I'm happy you find my videos helpful. While it might take a little extra work if your model of AC isn't one of the officially supported ones by ESPHome, as long as it has an IR remote it should be possible to capture those codes from a receiver and reuse them. The IR transmitter is really the only part needed to do a lot of Home Assistant automation. The bed sensor was just an additional piece for me... because I've wanted one for a while now to use in other automations. Thanks for watching... and taking time to leave a comment!
@RealMangaAddict
@RealMangaAddict Год назад
@@ResinChemTech Thank you, now that I know it's possible, I'm sure I'll find a way to make it work
@rodneysmith1750
@rodneysmith1750 Год назад
I am in a similar situation, I am an expat living in Mexico. We use mini split types of A/C and fortunately for me my new Trane units do support IR so I am looking forward to automating them with Home Assistant as well. This is a very timely video for me.
@RealMangaAddict
@RealMangaAddict Год назад
@@rodneysmith1750 Hope everything works out for you!
@Tntdruid
@Tntdruid Год назад
Very nice guide, thanks 👍
@ResinChemTech
@ResinChemTech Год назад
You are very welcome! Thanks for watching and taking the time to leave a comment.
@davidprocaccini3153
@davidprocaccini3153 Год назад
Cool video. Very informative. Thank you for sharing all your various projects.
@ResinChemTech
@ResinChemTech Год назад
Thanks! Hopefully my videos can help you with your own projects in some way. And thanks for taking time to leave a kind comment!
@jensf.7882
@jensf.7882 Год назад
super project … good work !!!
@ResinChemTech
@ResinChemTech Год назад
Thanks... I appreciate it! While I'm using this for an air conditioner, I hope others can see how both parts of this project have a lot of other potential uses for automating other devices as well. Thanks for watching!
@prezbenny7842
@prezbenny7842 4 месяца назад
Very useful project, nice. Thanks
@ResinChemTech
@ResinChemTech 4 месяца назад
You are welcome. While the final project is a bit specific for my use case, hopefully the idea of a bed sensor or a custom IR transmitter can be adapted for a lot of other uses and projects. Thanks for watching and taking a moment to leave a comment.
@jgbreezer
@jgbreezer 5 месяцев назад
If more nervous about applying too much heat to the FSR pins, you could consider conductive glue instead! (or a crimped connector). You don't have to solder so much (nasty fumes and burn risks and extra equipment to keep around when you aren't using it too).
@ResinChemTech
@ResinChemTech 5 месяцев назад
Good tip! I'm pretty comfortable with my soldering skills, but this is a great suggestion for others that might not have the equipment or experience with soldering. Thanks for sharing it.
@WndSks
@WndSks Год назад
This bed sensor is so cool, wish I had a use for it.
@ResinChemTech
@ResinChemTech Год назад
Well, while I'm using it for my AC unit, there are a lot of possibilities if you have an automation system like Home Assistant. For example, I have a nightly routine that runs that turns off any lights that are on, check and locks any doors that are unlocked, assures the overhead garage door is down, etc. Right now, that's based on time... but I could easily update that to use the bed sensor so that the 'goodnight routine' runs whenever I get into the bed at night. Or you could flip that around and have it run a series of actions when you get out of bed in the morning. Or have it light up some low level under bed LEDs if you get out of bed in the middle of the night so you don't stub a toe on something! There are a lot of potential uses, but it does require an automation system like Home Assistant, NodeRed, etc. But I do appreciate you watching and taking time to leave a comment.
@yarbsfpv
@yarbsfpv 4 месяца назад
well, if the sensor's resistance fluctuates often, and HA is aware that you're not home, you've got yourself an infidelity alarm!
@collindewitt1989
@collindewitt1989 Год назад
Absolutely brilliant. Great project and video. Thanks for sharing
@ResinChemTech
@ResinChemTech Год назад
Thanks... and you are welcome. Hopefully it gave you some ideas for your own projects. Thanks for watching!
@collindewitt1989
@collindewitt1989 Год назад
@@ResinChemTech I have been wanting to build a bed sensor using load cells but was not keen on the wires running under the bed all over the floor. Your idea is much neater. I will use the load cells now for my water cooler to notify when to replace the bottle. Sadly electricity is becoming scarce in south Africa so a smart home is not as effecient as it used to be
@ResinChemTech
@ResinChemTech Год назад
I was exactly the same. I wanted a bed sensor and even bought load cells. But it was so much wiring under the bed, and my particular bed wasn't conducive to the design, so I gave up on the idea a long time ago. It was just recently when I ran across that forum post and discovered the method of using the force sensitive resistor that renewed my hope. This method is nice as there are no wires under the bed and everything goes under the mattress/box springs, so it also doesn't interfere with making the bed, changing the sheets, etc.
@martinzipfel7843
@martinzipfel7843 Год назад
Lucky you that ESPhome climate supports your Aircon. I have an old Mitsubishi unit and am trying for ages to get it to work. But ESP Climate doesn't support the model and I can't figure out how to teach it the right codes from the remote. Any chance you could make an instruction on that? :)
@ResinChemTech
@ResinChemTech Год назад
I was fortunate that I didn't have to capture and learn the codes for my Midea. However, I have captured codes from other remotes and used those capture codes to transmit to a different device. The best advice I can give is to connect an IR receiver to an ESP running ESPHome and use the ESPHome log to display the code each time it receives one. Get the various codes from the different remote buttons. Then use those same codes that you captured to send out via the IR transmitter platform in ESPHome. Without an actual remote to test, it's hard for me to provide any additional assistance, but my YAML does include an option for capturing and logging codes received (even though I'm not actually using a receiver in my case). You might also check out the ESPHome Discord server as well (if you haven't already). You may run into someone there that has either figured out your model of AC... or can give you better tips/advice than I can! Good luck. I wish I could provide exact details.. but that's about the best I can offer.
@martinzipfel7843
@martinzipfel7843 Год назад
@@ResinChemTech Awesome, thank you for the quick reply. I'll have a look at your code. I have a receiver attached and can see the codes coming from the Aircon remote. I just didn't know how to integrate them into ESPhome to make it work, hopefully your yaml code will help.
@geejayem59
@geejayem59 Год назад
Very good. You could also define the threshold setting as a template number in the esphome code rather than using a helper from home assistant so that it would all be self contained.
@ResinChemTech
@ResinChemTech Год назад
Thanks for the idea. Of course there are always multiple ways to tackle any project. Your method does put all of the related entities into the ESPHome node, which depending on your personal installation and organizational method may or may not be the desired choice. For me, I use packages, so I have everything related to the AC automation in one YAML package. This includes my automations, switches, input_booleans, etc. So, I could either put the input_number in my package or the ESPHome file (via a template number). Either method results in the same outcome... a slider in the front end to be able to adjust the trigger level. But I appreciate the alternate approach. For some, it may be a better organizational option than importing an input_number from Home Assistant. For others that are not as comfortable with using YAML, creating the helper using the UI and doing the simple import into ESPHome might be more easily understood than creating a template number via YAML in ESPHome. But again, thanks for the alternate approach idea. I always appreciate viewers' feedback and other ways to tackle a project.
@DennisSchmitz
@DennisSchmitz 5 месяцев назад
I'd rather use the Midea_AC or Midea Smart AC integrations. Run flawlessly and local as well and support even more settings like ECO mode.
@Xillwill24
@Xillwill24 11 месяцев назад
😊
@user-so5uo1xx5t
@user-so5uo1xx5t Год назад
Thank you very much. I have a GREE air conditioner. How can modify the code for GREE air conditioner which supports heatpumpir ? Can you help me write the modified code for my GREE air conditioner?
@ResinChemTech
@ResinChemTech Год назад
ESPHome natively supports and has the code for the GREE Heatpump. In fact, there's a special section in the documentation that describes the GREE libary. You should find all you need, including the necessary code, here: esphome.io/components/climate/climate_ir.html Look under the section that talks about Arduino-HeatpumpIR.
@user-vx9pq7no6i
@user-vx9pq7no6i 10 месяцев назад
Can you help me please Am trying to control my tcl inverterpro air conditioiner with arduino uno. First i got the raw data from tv and tv box and the array size was 70 Then i got the raw data from my air conditioner and it was over 500. It worked on tv and the tv box but it didnt work with the air conditioner😢 Can you tell me where the problem is? Sorry for my bad english.
@kylegurney8610
@kylegurney8610 8 месяцев назад
I was reading that forum on home assistant and there were alot of issues with false positives with these during configuration. How accurate has this been for you?
@ResinChemTech
@ResinChemTech 8 месяцев назад
I'm assuming you are talking about the force sensitive resistor (and not the IR transmitter). Mine has been in use for about 7 months now and the only real issue I've had is some slight drift in the upper voltage (unoccupied) range, but that is mostly due to my Sleep Number bed that loses pressure over time. When the "Sleep Number" is reset, the voltage also falls back into line. But it is important to select the proper resistor to give you the broadest voltage range between occupied and unoccupied. The narrower this range, the more likely you are to get false positives (or negatives) based on small changes in pressure. In my case, I generally get around 3V when unoccupied and 1V when occupied. Naturally doing things like lifting up the mattress to change sheets can cause false readings, but I do try to account for those in my automations. I also have any 'occupancy' automations limited to certain times of the day. With all this taken together, I've not had any false occupancy/non-occupancy issues regarding the triggering of the window AC unit. Since the voltage can bounce a bit, especially as you move around in bed, if you are wanting to use this for some sort of "instant" action (such as turning on under bed lighting), it may not be the ideal system as simply rolling over in the middle of the night could result in a trigger. In my case, I look for a state change that lasts for at least 5 minutes before an automation fires, so this will account for things like shifting while in bed. But at least for the first 7 months, it has worked out just fine for controlling the AC unit. This could change in a year, two years, etc... but for now, it has been working as expected.
Далее
Best Zigbee IR blaster for Home Assistant, but...
17:35
Easy Aqara bed sensor vs ESPHome
15:59
Просмотров 120 тыс.
Cute kitty gadget 💛💕
00:23
Просмотров 14 млн
Butch REACT to Creative way to fix damaged tile!
00:46
Home Assistant Control Panel For My Wall
11:19
Просмотров 262 тыс.
Automate Your Smart Home With This Easy Bed Sensor
10:34
Try these 16 Brilliant ESP32 projects!!!
11:18
Просмотров 574 тыс.
Add a Display to Your DIY Project (Beginner Friendly!)
41:28