Sorry for being too dumb for python...

I want to show the actual cpu temperature in the "About this weather 
station" section. On my Raspberry Pi I get the result: 

$ vcgencmd measure_temp
temp=53.0'C

However, I do not know, how to enter this into a skin file. 
I gave a first try to

<?PHP
echo exec('vcgencmd measure_temp|sed "s/'/ °/"');
?>

resulting in
VCHI initialization failed

I have added www-data to the video group, but this did not help. But, may 
be, it is much easier to realize. Please help!


-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/e128ccf9-a450-4b86-a17c-bbf9a8e7045a%40googlegroups.com.

Reply via email to