"Alarms are raised by placing an alarm object in the vessels.self.notifications tree"
Ok, I send message via wesocket:
{
"requestId": "01713c7f-4f3d-419f-abb6-92bc18d4ca70",
"put": {
"path": "notifications.mob",
"value": {
"method": ["sound"],
"state": "alarm",
"message": "A man overboard!",
},
"timestamp": "2022-03-31T19:03:24.487Z"
}
}
I receive response:
{
"state": "COMPLETED",
"requestId": "01713c7f-4f3d-419f-abb6-92bc18d4ca70",
"statusCode": 405,
"message": "PUT not supported for notifications.mob",
"href": "/signalk/v1/requests/01713c7f-4f3d-419f-abb6-92bc18d4ca70"
}
What's wrong?