Go to file
noah metz a35b7b3f35
Build Container / build-container (push) Successful in 15s Details
Moved python->Value cast to it's own function. Added defaults instead of defaulting to undefined.
2023-05-06 17:03:23 -06:00
.gitea/workflows Tag with commit hash and restrict to master pushes 2023-05-06 15:30:32 -06:00
.gitignore Updated gitignore 2023-05-06 15:23:33 -06:00
Dockerfile Fixed docker container 2023-04-30 15:54:26 -06:00
README Added README 2023-04-30 15:58:15 -06:00
__init__.py Moved python->Value cast to it's own function. Added defaults instead of defaulting to undefined. 2023-05-06 17:03:23 -06:00
boolean.py Added webhook config to config.json. Fixed issues with recursive resolution. 2023-05-04 22:46:10 -06:00
expr.bnf Added symbol operators, and made logging better in boolean.py 2023-05-02 19:58:56 -06:00
requirements.txt added dockerfile and load mqtt options from file instead of cli 2023-04-30 15:40:19 -06:00
test.json Updated test.json for ikea remote, and fixed scene cycling in __init__ 2023-05-04 23:32:21 -06:00
test_webhook.json Added webhook listener and recursive symbol evaluation. 2023-05-03 21:03:02 -06:00

README

1. Create a config file like such:
{
  "mqtt": {
    "host": ${SERVER_IP},
    "user": ${MQTT_USER},
    "password": ${MQTT_PASSWORD}
  }
}

2a. Put the config.json in /etc/light_groups/config.json to load by default
2b. Put the config.json in a volume that links it to /data/config.json in the docker container
2c. Put the config.json wherever and pass it as the first argument to the script
3. Publish a configuration json to light_groups/config. Example in test.json
4. ???
5. Profit?