Hi!
I have a Techson (Provision) IP camera that can send a HTTP POST request when an analytic event (e.g. line crossing) occurs.
In the camera’s settings, I can specify a server IP address, port, and URL, but only IP addresses are allowed — it doesn’t accept domain names (so I can’t use webhook.homey.app).
My goal is to get this camera event into Homey Pro 2023 and use it to trigger a flow (e.g. send a notification, turn on a light, etc.).
The old “HTTP request flow cards” app doesn’t work with Homey Pro 2023, and the built-in Homey webhook only works through the cloud, which the camera can’t use since it only posts to local IPs.
Question:
Is there any app or method for Homey Pro 2023 that can receive HTTP POST requests locally (possibly with XML data)?
Thanks in advance for any help or suggestions! 
Here you can see the relevant menu from my camera’s settings interface
They work locally too, possibly since firmware v12.8.0 (which also introduced local users).
The URL is http://AA.BB.CC.DD/webhook?event=EVENT&tag=TAG
AA.BB.CC.DD: your Homey’s local IP address
EVENT: the event name to trigger on with the Logic “Webhook event EVENT has been received” card
TAG: optional additional tag to pass to the webhook, which can be used in the flow
As with cloud webhooks, sending data is limited to the event and tag.
1 Like
The excellent Homey Micro Web Server app allows you to create a web server inside Homey. It reacts only to local requests which can use an IP address for Homey. The app supports URL requests that can trigger flows (with, or without, data) using a WebTrigger card provided by the app. If you need something more sophisticated, you could write a web page that processes your request and passes relevant stuff on using a JavaScript web request.
The app’s web trigger mechanism and, I believe, Homey webhooks use Get requests, not Posts. Also, it looks like the camera appends data to the request using its own field names that won’t match those required by webhooks and web triggers.
If either is an issue you could use a page in Micro Web Server to receive the Post and convert it to a webhook or web trigger Get request in the right format.
Andy
An other way to Rome could be:
I noticed the “Onvif” tab on your screenshot
This would mean your cam most probably works with the
Onvif Camera app, which should/could provide you with the triggers you’d like.
Example of a Reolink onvif enabled cam: