Troubleshooting Pi Showing Up as Offline in Dashboard

I made some more edits, mostly formatting. It also stated that Jessie Lite is not supported, which it is now.

2 Likes

Hi everyone!

I’m new in Cayenne, I’d appreciate your patience :grin:

I was trying to connect my Raspberry Pi 2 B with cayenne, but the dashboard shows it is offline… I have checked the troubleshooting list and it’s strange that everything seems to be working (connections established, services running, config file, internet connection…).

I have tried installing and uninstalling several times, and I only get from the dashboard some variables (which are only refreshed once I press the reset dashboard button). Is that normal? I have the impression that everything’s running fine, but I’m making some noob mistakes… any ideas?

Here I leave a screenshot of the appearance:

And the log file is:

pi@raspberrypi ~ $ tail -n 50 /var/log/myDevices.log
2017-09-01 12:35:27 - myDevices - INFO - History CalculateAverages increment: 54
2017-09-01 12:35:27 - myDevices - INFO - Calculate sensor info averages: {‘SensorsInfo’: {}}
2017-09-01 12:35:27 - myDevices - INFO - Save History Averages
2017-09-01 12:35:27 - myDevices - INFO - Memory usage : 55 size: 21328
2017-09-01 12:35:27 - myDevices - INFO - Resouce usage info: resource.struct_rusage(ru_utime=508.4, ru_stime=48.86, ru_maxrss=21328, ru_ixrss=0, ru_idrss=0, ru_isrss=0, ru_minflt=539431, ru_majflt=18, ru_nswap=0, ru_inblock=15272, ru_oublock=4800, ru_msgsnd=0, ru_msgrcv=0, ru_nsignals=0, ru_nvcsw=162706, ru_nivcsw=54025)
2017-09-01 12:35:27 - myDevices - INFO - PacketTypes.PT_SYSTEM_INFO
2017-09-01 12:35:27 - myDevices - INFO - PacketTypes.PT_UTILIZATION
2017-09-01 12:35:29 - myDevices - INFO - Checking for updates…
2017-09-01 12:35:32 - myDevices - INFO - Checking update version
2017-09-01 12:35:32 - myDevices - INFO - https://updates.mydevices.com/raspberry/update /etc/myDevices/updates/update
2017-09-01 12:35:33 - myDevices - INFO - Updater retrieve update success
2017-09-01 12:35:35 - myDevices - INFO - No new version detected. Closing update…
2017-09-01 12:35:53 - myDevices - INFO - SendHistoryData previously SendFailed items:
2017-09-01 12:35:57 - myDevices - INFO - History CalculateAverages increment: 55
2017-09-01 12:35:57 - myDevices - INFO - Calculate sensor info averages: {‘SensorsInfo’: {}}
2017-09-01 12:35:57 - myDevices - INFO - Save History Averages
2017-09-01 12:35:57 - myDevices - INFO - Memory usage : 56 size: 21332
2017-09-01 12:35:57 - myDevices - INFO - Resouce usage info: resource.struct_rusage(ru_utime=518.29, ru_stime=49.84, ru_maxrss=21332, ru_ixrss=0, ru_idrss=0, ru_isrss=0, ru_minflt=550776, ru_majflt=18, ru_nswap=0, ru_inblock=15272, ru_oublock=4880, ru_msgsnd=0, ru_msgrcv=0, ru_nsignals=0, ru_nvcsw=166410, ru_nivcsw=55158)
2017-09-01 12:35:57 - myDevices - INFO - PacketTypes.PT_SYSTEM_INFO
2017-09-01 12:35:57 - myDevices - INFO - PacketTypes.PT_UTILIZATION
2017-09-01 12:36:27 - myDevices - INFO - History CalculateAverages increment: 56
2017-09-01 12:36:27 - myDevices - INFO - Calculate sensor info averages: {‘SensorsInfo’: {}}
2017-09-01 12:36:27 - myDevices - INFO - Save History Averages
2017-09-01 12:36:28 - myDevices - INFO - Memory usage : 57 size: 21336
2017-09-01 12:36:28 - myDevices - INFO - Resouce usage info: resource.struct_rusage(ru_utime=527.78, ru_stime=50.85, ru_maxrss=21336, ru_ixrss=0, ru_idrss=0, ru_isrss=0, ru_minflt=561426, ru_majflt=18, ru_nswap=0, ru_inblock=15272, ru_oublock=4944, ru_msgsnd=0, ru_msgrcv=0, ru_nsignals=0, ru_nvcsw=169849, ru_nivcsw=56265)
2017-09-01 12:36:28 - myDevices - INFO - PacketTypes.PT_SYSTEM_INFO
2017-09-01 12:36:28 - myDevices - INFO - PacketTypes.PT_UTILIZATION
2017-09-01 12:36:53 - myDevices - INFO - SendHistoryData previously SendFailed items:
2017-09-01 12:36:57 - myDevices - INFO - History CalculateAverages increment: 57
2017-09-01 12:36:57 - myDevices - INFO - Calculate sensor info averages: {‘SensorsInfo’: {}}
2017-09-01 12:36:57 - myDevices - INFO - Save History Averages
2017-09-01 12:36:57 - myDevices - INFO - Memory usage : 58 size: 21336
2017-09-01 12:36:57 - myDevices - INFO - Resouce usage info: resource.struct_rusage(ru_utime=536.84, ru_stime=51.85, ru_maxrss=21336, ru_ixrss=0, ru_idrss=0, ru_isrss=0, ru_minflt=572442, ru_majflt=18, ru_nswap=0, ru_inblock=15272, ru_oublock=5000, ru_msgsnd=0, ru_msgrcv=0, ru_nsignals=0, ru_nvcsw=173173, ru_nivcsw=57164)
2017-09-01 12:36:57 - myDevices - INFO - PacketTypes.PT_SYSTEM_INFO
2017-09-01 12:36:58 - myDevices - INFO - PacketTypes.PT_UTILIZATION
2017-09-01 12:37:27 - myDevices - INFO - History CalculateAverages increment: 58
2017-09-01 12:37:27 - myDevices - INFO - Calculate sensor info averages: {‘SensorsInfo’: {}}
2017-09-01 12:37:27 - myDevices - INFO - Save History Averages
2017-09-01 12:37:27 - myDevices - INFO - Memory usage : 59 size: 21336
2017-09-01 12:37:27 - myDevices - INFO - Resouce usage info: resource.struct_rusage(ru_utime=546.05, ru_stime=52.84, ru_maxrss=21336, ru_ixrss=0, ru_idrss=0, ru_isrss=0, ru_minflt=583048, ru_majflt=18, ru_nswap=0, ru_inblock=15272, ru_oublock=5064, ru_msgsnd=0, ru_msgrcv=0, ru_nsignals=0, ru_nvcsw=176464, ru_nivcsw=58172)
2017-09-01 12:37:27 - myDevices - INFO - PacketTypes.PT_SYSTEM_INFO
2017-09-01 12:37:28 - myDevices - INFO - PacketTypes.PT_UTILIZATION
2017-09-01 12:37:53 - myDevices - INFO - SendHistoryData previously SendFailed items:
2017-09-01 12:37:57 - myDevices - INFO - History CalculateAverages increment: 59
2017-09-01 12:37:57 - myDevices - INFO - Calculate sensor info averages: {‘SensorsInfo’: {}}
2017-09-01 12:37:57 - myDevices - INFO - Save History Averages
2017-09-01 12:37:57 - myDevices - INFO - Memory usage : 60 size: 21340
2017-09-01 12:37:57 - myDevices - INFO - Resouce usage info: resource.struct_rusage(ru_utime=555.39, ru_stime=53.59, ru_maxrss=21340, ru_ixrss=0, ru_idrss=0, ru_isrss=0, ru_minflt=593884, ru_majflt=18, ru_nswap=0, ru_inblock=15272, ru_oublock=5120, ru_msgsnd=0, ru_msgrcv=0, ru_nsignals=0, ru_nvcsw=179862, ru_nivcsw=59266)
2017-09-01 12:37:57 - myDevices - INFO - PacketTypes.PT_SYSTEM_INFO
2017-09-01 12:37:58 - myDevices - INFO - PacketTypes.PT_UTILIZATION

