According to this, I cant merge the two lines created. I have to do it manually.
Nevermind, I will get over it
Now, I want to have a trend sensor sampling the kitchen thermometer. I want to detect if the fireplace is warming the house or not. The purpose of this is to automatically turn off the âfireplace booleanâ, so HA will know that the fireplace is off.
To elaborate, we usually feed some firewood before we go to bed, so the fireplace will stay on for a couple of hours. That means that the fireplace will turn off at sometime at night, so I cant really press a button in HA to change the state of the fireplace. It has to be automatically done.
So, I thought a trend sensor would do the job.
The problem is that the kitchen thermometer is having ups and downs:
How would I correctly configure the trend sensor? Or is maybe another way to know if the fireplace is on, or off? At this point, I would like to mention, that wiring the fireplace with temp sensors, is a no-go for now. Maybe in the future.
Sorry somehow missed your other question. I would spool all the data together until I get one line, then output with comma separated values.
As for trend, youâd want to build the sensor just like the bottom example. You need to choose a gradient that you want to use. So, how many degrees is this going to drop over an hour? Take that number divide it by 3600 (number of seconds in an hour) and use that as the gradient. Then set your samples to the number of hours you want to use *3600.
I am using this project for over a month now and it looks like it works fine. I am not sure if it is completed yet, but time will tel.
I have a tablet near the fireplace, where I enter the weight of the firewood, and I have this button to add to the total firewood used for the day.
The problem is that sometimes this button is pressed twice accidentally and adds more firewood than it was supposed to add. Is there any solution to that? Maybe an undo button, or something like to make sure it wont add more than once per time?
For now, I have to enter the states and edit the value manually.