A module for Node-RED that you can use to turn on and off a switch based on power prices
github.com/ottopaulsen/node-red-contrib-power-saver
ottopaulsen/node-red-contrib-power-saver