Cayenne keeps showing device is offline

When I used the original code which allowed access to Cayenne, it worked. However, when I tried to create a virtual light switch, it kept telling me the my board is offline. I tried the original code again and it brought the device online again. And same thing happened again. I’m using an Arduino Mega 2560 with W5100 Ethernet Shield. I’m new so I hope someone could help me figure it out.

can you share the code you are using when the device goes offline.

It actually works. I uploaded the code, unplugged the cable from my computer to arduino and plug it in again. Then I can add the light switch and control it. The code is taken directly from your source for actuator. Thanks for your response!

1 Like