{"id":16710244,"url":"https://github.com/majamassarini/automate-lights-example","last_synced_at":"2026-04-07T19:31:36.631Z","repository":{"id":113503573,"uuid":"426772403","full_name":"majamassarini/automate-lights-example","owner":"majamassarini","description":"An example project automating lights with automate-home ","archived":false,"fork":false,"pushed_at":"2021-12-20T21:42:48.000Z","size":1800,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-01T23:17:24.393Z","etag":null,"topics":["automate-home","automation","configuration","dimmer","home-automation","hue","hue-lights","knx","lifx","light","project"],"latest_commit_sha":null,"homepage":"https://majamassarini.github.io/automate-lights-example/pages/172.31.10.243/index.html","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/majamassarini.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-10T20:48:56.000Z","updated_at":"2021-12-20T21:42:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"3eb614cf-9f63-4984-8d9e-65b69ddac13d","html_url":"https://github.com/majamassarini/automate-lights-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/majamassarini/automate-lights-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/majamassarini%2Fautomate-lights-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/majamassarini%2Fautomate-lights-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/majamassarini%2Fautomate-lights-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/majamassarini%2Fautomate-lights-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/majamassarini","download_url":"https://codeload.github.com/majamassarini/automate-lights-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/majamassarini%2Fautomate-lights-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31526665,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automate-home","automation","configuration","dimmer","home-automation","hue","hue-lights","knx","lifx","light","project"],"created_at":"2024-10-12T20:07:36.272Z","updated_at":"2026-04-07T19:31:36.613Z","avatar_url":"https://github.com/majamassarini.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"automate-home lights example project\n====================================\n\nAn example project for the [automate-home project](https://github.com/majamassarini/automate-home).\n\nA collection of files which define automation rules for 4 different lights **Appliances**.\n\n- [light.presence.Appliance](https://automate-home.readthedocs.io/en/latest/appliances.html#light-presence-appliance)\n- [light.zone.Appliance](https://automate-home.readthedocs.io/en/latest/appliances.html#light-zone-appliance)\n- [light.indoor.dimmerable.Appliance](https://automate-home.readthedocs.io/en/latest/appliances.html#light-indoor-dimmerable-appliance)\n- [light.indoor.hue.Appliance](https://automate-home.readthedocs.io/en/latest/appliances.html#light-indoor-hue-appliance)\n\nEvery *Appliance* automates a device, through a *Performer*.\nThe automated devices are 2 **KNX** switches, 1 **KNX** dimmer and 1 **Lifx** bulb (switched on/off by one more **KNX** switch).\n\nTo automate the lights two sensors, other than the buttons, are used:\n\n- [sensor.luxmeter.Appliance](https://automate-home.readthedocs.io/en/latest/appliances.html#sensor-luxmeter-appliance); data come from a **KNX** sensor.\n- [sensor.alarm.Appliance](https://automate-home.readthedocs.io/en/latest/appliances.html#sensor-alarm-appliance); data come from **KNX**.\n\n## Project notes\n  1. The buttons, in this project, have not an associated Appliance model, their *KNX* messages are directly delivered to the lights Appliances through the *Performers*.  \n  2. The *Lifx* bulb is controlled using scheduler triggers with some seconds delay; \n     it is turned on/off through a *KNX* switch and it takes 7/8 seconds to be ready to listen and execute *Lifx* commands.\n     This is an example of a **single Appliance with two controlled devices**.\n\n## Run automate-home docker container using this project files\n\n```shell\nexport AUTOMATE_HOME_CONFIGURATION=`pwd`\nexport NETWORK_NAME='qnet-static-eth0-a7611e'\nexport IP='172.31.10.243'\n\ndocker run -dit --privileged --name lights --network $NETWORK_NAME --ip $IP -p 8181:8181 -v graphite-lights:/opt/graphite/storage -v redis-lights:/var/lib/redis -v \"$AUTOMATE_HOME_CONFIGURATION:/etc/automate-home\" -t majamassarini/automate-home:latest\ndocker exec -it lights /bin/bash\n```\n\n## UI\n\n[GUI example](https://majamassarini.github.io/automate-lights-example/pages/172.31.10.243/index.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmajamassarini%2Fautomate-lights-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmajamassarini%2Fautomate-lights-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmajamassarini%2Fautomate-lights-example/lists"}