Refresh items shelly

This commit is contained in:
Samuele Locatelli
2025-02-04 14:37:24 +01:00
parent 61c919cb22
commit 0cefd9060f
2 changed files with 9 additions and 4 deletions
+2 -1
View File
@@ -134,7 +134,8 @@ Switch ShellyPowerSwitchApc "Stato controllo Shelly - presa area Stampan
Switch ShellyPowerSwitchCaffe "Stato controllo Shelly - presa area Caffe" {channel="shelly:shellyplus1pm:c4d8d5430ba8:relay#output"}
Number ShellyPowerValApc "Carico Istantaneo Shelly Stampanti [%.1f W]" {channel="shelly:shellyplus1pm:10061cd3a2c0:meter#currentWatts"}
Number ShellyPowerValCaffe "Carico Istantaneo Shelly Caffe [%.1f W]" {channel="shelly:shellyplus1pm:c4d8d5430ba8:meter#currentWatts"}
Number ShellyPowerValAll "Carico Totale Shelly [%.1f W]"
Number ShellyPowerValAll "Carico Totale Shelly [%.2f W]"
Group:Number:AVG ShellyGroup "Shelly PowerMonitor" <material:electric_meter>
/*----------------------------------------------------------------------------*/
+7 -3
View File
@@ -640,11 +640,11 @@ sitemap egalware label="EgalWare"
}
Text label="Servizi" icon="material:handyman"
{
Frame label="Shelly"
Frame label="Shelly" item=ShellyPowerValAll icon="material:electrical_services"
{
// Text item=ShellyPowerValAll icon="material:electrical_services"
Switch item=ShellyPowerSwitchApc label="Presa Shelly Stampanti" icon="material:power"
Switch item=ShellyPowerSwitchCaffe label="Presa Shelly Caffe" icon="material:power"
Text item=ShellyPowerValAll icon="material:electrical_services"
Text item=CiabattaAPC_Total_Energy_Consumption label="Consumo Area Stampanti"
{
Frame item=ShellyPowerValApc label="Area Stampanti"
{
@@ -658,6 +658,10 @@ sitemap egalware label="EgalWare"
Chart item=ShellyPowerValApc visibility=[FronLP==6] legend=true period=W refresh=60000
Chart item=ShellyPowerValApc visibility=[FronLP==7] legend=true period=2W refresh=60000
}
}
Switch item=ShellyPowerSwitchCaffe label="Presa Shelly Caffe" icon="material:power"
Text item=ShellyCaffe_Total_Energy_Consumption label="Consumo Area Caffe"
{
Frame item=ShellyPowerValCaffe label="Area Caffe"
{
Switch item=FronLP label="Periodo" icon="line" mappings=[0="1h", 1="4h", 2="12h", 3="24h", 4="2g", 5="3g", 6="7g", 7="2w"]