{"id":18583729,"url":"https://github.com/rehne/coffeefy","last_synced_at":"2025-06-29T07:37:57.386Z","repository":{"id":42693178,"uuid":"59118632","full_name":"rehne/coffeefy","owner":"rehne","description":"the Senseo whisperer","archived":false,"fork":false,"pushed_at":"2023-03-05T15:06:34.000Z","size":92460,"stargazers_count":8,"open_issues_count":4,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-11T00:35:14.818Z","etag":null,"topics":["coffee","iot","node","python","raspberrypi"],"latest_commit_sha":null,"homepage":"http://rehne.github.io/coffeefy/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rehne.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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}},"created_at":"2016-05-18T13:35:31.000Z","updated_at":"2020-10-30T13:51:02.000Z","dependencies_parsed_at":"2024-11-07T00:25:42.582Z","dependency_job_id":"456eb5ea-48f1-4d61-9e4b-0c900eb4fc60","html_url":"https://github.com/rehne/coffeefy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rehne/coffeefy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rehne%2Fcoffeefy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rehne%2Fcoffeefy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rehne%2Fcoffeefy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rehne%2Fcoffeefy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rehne","download_url":"https://codeload.github.com/rehne/coffeefy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rehne%2Fcoffeefy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262558552,"owners_count":23328557,"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":["coffee","iot","node","python","raspberrypi"],"created_at":"2024-11-07T00:24:18.727Z","updated_at":"2025-06-29T07:37:57.371Z","avatar_url":"https://github.com/rehne.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# coffeefy\n\n## Description\n\nCoffeefy let you control a coffee maker via the Internet using a RESTful API provided by an express.js-server. However, this system isn't reliable yet and should run under supervision.\n\n## System architecture\n![Systemarchitektur](https://cdn.rawgit.com/rehne/coffeefy/b97ae538/docs/Architekturdiagram%20IoT%203.0.svg)\n## Used hardware\n\n- Raspberry Pi 3\n- Senseo 7810 Coffee Machine\n- HC-SR04 Ultrasonic Sensor\n- 3 Relays\n- 2 Resistors(680Ohm/1kOhm)\n- minor small parts (optional breadboard, wires etc.)\n\n## Installation\n- clone repository\n- navigate to ./node\n- run `npm install` to install the dependencies\n- To start the webserver, run: `nodemon app` or `node ./bin/www`\n- open `http://localhost:3000` in your browser\n\nYou can run Coffeefy as a daemon service using \"forever\". (see below)\nAfter Installation you can start the node.js server by running `forever start ./bin/www`.\nTo see what's going on, determine the logfile path by running `forever list` and run\n`tail -f \u003clogfilepath\u003e`\n\n(Instructions for running `ultrasonic.py` in background)\n\n\n## Required Python libraries\n- RPi.GPIO via `sudo apt-get install rpi.gpio`\n- paho-mqtt via `pip install paho-mqtt`\n\n## Useful node.js modules and other ressources\n- [mqtt.js](https://github.com/mqttjs/MQTT.js)\n- [python-shell](https://github.com/extrabacon/python-shell)\n- [Correct usage of GPIO.cleanup()](http://raspi.tv/2013/rpi-gpio-basics-3-how-to-exit-gpio-programs-cleanly-avoid-warnings-and-protect-your-pi)\n- Running a node js server.. [forever(Github-Repo)](https://github.com/foreverjs/forever)\n- [nodemon](http://nodemon.io/) monitors for any changes in source, restarts the server automatically if necessary.\n\n\n\n\n## Troubleshooting\n- Installing paho-mqtt causes an error. Missing \"Python.h\"? → Install the python developer package via `apt-get install python2.7-dev`.\n- `node app.js` results in a crash. → \u003cs\u003eI dunno Y,  just install `nodemon` via npm.\u003c/s\u003e →  `node ./bin/www`\n\n\n## Authors\n[Vanakh Chea](https://github.com/kanonenfutter/), [Alexander Thürling](https://github.com/revanjin), [René Honnen](https://github.com/rehne), [Christian Krenn](https://github.com/Cuhater/)\n\n## License\n\n[GNU](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frehne%2Fcoffeefy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frehne%2Fcoffeefy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frehne%2Fcoffeefy/lists"}