How can you tell HS to add a icon (other then blades BLICON) to a device in your status page which I have stored in a folder? I have a virtual device that I would like to add a icon.
Announcement
Collapse
No announcement yet.
Telling HS to add icon.
Collapse
X
-
Originally posted by Rotech View PostHow can you tell HS to add a icon (other then blades BLICON) to a device in your status page which I have stored in a folder? I have a virtual device that I would like to add a icon.
or use utrastatus by ultrajones....HW - i5 4570T @2.9ghz runs @11w | 8gb ram | 128gb ssd OS - Win10 x64
HS - HS3 Pro Edition 3.0.0.435
Plugins - BLRF 2.0.94.0 | Concord 4 3.1.13.10 | HSBuddy 3.9.605.5 | HSTouch Server 3.0.0.68 | RFXCOM 30.0.0.36 | X10 3.0.0.36 | Z-Wave 3.0.1.190
Hardware - EdgePort/4 DB9 Serial | RFXCOM 433MHz USB Transceiver | Superbus 2000 for Concord 4 | TI103 X-10 Interface | WGL Designs W800 RF | Z-Net Z-Wave Interface
-
Originally posted by Rotech View PostHow can you tell HS to add a icon (other then blades BLICON) to a device in your status page which I have stored in a folder? I have a virtual device that I would like to add a icon.
2 things to keep in mind/consider:
- the icons are associated with the device values (not device status). thus you must set a device value in order to get the icon to change.
- the icon displayed on the status page is independent of the devicestring (so if you use DeviceValuesGraphicsAdd and blicon) you will get two icons.Mark
HS3 Pro 4.2.19.5
Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway | Tuya Smart Plugs
Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 | Ultra1Wire3 | RFXCOM | HS MyQ | BLRadar | BLDenon | Tuya | Jon00 Charting | Jon00 Links
Platform: Windows Server 2022 Standard, i5-12600K/3.7GHz/10 core, 16GB RAM, 500GB SSD
Comment
-
Originally posted by mnsandler View Postuse can use the hs.DeviceValuesGraphicsAdd method.
2 things to keep in mind/consider:
- the icons are associated with the device values (not device status). thus you must set a device value in order to get the icon to change.Hector
____________________________________
Win.2003 OS, HS3
BLDSC,BLstat,BLRadar,BLRamdom,BLOccupied
BLups,BLrain8,HSTouch,Ultrajones Weatherbug,
MyTrigger,ACRF2,W800,Zwave
AP800,Honeywell Stat
Comment
-
example of devicevaluesgraphicsadd method
hs.DeviceValuesGraphicsAdd ("A1", "\images\device\camera.gif" + chr(2) + "100" + chr(1) + "\images\device\camera_off.gif" + chr(2) + "0")
where value 100 represents ON and value 0 represents OFF
these are standard on/off x10 values
i use this on an x10 appliance that controls a cameraMark
HS3 Pro 4.2.19.5
Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway | Tuya Smart Plugs
Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 | Ultra1Wire3 | RFXCOM | HS MyQ | BLRadar | BLDenon | Tuya | Jon00 Charting | Jon00 Links
Platform: Windows Server 2022 Standard, i5-12600K/3.7GHz/10 core, 16GB RAM, 500GB SSD
Comment
-
Nice tip!
What do I do if I want to remove the custom icons?HSPro 3.0.0.458, Z-NET with Z-wave plugin 3.0.1.190, RFXCOM + 2x RFXtrx433E, HSTouch, Squeezebox plugin, iTach IP/WF2IR & GC-100-6 with UltraGCIR, BLDenon, NetcamStudio, Jon00s Webpage builder, Harmony Hub plugin, SCSIP (with FreePBX), Arduino plugin, IFTTT, Pushalot plugin, Device History plugin.
Running on Windows 10 (64) virtualized on ESXi (Fujitsu Primergy TX150 S8).
WinSeer (for Win10) - TextSeer - FitbitSeer - HSPI_MoskusSample
Are you Norwegian (or Scandinavian) and getting started with HomeSeer? Read the "HomeSeer School"!
Comment
-
hs.DeviceValuesGraphicsAdd ("A1", "")Mark
HS3 Pro 4.2.19.5
Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway | Tuya Smart Plugs
Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 | Ultra1Wire3 | RFXCOM | HS MyQ | BLRadar | BLDenon | Tuya | Jon00 Charting | Jon00 Links
Platform: Windows Server 2022 Standard, i5-12600K/3.7GHz/10 core, 16GB RAM, 500GB SSD
Comment
-
Hmm... this doesn't work for me.
hs.DeviceValuesGraphicsAdd("Q2", "\devices\Ferie-On.gif" + chr(2) + "100" + chr(1) + "\devices\Ferie-Off.gif" + chr(2) + "0")
And I've placed the "devices" folder in the \html\images\HomSeer folder. What am I doing wrong?HSPro 3.0.0.458, Z-NET with Z-wave plugin 3.0.1.190, RFXCOM + 2x RFXtrx433E, HSTouch, Squeezebox plugin, iTach IP/WF2IR & GC-100-6 with UltraGCIR, BLDenon, NetcamStudio, Jon00s Webpage builder, Harmony Hub plugin, SCSIP (with FreePBX), Arduino plugin, IFTTT, Pushalot plugin, Device History plugin.
Running on Windows 10 (64) virtualized on ESXi (Fujitsu Primergy TX150 S8).
WinSeer (for Win10) - TextSeer - FitbitSeer - HSPI_MoskusSample
Are you Norwegian (or Scandinavian) and getting started with HomeSeer? Read the "HomeSeer School"!
Comment
-
And then the full (and local) path should be something like:
C:\program files\HomeSeer 2\html\Images\devices\Ferie-On.gif
Right?
EDIT: Still no luck.
It's a standard On/Off device with nothing "funny" added. I just thought some better describing icons would be nice. "Ferie" is norwegian for vacation...HSPro 3.0.0.458, Z-NET with Z-wave plugin 3.0.1.190, RFXCOM + 2x RFXtrx433E, HSTouch, Squeezebox plugin, iTach IP/WF2IR & GC-100-6 with UltraGCIR, BLDenon, NetcamStudio, Jon00s Webpage builder, Harmony Hub plugin, SCSIP (with FreePBX), Arduino plugin, IFTTT, Pushalot plugin, Device History plugin.
Running on Windows 10 (64) virtualized on ESXi (Fujitsu Primergy TX150 S8).
WinSeer (for Win10) - TextSeer - FitbitSeer - HSPI_MoskusSample
Are you Norwegian (or Scandinavian) and getting started with HomeSeer? Read the "HomeSeer School"!
Comment
-
to make sure the icon gif is in the right place, try the following from your browser. change localhost if you are not running this on the HS server
http://localhost/images/devices/ferie-on.gif
this icon should be displayedMark
HS3 Pro 4.2.19.5
Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway | Tuya Smart Plugs
Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 | Ultra1Wire3 | RFXCOM | HS MyQ | BLRadar | BLDenon | Tuya | Jon00 Charting | Jon00 Links
Platform: Windows Server 2022 Standard, i5-12600K/3.7GHz/10 core, 16GB RAM, 500GB SSD
Comment
-
All,
I'm calling a simple 2 line script at startup:
hs.devicevaluesadd "E1", "Open" & chr(2) & "100" & chr(1) & "Closed" & chr(2) & "0",false
hs.DeviceValuesGraphicsAdd "E1", "\images\device\garageopen.gif" & chr(2) & "100" & chr(1) & "images\device\garageclosed.gif" & chr(2) & "0"
The icon works great, but there is no text status next to it. How do I get that back?
Comment
-
Originally posted by mnsandler View Posths.DeviceValuesGraphicsAdd ("A1", "\images\device\camera.gif" + chr(2) + "100" + chr(1) + "\images\device\camera_off.gif" + chr(2) + "0")
where value 100 represents ON and value 0 represents OFF
these are standard on/off x10 values
i use this on an x10 appliance that controls a cameraHector
____________________________________
Win.2003 OS, HS3
BLDSC,BLstat,BLRadar,BLRamdom,BLOccupied
BLups,BLrain8,HSTouch,Ultrajones Weatherbug,
MyTrigger,ACRF2,W800,Zwave
AP800,Honeywell Stat
Comment
Comment