Beiträge von Mr.Dilbert_

    Well, in the JSON output above one can see "total_act_power":103.610 so I assume it should be possible to read this data with the topic shellypowermeter/status/em:0/total_act_power.

    Basically I want to read the current power consumption. Any ideas to get this by MQTT?

    Dear Shelly Support Team

    I'm trying to get power values out of my Shelly PM 3EM by MQTT. For me it look like the topics structure is different from the 3EM.

    With the command : mosquitto_sub -h <IP> -p 1883 -v -t shellypowermeter/status/em:0/#

    I get the return:

    shellypowermeter/status/em:0 {"id":0,"a_current":0.132,"a_voltage":236.0,"a_act_power":3.9,"a_aprt_power":31.0,"a_pf":-0.53,"b_current":0.594,"b_voltage":236.4,"b_act_power":45.4,"b_aprt_power":140.3,"b_pf":-0.61,"c_current":0.368,"c_voltage":237.8,"c_act_power":54.3,"c_aprt_power":87.5,"c_pf":-0.72,"n_current":null,"total_current":1.094,"total_act_power":103.610,"total_aprt_power":258.799, "user_calibrated_phase":[]}

    But no return with: mosquitto_sub -h <IP> -p 1883 -v -t shellypowermeter/status/em:0/total_acpower

    What's my fault?

    Thank you in advance.

    Mr.Dilbert