Python
Latest Release
Version 1.1.0
Setup
Add Signal-Application-SDK as a dependency to requirements.txt
signal-application-python-sdk==<latest>Install dependencies
python setup.py installEntry point for Signal Application SDK
Creates a bi-directional communication between device agent and application
Initialize SDK
self.app = SignalApp()
self.app.initialize(self.onConfigChange, self.onEvent)Provide a callback method to get notified when a configuration change is requested
def onConfigChange(self, config):Will be triggered when a new configuration change from the cloud is received by device agent
Provide a callback method to get notified when an event is received from event bus
Will be triggered when a new event received from application's subscribed topic
Call next to forward the event to the next node
Sample usage
Configure an application as shown below:

Configuration will be received as shown below:
Last updated