bitcanon / visonicalarm

A simple library for the Visonic Alarm API written in Python 3.
MIT License
12 stars 2 forks source link

Add support for API version 10.0 #21

Closed muxa closed 1 year ago

muxa commented 1 year ago

My alarm integration stopped working because the provider changed the API version to v10.0: https://connect.tycomonitor.com/rest_api/version

I have tested in Postman logging in and getting devices by just replacing the version number in request URLs and requests worked and return meaningful data. I'm not sure if the structure on reduced devices has changed though.

muxa commented 1 year ago

I see that rest_version can be set via set_rest_version function. Will try if it works with 10.0

muxa commented 1 year ago

I have not tested this library with v10 API, but I've tested another library and it worked for my cases