Comments (16)
Version 0.3.9-alpha.3 works well:
The datapoints vom today, the 24. Feb:
from iobroker.followthesun.
Hi!
Which "Interval of execution in seconds (default: 120 seconds, minimum: 10 seconds)" are you using?
For me it looks strange, that under "current" it is Feb 09 and under "today" it is Feb 08
If 25.3 or 25.1 is the right choice depends on the algorithm you are using... I tried to use the most proper one
from iobroker.followthesun.
from iobroker.followthesun.
Hm, can we close the issue and if there is still a problem you can reopen it?
from iobroker.followthesun.
This are the values from today, taken some minutes ago on 15. February morning.
Values for today have the date of yesterday:
Values for tomorrow have the date of today:
Is there any additional debug info I can provide?
from iobroker.followthesun.
-
please "mose over" on solornoon today like this
to the the timestamp
As you see, in my installation the date was updated 34 seconds after midnight -
Is there every day a log line like "Cronjob 'Sun parameter calculation' starts"?
-
after restarting the adapter there is one log line starting with "Daily sun parameter calculation scheduled for". Which time is mentioned there?
from iobroker.followthesun.
In my installation it was updated on last adapter restart:
The log at last manual restart yesterday:
Log from today after midnight:
from iobroker.followthesun.
still no idea whtat's going wrong. Please switch to debug mode and post the log.
Most important are the lines (dates) after "Run CalcSunData"
from iobroker.followthesun.
from iobroker.followthesun.
After restart values are correct:
from iobroker.followthesun.
Can you run the adapter until tomorrow morning in debug mode?
Interesting are these log entries tomorrow after midnight. The first line date after "Run CalcSunData" is used for today, the second for yesterday, third for tomorrow etc.
from iobroker.followthesun.
The debug log from today (16. Februray) Midnight:
and this is the actual state of the objects:
from iobroker.followthesun.
Thanx for all the info!
It is a strange behavior!
First date in the log is 16th. Which is today --> ok
In the next step the time is calculated based on the date and here the unexpected happens in your installation.
This is my solar-noon from today calculated couple of seconds after midnight:
Can you please double check if your coordinates (latitude and longitude) are fitting to your time zone?
Please create a new small Javascript with following content:
const suncalc = require('suncalc');
const config = getObject("system.adapter.javascript.0");
const lat = config.native.latitude;
const long = config.native.longitude;
log('LAT: ' + lat);
log('LONG: ' + long);
let timeStamp = new Date('2022-02-16 00:00:23');
log('TIMESTAMP: ' + timeStamp);
let times = suncalc.getTimes(timeStamp, lat, long);
log('SOLARNOON: ' + times.solarNoon);
and please let me know the log result :-)
Please also check/change in the javascript adapter settings the "Astro settings" to "Use system settings"
from iobroker.followthesun.
The astro settings have all the time been:
Yout got the result by E-Mail
from iobroker.followthesun.
Please check if this version works
https://HGlab01/ioBroker.followthesun#63cea743f66d40880214c8d46dfcae6056738e3a
from iobroker.followthesun.
fixed in https://github.com/HGlab01/ioBroker.followthesun/releases/tag/v0.3.9
from iobroker.followthesun.
Related Issues (19)
- Compatibility check to js-controller 3.3 and Admin5 React UI HOT 1
- Compatibility check and testing for Node.js 14 and 16 HOT 1
- Release script: Action required HOT 1
- beta versionen lassen sich nicht upgraden HOT 5
- Update stable version in repo from 0.3.4 to 0.3.5 HOT 1
- ioBroker scheduling HOT 2
- Einheiten fehlen an einigen Datenpunkten HOT 1
- js-controller 4.0.4 Update HOT 2
- Think about to fix the issues found by adapter checker HOT 2
- Compatibility check to js-controller 4.0 HOT 1
- Remove additional menu entry HOT 5
- Three minutes late HOT 1
- Update stable version in repo from 0.3.9 to 0.4.0 HOT 1
- Update stable version in repo from 0.2.5 to 0.2.6 HOT 1
- Update stable version in repo from 0.4.1 to 0.4.2 HOT 1
- Latitude or longitude not set in global System Configuration! HOT 1
- movement state HOT 23
- SunRise and SunSet Position and Time HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iobroker.followthesun.