Python script to test mqtt publishing with sparkplug b

Publishes system data (temperature, CPU, RAM, disk, fan status) as Sparkplug B messages to HiveMQ Cloud via MQTT.

It runs on wago edge computer and I have tested it on PFC300 running in docker.

https://github.com/espenbo/python_sparkplug_b_test_script/tree/main/send_thinkfan_sparkplug

all feedback is appreciated

2 Likes