วิธี Export Data logs. ของ IoT Sensor แปลง timestamp ใน excel

--

เมื่อเข้ามายังหน้า Sensor คลิกที่เมนู HIS : History
ปริมาณข้อมูลที่เราจะ Export มากน้อยขึ้นอยู่ที่การเลื่อน scroll bar ลงมาด้านล่าง auto load ย้อนหลังได้ 1 เดือน จากนั้นกด Export Data
Save file ไว้ในที่ๆเราจำได้
จากนั้นเปิดด้วย excel หรือ google sheet จากตัวอย่างผมใช้ google sheet เพราะเป็น Free Ware จะเป็นว่า sensor เก็บค่าวันที่และเวลาในรูปแบบ timestamp เราต้องทำการแปลงเป็นวันที่ให้มองข้อมูลได้ง่ายในขั้นตอนถัดไป
=((c2+(7*3600000))/86400000)+25569
ใส่สูตรใน column : D2 อ้างไปยัง C2
จากนั้นปรับ Format ในช่อง D2 ให้เป็น Date time
แล้วทำการ copy สูตรยาวลงไปจนสุดแถวสุดท้ายของข้อมูล

Developer Project : IoT Phuket Lab
https://iotphuketlab.home.blog/
https://medium.com/@aegkaluk
https://www.facebook.com/iotphuket/
https://www.youtube.com/user/MrAegkaluk
https://sites.google.com/view/iot-phuket-lab-documents
https://pantip.com/profile/368674#topics

แวะเยี่ยมชมสินค้าของทางร้าน
https://www.phuket-it.com/iotphuketlab/
https://www.lazada.co.th/shop/phuket-bike-lover
https://shopee.co.th/aegkaluk

--

--

Mr.aegkaluk sopapun
Mr.aegkaluk sopapun

Written by Mr.aegkaluk sopapun

IoT Developer @ IoT Worldtech Co.,Ltd

No responses yet