点击蓝字,关注我们
本文为『瀚思彼岸』论坛技术文章,作者为hass7079。在此表示感谢!文章版权归原作者所有,侵权必究。
主角是esp01s,某多多6.x元,太适合做门窗类传感器了,也是受了论坛一位坛友帖子的启发
好像没有预览功能,图文排版不方便,大家将就看吧打开小天鹅洗衣机的控制板,有一个印着二维码的小东西,这个是它的物联网组件,不出所料,里面5v、3.3v都有直接引用3.3v电压esp01s需要接:电源2根、干簧管2根(rx和gnd)、en接3.3v
其它参考图
接esp的电源线弄长一点,同时接en,使能
小天鹅洗衣机物联网打开,里面刚好可以放入esp01s
接入esp的干簧管放在小天鹅洗衣机原干簧管的地方
改装完的图
代码:
▼▼▼
更多详情内容见原帖...
欲了解更多Home Assistant最新玩法和教程,请访问瀚思彼岸论坛(bbs.hassbian.com),同时欢迎关注本公众号。
▼ 请点击“阅读原文”到论坛与作者互动。
Click the blue text to follow us.
This article is a technical post from the ‘Horizon Beyond’ forum, written by hass7079. We extend our gratitude! The copyright for the article belongs to the original author; any infringement will be prosecuted.
The protagonist is the esp01s, available for 6.x yuan on a certain e-commerce site, making it perfect for door and window sensors. This was inspired by a post from a fellow forum member.
It seems there is no preview function, and text formatting is inconvenient; please bear with me. Opening the control panel of the Little Swan washing machine reveals a small component with a QR code — this is its IoT module. Unsurprisingly, it provides both 5V and 3.3V outputs. The esp01s uses the 3.3V supply directly, requiring four connections: two for power, two for the reed switch (RX and GND), and EN connected to 3.3V.
For more context, refer to the following images:
Lengthen the power lines to the esp and connect them to EN to enable the board.
The IoT compartment of the Little Swan washing machine is opened, providing ample space for the esp01s.
The reed switch connected to the esp is placed where the original Little Swan reed switch was located.
A photo of the completed modification:
Code implementation:
▼▼▼
For more detailed content, refer to the original post...
To learn more about the latest Home Assistant tricks and tutorials, visit the Horizon Beyond forum (bbs.hassbian.com), and don’t forget to follow this public account.
▼ Click “Read Original” below to interact with the author on the forum.












