{"id":13586745,"url":"https://github.com/home-assistant/scenegen","last_synced_at":"2025-10-05T15:31:40.569Z","repository":{"id":61909677,"uuid":"59948333","full_name":"home-assistant/scenegen","owner":"home-assistant","description":":fireworks: Generate Scenes for Home Assistant ","archived":true,"fork":false,"pushed_at":"2019-10-16T15:53:11.000Z","size":37,"stargazers_count":60,"open_issues_count":0,"forks_count":26,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-02-13T21:39:29.347Z","etag":null,"topics":["home-assistant","home-automation","scene"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/home-assistant.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-29T14:50:28.000Z","updated_at":"2023-09-10T13:58:21.000Z","dependencies_parsed_at":"2022-10-23T12:00:24.189Z","dependency_job_id":null,"html_url":"https://github.com/home-assistant/scenegen","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/home-assistant%2Fscenegen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/home-assistant%2Fscenegen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/home-assistant%2Fscenegen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/home-assistant%2Fscenegen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/home-assistant","download_url":"https://codeload.github.com/home-assistant/scenegen/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235411713,"owners_count":18986065,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["home-assistant","home-automation","scene"],"created_at":"2024-08-01T15:05:46.834Z","updated_at":"2025-10-05T15:31:40.248Z","avatar_url":"https://github.com/home-assistant.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# SceneGen\n\nScenegen is a scene generation tool for [Home Assistant](https://home-assistant.io/) home automation software. It creates scenes by example, by reading the current states of devices and outputting a corresponding scene. Scenegen is written in python using Home Assistant's RESTFul API so can be run from anywhere. It currently supports lights and switches only.\n\nTo set up SceneGen and install it locally, run the following from a shell in\nthe checkout:\n\n    $ make\n\nThen the script can be run locally from the checkout:\n\n    $ ./bin/scenegen --help\n\nSee the Home Assistant documentation for [full usage instructions and\ndocumentation](https://home-assistant.io/ecosystem/scenegen).\n\n\n## Exporting Multiple Scenes\n\nUse the `$ make export` target to aid in exporting multiple scenes to YAML on\nthe filesystem.  This can be useful for \"exporting\" scenes from an\nintegration, such as SmartThings, to native Home Assistant themes:\n\n    $ make EXPORT_ALL_SCENES=true URL=https://home-assistant.example.com:8123 TOKEN=... EXPORT_SCENE_DIR=../path/to/scenes export\n\nIf you don't want to export all the scenes, you can create a `.scenes` file in\nthe `EXPORT_SCENE_DIR` listing one scene per line to export and remove the\n`EXPORT_ALL_SCENES` option.\n\nBeyond these options, the `export*` targets in `Makefile` can be used as a\nreference or starting point to automate exporting multiple scenes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhome-assistant%2Fscenegen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhome-assistant%2Fscenegen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhome-assistant%2Fscenegen/lists"}