The use of the ESP8266 in the world of IoT

User avatar
By nitramf
#56273 Hello!

for party purposes I want to implement a toilet-traffic light with the ESP8266.
I am new to the ESP8266 so I have several questions.

My Plan is as following:

1 ESP 8266 in the bathroom, it has two sensors: one door sensor and one ultrasonic sensor
1 ESP8266 infront of the bathroom connected to 3 relays which switch the correct light on

I am not able to detect if the door is locked so my plan is to check the ultrasonic sensor after the door is closed to detect if someone is in the bathroom.
The project could be broken down to two events, bathroom occupied, bathroom free

Should the 8266 stream live sensor data or send its data 'event-like' to the IoT-platform?

There are many IoT platforms that allow to connect sensors but I have not found many that are free and allow to create own applications.I think Kaa and node-red are the best solutions for me. Can you recommend me others?
Is it possible to implement my idea with kaa or node-red? Which firmware should I use for the NodeMCU?

Best regards,
nitramf