{"id":25042441,"url":"https://github.com/michael-sulyak/crazy-bear","last_synced_at":"2026-03-05T14:03:27.897Z","repository":{"id":40712934,"uuid":"283191571","full_name":"michael-sulyak/crazy-bear","owner":"michael-sulyak","description":"RPi + Telegram = Home Automation","archived":false,"fork":false,"pushed_at":"2025-05-14T18:34:26.000Z","size":3941,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-14T19:40:58.617Z","etag":null,"topics":["home-automation","raspberry-pi","telegram-bot"],"latest_commit_sha":null,"homepage":"","language":"Python","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/michael-sulyak.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,"zenodo":null}},"created_at":"2020-07-28T11:25:37.000Z","updated_at":"2025-05-14T18:33:50.000Z","dependencies_parsed_at":"2023-10-05T00:00:28.783Z","dependency_job_id":"cc1da91c-8099-413b-ad29-6c46c3656280","html_url":"https://github.com/michael-sulyak/crazy-bear","commit_stats":null,"previous_names":["michael-sulyak/crazy-bear","expert-m/crazy-bear"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/michael-sulyak/crazy-bear","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michael-sulyak%2Fcrazy-bear","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michael-sulyak%2Fcrazy-bear/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michael-sulyak%2Fcrazy-bear/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michael-sulyak%2Fcrazy-bear/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michael-sulyak","download_url":"https://codeload.github.com/michael-sulyak/crazy-bear/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michael-sulyak%2Fcrazy-bear/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30130031,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T12:40:50.676Z","status":"ssl_error","status_checked_at":"2026-03-05T12:39:32.209Z","response_time":93,"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":["home-automation","raspberry-pi","telegram-bot"],"created_at":"2025-02-06T04:46:17.334Z","updated_at":"2026-03-05T14:03:27.876Z","avatar_url":"https://github.com/michael-sulyak.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CrazyBear — Home Automation in Telegram\n\n\u003e [!NOTE]  \n\u003e This project is not a general solution. This is just an implementation for specific purposes (my purposes 🙂).\n\u003e Some things were implemented quite simply so as not to complicate support.\n\u003e I hope the code will be helpful to you.\n\n## Preview\n\n![Preview](preview.jpg)\n\n## Components\n\n1. **Raspberry Pi 4**\n2. **Arduino Nano V3.0 ATmega328P** (is connected via USB to the **Raspberry Pi**)\n    1. **AM2302 DHT22**\n    2. **HC-SR501**\n3. **Logitech C270 HD** (is connected via USB to the **Raspberry Pi**)\n4. **CC2531** (is connected via USB to the **Raspberry Pi**)\n\n## Setup\n\n1. Create `prod.env` file in `./envs`. See `project/config/default.py`.\n\n2. Copy the code to a **Raspberry Pi** (or somewhere else).\n\n3. Build and run:\n    ```bash\n    docker-compose build\n    docker-compose up -d\n    ```\n\n4. If you want to use **Arduino** then you need to upload `arduino_core`. Libs:\n    ```bash\n    arduino-cli lib install RF24 \"DHT sensor library\" ArduinoJson\n    ```\n\n5. Set **ZigBee Dongle** (if you use **CC2531**)\n    1. Connect **CC2531**\n        1. Install **WiringPi**\n            ```bash\n            git clone https://github.com/WiringPi/WiringPi.git\n            git checkout 5de0d8f5739ccc00ab761639a7e8d3d1696a480a\n            cd WiringPi\n            ./build\n            ```\n            (https://github.com/jmichault/flash_cc2531/issues/18)\n        2. [https://kvvhost.ru/2019/05/29/zigbee2mqtt-cc2531-raspberry-pi/](https://kvvhost.ru/2019/05/29/zigbee2mqtt-cc2531-raspberry-pi/)\n    2. Add devices.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichael-sulyak%2Fcrazy-bear","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichael-sulyak%2Fcrazy-bear","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichael-sulyak%2Fcrazy-bear/lists"}