{"id":18949085,"url":"https://github.com/bbartling/demand-response-research","last_synced_at":"2025-08-17T10:39:18.136Z","repository":{"id":188599510,"uuid":"677820837","full_name":"bbartling/demand-response-research","owner":"bbartling","description":"Simple BACnet API IoT app for demand response on client side or building.","archived":false,"fork":false,"pushed_at":"2024-03-11T16:20:55.000Z","size":331,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-05-25T14:47:18.756Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bbartling.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-08-12T18:40:39.000Z","updated_at":"2024-10-24T22:03:00.000Z","dependencies_parsed_at":"2023-12-30T19:32:00.133Z","dependency_job_id":"c5b6c894-43cc-425f-9f91-558cafd49b7f","html_url":"https://github.com/bbartling/demand-response-research","commit_stats":null,"previous_names":["bbartling/bacnet-demand-response-client","bbartling/bacnet-demand-response-client-server","bbartling/open-dr","bbartling/demand-response-research"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bbartling/demand-response-research","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbartling%2Fdemand-response-research","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbartling%2Fdemand-response-research/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbartling%2Fdemand-response-research/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbartling%2Fdemand-response-research/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bbartling","download_url":"https://codeload.github.com/bbartling/demand-response-research/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbartling%2Fdemand-response-research/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270837408,"owners_count":24654377,"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","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-08T13:15:40.175Z","updated_at":"2025-08-17T10:39:18.076Z","avatar_url":"https://github.com/bbartling.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# demand-response-research\nBuilding side research project with open ADR\n\n\n### make virtual env\n```bash\npython -m venv drenv\n```\n\n### activate virt env\n```bash\n. drenv/bin/activate\n```\n\n### pip install python packges\n```bash\npip install bacpypes3 openleadr ifaddr\n```\n\n### Linux service notes\n```bash\n# make systemd file\n$ cd /etc/systemd/system\n\n### edit file\n$ sudo nano adr_client.service\n```\n\n### Edit systemd file contents with nano and make sure to set your paths and `WorkingDirectory`:\n```bash\n[Unit]\nDescription=ADR Client Service\nAfter=network.target\n\n[Service]\nUser=dr\nExecStart=/home/dr/drenv/bin/python /home/dr/dr_app/app.py --name Slipstream --instance 3056672 --debug\nWorkingDirectory=/home/dr/dr_app/\n\n[Install]\nWantedBy=multi-user.target\n\n```\n\n### Start the linux service\n```bash\n# Start linux service\n$ sudo systemctl enable adr_client.service\n\n# Start linux service\n$ sudo systemctl start adr_client.service\n\n# Check status\n$ sudo systemctl status adr_client.service\n\n# Tail logs\n$ sudo journalctl -fu adr_client.service\n```\n\n### Commands if you need to restart the service if some change in the script or config was made\n```bash\n# stop linux service\n$ sudo systemctl stop adr_client.service\n\n# Reload if app code needs to be changed\n$ sudo systemctl daemon-reload\n\n# Restart linux service\n$ sudo systemctl restart adr_client.service\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbartling%2Fdemand-response-research","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbartling%2Fdemand-response-research","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbartling%2Fdemand-response-research/lists"}