dib0 / elro_connects

The ELRO Connects uses a propriety protocol on the local network over UDP. This is the reversed engineered python implementation of the protocol.
MIT License
16 stars 7 forks source link

Test alarm on hub #28

Open depuits opened 2 years ago

depuits commented 2 years ago

Is it possible to initiate a test alarm using the hub "id" (0)? As the readme says you can only silence using the hub so it might be nice to be able to test it from there too. If the protocol does not support it then it wouldn't be to difficult to implement it in this code, but I first wanted to check if it is actually possible or not using the same method as the silence.

Skons commented 2 years ago

This is very good possible, i think id 0 should be catched somewhere here https://github.com/dib0/elro_connects/blob/6ea49cb7ab56d1cceecc1839d5bc685600634954/elro/mqtt.py#L159

Then the existing devices need to be ennumerated and bam, bob’s your uncle. I cannot test this anymore because testing it will drive my family into madness 😅.