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.
 
Last edited:
Have you considered just using Home Assistant? I have mine set up using Raine's integration and then it's exposed to HomeKit via the HomeKit bridge.
 
Hi, the following homebridge plugin may work for you?
Arm states are exposed to homekit and you can create shortcuts on top of that?
This connects directly to the communicator via MQTT and is not impacted by the restrictions of the API.

Interesting. Did you packet capture the Android app to figure out the websocket connection details?

This will probably be way more useful for folks that want to do this, should be pretty easy to get this running in Home Assistant too now.
 
Top
Sign up to the MyBroadband newsletter