I have a RPi project the I use to control my pool and pool heater via a Python script. I send the data to Cayenne via MQTT for remote monitoring from the web and my phone. I also have a 2 line LCD screen mounted on my project box that display items like pool temperature and heater status. What i would like to do is to also send the messages that i display on the LCD to Cayenne. Pool temperatures are no problem, it is the messages like “Heater On” or “Normal Temperature” that i would like to show or log within cayenne some how.
Ok so in your script you can catch the commands and store them in a variable and then display on the screen. Are you using the Cayenne MQTT library or a generic one like Paho MQTT?