Hi again @jdfletchx7,
Thanks for the additional info you sent via PM. Based on this part:
root@raspberrypi:/home/pi# service mydevices status ● mydevices.service Loaded: not-found (Reason: No such file or directory)
I don’t think you have the same issue that has been discussed in this thread. In those cases the
myDevices service was present and running but the devices still showed in Cayenne as offline. In your case, the myDevices service doesn’t even seem to be present in the first place. I’m a little surprised it worked at all in the past!
That said, I think a simple uninstall and re-add of the Pi would be the easiest solution here to ensure that you have a fully valid install of the agent software as it looks like a piece is currently missing. If it continues after that we’ll have to look into why it’s disappearing, something I’ve not seen before.
Here is how to uninstall/re-add (assuming you aren’t super attached to anything on your Pi dashboard in Cayenne at this point.) If you want to keep your dashboard I can give you different steps to re-use the same invite code.
- Uninstall the Cayenne Pi agent using the following two commands:
- Next, you can attempt a new installation. Please do this from the Web Dashboard and select Option 2 where it shows two commands to install the software on your pi. Once the install is complete, the Pi will reboot and then should show online again on the web dashboard. If the install stops with any errors please let me know what they are.
After that reboot,
service myDevices status should look more like this where it shows ‘active’:
If it ever starts showing as ‘offline’ to you when the Pi otherwise seems online, then run that command and let me know if its showing as ‘not-found’ again.