Hi,
Overnight it seems this stabilized and this morning the test was positive, giving me a temperature
i guess i am a bit deceived to see the VD showing temperature only when clicking on it, i guess i was hoping for more from the description, having the temp show directly on the tile
"
Sensor
A Virtual Sensor is a bit contradictory, but nevertheless users wanted to view a value in a device , e.g. the actual room temperature in a Thermostat. "
@Arie_Laxed published a new version (as beta) where the ‘alarm_motion’ and ‘alarm_contact’ capabilities can now be selected when the ‘sensor’ class is choosen. This means that a Virtual Device that has any of these capabilities will now show an indicator in the Homey app when the capability is activated.
And good news for the German Homey users, @PhilS translated the app to German.
Hello… I’ve a Sonoff with DHT22 Sensor for measure temperature and umidity in the external home.
It send the value in a raspberry broker mqtt and the value every 30 second and the value in the broker is the same:
I’ve create a virtual device for Temp and Humidity. I’ve install MQTT Client in Homey and i want to read the mqtt value of the sensor and set it in the VD.
I’ve crate a flow with WHEN “message received from topic tele/sonoff/SENSOR” THAN “set a virtual sensor value” Temperature Temperature.
Edit: You must enter in the virtual thermostat to see the value.
Edit 2: your device DHT22 is not reporting temperature values, is your virtual device. You must select a real device reporting temperature (your sonoff device tag).
Edit 3: I read you use a mqqt topic. Try using better logic:
Flow 1
when: receive topic triggers >>Then: set number variable (create a variable for this value)
Flow 2
When: a variable changed >> Then: set a virtual sensor value, measure_temperature and the tag of better logic you set before.
Using this app, I’ve succesfully made virtual sensors displaying (daily) electricity consumption on HomeyDash, by extracting values from my DSMR-reader (Pi connected to smart meter) using http GET requests.
However, I’m stuck trying to display gas usage and/or daily costs as there seem to be no virtual sensor capabilities for this? There is a Homey capability “meter_gas”, could this be added to virtual sensors? I don’t see a capability for displaying costs, but maybe there is some work around possible?
Hi Arjan.
Like the app but find setting values for virtual sensors in the flows quite illogical.
While setting the value for a virtual sensor I am asked for the name of the “Sensor”. There is no guide in the app informing me that this field is to be in text and it should correspond to the capability choosen when creating the virtual sensor. There is also a tag icon to the right making this even more confusing.
Would be great if you could add info below the field explaining what to enter.
Hi all! New to the forum and just starting with Homey.
Can some-one explain how to trigger a flow when pressing a virtual button? I have searched the forum and the documentation, however cannot find a solution for that?