{"id":26285879,"url":"https://github.com/stesel/mandarin-home-pi","last_synced_at":"2026-04-04T22:33:02.354Z","repository":{"id":149984063,"uuid":"277254643","full_name":"stesel/mandarin-home-pi","owner":"stesel","description":"Smart water supplier for home plants based on raspberry pi.","archived":false,"fork":false,"pushed_at":"2023-07-14T23:18:04.000Z","size":3312,"stargazers_count":2,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-20T03:04:00.200Z","etag":null,"topics":["express-js","fauna-db","mobx","raspberry-pi-camera","raspberry-pi-gpio","react-js","typescript","web-sockets","webpack"],"latest_commit_sha":null,"homepage":"https://mandarin-home-test.herokuapp.com/","language":"TypeScript","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/stesel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-05T07:43:24.000Z","updated_at":"2022-10-03T10:00:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"81259df6-c1d7-4e0e-9780-93d08a989449","html_url":"https://github.com/stesel/mandarin-home-pi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stesel/mandarin-home-pi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stesel%2Fmandarin-home-pi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stesel%2Fmandarin-home-pi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stesel%2Fmandarin-home-pi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stesel%2Fmandarin-home-pi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stesel","download_url":"https://codeload.github.com/stesel/mandarin-home-pi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stesel%2Fmandarin-home-pi/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260868849,"owners_count":23074959,"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":["express-js","fauna-db","mobx","raspberry-pi-camera","raspberry-pi-gpio","react-js","typescript","web-sockets","webpack"],"created_at":"2025-03-14T19:50:19.410Z","updated_at":"2026-04-04T22:33:02.340Z","avatar_url":"https://github.com/stesel.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Node CI](https://github.com/stesel/mandarin-home-pi/workflows/Node%20CI/badge.svg?branch=master)\n# mandarin-home-pi\n\n[Video](https://www.youtube.com/watch?v=7qVixwESHIk)  \n[![mandarin home pi video](https://img.youtube.com/vi/7qVixwESHIk/0.jpg)](https://www.youtube.com/watch?v=7qVixwESHIk \"video\")\n\n[Demo](https://mandarin-home-test.herokuapp.com/)  \n*Password: 0000*\n\n## Backend env\n`SECRET_PHRASE_CLIENT`\n`SECRET_PHRASE_PI`\n`DB_SECRET_PI`\n`PI_MODE`\n\n## Pi env\n`WS_HOST_PI`\n`SECRET_PHRASE_PI`\n\n## Set Pi env\n```\nexport ENV_VAR=\"value\" \u003e\u003e ~/.bashrc\nsource ~/.bashrc\necho ENV_VAR\n```\n\n## Install Pi App\n```\nwget -O mandarin-home-pi.js url/mandarin-home-pi.js --show-progress\npm2 start ./mandarin-home-pi.js\npm2 startup systemd\npm2 save\n\n#reload env vars\npm2 reload all --update-env\n```\n\n## Find Pi in local network\n```\narp -na | grep \"PI MAC\" | grep -E -o \"192.168.0.[0-9]{1,3}\"\n```\n\n## Camera setup\nhttps://www.raspberrypi.org/documentation/usage/camera/installing.md\n\n## GPIO\nhttp://wiringpi.com/\n```\ngpio -g mode 4 output\ngpio -g blink 4\nor\ngpio -g write 4 1 (to turn it on)\ngpio -g write 4 0 (to turn it off)\n```\n\n## PM2\n```\nwget -qO- https://getpm2.com/install.sh | bash\n```\n\n### LICENSE\n\n[MIT License](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstesel%2Fmandarin-home-pi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstesel%2Fmandarin-home-pi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstesel%2Fmandarin-home-pi/lists"}