Skip to main content

Curl Sensor Tasmota

Der Sensor holt sich alle 2 Sekunden den aktuellen Stromverbrauch vom Tasmota IR Sensor (für z.B. Nulleinspeisung)

command_line:
  - sensor:
      name: "TasmotaCURL"
      unique_id: tasmota_power_sgm01
      command: "curl -s http://XXX.XXX.XXX.XXX/cm?cmnd=Status%208"
      
      value_template: "{{ value_json.StatusSNS.SGM.Power }}"
      unit_of_measurement: "W"
      device_class: power
      state_class: measurement
      scan_interval: 2