run bash-script on boiler status
Posted: Saturday 15 June 2019 16:49
Hi all,
I'm fairly new, and my first attempt on doing something else with Domo then monitoring. Please be patient...
I've setup latest stable version, and have included successfully my Nefit easy thermostat. I am able to see the "boiler status" in my webGUI.
When looking at the log of that item, it reads:
I am trying to make a bash-script run when boiler status is "hot water" (ultimately to have a notification of any kind when the shower is running too long
)
So I've created a blockly script saying:
bash script is executable, and when started by hand from commandline works.
However, when turning on the hot water, I see the status of this item change to ' hot water' (in the webGUI) after some time, but my script is not executed.
The log of Domo (GUI) says nothing when testing this script.
Am I making a mistake here? Do I want something that is not possible?
Please help/advice?
TIA,
Rolf
I'm fairly new, and my first attempt on doing something else with Domo then monitoring. Please be patient...
I've setup latest stable version, and have included successfully my Nefit easy thermostat. I am able to see the "boiler status" in my webGUI.
When looking at the log of that item, it reads:
Code: Select all
2019-06-15 16:35:49 off
2019-06-15 16:34:45 hot water
2019-06-15 16:24:38 off
2019-06-15 16:23:35 hot water

So I've created a blockly script saying:
Code: Select all
If [boiler status ] text = "hot water"
do start script /home/pi/test.sh with params <empty>
However, when turning on the hot water, I see the status of this item change to ' hot water' (in the webGUI) after some time, but my script is not executed.
The log of Domo (GUI) says nothing when testing this script.
Am I making a mistake here? Do I want something that is not possible?
Please help/advice?
TIA,
Rolf