I am also having issues with the Android app not updating icons when states change. Wondering if I may be missing something, if you have any suggestions.
Default built-in icons - state changes with no issue
Custom SVG vector icons - state does not change in Android
- Custom SVG Icons change state via WEB interface using Basic UI, remotely
- Confirmed that “vector” is selected, not “bitmap”
- Rebooted openhab2, issue persists.
- Utilizing Android openHAB v2.5.0 - Nov 24 version
- I do have a reverse proxy configured, and am connected directly to that, not via openhab cloud
Things
//This is the Alexa Items File
//Lights
Switch Alexa_LIGHTS_OSf "Outdoor Lights" (Alexa) ["Lighting"] {channel="zwave:device:512:node9:switch_binary"}
Switch Alexa_LIGHTS_Garage "Garage Lights" (Alexa) ["Lighting"] {channel="zwave:device:512:node5:switch_binary"}
Dimmer Alexa_LIGHTS_MASTERBDRM "Bedroom Lights" (Alexa) ["Lighting"] {channel="zwave:device:512:node22:switch_dimmer"}
Dimmer Alexa_LIGHTS_MASTERBDRM "Master Bedroom Lights" (Alexa) ["Lighting"] {channel="zwave:device:512:node22:switch_dimmer"}
Dimmer Alexa_LIGHTS_MASTERBDRM "My Bedroom Lights" (Alexa) ["Lighting"] {channel="zwave:device:512:node22:switch_dimmer"}
Number Alexa_LIGHTS_MASTERBDRM_LVL "Bedroom Light Dimmer" (Alexa) ["Lighting"] {channel="zwave:device:512:node22:scene_number"}
Number Alexa_LIGHTS_MASTERBDRM_LVL "Master Bedroom Light Dimmer" (Alexa) ["Lighting"] {channel="zwave:device:512:node22:scene_number"}
//Garage Door Opener Power Outlett
Switch Alexa_PSWITCH_GARAGE_OHDOOR "Garage Door Power" (Alexa) ["Switchable"] {channel="zwave:device:512:node10:switch_binary"}
//Light Switch Front Door Outside
//Switch LSWITCH_FRONT_OUTSIDE_LIGHTS "Outside Front Lights" {channel="zwave:device:512:node9:switch_binary"}
Number LSWITCH_FRONT_OUTSIDE_SCENE_ "Outside Front Lights Scene" {channel="zwave:device:512:node9:scene_number"}
//Light Switch Garage
//Switch LSWITCH_GARAGE_LIGHTS "Garage Lights" {channel="zwave:device:512:node5:switch_binary"}
Number LSWITCH_GARAGE_LIGHTS_SCENE "Garage Lights Scene" {channel="zwave:device:512:node5:scene_number"}
// Light Dimmer Master Bedroom
//Dimmer LSWITCH_MASTERBDRM_LIGHTS "Master Bedroom Lights" {channel="zwave:device:512:node22:switch_dimmer"}
//Number LSWITCH_MASTERBDRM_LIGHTS_SCENE "Master Bedroom Lights Scene" {channel="zwave:device:512:node22:scene_number"}
// Switch Garage Exterior Door
Contact DOOR_GARAGE_OS_CONTACT "Outside Garage Door Contact" {channel="zwave:device:512:node14:sensor_door"}
Contact DOOR_GARAGE_OS_ALARM "Outside Garage Door Alarm" {channel="zwave:device:512:node14:alarm_general"}
Number DOOR_GARAGE_OS_BATTERY "Outside Garage Door Battery [%d %%]" {channel="zwave:device:512:node14:battery-level" } //e.g. "50 %"
// Switch Garage Interior Door
Contact DOOR_GARAGE_INSIDE_CONTACT "Inside Garage Door Contact" {channel="zwave:device:512:node13:sensor_door"}
Contact DOOR_GARAGE_INSIDE_ALARM "Inside Garage Door Alarm" {channel="zwave:device:512:node13:alarm_general"}
Number DOOR_GARAGE_INSIDE_BATTERY "Inside Garage Door Battery [%d %%]" {channel="zwave:device:512:node13:battery-level" }
// Switch Garage Overhead DOOR
Contact DOOR_GARAGE_OH_CONTACT "Overhead Garage Door Contact" {channel="zwave:device:512:node11:sensor_door"}
Contact DOOR_GARAGE_OH_ALARM "Overhead Garage Door Alarm" {channel="zwave:device:512:node11:alarm_general"}
Number DOOR_GARAGE_OH_BATTERY "Overhead Garage Door Battery" {channel="zwave:device:512:node11:battery-level"}
My Current Sitemap
sitemap home label="Our SmartHome" {
Frame label="Date" {
Text item=Today
}
Frame label="House Stuff"
{
Switch item=DOOR_GARAGE_OS_CONTACT icon="lock1"
Switch item=DOOR_GARAGE_OS_CONTACT icon=switch
Text item=DOOR_GARAGE_OS_BATTERY icon=batterylevel
Switch item=DOOR_GARAGE_INSIDE_CONTACT icon="lock1"
Switch item=DOOR_GARAGE_INSIDE_CONTACT icon=switch
Text item=DOOR_GARAGE_INSIDE_BATTERY icon=batterylevel
Switch item=DOOR_F_LOCK icon="lock1"
Switch item=DOOR_F_LOCK icon=switch
Switch item=Alexa_LIGHTS_Garage icon=door
Switch item=Alexa_LIGHTS_OSf icon=lock
Switch item=Alexa_PSWITCH_GARAGE_OHDOOR
Text item=SENSOR_GARAGE_TEMP icon=temperature
Text item=SENSOR_BASEMENT_TEMP icon=temperature
Text item=Bedrooms label="Bedrooms" icon="bedroom" {
Frame label="Rooms" {
Switch item=Alexa_LIGHTS_MASTERBDRM
Slider item=Alexa_LIGHTS_MASTERBDRM
}
}
}
}
And here is a tree of my folder structure.
Z:.
│ events.log
│
├───sounds
│ doorbell.mp3
│ barking.mp3
│
├───items
│ alexa.items
│ home.items
│ readme.txt
│ network.items
│ astro.items
│
├───sitemaps
│ readme.txt
│ home.sitemap
│
├───persistence
│ readme.txt
│
├───scripts
│ readme.txt
│
├───services
│ jdbc.cfg
│ runtime.cfg.dpkg-old
│ readme.txt
│ runtime.cfg
│ addons.cfg
│ heatmiser.cfg
│
├───icons
│ └───classic
│ │ lamp_globe-on.svg
│ │ lock-on.svg
│ │ lamp_globe_light-on.svg
│ │ lamp_globe_light.svg
│ │ readme.txt
│ │ door-off.svg
│ │ lamp_globe-off.svg
│ │ door-off.png
│ │ lock-off.svg
│ │ lamp_globe_light-off.svg
│ │ lock.svg
│ │ error2-no_error.svg
│ │ lamp_globe.svg
│ │ error2-no_fault.svg
│ │ error2.svg
│ │ door.svg
│ │ door-on.svg
│ │
│ └───archive
│ lock-on - Copy.svg
│ lock-on.svg
│ lockred.png
│ lockgreen.png
│ door.svg
│
├───things
│ home.things
│ readme.txt
│
├───transform
│ de.map
│ readme.txt
│ en.map
│
├───rules
│ readme.txt
│ home.rules
│
└───html
readme.txt
index.html