Skip to content
Discussion options

You must be logged in to vote

Hi,

habs mal in kurzer Form in HA automations versucht und getestet:

alias: Test SumPower
description: ""
triggers:
  - trigger: state
    entity_id:
      - sensor.openhab_mqtt_pv_system_pv_leistung_gesamt
conditions: []
actions:
  - action: mqtt.publish
    metadata: {}
    data:
      evaluate_payload: false
      qos: "0"
      topic: /TEST_PV_Power_Sum/state
      payload: "{{ states('sensor.openhab_mqtt_pv_system_pv_leistung_gesamt') }}"
mode: single
  1. Also neue automation anlegen
  2. Trigger ist ein Zustandswechsel der Entity die die aktuelle Gesamt PV-Leistung enthält
  3. Aktion ist MQTT publish
  4. In der Konfiguration dann als Payload in {{ states('...') }} den triggernden Sensor angeben

Da…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ohAnd
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants