1.0.1 • Published 3 years ago

osiota-app-suncalc v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

osiota application sun position

Osiota is a software platform capable of running distributed IoT applications written in JavaScript to enable any kind of IoT tasks. See osiota.

Configuration: suncalc

The application triggers at sun-related time points. This allows to implement switching functions e.g. at sunrise or sunset.

Properties

NameTypeDescriptionRequired
latitudenumberChoose a locationno
longitudenumberno
heightnumberAbove see levelno
timepointstringThe following sun-related times can be selectedDefault: "sunrise"Enum: "sunrise", "sunriseEnd", "goldenHourEnd", "solarNoon", "goldenHour", "sunsetStart", "sunset", "dusk", "nauticalDusk", "night", "nadir", "nightEnd", "nauticalDawn", "dawn", "customMorning", "customEvening"no
custom_angle(angle)numberDefine an angel for custom time points:Dawn: -6Sunrise: -0.833Morning golden hour: 6.Minimum: -90Maximum: 90no

Additional Properties: not allowed Example

{
    "latitude": 52.51872463625155,
    "longitude": 13.376219384358473,
    "height": 0,
    "timepoint": "sunrise"
}

How to setup

Add a configuration object for this application, see osiota configuration:

{
    "name": "suncalc",
    "config": CONFIG
}

License

Osiota and this application are released under the MIT license.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.