ottopaulsen / MMM-MQTT

MQTT Client module for MagicMirror2
MIT License
57 stars 29 forks source link

Run a Script on Specific Value Range #31

Open Ra7t0r opened 4 years ago

Ra7t0r commented 4 years ago

Hello. I would be nice, in addition with the newly released "Colored values" feauture, to be able to run a external script: In my mind is something like that:

subscriptions: [ { topic: 'smoky/1/inside/temperature', // Topic to look for ... ... colors: [ // Value dependent colors { upTo: -10, value: "blue", label: "blue", suffix: “blue”, runScript: “/MagicMirror/script.sh"}, ], },

ottopaulsen commented 4 years ago

Thank you for an interesting suggestion. I will take a look when I get the time.

Otto

Ra7t0r commented 4 years ago

Hello. I hope you are doing well. Any updates?

ottopaulsen commented 4 years ago

Sorry, I have very little time for working on this module these days.