python example
pip install -r requirements.txt
python main.pyPython publisher client for the api.sensordata.space websocket server
Serves as an example publisher/subscriber to demonstrate the capabilities of the sensordata.space platform.
Run locally
pip install -r requirements.txt
python main.pyRun in docker
docker build -t socketclient-python .
docker run --restart=always -p 4000:4000 --name socketclientcontainer-python socketclient-python Log in to ui.sensordata.space on the same network to view the device and device data.
The application connects as a sensordata “publisher/subscriber iot device to the api.sensordata.space through secure websockets. Uses the SocketClient.js client to send data to the api.sensordata.space. Accepts and executes powershell commands and live configuration changes.
- Sends resource usage telemetry - cpu, memory and disk
- Accepts and executes powershell terminal commands
- Accepts and changes the data refresh rate frequency
An example dashboard
Dashboard json is here
