I am using SetDeviceString to update the status icons for several devices. The icons update fine on the web page, but on my iphone or HStouch client, only the text changes. The icon is not present. This is true for both the on and off state of the device. Any ideas?
I'm running the latest update on both HStouch server and HS2
Code snippet:
select case status
case "Open"
dev_state="Open"
hs.SetDeviceString(dev_id,"<img align='absmiddle' src='images\HomeSeer/opendoor2.gif'> Open",true)
dev_status = dev_on
case "Closed"
hs.SetDeviceString( dev_id,"<img align='absmiddle' src='images\HomeSeer/closeddoor2.gif'> Closed",true)
dev_status=dev_off
end select
hs.SaveEventsDevices
I'm running the latest update on both HStouch server and HS2
Code snippet:
select case status
case "Open"
dev_state="Open"
hs.SetDeviceString(dev_id,"<img align='absmiddle' src='images\HomeSeer/opendoor2.gif'> Open",true)
dev_status = dev_on
case "Closed"
hs.SetDeviceString( dev_id,"<img align='absmiddle' src='images\HomeSeer/closeddoor2.gif'> Closed",true)
dev_status=dev_off
end select
hs.SaveEventsDevices