MQTT Connection Showing as Offline


#61

it should not go offline unless you have some internet connection issue. what do you mean by (to get the button value updated

as per my original post that the button does not update the value when going from zero to one but does on the refresh


#62

the issue about button state not changing we are looking into.
For the offline issue can you check what is the issue in the serial monitor by adding #define CAYENNE_DEBUG in your code.


#63

The serial monitor reports that the connection is OK (over and over) the browser re-load of the page reverts to “offline”.

Here’s the message log
[164807] Message received: topic 2, channel 1
[164807] In: value 1, channel 1
[164807] Channel 1, value 1
[164807] publishState: topic 1 channel 1
[164832] Publish: topic 1, channel 1, value 1, subkey , key
[164996] Send response: tFxxLptp7trzwnI
[168288] Connection ok
[178329] Connection ok
[188370] Connection ok
[198411] Connection ok
[208455] Connection ok
[218495] Connection ok
[228585] Connection ok
[238630] Connection ok
[248670] Connection ok
[258710] Connection ok
[268755] Connection ok
[278798] Connection ok
[288877] Connection ok
[298920] Connection ok
[308959] Connection ok
[318996] Connection ok
[329038] Connection ok
[339078] Connection ok
[349160] Connection ok
[359209] Connection ok
[369250] Connection ok
[379289] Connection ok
[389331] Connection ok


#64

i am not sure what is causing this issue. can you PM me your email_id so i can have a look at the issue.
if it is okay, just publish random data to cayenne from CAYENNE_OUT() so that it keeps the dashboard online.


#65

VNC is still not working for me with cayenne installed. this is a bit of a dealbreaker since I rely on a headless PI


#66

VNC works for me without any issue on local network with cayenne installed.


#67

interesting. for me, installing C knocks it offline, or breaks it in some way.


#68

@anderson.miles I don’t use VNC so I won’t be much help, but you can start by looking at the logs to see if there are any errors with VNC https://github.com/TigerVNC/tigervnc/wiki/Debug-Logs