Rule example for pushing a value to a virtual sensor

Thinking I was so smart, I built a rule and tried to remember how to push a value read from one device, into another device.
Using the Public HE Omni Driver I tried to read the attribute of an existing device and store it in my virtual device. I can't seem to do it. I thought it was 'custom action - attribute' something or other.
Failing - I tried (and I HATE using global/hub variables). I could read what I needed, store that into the variables but can't remember how to write it out to the device.
Can anyone put 3 lines together and show me the way? Below is my failed attempt - trying with a global variable. I thought I could just 'set xxx on virtual device to xxx from yyy sensor' but ...
thanks!

Solved my problem. I'd declared Int (number) for my hub variable, and tried to store a decimal.
Recreated variables - solved with 'Custom actions'.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.