Giter Site home page Giter Site logo

Comments (13)

naofireblade avatar naofireblade commented on May 31, 2024

The first points of the graph should appear after 10-30 minutes after starting homebridge.

  • When you open the details of the empty graph, do you see entries in the measurements list?
  • Did you set any interval in the plugin? Or do you use the default one of 4 minutes?
  • Can you start homebridge with the debug option for my plugin and post the output?

sudo DEBUG=homebridge-weather-station-extended homebridge -D -U /var/lib/homebridge

/var/lib/homebridge is my homebridge folder, it might be different depending on your installation. If you are running homebridge as a service, you can either change your start options or stop the service and start homebridge manually with the given example command.

from homebridge-weather-plus.

tomsteenbakkers avatar tomsteenbakkers commented on May 31, 2024
  • opening the empty graph and looking at measurements, no data is shown
  • I set the interval to 15 min. Now, I have set is to 4 min and did a reboot, log will be created now

I will post the log when it is running for 30 min. Where can I find the log when I start Homebridge with the syntax you provided.

from homebridge-weather-plus.

naofireblade avatar naofireblade commented on May 31, 2024

If you start homebridge with the command, the log will be in your console. If you start homebridge as a service the log should be a part of /var/log/syslog

from homebridge-weather-plus.

tomsteenbakkers avatar tomsteenbakkers commented on May 31, 2024

@naofireblade

Enclosed the logfile
log2.txt

from homebridge-weather-plus.

naofireblade avatar naofireblade commented on May 31, 2024

Thanks for your log. I can see that the history module is starting and that 2 datasets are added. But I can't see any request for the history.
Can you provide another log where you close, and reopen the eve app and select the history for e.g. temperature? Homebridge must be running for at least 20 minutes before that.

from homebridge-weather-plus.

tomsteenbakkers avatar tomsteenbakkers commented on May 31, 2024

@naofireblade Enclosed the log file. I can see new entries in de chart. Every 10 min an entry is logged using the DEBUG method. After I restart the Pi the logging stops. The difference is that after the restart Homebridge starts using systemd.

note: I see this only history on the iPhone not on the iPad.

log_2018-02-09.txt

from homebridge-weather-plus.

tomsteenbakkers avatar tomsteenbakkers commented on May 31, 2024

@naofireblade after running Homebridge in debug mode for several hours I stopped the program and started using systemd again. The measurements where working in debug mode. I made one adjustment by setting the debug mode on. It’s running now for 8 hours and all the graphs are recording measurements. Also the graphs for the evohome plugin.

from homebridge-weather-plus.

naofireblade avatar naofireblade commented on May 31, 2024

Hm so it's working now? Also with systemd? The debug mode cannot be the reason.

PS: There were no graph requests in your log. Are you sure, you closed and opened the Eve app during the logging?

from homebridge-weather-plus.

tomsteenbakkers avatar tomsteenbakkers commented on May 31, 2024

It’s working now. I also use the evohome plugin and I did have the same problems with the graphs. On the iPad I can see the graphs with measurements for the last 24 hours. On the iPhone and still have empty timeframes.

Ps. I did close the eve app several times during logging. And also did some forced refresh. Let’s hope is stays this way 😇

from homebridge-weather-plus.

tomsteenbakkers avatar tomsteenbakkers commented on May 31, 2024

One last thing: can you explain why the iPhone is missing data in certain timeframes while the iPad shows data in the same interval.

from homebridge-weather-plus.

awein avatar awein commented on May 31, 2024

I came across problems around this as well. This plugin will set the global timer interval for FakeGatoHistory to 4032 minutes. This may affect other plugins as well since this timer will be shared across different plugins. This timer needs to fire to update the history entries and write the history to the filesystem (new feature of version 0.4.0).

https://github.com/naofireblade/homebridge-weather-station-extended/blob/cf38245b12e58f8d601f664f227d6350a3d8cb6f/index.js#L433

I updated the FakeGatoHistory package to 0.4.0 and replaced the line above with:

this.historyService = new FakeGatoHistoryService("weather", this, {
  storage: 'fs'
});

This resolved the issue of missing history data and added support for the new history persistence feature.

from homebridge-weather-plus.

naofireblade avatar naofireblade commented on May 31, 2024

@awein The number ist the max amount of frames, not the interval. I will try to update to the recent fakegato package on the weekend :) .

@tomsteenbakkers The gaps happen when you restart homebridge before pulling the history on all your devices. After a restart homebridge currently no longer knows the old history data and can't provide it to devices that didn't pulled the history yet. This will be solved in the next update when I integrate the new fakegato release.

from homebridge-weather-plus.

naofireblade avatar naofireblade commented on May 31, 2024

I'll close this issue as your initial problem is solved. If you have any other questions please don't hesitate creating a new issue.

from homebridge-weather-plus.

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.