Oh Man!
I would really appreciate your help John. I’ve been trying to figure this out for the past few days and unable to resolve the error message.
Attached are the project files. I’m using Nick’s libraries for the MQTT and Temperature stuff.
I have tried using different length messages and topics but, same result. After about 6 or 7 iterations I get the "Cannot change the connection to another device in Run or Stopped mode." Error message.
This happens on all four of my 120 modules (with battery clips). I have the newest firmware for both the modules and GW and running the latest mc-studio.
Resetting the GW, trying various ways to connect the module via mc-studio and erasing via the dongle seem to have no effect. The code started out as a learning experience for the reed switch
But, I have since whittled away most of that code trying to track down what is causing the error. The best I have so far it that after a random number of Lplan.Publish’s that error pops up.