0.1.1 • Published 4 years ago

homebridge-automation-calendar v0.1.1

Weekly downloads
5
License
ISC
Repository
github
Last release
4 years ago

Automation - Calendar

Example config.json:

    "accessories": [
        {
            "accessory": "AutomationCalendar",
            "name": "Test",
            "latitude": 51.4825747,
            "longitude": -0.0251685
        }  
    ]

This accessory will create a fake sensor with some custom characteristics. Use one or more characteristic to limit the automation to a specific period of time (e.g. only during the winter or only during the day).

Configuration

  • latitude your home latitude (used for astronomical calculations); e.g. -33.8567844
  • longitude your home longitude (used for astronomical calculations); e.g. 151.2152967

Characteristics exposed

Month of the year

The current month (1 is January, 2 is February, ..., 12 is December).

Week of the year

The week of the year, according to the Node.js locale. See moment.js documentation for more info.

Season

The current astronomical season, based on the latitude/longitude provided.

SeasonEnum Value
Spring1
Summer2
Autumn3
Winter4

Season name

The label of the current season (it cannot be used for automation, use the Season characteristic instead).

Time of the day

The time of the day, based on the latitude/longitude provided.

Time of the dayEnum Value
Morning Twilight1
Sunrise2
Daytime3
Sunset4
Evening Twilight5
Nighttime6

Time of the day label

The label for the current type of the day (it cannot be used for automation, use the Time of the day characteristic instead).

0.1.1

4 years ago

0.1.0

4 years ago

0.0.2

6 years ago

0.0.1

6 years ago