{"id":16525503,"url":"https://github.com/andrewn/sensorama","last_synced_at":"2026-06-05T06:31:10.898Z","repository":{"id":27511722,"uuid":"30992415","full_name":"andrewn/sensorama","owner":"andrewn","description":null,"archived":false,"fork":false,"pushed_at":"2015-07-27T12:58:06.000Z","size":30596,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-03T02:24:39.180Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/andrewn.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}},"created_at":"2015-02-18T23:19:21.000Z","updated_at":"2015-06-01T10:35:33.000Z","dependencies_parsed_at":"2022-09-02T09:11:21.825Z","dependency_job_id":null,"html_url":"https://github.com/andrewn/sensorama","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andrewn/sensorama","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewn%2Fsensorama","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewn%2Fsensorama/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewn%2Fsensorama/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewn%2Fsensorama/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrewn","download_url":"https://codeload.github.com/andrewn/sensorama/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewn%2Fsensorama/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33932048,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-05T02:00:06.157Z","response_time":120,"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-10-11T17:03:43.328Z","updated_at":"2026-06-05T06:31:10.883Z","avatar_url":"https://github.com/andrewn.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Sensorama\n====\n\nConnects to a range of sensors via a microcontroller\nbridge and controls a radiodan app.\n\nThe sensors are connected to an [Espruino](http://www.espruino.com/) which connects via USB to a host machine (we use a Raspberry Pi). The Espruino periodically sends the sensor state to the host.\n\n## Requirements\n\n- [mopidy](https://www.mopidy.com/)\n- [Radiodan server](https://github.com/radiodan/radiodan.js)\n- [Radiodan broker](https://github.com/radiodan/broker)\n- [node.js](https://nodejs.org/)\n\n## Installation\n\nFirst [espruino-tools](https://github.com/espruino/espruino-tools) must be installed and the `espruinotool` must be available in the path.\n\nYou can put espruino-tools anywhere on your system:\n\n    cd ~\n    git clone https://github.com/espruino/espruino-tools.git\n    cd espruino-tools\n    sudo npm link\n\nThen install this app:\n\n    git clone https://github.com/radiodan/sensorama.git sensors\n    cd sensors\n    npm link espruino-tools\n    cd ./node_modules/espruino-tools\n    git submodule add https://github.com/espruino/EspruinoTools.git\n    cd ../..\n    npm install\n\n## Programming the Espruino\n\nThe espruino only needs to be programmed once. This program is saved onto the flash memory and will run each time the Espruino is powered up.\n\nThis step requires internet access, since any required modules are downloaded from the espruino website.\n\nTo programme, run the following:\n\n    bin/programmer\n\n## Running\n\n### For development locally\n\nStart the radiodan server and broker. Then run:\n\n    PORT=5000 bin/app\n\n### Starting automatically\n\nCopy the supervisor script into place and enable it:\n\n    cp radiodan-type-sensors.conf /etc/supervisor/available/radiodan-type-sensors.conf\n    sudo radiodan-device-type radiodan-type-sensors.conf\n\n## Which Espruino?\n\nIf ESPRUINO_SERIAL_NUM is set as a env variable or in the `.env` file, the Espruino with that serial number will be searched for and if connected it will be selected.\n\nIf not, all serial ports are searched and the first connected Espruino is selected.\n\n## Pins\n\n### MRC522 RFID\n\n| Pico | MRC 522 |\n|------|---------|\n| B1   | SDA     |\n| B3   | SCK     |\n| B5   | MOSI    |\n| B4   | MISO    |\n| GND  | GND     |\n| VCC  | 3.3V    |\n\n### CAP1188\n\n| Pico   | CAP1188 |\n|--------|---------|\n| Pi GND | GND     |\n| Pi 3V3 | VIN     |\n| B6     | SCK     |\n| B7     | SDA     |\n| B15    | RESET   |\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewn%2Fsensorama","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewn%2Fsensorama","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewn%2Fsensorama/lists"}