node-red a full home automation example

 I'm not putting this publicly on github quite yet, though feel free to ask.

It is my attempt to put my home automation on a dashboard integrated with Alexa, Logitech Harmony and in these days of scary fuel bills my solar panels and consumption monitoring smart plugs.

You may or may not want my flows in all their glory, it is my house after all, but the following bits are of note.

  1. A reliable Tuya authentication mechanism.
  2. Solax solar cloud REST reading.
  3. A much extended set of harmony remote integration nodes compared to the original node-red-contrib-harmony repository I forked from.
  4. A way to read whether a Virgin TV box is on or off so a power toggle can be sent correctly.
  5. Hue lights control. Nothing special but might be easier than starting from scratch.
  6. A more useful version of the "sum" node that helps with power aggregation functions.
  7. Examples of using the alexa-node-red package so I can talk to Alexa and start node-red flows.
  8. A flow to turn an immersion heater on when there is enough surplus solar power.
  9. A harmony remote control layout that is easier and quicker than using the harmony app.
  10. Amp/TV modes that click between home theatre mode and sound from the TV. This uses two harmony activities but rigs harmony favourites that changing channels can maintain the current activity.
  11. Use of a new github repo https://github.com/marsjupiter1/node-red-contrib-tuya-auth which contains nodes for tuya  sign/auth/get/post.
  12. A subflow that can both use post and get and different tuya credentials and which handles re-authentication and the likely error conditions. This forms the heart now of the system communicating with tuya.
  13. A useful way of setting up devices across tuya accounts.






Comments

Popular posts from this blog

A reliable tuya authentication in node-red

Arduino boards - what I wish I'd known when starting