@jgracio @JPatriarca, alguém é capaz de activar o logging do aioshelly?
logger:
default: error
logs:
aioshelly: debug
No ficheiro dos logs devem aparecer as mensagens relativas ao 3EM. O exemplo cá de casa, ainda a correr o 2022.12.9, com actualizações por vezes de 3 segundos (nos períodos em que o consumo não muda o 3EM não envia actualizações).
2023-02-03 17:24:58.107 DEBUG (MainThread) [aioshelly.coap] Adding device 10.10.40.33 to CoAP message subscriptions
2023-02-03 17:24:58.107 DEBUG (MainThread) [aioshelly.coap] Sending request 'cit/s' to device 10.10.40.33
2023-02-03 17:25:10.713 DEBUG (MainThread) [aioshelly.coap] CoapMessage: ip=10.10.40.33, type=reply(69), payload=
2023-02-03 17:25:10.713 DEBUG (MainThread) [aioshelly.coap] Calling CoAP message update for device 10.10.40.33
2023-02-03 17:25:12.181 DEBUG (MainThread) [aioshelly.coap] CoapMessage: ip=10.10.40.33, type=periodic(30), payload=
2023-02-03 17:25:12.181 DEBUG (MainThread) [aioshelly.coap] Calling CoAP message update for device 10.10.40.33
2023-02-03 17:25:12.298 DEBUG (MainThread) [aioshelly.block_device] aiohttp response:
2023-02-03 17:25:12.300 DEBUG (MainThread) [aioshelly.coap] Sending request 'cit/d' to device 10.10.40.33
2023-02-03 17:25:12.593 DEBUG (MainThread) [aioshelly.coap] CoapMessage: ip=10.10.40.33, type=reply(69), payload=
2023-02-03 17:25:12.594 DEBUG (MainThread) [aioshelly.coap] Calling CoAP message update for device 10.10.40.33
2023-02-03 17:25:12.625 DEBUG (MainThread) [aioshelly.coap] Sending request 'cit/s' to device 10.10.40.33
2023-02-03 17:25:12.749 DEBUG (MainThread) [aioshelly.coap] CoapMessage: ip=10.10.40.33, type=periodic(30), payload=
2023-02-03 17:25:12.749 DEBUG (MainThread) [aioshelly.coap] Calling CoAP message update for device 10.10.40.33
2023-02-03 17:25:13.013 DEBUG (MainThread) [aioshelly.coap] CoapMessage: ip=10.10.40.33, type=reply(69), payload=
2023-02-03 17:25:13.014 DEBUG (MainThread) [aioshelly.coap] Calling CoAP message update for device 10.10.40.33
2023-02-03 17:25:27.483 DEBUG (MainThread) [aioshelly.coap] CoapMessage: ip=10.10.40.33, type=periodic(30), payload=
2023-02-03 17:25:27.484 DEBUG (MainThread) [aioshelly.coap] Calling CoAP message update for device 10.10.40.33
2023-02-03 17:25:30.445 DEBUG (MainThread) [aioshelly.coap] CoapMessage: ip=10.10.40.33, type=periodic(30), payload=
2023-02-03 17:25:30.446 DEBUG (MainThread) [aioshelly.coap] Calling CoAP message update for device 10.10.40.33
2023-02-03 17:25:35.446 DEBUG (MainThread) [aioshelly.coap] CoapMessage: ip=10.10.40.33, type=periodic(30), payload=
2023-02-03 17:25:35.446 DEBUG (MainThread) [aioshelly.coap] Calling CoAP message update for device 10.10.40.33
2023-02-03 17:25:50.454 DEBUG (MainThread) [aioshelly.coap] CoapMessage: ip=10.10.40.33, type=periodic(30), payload=
2023-02-03 17:25:50.455 DEBUG (MainThread) [aioshelly.coap] Calling CoAP message update for device 10.10.40.33
2023-02-03 17:26:05.473 DEBUG (MainThread) [aioshelly.coap] CoapMessage: ip=10.10.40.33, type=periodic(30), payload=
2023-02-03 17:26:05.474 DEBUG (MainThread) [aioshelly.coap] Calling CoAP message update for device 10.10.40.33
2023-02-03 17:26:20.487 DEBUG (MainThread) [aioshelly.coap] CoapMessage: ip=10.10.40.33, type=periodic(30), payload=
2023-02-03 17:26:20.487 DEBUG (MainThread) [aioshelly.coap] Calling CoAP message update for device 10.10.40.33
2023-02-03 17:26:35.498 DEBUG (MainThread) [aioshelly.coap] CoapMessage: ip=10.10.40.33, type=periodic(30), payload=
2023-02-03 17:26:35.498 DEBUG (MainThread) [aioshelly.coap] Calling CoAP message update for device 10.10.40.33
2023-02-03 17:26:50.511 DEBUG (MainThread) [aioshelly.coap] CoapMessage: ip=10.10.40.33, type=periodic(30), payload=
2023-02-03 17:26:50.512 DEBUG (MainThread) [aioshelly.coap] Calling CoAP message update for device 10.10.40.33
2023-02-03 17:27:05.525 DEBUG (MainThread) [aioshelly.coap] CoapMessage: ip=10.10.40.33, type=periodic(30), payload=
2023-02-03 17:27:05.526 DEBUG (MainThread) [aioshelly.coap] Calling CoAP message update for device 10.10.40.33
2023-02-03 17:27:20.540 DEBUG (MainThread) [aioshelly.coap] CoapMessage: ip=10.10.40.33, type=periodic(30), payload=
2023-02-03 17:27:20.541 DEBUG (MainThread) [aioshelly.coap] Calling CoAP message update for device 10.10.40.33