Code Monkey home page Code Monkey logo

Comments (15)

tobyweston avatar tobyweston commented on August 24, 2024

Is there anything in the log? Is it just after you started up? The charts are regenerated periodically, so the first time you start up, the charts will be empty. Refresh and it should come back.

from temperature-machine.

andrei2186 avatar andrei2186 commented on August 24, 2024

I know after start is available after 1 min. But yesterday not work all day. I will check the log and I post here.
Thank you.

from temperature-machine.

singh763173 avatar singh763173 commented on August 24, 2024

I had the same problem but found that if I refreshed the page more than enough times, it eventually came back.

from temperature-machine.

tobyweston avatar tobyweston commented on August 24, 2024

has it come back @andrei2186 ?

from temperature-machine.

andrei2186 avatar andrei2186 commented on August 24, 2024

Yes. All are ok now.

from temperature-machine.

andrei2186 avatar andrei2186 commented on August 24, 2024

The problem come back.2 hours ago.

from temperature-machine.

tobyweston avatar tobyweston commented on August 24, 2024

Is there anything in the log? how about the browser console (in Chrome hit cmd + alt + i)?

from temperature-machine.

andrei2186 avatar andrei2186 commented on August 24, 2024

I think the problem was generated from raspberry forced shutdown. Where are the logs?

from temperature-machine.

tobyweston avatar tobyweston commented on August 24, 2024

Logs are in .temperature under your home folder.

cat ~/.temperature/temperature-machine.log

from temperature-machine.

andrei2186 avatar andrei2186 commented on August 24, 2024

2017-12-08 20:19:26:457 [main] INFO Starting temperature-machine (server mode)...
2017-12-08 20:19:26:547 [main] INFO RRD initialising for 'raspberrypi' (with up to 5 sensors each)...
2017-12-08 20:19:26:587 [main] INFO Ok
2017-12-08 20:19:29:192 [main] INFO Starting Discovery Server, listening for 'raspberrypi'...
2017-12-08 20:19:29:227 [temperature-machine-discovery-server-1] INFO Listening for broadcast messages...
2017-12-08 20:19:29:385 [main] INFO Monitoring sensor file(s) on 'raspberrypi'
/sys/bus/w1/devices/28-0000070540af/w1_slave
/sys/bus/w1/devices/28-0000076b780e/w1_slave

2017-12-08 20:19:31:201 [main] INFO HTTP Server started on http://127.0.1.1:11900

from temperature-machine.

andrei2186 avatar andrei2186 commented on August 24, 2024

temp

from temperature-machine.

tobyweston avatar tobyweston commented on August 24, 2024

FYI, charts are regenerated as per the following schedule. I have no clue at the moment why that might fail but will start by reviewing the logging (as I see nothing at present in the logs). Worse case, refresh the page according to the schedule and see if they appear (at least until we can fix it)

  • Every 90 seconds for the last 24 hour chart
  • Every 12 hours for the last 7 days chart
  • Every 24 hours for the last 30 days chart

from temperature-machine.

Quaxo76 avatar Quaxo76 commented on August 24, 2024

Just to add that I see this issue a lot. The 24-hour graph is usually fine, the 7-day graph is empty most of the time, and the 1-month... I think I've only seen it display some data once or twice.

from temperature-machine.

hardys avatar hardys commented on August 24, 2024

I'm seeing the same, and from the file timestamp I can see the charts are all re-generated when the service restarts (or the host is rebooted), but it seems that this initial create uses an empty dataset, as it's not until the subsequent scheduled run that the graphs get properly rendered - I can't yet see where/why this is happening in the code.

from temperature-machine.

tobyweston avatar tobyweston commented on August 24, 2024

Thanks for the comment, I suspect a race condition in the task startup stuff around here:

def graphing(implicit hosts: List[Host]) = {

but it's just a guess at this point.

A breakpoint (assuming you can reproduce) in Graph.scala should at least say if it's because of an empty data set. I had (vainly) assumed it was a bug in the underlying RRD before.

from temperature-machine.

Related Issues (20)

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.