More than instance log on to cayenne dashboard at the same time?

Hi, is it possible to have more than one device log on to the dash board at the same time, ie one instance in PC one in android, and another pc.

I just tried with no problems. Are you seeing any errors, or just checking to see if it’s possible?

I log on my pc, did some changes no problem. then I open the android app, it shows different things, eg the temp is in F instead of C, and i cannot activate the led (but can do so on the pc)

I’m not sure if they added C temp support in the Android app yet. The LED should work fine though. Do you see any errors in the error log? tail -n 50 /var/log/myDevices.log

as below:

2016-07-26 15:05:48 - myDevices - INFO - PacketTypes.PT_SYSTEM_INFO

2016-07-26 15:05:48 - myDevices - INFO - ExecuteMessage: 3
2016-07-26 15:05:48 - myDevices - INFO - PacketTypes.PT_UTILIZATION
2016-07-26 15:05:56 - myDevices - INFO - SendHistoryData previously SendFailed items:
2016-07-26 15:06:17 - myDevices - INFO - ExecuteMessage: 4
2016-07-26 15:06:18 - myDevices - INFO - History CalculateAverages increment: 12
2016-07-26 15:06:18 - myDevices - INFO - Calculate sensor info averages: {‘SensorsInfo’: {‘297583bce3cb64200cb3c271c06e74dc1db82c22’: 12, ‘be9cc7a02a4c1d22a1ce09fa431f7c730b565dba’: 12, ‘9c43ee688cc3b8808bb3e7fc3bf5c69e960971bb’: 12}}
2016-07-26 15:06:18 - myDevices - INFO - Save History Averages
2016-07-26 15:06:18 - myDevices - INFO - Memory usage : 416 size: 33016
2016-07-26 15:06:18 - myDevices - INFO - Resouce usage info: resource.struct_rusage(ru_utime=492.9, ru_stime=80.08, ru_maxrss=33016, ru_ixrss=0, ru_idrss=0, ru_isrss=0, ru_minflt=4381583, ru_majflt=56, ru_nswap=0, ru_inblock=20312, ru_oublock=36088, ru_msgsnd=0, ru_msgrcv=0, ru_nsignals=0, ru_nvcsw=290074, ru_nivcsw=78855)
2016-07-26 15:06:18 - myDevices - INFO - PacketTypes.PT_SYSTEM_INFO
2016-07-26 15:06:18 - myDevices - INFO - ExecuteMessage: 3
2016-07-26 15:06:18 - myDevices - INFO - PacketTypes.PT_UTILIZATION
2016-07-26 15:06:47 - myDevices - INFO - ExecuteMessage: 4
2016-07-26 15:06:48 - myDevices - INFO - History CalculateAverages increment: 13
2016-07-26 15:06:48 - myDevices - INFO - Calculate sensor info averages: {‘SensorsInfo’: {‘9c43ee688cc3b8808bb3e7fc3bf5c69e960971bb’: 13, ‘be9cc7a02a4c1d22a1ce09fa431f7c730b565dba’: 13, ‘297583bce3cb64200cb3c271c06e74dc1db82c22’: 13}}
2016-07-26 15:06:48 - myDevices - INFO - Memory usage : 417 size: 33016
2016-07-26 15:06:48 - myDevices - INFO - Resouce usage info: resource.struct_rusage(ru_utime=494.03, ru_stime=80.28, ru_maxrss=33016, ru_ixrss=0, ru_idrss=0, ru_isrss=0, ru_minflt=4394036, ru_majflt=56, ru_nswap=0, ru_inblock=20312, ru_oublock=36160, ru_msgsnd=0, ru_msgrcv=0, ru_nsignals=0, ru_nvcsw=290705, ru_nivcsw=79014)
2016-07-26 15:06:48 - myDevices - INFO - PacketTypes.PT_SYSTEM_INFO
2016-07-26 15:06:48 - myDevices - INFO - ExecuteMessage: 3
2016-07-26 15:06:48 - myDevices - INFO - PacketTypes.PT_UTILIZATION
2016-07-26 15:06:56 - myDevices - INFO - SendHistoryData previously SendFailed items:
2016-07-26 15:07:17 - myDevices - INFO - ExecuteMessage: 4
2016-07-26 15:07:18 - myDevices - INFO - History CalculateAverages increment: 14
2016-07-26 15:07:18 - myDevices - INFO - Calculate sensor info averages: {‘SensorsInfo’: {‘297583bce3cb64200cb3c271c06e74dc1db82c22’: 14, ‘be9cc7a02a4c1d22a1ce09fa431f7c730b565dba’: 14, ‘9c43ee688cc3b8808bb3e7fc3bf5c69e960971bb’: 14}}
2016-07-26 15:07:18 - myDevices - INFO - Save History Averages
2016-07-26 15:07:18 - myDevices - INFO - Memory usage : 418 size: 33016
2016-07-26 15:07:18 - myDevices - INFO - Resouce usage info: resource.struct_rusage(ru_utime=495.24, ru_stime=80.49, ru_maxrss=33016, ru_ixrss=0, ru_idrss=0, ru_isrss=0, ru_minflt=4405917, ru_majflt=56, ru_nswap=0, ru_inblock=20312, ru_oublock=36232, ru_msgsnd=0, ru_msgrcv=0, ru_nsignals=0, ru_nvcsw=291536, ru_nivcsw=79232)
2016-07-26 15:07:18 - myDevices - INFO - PacketTypes.PT_SYSTEM_INFO
2016-07-26 15:07:18 - myDevices - INFO - ExecuteMessage: 3
2016-07-26 15:07:18 - myDevices - INFO - PacketTypes.PT_UTILIZATION
2016-07-26 15:07:47 - myDevices - INFO - ExecuteMessage: 4
2016-07-26 15:07:48 - myDevices - INFO - History CalculateAverages increment: 15
2016-07-26 15:07:48 - myDevices - INFO - Calculate sensor info averages: {‘SensorsInfo’: {‘9c43ee688cc3b8808bb3e7fc3bf5c69e960971bb’: 15, ‘be9cc7a02a4c1d22a1ce09fa431f7c730b565dba’: 15, ‘297583bce3cb64200cb3c271c06e74dc1db82c22’: 15}}
2016-07-26 15:07:48 - myDevices - INFO - Save History Averages
2016-07-26 15:07:48 - myDevices - INFO - Memory usage : 419 size: 33016
2016-07-26 15:07:48 - myDevices - INFO - Resouce usage info: resource.struct_rusage(ru_utime=496.46, ru_stime=80.65, ru_maxrss=33016, ru_ixrss=0, ru_idrss=0, ru_isrss=0, ru_minflt=4416188, ru_majflt=56, ru_nswap=0, ru_inblock=20312, ru_oublock=36312, ru_msgsnd=0, ru_msgrcv=0, ru_nsignals=0, ru_nvcsw=292205, ru_nivcsw=79455)
2016-07-26 15:07:48 - myDevices - INFO - PacketTypes.PT_SYSTEM_INFO
2016-07-26 15:07:48 - myDevices - INFO - ExecuteMessage: 3
2016-07-26 15:07:48 - myDevices - INFO - PacketTypes.PT_UTILIZATION
2016-07-26 15:07:56 - myDevices - INFO - SendHistoryData previously SendFailed items:
2016-07-26 15:08:17 - myDevices - INFO - ExecuteMessage: 4
2016-07-26 15:08:18 - myDevices - INFO - History CalculateAverages increment: 16
2016-07-26 15:08:18 - myDevices - INFO - Calculate sensor info averages: {‘SensorsInfo’: {‘297583bce3cb64200cb3c271c06e74dc1db82c22’: 16, ‘be9cc7a02a4c1d22a1ce09fa431f7c730b565dba’: 16, ‘9c43ee688cc3b8808bb3e7fc3bf5c69e960971bb’: 16}}
2016-07-26 15:08:18 - myDevices - INFO - Save History Averages
2016-07-26 15:08:18 - myDevices - INFO - Memory usage : 420 size: 33016
22016-07-26 15:05:48 - myDevices - INFO - PacketTypes.PT_SYSTEM_INFO
2016-07-26 15:05:48 - myDevices - INFO - ExecuteMessage: 3
2016-07-26 15:05:48 - myDevices - INFO - PacketTypes.PT_UTILIZATION
2016-07-26 15:05:56 - myDevices - INFO - SendHistoryData previously SendFailed items:
2016-07-26 15:06:17 - myDevices - INFO - ExecuteMessage: 4
2016-07-26 15:06:18 - myDevices - INFO - History CalculateAverages increment: 12
2016-07-26 15:06:18 - myDevices - INFO - Calculate sensor info averages: {‘SensorsInfo’: {‘297583bce3cb64200cb3c271c06e74dc1db82c22’: 12, ‘be9cc7a02a4c1d22a1ce09fa431f7c730b565dba’: 12, ‘9c43ee688cc3b8808bb3e7fc3bf5c69e960971bb’: 12}}
2016-07-26 15:06:18 - myDevices - INFO - Save History Averages
2016-07-26 15:06:18 - myDevices - INFO - Memory usage : 416 size: 33016
2016-07-26 15:06:18 - myDevices - INFO - Resouce usage info: resource.struct_rusage(ru_utime=492.9, ru_stime=80.08, ru_maxrss=33016, ru_ixrss=0, ru_idrss=0, ru_isrss=0, ru_minflt=4381583, ru_majflt=56, ru_nswap=0, ru_inblock=20312, ru_oublock=36088, ru_msgsnd=0, ru_msgrcv=0, ru_nsignals=0, ru_nvcsw=290074, ru_nivcsw=78855)
2016-07-26 15:06:18 - myDevices - INFO - PacketTypes.PT_SYSTEM_INFO
2016-07-26 15:06:18 - myDevices - INFO - ExecuteMessage: 3
2016-07-26 15:06:18 - myDevices - INFO - PacketTypes.PT_UTILIZATION
2016-07-26 15:06:47 - myDevices - INFO - ExecuteMessage: 4
2016-07-26 15:06:48 - myDevices - INFO - History CalculateAverages increment: 13
2016-07-26 15:06:48 - myDevices - INFO - Calculate sensor info averages: {‘SensorsInfo’: {‘9c43ee688cc3b8808bb3e7fc3bf5c69e960971bb’: 13, ‘be9cc7a02a4c1d22a1ce09fa431f7c730b565dba’: 13, ‘297583bce3cb64200cb3c271c06e74dc1db82c22’: 13}}
2016-07-26 15:06:48 - myDevices - INFO - Memory usage : 417 size: 33016
2016-07-26 15:06:48 - myDevices - INFO - Resouce usage info: resource.struct_rusage(ru_utime=494.03, ru_stime=80.28, ru_maxrss=33016, ru_ixrss=0, ru_idrss=0, ru_isrss=0, ru_minflt=4394036, ru_majflt=56, ru_nswap=0, ru_inblock=20312, ru_oublock=36160, ru_msgsnd=0, ru_msgrcv=0, ru_nsignals=0, ru_nvcsw=290705, ru_nivcsw=79014)
2016-07-26 15:06:48 - myDevices - INFO - PacketTypes.PT_SYSTEM_INFO
2016-07-26 15:06:48 - myDevices - INFO - ExecuteMessage: 3
2016-07-26 15:06:48 - myDevices - INFO - PacketTypes.PT_UTILIZATION
2016-07-26 15:06:56 - myDevices - INFO - SendHistoryData previously SendFailed items:
2016-07-26 15:07:17 - myDevices - INFO - ExecuteMessage: 4
2016-07-26 15:07:18 - myDevices - INFO - History CalculateAverages increment: 14
2016-07-26 15:07:18 - myDevices - INFO - Calculate sensor info averages: {‘SensorsInfo’: {‘297583bce3cb64200cb3c271c06e74dc1db82c22’: 14, ‘be9cc7a02a4c1d22a1ce09fa431f7c730b565dba’: 14, ‘9c43ee688cc3b8808bb3e7fc3bf5c69e960971bb’: 14}}
2016-07-26 15:07:18 - myDevices - INFO - Save History Averages
2016-07-26 15:07:18 - myDevices - INFO - Memory usage : 418 size: 33016
2016-07-26 15:07:18 - myDevices - INFO - Resouce usage info: resource.struct_rusage(ru_utime=495.24, ru_stime=80.49, ru_maxrss=33016, ru_ixrss=0, ru_idrss=0, ru_isrss=0, ru_minflt=4405917, ru_majflt=56, ru_nswap=0, ru_inblock=20312, ru_oublock=36232, ru_msgsnd=0, ru_msgrcv=0, ru_nsignals=0, ru_nvcsw=291536, ru_nivcsw=79232)
2016-07-26 15:07:18 - myDevices - INFO - PacketTypes.PT_SYSTEM_INFO
2016-07-26 15:07:18 - myDevices - INFO - ExecuteMessage: 3
2016-07-26 15:07:18 - myDevices - INFO - PacketTypes.PT_UTILIZATION
2016-07-26 15:07:47 - myDevices - INFO - ExecuteMessage: 4
2016-07-26 15:07:48 - myDevices - INFO - History CalculateAverages increment: 15
2016-07-26 15:07:48 - myDevices - INFO - Calculate sensor info averages: {‘SensorsInfo’: {‘9c43ee688cc3b8808bb3e7fc3bf5c69e960971bb’: 15, ‘be9cc7a02a4c1d22a1ce09fa431f7c730b565dba’: 15, ‘297583bce3cb64200cb3c271c06e74dc1db82c22’: 15}}
2016-07-26 15:07:48 - myDevices - INFO - Save History Averages
2016-07-26 15:07:48 - myDevices - INFO - Memory usage : 419 size: 33016
2016-07-26 15:07:48 - myDevices - INFO - Resouce usage info: resource.struct_rusage(ru_utime=496.46, ru_stime=80.65, ru_maxrss=33016, ru_ixrss=0, ru_idrss=0, ru_isrss=0, ru_minflt=4416188, ru_majflt=56, ru_nswap=0, ru_inblock=20312, ru_oublock=36312, ru_msgsnd=0, ru_msgrcv=0, ru_nsignals=0, ru_nvcsw=292205, ru_nivcsw=79455)
2016-07-26 15:07:48 - myDevices - INFO - PacketTypes.PT_SYSTEM_INFO
2016-07-26 15:07:48 - myDevices - INFO - ExecuteMessage: 3
2016-07-26 15:07:48 - myDevices - INFO - PacketTypes.PT_UTILIZATION
2016-07-26 15:07:56 - myDevices - INFO - SendHistoryData previously SendFailed items:
2016-07-26 15:08:17 - myDevices - INFO - ExecuteMessage: 4
2016-07-26 15:08:18 - myDevices - INFO - History CalculateAverages increment: 16
2016-07-26 15:08:18 - myDevices - INFO - Calculate sensor info averages: {‘SensorsInfo’: {‘297583bce3cb64200cb3c271c06e74dc1db82c22’: 16, ‘be9cc7a02a4c1d22a1ce09fa431f7c730b565dba’: 16, ‘9c43ee688cc3b8808bb3e7fc3bf5c69e960971bb’: 16}}
2016-07-26 15:08:18 - myDevices - INFO - Save History Averages
2016-07-26 15:08:18 - myDevices - INFO - Memory usage : 420 size: 33016
2016-07-26 15:08:18 - myDevices - INFO - Resouce usage info: resource.struct_rusage(ru_utime=497.59, ru_stime=80.88, ru_maxrss=33016, ru_ixrss=0, ru_idrss=0, ru_isrss=0, ru_minflt=4426509, ru_majflt=56, ru_nswap=0, ru_inblock=20312, ru_oublock=36400, ru_msgsnd=0, ru_msgrcv=0, ru_nsignals=0, ru_nvcsw=292824, ru_nivcsw=79633)
2016-07-26 15:08:18 - myDevices - INFO - PacketTypes.PT_SYSTEM_INFO
2016-07-26 15:08:18 - myDevices - INFO - ExecuteMessage: 3
2016-07-26 15:08:18 - myDevices - INFO - PacketTypes.PT_UTILIZATION
016-07-26 15:08:18 - myDevices - INFO - Resouce usage info: resource.struct_rusage(ru_utime=497.59, ru_stime=80.88, ru_maxrss=33016, ru_ixrss=0, ru_idrss=0, ru_isrss=0, ru_minflt=4426509, ru_majflt=56, ru_nswap=0, ru_inblock=20312, ru_oublock=36400, ru_msgsnd=0, ru_msgrcv=0, ru_nsignals=0, ru_nvcsw=292824, ru_nivcsw=79633)
2016-07-26 15:08:18 - myDevices - INFO - PacketTypes.PT_SYSTEM_INFO
2016-07-26 15:08:18 - myDevices - INFO - ExecuteMessage: 3
2016-07-26 15:08:18 - myDevices - INFO - PacketTypes.PT_UTILIZATION

