[APP][Pro] Virtual Devices - Virtual Devices to simulate 1 or more real devices

Here they are.

Its hard to explain, I can get the flow to work, with measure_temperature with an aqara temp. sensor, but I dont get a tile on the thermostat showing the temperature.

If I look at the aqara temp sensor and its capabilities, it dosent have target_temperature as an Capability only measure_temperature

If I use another sensor from Mill, its for my radiators, its has both capabilities measure_temperature and target_temperature, and then i can make flow target_temperature and it workd and i get a Tile on the thermostat

image

hard to believe.

please, enter in developer a value for target-temperature (VD) manually and check the tile.

You have to trigger / start the flow by the Aqara sensor “when temperature has changed”
(and if you want to test, when asked, just enter a fake temperature between -100 and +200)
And you’ll have to round the output of the Aqara temp sensor to x.5 and x.0
Take a look, this works:

So I got it to work once, which is one step in the right direction, when i tried to get i to worked again I got Invalid step

@spajder_ua any value other than xx.0 or xx.5 will result in ‘Invalid Step’

Thanks, I think I got it now :slight_smile: How do I round of the output i a good way? Your example are in Dutch, and my Dutch is not so good :slight_smile:

Allrightie then.

  1. First create a numeric logics variable, and call it f.i. TempRoundedTo.5
  2. In your flow, add an action card, pick Logics and then “Calculate a value”
    2a. From the top white bar, select your created numeric var TempRoundedTo.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 called virt_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.

round_ex
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 :slight_smile:
image

2 Likes

Cool, didn’t know one can do math in these cards. How did you find out?
Cheers

:mag: math Available math functions

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

1 Like

I saw it on a flow from somebody else that had this on it and I tested it myself and it worked :slight_smile:

1 Like

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.

1 Like

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)

@Arie_Laxed Hi Arjan, is it possible to add measure_ph as sensor value? Thanks in advance.

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 :stuck_out_tongue: 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 :grinning:. See below chart: