Script homiehue

Main CLI application.

Reads configuration from environment variables and starts the Hue-to-Homie bridge. Does not support any CLI parameters.

For configuring the log, use LuaLogging environment variable prefix "HOMIE_LOG_", see "logLevel" in the example below.

Usage:

    # configure parameters as environment variables
    export HUE_KEY="xxxxxxxx"
    export HUE_IP="xxxxxxxx"                   # Only set if auto-detection fails
    export HOMIE_MQTT_URI="mqtt://synology"    # format: "mqtt(s)://user:pass@hostname:port"
    export HOMIE_DOMAIN="homie"                # default: "homie"
    export HOMIE_DEVICE_ID="philips-hue"       # default: "philips-hue"
    export HOMIE_DEVICE_NAME="H2H bridge"      # default: "Hue-to-Homie bridge"
    export HOMIE_LOG_LOGLEVEL="info"           # default: "INFO"
    
    # start the application
    homiehue
    


generated by LDoc 1.5.0 Last updated 2024-07-31 11:11:55