TechTinkerbell
New Member
- Joined
- Mar 31, 2023
- Messages
- 2
- Reaction score
- 0
Hello everyone,
i am trying to use the Olarm API to create an apple shortcut which will automatically arm/disarm my house when I enter or leave (based on whether I’m connected to the Wi-Fi or not). I have consulted the Olarm API docs and this here is what works, with a 200 response code: GET all devices.
There is an api command which will GET actions for the device using the device uuid, and another which you can use to POST actions (arm, disarm, etc). Both of these commands use the device ID in the URL, which I have obtained from my original working GET request.
However, getting the actions available based on the device ID returns a 404 Not Found, and trying to POST an action to a particular device results in a 500 internal server error. I am executing these commands via Postman/curl commands.
Has anyone tried to use the Olarm API or run into any similar issues? I have even checked the Olarm Home Assistant Integration GitHub project and those API calls are done in the exact same way I’m doing mine. Does anyone have any advice? Thanks.
i am trying to use the Olarm API to create an apple shortcut which will automatically arm/disarm my house when I enter or leave (based on whether I’m connected to the Wi-Fi or not). I have consulted the Olarm API docs and this here is what works, with a 200 response code: GET all devices.
There is an api command which will GET actions for the device using the device uuid, and another which you can use to POST actions (arm, disarm, etc). Both of these commands use the device ID in the URL, which I have obtained from my original working GET request.
However, getting the actions available based on the device ID returns a 404 Not Found, and trying to POST an action to a particular device results in a 500 internal server error. I am executing these commands via Postman/curl commands.
Has anyone tried to use the Olarm API or run into any similar issues? I have even checked the Olarm Home Assistant Integration GitHub project and those API calls are done in the exact same way I’m doing mine. Does anyone have any advice? Thanks.
Last edited: