Homey
  • Homey Automations
  • Aggregated state
    • Person presence
      • Geofency and webhooks
    • Home state
    • Room and floor presence v2
    • Room and floor presence v1
    • Time table
    • Dark or bright
    • TV
    • Ventilation
      • CO2
      • Humidity bathrooms
  • Lighting
    • Scenes
    • Scene activations
  • Rooms
    • Childrens room
    • Guest room
    • Bathrooms
  • Advanced API usage
    • Getting a bearer token
  • Battery
    • Battery tracking
  • Custom integrations
    • Influxdb and Grafana
    • Flexit ventilation
    • Water metering
    • Telia data plan
    • Trondheim folkebibliotek
    • SBanken
    • Badetemperatur
    • Is it rainy? (yr.no)
  • Music
    • Music
  • Voice
    • Setup
    • Overview
Powered by GitBook
On this page
  • Dark
  • Bright

Was this helpful?

  1. Aggregated state

Dark or bright

PreviousTime tableNextTV

Last updated 5 years ago

Was this helpful?

I've added two boolean logic variables, dark and bright.

Dark

As simple as if is dark outside or not. Turn on at sunset, and turn off when sun rise.

Bright

I want a boolean variable to flag when there is bright light outside. Typically I use this to for some of the rooms with a lot of windows, turn off the lights in the middle of the day in the summer.