Here's my home automation using node-red and my future ideas....
I have a bunch of SONOFF's in use for home automation .... (aliexpress).... no fires as yet. Will keep you posted.
All SONOFF's re-flashed with easyesp (https://www.letscontrolit.com/wiki/index.php/ESPEasy)
All using MQTT across the LAN (no IFTTT)
Orchestration done by node-red (drag and drop flows - no coding required).... i.e. (if the water tank is low, turn on the kitchen light).
Node-red offers lots of plugins.... i.e. I use a bluetooth ping to my iphone BT mac address to turn on the heater in the office when it "sees" my phone arrive AND if the temperature is too low.
When the BT ping "see's" me get home, it checks the home water tank level and if it's below 30% sends me a telegram message. All done by drag and drop, no code.
Alexa node-red plugin lets me turn anything on or off. "Alexa turn on the heater" sends MQTT ON to the heater sonoff.
An ESP8266 running esp-easy counts pulses from the LED on my smart meters to give kW/h readings over MQTT.
The node-red json/http function gets etherium mining rates from nanopool as json for display on node-red dashboard.
The node-red dashboard URL runs on an old android tabled on the wall that gives us all the information in a nice format.
Other / Next ideas...
If node-red can ping my wife's phone on the LAN then open the garage door if the time is between 3pm and 4pm and the door is currently closed and the car is absent. (this is the open the garage automatically for my wife flow)
If the car is not charging and the time is past 9pm and the car is in the garage then send me a telegram to plug it in before I wake up to a grumpy wife.
If the time is past 7pm and I'm home the set the spa pool 2 degrees warmer than the kids like it 'cause it's grown up spa time. Send me a telegram when it's up to temperature.
If the garage door is open and it's past 9pm and the car is in the garage then close the garage door.
If node-red can't ping my AWS server and it can ping 8.8.8.8 then send me a telegram.
SONOFF + ESP8266 + MQTT + Alexa + Telegram + Node-Red = Home Automation Bliss.