Thank you very much in advance!

Best Regards,
Celia

Hi @Celia.GarridoH,

Thank you for taking the time to do a bit of trouble shooting yourself! You are right, this is not normal behavior for your Pi dashboard. What version of Raspbian are you using? The latest version from Raspberry Pi sight?

Cheers,

~Benny

Hi @bestes,

I’m using Raspbian 8. It’s strange, but it seems to be working fine at the moment! :grinning:

Here I leave a screenshot:

Thank you for your quick response in any case!

Best Regards,
Celia

1 Like

Great! Well, let us know if anything strange happens.

Cheers,

~Benny

Adam, thanks for the reply.
Of course the Pi will work with any IP address. It’s the Cayenne App on my iPhone that seems to be having issues.

After tinkering with the App on the “other” network somehow the IP address changed and I was able to demonstrate the App to an associate. BUT when I came back to the initial network I could not get the Cayenne App to change back to the original IP address. The App would look or scan for the Pi but would not ever find it. Even when I typed in the IP address manually. I did look through your guide. However, after researching lots of other folks notes I decided to to add another single board device Pi and it went through the installation again. Sigh… I don’t think that should have happened BUT it did. Anyway I finally have 2 Pi’s in the App device menu each with different IP addresses. The device listing with my network IP addressing does work - BUT - I have not had to time to go to the other network to an test the second Pi listing.
Amanda