Hey All,
So im embarassed to ask this, but I can't figure out how to get a script to speak a value or status from a device. I have been digging thru posts, and trying different serial to integer and back type of commands.
All i want to do is speak the temperature of a device I have addressed as Temp05
I have removed all the stuff I was trying to do, just to get to a Hello World if possible.
Public Sub Main(ByVal Parms As Object)
hs.speak("The Value is" & hs.DeviceValue("Temp05"))
End Sub
This pukes with:
Running script C:\Program Files\HomeSeer HS3\scripts\TempStatus.vb :Exception has been thrown by the target of an invocation.Conversion from string "Temp05" to type 'Integer' is not valid.
So, in my little mind, Temp05 is coming back as an Integer, and hs.speak should be a string, but banging my head isn't helping anything except antiquing my table.

-John
So im embarassed to ask this, but I can't figure out how to get a script to speak a value or status from a device. I have been digging thru posts, and trying different serial to integer and back type of commands.
All i want to do is speak the temperature of a device I have addressed as Temp05
I have removed all the stuff I was trying to do, just to get to a Hello World if possible.
Public Sub Main(ByVal Parms As Object)
hs.speak("The Value is" & hs.DeviceValue("Temp05"))
End Sub
This pukes with:
Running script C:\Program Files\HomeSeer HS3\scripts\TempStatus.vb :Exception has been thrown by the target of an invocation.Conversion from string "Temp05" to type 'Integer' is not valid.
So, in my little mind, Temp05 is coming back as an Integer, and hs.speak should be a string, but banging my head isn't helping anything except antiquing my table.

-John
Comment