2 identical devices with the same Code, 1 displays data, the other does not


I have two ESP8266’s (D1 Mini) that have the same code sending data from multiple sensors. I can see data from one in the web dashboard, but the other doesn’t show data (it says data packets are being received, but the data doesn’t show up).

I’ve even gone back to earlier versions of my code that I know worked and I can’t get the second device’s data to show up.

Anything I can try?

are you using same client ID for both devices?

Hey @shramik_salgaonkar,
Different Client ID, same MQQT Username/PW.

can you add #define CAYENNE_DEBUG and see what is the serial monitor output.

Hi @shramik_salgaonkar,
Thanks for the suggestion.
I added #define CAYENNE_DEBUG and I’m not getting any additional debug info in the Serial Monitor. I’ve added Serial.println(“Data Sent to Cayenne”) to CAYENNE_OUT_DEFAULT () and that line is printing, so I know that is running. But no data is showing in the dashboard (even though the dashboard shows “Last Data Packet Sent” at the right time) and no additional info in the Serial Monitor.
Any other ideas?

can you share the code and screenshot of the serial monitor.

Hi @shramik_salgaonkar,
I don’t have access to it right now, will share when I can get it connected up again.

1 Like