This project consists of two device builds... an IR transmitter and a bed occupancy sensor using ESPHome that I used for local AC integration and automation in Home Assistant. But either device has a multitude of potential other uses for your own projects.
You can find full wiring diagrams, stepbystep details and more in my related blog article: https://resinchemtech.blogspot.com/20...
Chapter Links:
=============
00:00 Introduction and Goals
01:35 Building the IR Transmitter
09:46 Building the Bed Occupancy Sensor
23:01 Home Assistant Integration and Automations
25:54 Conclusions and Wrapup
Parts List:
==========
These are the parts that I used for my build. Some are optional and some can be substitued. I've broken the parts out by the two diffent builds, with a section that is common to both.
Bed Sensor:
Force Sensitive Resistor Strip: https://amzn.to/42e6EWm
Wemos D1 Mini: https://amzn.to/3qd50r0
Resistor Kit: https://amzn.to/43cxhwr
ElecroCookie 1/2 Size Protoboard: https://amzn.to/3MCBRNi'>https://amzn.to/3MCBRNi
USB Slim wall charger: https://amzn.to/3WFeszf'>https://amzn.to/3WFeszf
MicroUSB cable: https://amzn.to/3oDui0X'>https://amzn.to/3oDui0X
Spade Connectors: https://amzn.to/3N0VaBh
Normally open push buttons (optional): https://amzn.to/43tA43P
Logic Level Shifter (optional): https://amzn.to/3N0KL8E'>https://amzn.to/3N0KL8E
IR Transmitter/Receiver:
Mini ESP32: https://amzn.to/3oubRMf
(only one of these transmitters are needed, but I'm including all three that I showed):
IR Transmitter (KY005): https://amzn.to/3N00TY9
IR Transmitter/Receiver Pair: https://amzn.to/42dpHQT
IR Transmitter/Receiver with ESP8265: https://amzn.to/3BYsToz
Logic Level Shifter (optional): https://amzn.to/3N0KL8E'>https://amzn.to/3N0KL8E
ElecroCookie 1/2 Size Protoboard: https://amzn.to/3MCBRNi'>https://amzn.to/3MCBRNi
USB Slim Wall Charger: https://amzn.to/3WFeszf'>https://amzn.to/3WFeszf
Micro USB cable: https://amzn.to/3oDui0X'>https://amzn.to/3oDui0X
Dupont Connector & Crimper Set: https://amzn.to/3BZJYi3
Common Parts (Used in both projects):
1/4" Braided Sleeve: https://amzn.to/43w2iuV
Heat Shrink Tubing: https://amzn.to/42c002X
Breadboard: https://amzn.to/3MCFjr9
Breadboard jumpers: https://amzn.to/3MD7dn1
Alligator Test Leads: https://amzn.to/43hLlVy
Project Boxes: https://amzn.to/3WHh14a
Misc. wire 2024 Gauge
Some of these links may be Amazon affiliate links. Use of these links will not affect your pricing, but this channel may earn a small commission if you make a purchase.
Additional Links and More Information:
=====================================
Written version of this project: https://resinchemtech.blogspot.com/20...
ESPHome IR Remote Climate Documentation: https://esphome.io/components/climate...
Gist file with all ESPHome, Helper entities and HA automation YAML: https://gist.github.com/Resinchem/831...
Original Bed Sensor post by tom_l: https://community.homeassistant.io/t...
If you'd like to help support the channel or just say thanks if I've helped you out, you can buy me a cup of coffee or two at:
https://www.buymeacoffee.com/resinche...
#homeassistant #esphome #automation