Just uploaded the latest and the fonts are way too big, even though I made these changes in main.cpp nothing changed:
//#define FONT_SIZE_LABEL 32 //30
//#define FONT_SIZE_STATUS_CENTER 48
//#define FONT_SIZE_STATUS_BOTTOM 32
#define FONT_SIZE_LABEL 14 //30
#define FONT_SIZE_STATUS_CENTER 20
#define FONT_SIZE_STATUS_BOTTOM 14
Here is the sitemap I’m using, it corresponds with the same entries used for basicui, it’s called m5panel.sitemap in the normal sitemap directory:
sitemap m5panel label="m5panel" {
Switch item=sonoff_s26_0 label="Fuji Printer" icon="power-socket-eu"
Switch item=sonoff_s26_1 label="Bedside Plug" icon="power-socket-eu"
Switch item=Bedroom_LampSw label="Bedroom Lamp" icon="light"
Switch item=Bedroom_LightSw label="Bedroom Light" icon="light"
Text item=inTemp label="Inside Temp [%s °C]" icon="temperature"
Text item=inHum label="Inside Humidity [%s %%]" icon="temperature"
}
Also the WiFi.config is slightly wrong:
/* Uncomment for static IP
IPAddress ip(192,168,0,xxx); // Node Static IP
IPAddress gateway(192,168,0,xxx); // Network Gateway (usually Router IP)
IPAddress subnet(255,255,255,0); // Subnet Mask
IPAddress dns1(xxx,xxx,xxx,xxx); // DNS1 IP
IPAddress dns2(xxx,xxx,xxx,xxx); // DNS2 IP
WiFi.config(staticIP, subnet, gateway, dns);
*/
IPAddress ip(xxx.xxx.xxx.xxx); // Node Static IP
IPAddress gateway(xxx.xxx.xxx.xxx); // Network Gateway (usually Router IP)
IPAddress subnet(255,255,255,0); // Subnet Mask
IPAddress dns1(xxx,xxx.xxx,xxx); // DNS1 IP
IPAddress dns2(xxx.xxx.xxx.xxx); // DNS2 IP
WiFi.config(ip, gateway, subnet, dns1, dns2);
Hope this is helpful information for you @cyrilpawelko .
EDIT: oh, and the icons aren’t showing up.