Skip to content
Snoopy-HSS edited this page Mar 22, 2024 · 29 revisions

Power Meter supports 5 different modes

  • MQTT
  • SDM 1 phase (SDM120/220/230)
  • SDM 3 phase (SDM72/630)
  • HTTP(S)+JSON
  • SML (OBIS 16.7.0)
  • SMA HomeManager 2.0

Examples for MQTT:

  • Tasmota and MQTT, push seperate values with rules #344

Examples for HTTP(S) + JSON:

Shelly 3EM: Working configuration:

Discussion: #331

Bildschirmfoto 2023-08-19 um 20 36 59

Tasmota

Tasmota returns values and names based on the definitions you put in the script.

The standard command http://192.168.xxx.xxx/cm?cmnd=status%208 (where 192.168.xxx.xxx is the IP Adress of your Tasmota) will return the values that are available, for example:

{ "StatusSNS": { "Time": "2023-12-10T20:17:41", "Wohnung": { "server_id": "0a01415041010557ff7d", "total_kwh": 819.9, "export_total_kwh": 251.48, "aktuelle_Wirkleistung": 557, "freq": 50, "amp_p1": 0.98, "amp_p2": 0.45, "amp_p3": 1.46, "curr_w_p1": 184, "curr_w_p2": 82, "curr_w_p3": 289, "volt_p1": 240.8, "volt_p2": 240.9, "volt_p3": 241.3, "phase_angle_l2_l1": 238, "phase_angle_l3_l1": 118, "phase_angle_p1": 330, "phase_angle_p2": 325, "phase_angle_p3": 333 } } }

In this case, the value aktuelle_Wirkleistung is the one we need.

In order to extract the correct value, you need to notice the number of curly brackets { and the titles

Based on the example above: {"StatusSNS": {"Wohnung": {"aktuelle_Wirkleistung": 557

Subsequently the JSON Pfad you need to enter is:

StatusSNS/Wohnung/aktuelle_Wirkleistung

Power Meter Tasmota 01

Clone this wiki locally