No it’s not. I used node-red. I’ll tidy up the code and post it in the next few days. Thanks to all above for the info provided so far!
Update! Code put under this post:
You need to install node-red and have an MQTT broker. There may be a better way of doing it but I’m really not that great with code.
2 Likes