I have followed the OpenAPI documentation here OpenAPI Developer Document
And registered a webhook URL as described:
{
"header": {
"namespace": "Uhome.Configure",
"name": "Set",
"messageId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"payloadVersion": "1"
},
"payload": {
"configure": {
"notification": {
"access_token": "<access_token>",
"url": "<notification_url>"
}
}
}
}
I receive:
{
"header": {
"namespace": "Uhome.Configure",
"name": "Set",
"messageId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"payloadVersion": "1"
},
"payload": []
}
This seems to have been accepted, but I receive no Uhome.Notifications at my webhook address. There is some mention of “subscribing to Events” but I can’t get this to work. I have looked at various integrations (HA utec_py for example), and they are all doing exactly what I am doing, but I have no success.
The webhook works (if I manually test it), but the logs don’t show any activity from OpenAPI at all.
I don’t know how to confirm that the webhook registered, or to list active webhooks.
Has anyone got the Notification callback to work? and if so how?
Thanks.