Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Design thoughts about plugins
#2
There is a system in place for SIP to communicate with plugins. It is done with the Blinker module which is included with SIP:
https://pythonhosted.org/blinker/

The current blinker signals are listed (with usage examples) in signaling_examples.py in the plugins directory. It would be trivial to add a "heartbeat" signal from the timing loop.

Another option might be to install an MQTT broker on the Pi:
https://xperimentia.com/2015/08/20/insta...ebsockets/

Dan
Reply


Messages In This Thread
Design thoughts about plugins - by astrogerard - 2018 Jan 07, 06:46 PM
RE: Design thoughts about plugins - by dan - 2018 Jan 07, 09:08 PM
RE: Design thoughts about plugins - by astrogerard - 2018 Jan 08, 12:35 PM
RE: Design thoughts about plugins - by dan - 2018 Jan 08, 05:17 PM
RE: Design thoughts about plugins - by astrogerard - 2018 Jan 08, 07:21 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)