@spajder_ua any value other than xx.0 or xx.5 will result in âInvalid Stepâ
Thanks, I think I got it now How do I round of the output i a good way? Your example are in Dutch, and my Dutch is not so good
Allrightie then.
- First create a numeric logics variable, and call it f.i.
TempRoundedTo.5
- In your flow, add an action card, pick Logics and then âCalculate a valueâ
2a. From the top white bar, select your created numeric varTempRoundedTo.5
2b. Enter this calculation in the white bar below that:{{round((<TemperatureTagFromSensor>*2)/2)}}
2c. So, compare it with my card below: my logics var (from point 1.) is calledvirt_temp_koelkast
The tag<Temperatuur>
is a selected local tag from the sensor, whicht triggers the flow
You can pick this tag by selecting the little card icon on the right.
3. Now for the virtual thermometer, pick the âset a temperatureâ card, and select the tag you used at point 1.
Thank you.
This worked as well
Cool, didnât know one can do math in these cards. How did you find out?
Cheers
Thanks, Iâm aware of that. But as I wrote, I did not know one can do math calculations outside of Logic âCalculate a valueâ cards
I saw it on a flow from somebody else that had this on it and I tested it myself and it worked
I didnât know that too.
I test it also with a text variable of the notification card to check out if it works with a text variable in every card. Works, which means that it is a common feature in every card with a text variable and we donât need to use a extra logic variable at all anymore for usecases like this.
Iâve an issue with the format()
function.
It seems to work âeverywhereâ, except for (Better)Logic âCalculate a valueâ cards.
This function adds a .0 to numbers (Iâd like 100,5 and 100,0 to be displayed, not 100,5 and 100)
Just curious, what kind of sensor are you using for this? Inside the fridge it can be quite damp / humid
I personally use the Zigbee Aqara Temperature Humidity Sensor for this. Has been working fine for months.
I have that exact one, but read some articles here and on reddit from users that had issues (and some people say it works fine as well). Did you vacuum seal it or just put it in there?
Anyone have experience with putting one in a freezer? (read some posts here about that not being a good idea or is that just bad luck and itâs working fine for others)
Both are working fine over here, i did not seal them.
I have a ice cream box freezer, running with Aqara temp sensor too, without any seal running fine since Feb . See below chart:
Nice, I just put one in the fridge still not 100% sure about the freezer, also because low temperatures drain the battery very quickly i would think?
My Aqara is running a year in the freezer. No problem with battery.
Only problem with the Aqaras I had outside if it`s cold and rainy and humidity near to 100%. Then the cold battery is collecting some condensation water.
Standard Aqara temp/humid sensors
While it is a humid sensor, it should be able to function in a damp/humid surrounding. Some guys have 'em hanging right over the showerhead, and I got one right under the cooker hood. Working for months now
And donât put plastic bags around them, while they cannot measure the humidity then (it canât hurt if you only care about the temp measuring)
And yes, batteries in a freezer are draining a little faster.