sensor.ir.zeroborg
Platypush documentation
sensor.ir.zeroborg
- class platypush.backend.sensor.ir.zeroborg.SensorIrZeroborgBackend(no_message_timeout=0.37, **kwargs)[source]
Bases:
Backend
This backend will read for events on the infrared sensor of a ZeroBorg (https://www.piborg.org/motor-control-1135/zeroborg) circuitry for Raspberry Pi. You can see the codes associated to an IR event from any remote by running the scan utility:
python -m platypush.backend.sensor.ir.zeroborg.scan
Triggers:
platypush.message.event.sensor.ir.IrKeyDownEvent
when a key is pressedplatypush.message.event.sensor.ir.IrKeyUpEvent
when a key is released