Hi, I have programed ESP8266 in PIO and want to send messages using webhook.
Messages are received by HA but unreliable. How to look for events related to webhook? I was trying to listed to events using Tools-Events listen to: binary_sensor.ddwrt_watchdog_relay or ddwrt_watchdog_relay but nothing detected.
IoT and HA on different SUBs, this is the reason for local_only: false.
Thank you.
My esp logs show consistently this: Webhook Status Update Sent. Response Code: 200
Here is what HA reports:
And this is my sensor in configuration.yaml
- trigger:
- platform: webhook
webhook_id: “ddwrt_watch_Xxxxxxx”
allowed_methods:
- POST
local_only: false
binary_sensor:
- name: “DDWRT watchdog relay”
unique_id: “ddwrt_watchdog_relay”
device_class: power
# Reads the incoming key directly, completely ignoring whitespace variations
state: “{{ trigger.json.state | lower == ‘on’ }}”
