Would some of the coding Gurus please verify this for me. Here is a dialog I had with HST's help desk regarding this.
I am trying to use a custom graphic for a device "s10" with some text, here is what I have.
hs.DeviceValuesAdd "A2","NoMotion" & Chr(2) & "0" & Chr(1) & "Motion" & Chr(2) & "100",FALSE
HS.DeviceValuesGraphicsAdd "A2","/images/homeseer/nomotion.gif" & Chr(2) & "0" & Chr(1) & "/images/homeseer/motion.gif" & Chr(2) & "100"
HS.SetDeviceString "A2", "Motion", True
Here is the response from HST:
So your telling me that if I want a custom graphic for a device, that there is no way to have text displayed with it???
Here is a quote from your documentation re: DeviceString.
How do other programs accomplish this, such as DooNetworks. It has custom Icons and text.
If what you are telling me is correct. Please tell me How I can reset the device back to default values.
So, will some clarify this for me, it seem what I want to do can be done.
I am trying to use a custom graphic for a device "s10" with some text, here is what I have.
hs.DeviceValuesAdd "A2","NoMotion" & Chr(2) & "0" & Chr(1) & "Motion" & Chr(2) & "100",FALSE
HS.DeviceValuesGraphicsAdd "A2","/images/homeseer/nomotion.gif" & Chr(2) & "0" & Chr(1) & "/images/homeseer/motion.gif" & Chr(2) & "100"
HS.SetDeviceString "A2", "Motion", True
Here is the response from HST:
I checked with HS 1.7 and the web interface does not display the text. Not that its a bad idea to do so, but this would change the way it works. I can leave this as a feature request if you want.
Regards,
Richard Helmke
HomeSeer Technologies LLC
Regards,
Richard Helmke
HomeSeer Technologies LLC
Here is a quote from your documentation re: DeviceString.
SetDeviceString
Purpose
This function sets a string as the device status. The string "message" is displayed in the Status screen. This appears on the web page and the local device list. This can be used to display the status of special devices like thermostats and weather stations. Note that this does not affect the actual X10 status for the device, which can be accessed by DeviceValue.
Purpose
This function sets a string as the device status. The string "message" is displayed in the Status screen. This appears on the web page and the local device list. This can be used to display the status of special devices like thermostats and weather stations. Note that this does not affect the actual X10 status for the device, which can be accessed by DeviceValue.
If what you are telling me is correct. Please tell me How I can reset the device back to default values.
So, will some clarify this for me, it seem what I want to do can be done.
Comment