![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Nov 2016
Device: kobo touch
|
Linux command to read Temperature Sensor(s)
Hi,
I would like to turn a kobo touch into a weather station. I would love to display the actual room temperature. Is there a linux command to read the actual cpu or battery temperature of the kobo touch? thanks a lot in advance! |
![]() |
![]() |
![]() |
#2 | |
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
Not sure about the Kobo Touch.
The Kobo H2O has a MAX17135 sensor. Or at least, that's the only sensor driver enabled in the kernel. Quote:
There actually is a /sys/devices/platform/mxc_epdc_fb/graphics/fb0/temperature and it says 23 for me which happened to be the room temperature... but I just put it out in the cold and it still says 23 so... maybe something else after all. lm-sensors doesn't find anything. PS: it did go down to 22 while writing this post. |
|
![]() |
![]() |
![]() |
#3 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Nov 2016
Device: kobo touch
|
Thank you for your reply!
is it possible to search for *temp* in /sys/devices ? I hopefully get the kobo touch at the weekend, then I see for myself |
![]() |
![]() |
![]() |
#4 |
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
find /proc /sys -iname "*temp*" is what I did (same for therm) and that's what I found on the H2O...
As a weather station you have to get weather info from somewhere too, so maybe you could acquire temperature from one of your other devices this way too. Good luck. |
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Nov 2016
Device: kobo touch
|
Hi,
thanks again for your input! I rooted my kobo touch and with this command i can read the temperature sensor: cat /sys/devices/platform/tps6518x_sensor.0/temp_input This command gives me "21". I assume this is the correct temperature reading. |
![]() |
![]() |
![]() |
#6 |
Member
![]() Posts: 18
Karma: 10
Join Date: Dec 2015
Location: Moscow
Device: Kobo Glo, Touch, Aura HD
|
Scusami, but i found for Glo
This path only for Touch? I looked Glo hardware, also used TPS65185. But i not find like /sys/devices/platform/tps6518x in Glo. I am looking for a way to read and write value VCOM. Also for Touch |
![]() |
![]() |
![]() |
Tags |
kobo, python, root, telnet, weather |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Simple linux fastboot installing command | aditya3098 | Kindle Developer's Corner | 20 | 04-23-2019 04:13 PM |
Linux / Command Line / search and add metadata | plittlefield | Library Management | 3 | 06-24-2016 12:45 PM |
Ubuntu/Linux : Command to schedule a job with Calibre.( No GUI ) | DurgaPrasad | Calibre | 0 | 10-16-2013 06:50 AM |
How can I use calibre fetch google reader by Linux command Line? | madawei | Devices | 4 | 06-26-2012 12:08 AM |
Free Linux Command Line Guide (PDF) | cromag | Deals and Resources (No Self-Promotion or Affiliate Links) | 1 | 10-12-2011 10:43 PM |