Hi
I know I am missing some simple . I have the following very basic script running on Troller Z Raspberry PI
the ref to the device value throws the following error:
The device is a z wave at node 22 with a reference of code of Q69
I tried using cstr to no avail. the value of Q69 is a temperature ie current value is 103.1 F
Thanks for any help
I know I am missing some simple . I have the following very basic script running on Troller Z Raspberry PI
Code:
sub Main(parm as object) hs.WriteLog("Node 22 Device Q69", "Querying") hs.speak("Your Hot tub has a temperature of " ) hs.speak(hs.DeviceValue("Q69")) End Sub
Error 1 | Running script /usr/local/HomeSeer/scripts/Startup.vb :Exception has been thrown by the target of an invocation.Cast from 'String' to type 'Integer' is not valid. |
I tried using cstr to no avail. the value of Q69 is a temperature ie current value is 103.1 F
Thanks for any help
Comment