{"id":46565224,"url":"https://github.com/bergpb/lisapi","last_synced_at":"2026-03-07T07:03:54.701Z","repository":{"id":37623040,"uuid":"158105043","full_name":"bergpb/lisapi","owner":"bergpb","description":"A Flask app to control some things in your Raspberry Pi.","archived":false,"fork":false,"pushed_at":"2023-02-16T03:29:11.000Z","size":4248,"stargazers_count":6,"open_issues_count":3,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-14T03:49:31.051Z","etag":null,"topics":["flask","flask-application","iot","iot-application","python","raspberry-pi","websockets"],"latest_commit_sha":null,"homepage":"","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/bergpb.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}},"created_at":"2018-11-18T16:44:10.000Z","updated_at":"2023-03-14T11:55:34.000Z","dependencies_parsed_at":"2023-01-25T10:00:37.100Z","dependency_job_id":null,"html_url":"https://github.com/bergpb/lisapi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bergpb/lisapi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bergpb%2Flisapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bergpb%2Flisapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bergpb%2Flisapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bergpb%2Flisapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bergpb","download_url":"https://codeload.github.com/bergpb/lisapi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bergpb%2Flisapi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30209430,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T05:23:27.321Z","status":"ssl_error","status_checked_at":"2026-03-07T05:00:17.256Z","response_time":53,"last_error":"SSL_read: 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":["flask","flask-application","iot","iot-application","python","raspberry-pi","websockets"],"created_at":"2026-03-07T07:03:41.382Z","updated_at":"2026-03-07T07:03:54.690Z","avatar_url":"https://github.com/bergpb.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"## LisaPi - Flask Application\n\nControl your Raspberry Pi Pins with Flask application.\n\n*Tested in models B+ and 3B+*\n\n\n#### Features:\n- Login\n- Some system info in dashboard (auto update using webockets).\n- Register pins to control.\n- Control state of pins between on/off.\n- PWA Ready.\n\n\n#### Flask modules:\n- Flask-Login\n- Flask-WTF\n- Flask-Migrate\n- Flask-SQLAlchemy\n- Flask-SocketIO\n\n\n#### System requirements:\n```sudo apt install build-essential libssl-dev libffi-dev python3-dev```\n\n\n#### Development (using poetry):\n  1. Clone project,\n  2. Enter in project folder,\n  3. Install dependencies with poetry: ```poetry install```,\n  4. Run migrations: ```flask db init \u0026\u0026 flask db migrate \u0026\u0026 flask db upgrade```,\n  5. Create admin user: ```flask seed```,\n  6. Run project in development mode: ```python wsgi.py```.\n\n\n#### Production:\n  1. [Deploy with Supervisor](https://github.com/bergpb/lisapi/wiki/Deploy-with-Supervisor)\n  2. [Deploy with Nginx](https://github.com/bergpb/lisapi/wiki/Deploy-with-Nginx)\n\n\n#### To do:\n- [x] User login.\n- [x] Save pins in database.\n- [x] Check if pin is disponible before register.\n- [x] Verify if pins exist in Raspberry Pi GPIO.\n- [x] Return system status in dashboard (auto update using websockets).\n- [X] PWA implementation.\n- [ ] User permissions.\n- [ ] Apply Unit Tests.\n- [ ] RestFull Api.\n\n\nSome project images:\n\n![img1.png](./images/img1.png)\n![img2.png](./images/img2.png)\n![img3.png](./images/img3.png)\n![img4.png](./images/img4.png)\n![img5.png](./images/img5.png)\n![img6.png](./images/img6.png)\n![img7.png](./images/img7.png)\n![img8.png](./images/img8.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbergpb%2Flisapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbergpb%2Flisapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbergpb%2Flisapi/lists"}