This shows you the differences between two versions of the page.
iothings:proiecte:2021:smartbulb [2022/01/28 10:09] ionut.ursescu |
iothings:proiecte:2021:smartbulb [2022/01/28 10:22] (current) ionut.ursescu |
||
---|---|---|---|
Line 45: | Line 45: | ||
* ESP-Home to port the application to Home Assistant | * ESP-Home to port the application to Home Assistant | ||
- | The functionalities of both these modules are described in the following diagrams: | + | The code flow can be described as a simple state machine: |
+ | |||
+ | {{:iothings:proiecte:2021:esp32_flow_bulb.png?300|}} | ||
==== Final result ==== | ==== Final result ==== | ||
Line 51: | Line 53: | ||
Managed to create a working system that can be used in real life scenarios. Being integrated with Home Automation, it is very easy to add new functionality and to improve the control over a lot of lighting systems. Also it can also be extended to other systems, controlling the power for devices as shown in the photos. | Managed to create a working system that can be used in real life scenarios. Being integrated with Home Automation, it is very easy to add new functionality and to improve the control over a lot of lighting systems. Also it can also be extended to other systems, controlling the power for devices as shown in the photos. | ||
- | To test this project, I used this configuration | + | To test this project, I used a very simple hardware configuration mounted on a wood plank: |
{{:iothings:proiecte:2021:demo_idle.jpg?400|}} | {{:iothings:proiecte:2021:demo_idle.jpg?400|}} | ||
{{:iothings:proiecte:2021:demo_working.jpg?400|}} | {{:iothings:proiecte:2021:demo_working.jpg?400|}} | ||
+ | And the Home Assistant user interface: | ||
+ | |||
+ | {{:iothings:proiecte:2021:home_ass1.png?500|}} | ||
+ | {{:iothings:proiecte:2021:home_ass2.png?500|}} | ||
==== Demo ==== | ==== Demo ==== |