enableiot / iotkit-samples

Demonstration code for the IoT Kit
Other
43 stars 36 forks source link

Data from sensor shows on wrong time #36

Open sajidt3 opened 8 years ago

sajidt3 commented 8 years ago

hi friends, the data which i sent from arduino-IDE using Galileo Gen 2 on dashboard goes on wrong time even i set the time by using putty. Using time command ---- date -s "YYYY-MM-DD HH:MM:SS" but still my result seen on 5.5 hours later

pkerney commented 8 years ago

Sounds like your timezone might be incorrect on your Galileo. This is from my Edison. root@edison3:~# ls -l /etc/localtime lrwxrwxrwx 1 root root 36 Aug 29 10:11 /etc/localtime -> /usr/share/zoneinfo/Australia/Sydney So "rm /etc/localtime ; ln -s /usr/share/zoneinfo/...... /etc/localtime" Not sure what effect /etc/timezone has on things these days.

marcinma commented 8 years ago

Information about checking and setting up timezone on Galileo are provided under this link https://github.com/enableiot/iotkit-samples/wiki/How-to-for-Arduino#configuration-steps

sajidt3 commented 8 years ago

Actually what happening here, my data is seen on correct time on dashboard but not seen at that time when i sent my results. when i sent data to dashboard, the data is sent. but real-time data is not seen, it seen after 4-5 hours.

pkerney commented 8 years ago

You might have your refresh interval set too long if you are expecting it to update automatically. Otherwise you should see it if you hit "refresh now" (the circular arrows on the chart).