Now, when temperature falls a little bit and raises again, I am getting a telegram message every time.
How can I change this to only get a message when the bed is heated first time?
Best regards and thanks in advance,
Otto
Thanks a lot. Unfortunately the treshold helper only works with fixed values, not relative ones.
To explain what I mean:
one time the 3d-printer has a target bed temperature of 60 degress, for a different material 90 degrees are needed.
And, please correct me if I am wrong, treshold only can handle fixed values. What I would need (I think) would be something that can handle that within - lets say - plus/minus 5 degrees of the target temperature. Does anyone maybe know a trick?
Coming from fhem, I used one (or some) lines of perl for simple things like this, but with HA, I am still a little bit lost…
One easy way to do this without a lot of complex scripting would be to create a helper entity called “Bed Preheated” and once you get notified it sets it to true and then that becomes a criteria for future notifications (if input_boolean.bed_preheated == false) and then another automation when your print is done to reset that back for the next time.
Sometimes it’s easy to try to over engineer a solution when a fairly simple one might work out instead.
I use a lot of similar solutions in my HA. One thing I have learned, though, is to not always trust that external integrations like Octoprint (which I also use) will fire your automations properly, so I build in a failsafe I call “Midnight Resets” that just makes sure all things like this go back to their default value each night so it doesn’t mess me up in the future.