I also tried to log on to cayenne via chrome in the android, but it did not work as it wants to run the app instead. What is the advantage of the app, if we can access the dashboard on a browser?

The app runs locally if you are on the same network so it’s a lot faster since it doesn’t have to go out to the Cayenne cloud servers first. The apps for iOS and Android as still in beta and are being updated on a regular basis so we should see these changes fairly quickly.

1 Like

Ah, that explain it as the pi is on a 3g network and my phone is on another network. However, would it be a good idea in the mean time to allow any browser in the android to access the dashboard rather than have to use the app?

Hmm I thought checking the “request desktop site” would work but I guess not. I agree on letting phones access the dashboard through the browser at the very least until the apps are up to par with the web dashboard.

Very impressed with the very quick response, and excellent service u guys are providing. btw how often does the dashboard refresh, and does it time out if left on?
Thanks,
Ken

We’re glad to help! The web dashboard does log you out, although I can’t remember the time off the top of my head. I think it’s in the 1-2 hour range. Refreshes seem to be a bit random at times but for the most part most sensors will update between 1-5 seconds. The longer time frame graphs refresh on the given interval. I’m getting ready to head to sleep, we can pick up with the LED tomorrow.

@kenkoknz Dashboard refresh partially depends on the sensor itself (some are slower than others), but for the most @ats1080s was correct in 1-5 seconds. Also depends on network connection, like a fast WiFi versus a slow 3g.

We also have a feature upcoming where we allow you to specify the dashboard log-out time. For now though, it’s set to 1 hour.

Great conversations!

-B

Were you able to get the LED working?

Hi Adam,
The app only seems to work when in the same local network as the pi as you eluded to. Got
the led to work after reload and refresh a few times, also on the pc side
sometimes when I activate the led button, the icon just spins round and
locks, I have to refresh the web page (understandably due to bandwidth).
Anyway, If the apps only work in local mode (for android), then would really
prefer to be able to access the web dashboard instead thru webbrowser on
the android (at the moment i cannot). Is there a way to log on to Cayeene dashboard on a webbrowser in android?
Thanks,
Ken