#Detecting wattage below certain value
1 messages ยท Page 1 of 1 (latest)
Hello @north moss,
that looks to me like it will trigger when it goes above the upper limit of 100...
goes below 100 watts
no I think upper limit is right here.
is below for 30 seconds though ๐ค
It's been ~1 for like 40 mins
is there any way to debug numeric state?
it will only trigger when it goes above then below again. if its a new automation and its been below the entire time its existed then it wont do anything
can you put the device on for a moment and then off again to see if it works?
its on atm but its finished heating already so it wont consume above
the automation to start it ran though hour ago
nudge the temp setting up a moment?
should be an issue there
sometimes the numeric sensor can be a bit touchy to be fair.
you could create a templated binary sensor helper that is "on" when above 100w else "off" then automate off that sensor instead
is that jinja2 templating btw?
yes
you can add class and device to it if you want but its not required
if you add it to a device it shows up on the devices page so its convenient etc... but i made this one in a hurry ages ago so skipped
states
not state
no worries, i hope it works out for you
and then i can do like when it goes from on to off?
exactly, you now have a basic on/off sensor you can automate from
has to work
perfect
thanks again
boom!
although calling it "xxx on" bothers me a little ๐ something like "xxx status" or "xxx state" makes more sense to me... but its your system ๐
yeah I changed aha
the lowercase was bothering me
it worked
awesome!
ok so ive found a flaw even with the binary sensor
same flaw actually
when it turns it on, if boiler is already heated it wont go above 100watts so the state will remain off
any idea how i could make it work?
maybe i could start timer for like 20 seconds ๐ค
and make the template power < 100W || timer state on