[Solved] Zone names in events
Posted: Thu Mar 20, 2014 12:24 pm
Hi,
Using the Python library, I can get zone events (e.g. device.on_zone_fault()), but the zone information has only the zone number, without its name. How do I get the names working so I can have more friendly messages?
I went through the documentation and examples and could not find any reference to that.
[ I'm using AD2USB with Vista 20P (single partition, mostly RF devices). The AD2USB connects to a Raspberry Pi, that runs ser2sock.
On the same RPi I'm running the Python script that connects to the AD2USB via socket. ]
Thanks,
Ron
Using the Python library, I can get zone events (e.g. device.on_zone_fault()), but the zone information has only the zone number, without its name. How do I get the names working so I can have more friendly messages?
I went through the documentation and examples and could not find any reference to that.
[ I'm using AD2USB with Vista 20P (single partition, mostly RF devices). The AD2USB connects to a Raspberry Pi, that runs ser2sock.
On the same RPi I'm running the Python script that connects to the AD2USB via socket. ]
Thanks,
Ron