In this tutorial we will show how to add custom module icon.
Sometimes we want to add custom icon to our module visualization in user interface. There are predefined icons for different module types, but we can change module icon if we want to replace it with our custom icon.
In first step we create icon in size 128 x 128 px. PNG picture format is recommended with transparent background. Use your faworite photo editor program (Photoshop,..). If we need two state icons we create one more icon for second state. Second icon name is with suffix 1. For example if we name first icon radiator.png, second icon is radiator1.png.
Here are examples of two icons:
Next we save icons in correct folder on EasyIoT server. Go in easyioy/html/images/custom folder and save new icons there.
In next step we configure custom icons in node. Go in Web interface Configure->Groups and modules and select one group. In group select module and go to module properties.
Now add property with name Settings.Icon and value is name of icon. In our case radiator.png.
If our module uses two states, add second icon under name Settings.Icon1.
And that's it. Now you can see custom icon in user interface.
See more tutorials at http://iot-playground.com/build
To support this site and EasyIoT framework development please buy in our store.
Raspberry Pi 512MB Model B +
Raspberry Pi Model B+, ARM1176JZF-S Running at 700MHz, 512MB RAM.
Acrylic Case Shell Enclosure for Raspberry Pi B+
Raspberry Pi to NRF24l01+ Shield EasyIoT server compatibile
Raspberry Pi to NRF24l01+ Shield EasyIoT server compatibile, Raspberry Pi, Raspberry PI B, Raspberry Pi 2
USB Wifi Dongle Adapter 802.11n for for Raspberry Pi Model B+ B
No need for network cables on EasyIoT server. Use WiFI USB dongle.