Shelly RGBW2 - barre led blanche

Bonjour @lunarok,

A tu eu la possibilité de voir pour récupérer l’info power sur ce module ?

Je te remet le fichier statut :

{"wifi_sta":{"connected":true,"ssid":"LeTous","ip":"192.168.2.180","rssi":-58},"cloud":{"enabled":true,"connected":true},"mqtt":{"connected":false},"time":"11:12","unixtime":1586344340,"serial":7,"has_update":false,"mac":"ECFABC6F8269","mode":"white","input":0,"lights":[{"ison":true,"has_timer":false,"timer_remaining":0,"mode":"white","brightness":50,"power":29.17,"overpower":false},{"ison":true,"has_timer":false,"timer_remaining":0,"mode":"white","brightness":50,"power":29.17,"overpower":false},{"ison":false,"has_timer":false,"timer_remaining":0,"mode":"white","brightness":50,"power":0.00,"overpower":false},{"ison":false,"has_timer":false,"timer_remaining":0,"mode":"white","brightness":70,"power":0.00,"overpower":false}],"meters":[{"power":29.17,"is_valid":true},{"power":29.17,"is_valid":true},{"power":0.00,"is_valid":true},{"power":0.00,"is_valid":true}],"update":{"status":"idle","has_update":false,"new_version":"20200309-104453/v1.6.0@43056d58","old_version":"20200309-104453/v1.6.0@43056d58"},"ram_total":49744,"ram_free":35440,"fs_size":233681,"fs_free":154867,"uptime":62531}

Sur ce module on ne récupère pas les infos avec /meters/id mais avec /white/id

Exemple avec 192.168.2.180/white/1 :

{"ison":true,"has_timer":false,"timer_remaining":0,"mode":"white","brightness":50,"power":29.17,"overpower":false}

En te remerciant !