Giter Site home page Giter Site logo

pitemp's People

Contributors

elpatron68 avatar fechu avatar jensb89 avatar lfdmartins avatar ruester avatar swooningfish avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pitemp's Issues

Uncaught exception due to timezone settings not being set.

PHP Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in /mnt/data/www/PiTemp/monitor.php:11
Stack trace:
#0 /mnt/data/www/PiTemp/monitor.php(11): DateTime->__construct()
#1 {main}

thrown in /mnt/data/www/PiTemp/monitor.php on line 11

Using date_default_timezone_set(UTC) gets round this.

However that then causes.
PHP Parse error: syntax error, unexpected '$temp' (T_VARIABLE) in /mnt/data/www/PiTemp/monitor.php on line 8

Any ideas?

Plotly info in README

The plotly information in the README should be integrated in "nice" way into the rest of the content.

Wrong folder in configuration

Hello !

First of all, thanks for this script, been looking toward monitoring my Pi temperature .. :)

Second, I think there is a little typo in your config,

// Example is for apache only. 
// Replace /var/www/ with the webroot of your webserver
cd /var/www
git clone https://github.com/fechu/PiTemp

This creates a PiTemp folder in your /var/www/ folder, am I right ?

And in the rest of the configuration, you seem to refere to it as /var/www/ monitor /, as we can see in the cron tab line */15 * * * * root /var/www/monitor/monitor.php

Is there a configuration that I missed ?

Thx again :)


[EDIT] : and I can't try if this works, the page is not rendered .. It's just displaying the code :( (I'm accessing through ssh from a remote place, not through my network, but I have port forwarding which works great .. )

See :
capture decran 2013-08-02 a 11 38 05
capture decran 2013-08-02 a 11 37 52

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.