I am using node-red to control some lamps e.g. when it is getting dark and my phone is around (check bluetooth connection) then turn on the living room lamp.
You can do so many automations by using nodejs in the nodes.You can check it out here https://nodered.org/
You can do so many automations by using nodejs in the nodes.You can check it out here https://nodered.org/