VisonicAlarm2
No description available
Install / Use
/learn @And3rsL/VisonicAlarm2README
<br><a href="https://www.buymeacoffee.com/4nd3rs" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-black.png" width="150px" height="35px" alt="Buy Me A Coffee" style="height: 35px !important;width: 150px !important;" ></a>
Information
A simple library for the Visonic PowerMaster API written in Python 3. It is only tested with a PowerMaster-10 using a PowerLink 3 IP module. The PowerLink 3 is a requirement for this library to work.
The host, user_code, panel_id, user_email, user_password are the same you are using when logging in to your system via the Visonic-GO/BW app, and app_id is just a uniqe id generated from this site: https://www.uuidgenerator.net/ so make sure you replace 00000000-0000-0000-0000-000000000000 with an ID that you generate with that site. There is only support for the -1 partition.
Please be sure that the user is the MASTER USER and you alredy added your panel in your registered account
Installation
Install with pip3
$ sudo pip3 install visonicalarm2
Code examples
Current status
Getting the current alarm status. Available states are 'AWAY', 'HOME', 'ARMING' or 'DISARM'.
#!/usr/bin/env python3
from visonic import alarm
import logging
_LOGGER = logging.getLogger(__name__)
def main():
hostname = 'YOURALARMCOMPANY.tycomonitor.com'
user_code = '0000'
app_id = '00000000-0000-0000-0000-000000000000'
panel_id = '99999'
partition = '-1'
user_email = "your@email.com"
user_password = "yourpassword"
api = alarm.System(hostname, app_id, user_code, user_email, user_password, panel_id, partition)
res = api.connect()
res = api.update_devices()
api.print_system_devices()
if __name__ == '__main__':
main()
Related Skills
node-connect
347.6kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.6kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.6kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
