I want to trigger an actuator (water heater) when the water temperature is below 25 degrees C. I just see the options to send an email or text message. Is this possible?
Also want to do this triggering just in some time window i.e 05-06:00h and 16:00-19:00.
Hello Sir,
All that you have listed is possible!
Open the triggers tab and with drag and drop add the device and insert the sensor in the if section, then add the actuator device in the āthenā section with drag and drop!
And then you can make a new trigger to send email or messages when the actuator is on/off
About the time trigger - you can use scheduling.
If you need more detailed information, I can give you a screenshots!
How would you accomplish it so the trigger only runs during those time windows? Pehaps Iām not being clever enough this morning, Iāve not yet had my
Iām thinking you could connect the Pi via MQTT and use scheduled event to trigger a button that then executed a python script on the Pi to handle the triggering? But do you have some way to do this so the Pi doesnāt have to be connected through the MQTT API and the logic stays in Cayenne?
Thatās a good question I think that he doesnāt need to run it in this interval if it is bellow 25? He is written that want to trigger it in some time and separate if it is bellow 25 degrees?
I want to heat my water here but donāt want to do it all day long to save energy right?
I have solar energy to heat the system but when it“s not enough it will activate an auxiliary electrical heating system.
So I need to check a condition. Iām checking my boiler water temperature (NTC 10K working ) and if itĀ“s below 35 degrees C I need to activate the electrical heater. But just want to do this time windows 16:00-19:00 and 05:00-07:00.
Right now the capability of the Triggers engine is fairly limited when it comes to executing a trigger with multiple conditions. Weāre going to me making improvements to this in the future so it can handle things like multiple conditions, more complex Boolean logic, etc.
In the meantime you could hack it if you offloaded one of the conditions to your Arduino sketch file where you have the fully ability to run custom code.
Iām thinking something like using Cayenneās trigger engine to set a Virtual Pin value when the temp is lower than 25C. Then your sketch code could monitor the value of the Virtual Pin, and when it is a certain value, it could also check the time and only change the state of the actuator from the sketch code when both conditions are met.
There may be a more clever way to do this, so Iām open to other suggestions from the community!