https://github.com/hglab01/iobroker.followthesun
This adapter calculates the current altitude and azimuth of the sun based on the geoposition. Additionally compass direction and the movement (sunrise or sunset) of the sun is stored. It is using the geo-position defined in the configuration. Calculation interval can be defined in instance preferences. Solar-noon values for some days like today, tomorrow or beginn of spring/summer/autumn/winter are stored as well.
https://github.com/hglab01/iobroker.followthesun
altitude azimuth iobroker solar sun sunposition
Last synced: 7 months ago
JSON representation
This adapter calculates the current altitude and azimuth of the sun based on the geoposition. Additionally compass direction and the movement (sunrise or sunset) of the sun is stored. It is using the geo-position defined in the configuration. Calculation interval can be defined in instance preferences. Solar-noon values for some days like today, tomorrow or beginn of spring/summer/autumn/winter are stored as well.
- Host: GitHub
- URL: https://github.com/hglab01/iobroker.followthesun
- Owner: HGlab01
- License: mit
- Created: 2020-06-15T18:21:38.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-04-08T03:00:54.000Z (about 1 year ago)
- Last Synced: 2024-04-08T04:22:00.428Z (about 1 year ago)
- Topics: altitude, azimuth, iobroker, solar, sun, sunposition
- Language: JavaScript
- Homepage:
- Size: 2.14 MB
- Stars: 10
- Watchers: 2
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG_OLD.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README

# ioBroker.followthesun[](https://www.npmjs.com/package/iobroker.followthesun)

[](https://www.npmjs.com/package/iobroker.followthesun)

[](https://libraries.io/npm/iobroker.followthesun)
[](https://snyk.io/test/github/HGlab01/ioBroker.followthesun)
[](https://app.fossa.com/projects/git%2Bgithub.com%2FHGlab01%2FioBroker.followthesun?ref=badge_shield)
[](https://nodei.co/npm/iobroker.followthesun/)
## followthesun adapter for ioBroker
This adapter calculates the current altitude and azimuth of the sun based on the geoposition. Additionally compass direction and the movement (sunrise or sunset) of the sun is stored.
It is using the geo-position defined in the configuration. Calculation interval can be defined in instance preferences.
Solar-noon values for some days like today, tomorrow or beginn of spring/summer/autumn/winter are stored as well.**This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers.** For more details and for information how to disable the error reporting see [Sentry-Plugin Documentation](https://github.com/ioBroker/plugin-sentry#plugin-sentry)!
## Requires
* Node.js 18 or higher
* ioBroker host (js-controller) 5.0 or higher## Changelog
### 0.5.1 (2024-08-21)
* (HGlab01) Fixing repository checker issues### 0.5.0 (2023-12-05)
* (HGlab01) Breaking changes
- Node.js 18 or higher required
- ioBroker host (js-controller) 5.0 or higher
* (HGlab01) Coordinates can be configured on instance level (optional)
* (HGlab01) Bump iobroker-jsonexplorer to v0.1.14### 0.4.2 (2023-08-10)
* (HGlab01) Improve admin5 UI usage### 0.4.1 (2023-02-05)
* (HGlab01) Improve error log if coordinates are not set### 0.4.0 (2022-11-19)
* (Jey-Cee) Updated object definitions: use of roles, multilanguage names
* (Jey-Cee) Added missing objects for folders
* (HGlab01) !Breaking change! NodeJS 14.16 or higher required
* (HGlab01) !Breaking change! ioBroker js-controller 4.0 or higher required
* (HGlab01) Update libs## License
MIT LicenseCopyright (c) 2024 HGlab01
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.[](https://app.fossa.com/projects/git%2Bgithub.com%2FHGlab01%2FioBroker.followthesun?ref=badge_large)