Alderete
(Michael Alderete)
June 16, 2023, 4:11pm
61
It’s possible that your proxy configuration is interfering; I don’t know anything about proxies. And it’s possible that your way can work, using the event
platform, but I haven’t used that.
Here’s how I have a (working) webhook set up:
automation:
- id: action_toggle_living_room_swag_light
alias: "[WEBHOOK] Toggle Living Room swag light"
trigger:
- platform: webhook
webhook_id: the_secret_webhook_string
allowed_methods:
- POST
- GET
local_only: true
- platform: event
event_type: ios.action_fired
event_data:
actionName: Toggle Swag Light
action:
- service: script.toggle_switched_light
data:
which: light.smart_switch_2_living_room
mrli868
(P LI)
June 21, 2023, 12:50am
62
thank for your replay,
Finally, I get it working now,
What I did: Just follow the normal webhook setup process
alias: webhook test
description: ""
trigger:
- platform: webhook
allowed_methods:
- POST
- PUT
- GET
local_only: false
webhook_id: "-9l451In8r-VszsOd5ewvM"
condition: []
action:
- service: light.toggle
data: {}
target:
entity_id: light.toilet
mode: single
My environment :
NGINX Reverse Proxy (https://homeassistant.example.com ) → Home assistant IP:port
After setup as above, I can click https://homeassistant.example.com/api/webhook/-9l451In8r-VszsOd5ewvM to trigger the action.
If it is still relevant, I developed an integration which brings Akuvox SmartPlus door camera feeds and door relay buttons into Home Assistant. With the integration you should have a button which will trigger the door relay to open:
Akuvox SmartPlus Integration for Home Assistant
Link to GitHub
View your Akuvox SmartPlus door camera feeds, open doors, and view your temporary keys. Support for adding temporary keys coming soon!
Features
Door Camera Feeds: Access live camera feeds from your Akuvox SmartPlus Door Intercom.
Relay Button Control: Open doors remotely from within Home Assistant.
Temporary Keys: View your temporary access keys.
Door Open Events: Whenever a door is opened, the akuvox_door_update event…
Faecon
(Jo)
November 4, 2024, 8:49am
64
Did you manage to get this working ?