I was trying to find the mentioned folder habpanel/assets/icons/ on my RPi3 with no luck
xsherlock
(Maciej Eckstein)
December 11, 2016, 10:35am
2
The icons are hard coded as for now. They are not to be found in any directory.
Custom icons is a wanted feature
You can make a switch with a custom icon by creating a custom template and a butt\on with an icon that you can call from the network or a dir on the openhab server.
Tab_Daham
(Tab Daham)
December 12, 2016, 9:19am
4
If you clone habpanel/web github into your openhab html folder you can add icons:
You can easily add another iconset
e.g. knx-user-forum iconset
add folder \html\habpanel\assets\icons\knx-user-forum with your new icons
add file knx-user-forum.list.json and list new icons:
{“notice”:“Created by knx-user-forum”,
“url”:“GitHub - OpenAutomationProject/knx-uf-iconset: knx-user-forum.de icon set ”,
“icons”:[
“audio_audio”,
“audio_eject”,
and so on
]}
change file icon.service.js under html\habpanel\app\services and add the knx-user forum line:
var iconsets = [
…
But you are only able to access habpanel through static/habpanel
Tab_Daham:
freepik
You can right click on it and “Save image…”