virtual device for temperature reading in 4.5?

  • 829 Views
  • Last Post 13 April 2018
ron_iny@hotmail.com posted this 30 March 2018

i have a software that gets outdoor readings of temperature, humidity, air pressure etc from wunderground website and updates to a virtual devices in axial via hactrl dos commands .

 

in version 4.5 i notice that i can only create virtual devices as dimmer or toggle.

How can i create a decimal with +/- virtual device so i can program in scenes?

 

i had this setup previously in v4.0 and lost it when i had to change computers.

Order By: Standard | Newest | Votes
rscott posted this 31 March 2018

You can change the virtual device to something other than switch/dimmer after you create it. This has always existed; do you know what kind of device you used previously?

ron_iny@hotmail.com posted this 01 April 2018

i see. you are right.  thanks!

misyogi posted this 13 April 2018

Hi, is there any way to change status in "virtual" motion sensor?

 

greetings

Michal

rscott posted this 13 April 2018

@Michal, If you could provide more details, I can get a bit more specific. But in short, yes you can change the value of a virtual device in a number of ways

1- You could use the webservice to POST a value to it

2- You could use a scene to set the value, then activate the scene

3- You could use scripts that are activated as part of a scene

4- You could build a custom controller that would change it as well

 

misyogi posted this 13 April 2018

If I add virtual switch its easy to change status by clicking icon power

asame if I change virtual device into fan or termostat  - just by clicking proper icon (or using scenes) I can change status

But I have no Idea how to change status of "Vitual Device" motion sensor there is no way to change by scene, or by clicking "tipped/open"

 

greetings

Michal

rscott posted this 13 April 2018

It's kind of a hack, but this is how you can change it using a scene:

  • create a virtual device
  • change the type to a switch
  • add the device to your scene
  • tell the scene to turn it on
  • go back and change the device to a motion sensor

The scene will "remember" that you wanted it set to "on" and you can now activate the scene to change the value.

misyogi posted this 13 April 2018

:) thanks:)

Close