@Plouf34 sur les appareils comme celui-ci Tuya PJ-1203A control via MQTT | Zigbee2MQTT tu peux modifier la fréquence d’actualisation
Perso j’ai mis la fréquence à 4sec sur ces pinces ampèremétriques.
Mais quand tu regardes les flux MQTT publiés, la fréquence n’est pas respectée. Il y a toujours plusieurs publications par seconde :
19/11/2024 12:25:00
{"current_a":0.313,"current_b":3.449,"energy_a":0.1,"energy_b":2771.58,"energy_flow_a":"producing","energy_flow_b":"consuming","energy_produced_a":361.11,"energy_produced_b":19.25,"power_a":54.9,"power_b":595,"update_frequency":10}
19/11/2024 12:24:59(-0.94 seconds)
{"current_a":0.313,"current_b":3.449,"energy_a":0.1,"energy_b":2771.58,"energy_flow_a":"producing","energy_flow_b":"consuming","energy_produced_a":361.11,"energy_produced_b":19.25,"power_a":54.9,"power_b":595,"update_frequency":10}
19/11/2024 12:24:59(-0.14 seconds)
{"current_a":0.313,"current_b":12.176,"energy_a":0.1,"energy_b":2771.58,"energy_flow_a":"producing","energy_flow_b":"consuming","energy_produced_a":361.11,"energy_produced_b":19.25,"power_a":54.9,"power_b":2682.5,"update_frequency":10}
19/11/2024 12:24:59(-0.04 seconds)
{"current_a":0.313,"current_b":12.176,"energy_a":0.1,"energy_b":2771.58,"energy_flow_a":"producing","energy_flow_b":"consuming","energy_produced_a":361.11,"energy_produced_b":19.25,"power_a":54.9,"power_b":2682.5,"update_frequency":10}
19/11/2024 12:24:58(-0.08 seconds)
{"current_a":0.313,"current_b":12.176,"energy_a":0.1,"energy_b":2771.58,"energy_flow_a":"producing","energy_flow_b":"consuming","energy_produced_a":361.11,"energy_produced_b":19.25,"power_a":54.9,"power_b":2682.5,"update_frequency":10}
19/11/2024 12:24:58(-0.04 seconds)
{"current_a":0.313,"current_b":12.176,"energy_a":0.1,"energy_b":2771.58,"energy_flow_a":"producing","energy_flow_b":"consuming","energy_produced_a":361.11,"energy_produced_b":19.25,"power_a":54.9,"power_b":2682.5,"update_frequency":10}
19/11/2024 12:24:58(-0.15 seconds)
{"current_a":0.382,"current_b":12.176,"energy_a":0.1,"energy_b":2771.58,"energy_flow_a":"producing","energy_flow_b":"consuming","energy_produced_a":361.11,"energy_produced_b":19.25,"power_a":58.2,"power_b":2682.5,"update_frequency":10}
19/11/2024 12:24:58(-0.06 seconds)
{"current_a":0.382,"current_b":12.176,"energy_a":0.1,"energy_b":2771.58,"energy_flow_a":"producing","energy_flow_b":"consuming","energy_produced_a":361.11,"energy_produced_b":19.25,"power_a":58.2,"power_b":2682.5,"update_frequency":10}
19/11/2024 12:24:58(-0.14 seconds)
{"current_a":0.382,"current_b":12.176,"energy_a":0.1,"energy_b":2771.58,"energy_flow_a":"producing","energy_flow_b":"consuming","energy_produced_a":361.11,"energy_produced_b":19.25,"power_a":58.2,"power_b":2682.5,"update_frequency":10}