boyska 36cff1c634 backport to panoramisk==1.0 + refactoring | пре 2 година | |
---|---|---|
.. | ||
README.md | пре 2 година | |
apply-state | пре 2 година | |
example-state.json | пре 2 година | |
get-status | пре 2 година | |
ring.py | пре 2 година | |
set-light | пре 2 година |
ring_mon
ring.py
will get data from asterisk and create a simple json file.
apply-state
handles blinking patterns and similar stuff, so that a single light can provide info on a phone.
It uses helper scripts instead of configuration: get-status
is a --bin-state
helper; set-light
is a --bin-set-light
example.
./ring.py --state-file state.json &
./apply-state --devices 1,2