A place users can post their projects. If you have a small project and would like your own dedicated place to post and have others chat about it then this is your spot.
User avatar
By nettuno77
#73985 Hi, I've merged some example project into one to control 2 rooms.
The purpose is control each room, automatically, manually, anche use it on mqtt broker.
In each room there are:
-a light sensor
-a pir
-a light to control
-a switch button (no push button)
This project is based on ESP NON OS SDK 1.5 and Sming 3.5.
I merge some of example included in Sming framework, but I've some issue with interrupts.
Without interrupts seems to work well, but obviously the interrupts are mandatory for pir sensor, and buttons actions.
The code is on github, on my public repo, if someone want to keep an eye (sorry for the expression)

If someone wants, I'll post schematics of the project.