{"id":16403130,"url":"https://github.com/don/ninja-thing","last_synced_at":"2025-08-24T19:32:35.738Z","repository":{"id":12328299,"uuid":"14966372","full_name":"don/ninja-thing","owner":"don","description":"Send temperature and humidity data from Ninja Blocks to The Thing System via TSRP","archived":false,"fork":false,"pushed_at":"2014-01-05T04:54:02.000Z","size":356,"stargazers_count":7,"open_issues_count":5,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-02-15T20:57:06.801Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/don.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-12-05T21:33:22.000Z","updated_at":"2016-10-12T03:24:31.000Z","dependencies_parsed_at":"2022-09-07T16:41:22.349Z","dependency_job_id":null,"html_url":"https://github.com/don/ninja-thing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/don%2Fninja-thing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/don%2Fninja-thing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/don%2Fninja-thing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/don%2Fninja-thing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/don","download_url":"https://codeload.github.com/don/ninja-thing/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248281425,"owners_count":21077423,"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":[],"created_at":"2024-10-11T05:48:19.469Z","updated_at":"2025-04-10T19:44:29.300Z","avatar_url":"https://github.com/don.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Ninja Blocks driver for The Thing System\n\nSend temperature and humidity data from [Ninja Blocks](http://ninjablocks.com/pages/home) to [The Thing System](http://thethingsystem.com/) via [TSRP](http://thethingsystem.com/dev/Thing-Sensor-Reporting-Protocol.html).\n\n### Prerequisite\n\nThis driver requires newer APIs an only runs on Ninja Blocks greater than version 1.1.5. As of December 5, 2013 this means you need to run on the develop branch. See Ninja Blocks post about [setting up a development environment](http://ninjablocks.com/blogs/how-to/7195176-hack-like-a-ninja-blocks-developer).\n\nHere's what I did for my Ninja Block\n\nssh to ninja block\n\n    $ sudo stop ninjablock\n    $ cd /opt\n    $ mv ninja ninja-original\n    $ git clone git://github.com/ninjablocks/client.git ninja\n    $ git checkout develop\n    $ ./bin/install.sh\n    $ sudo start ninjablock\n\nIf you'd rather not upgrade your ninjablock, you can check out this node script that polls the ninja cloud https://gist.github.com/don/7815374.\n \n### Installing\n\nssh to your ninja block\n\n    $ cd /opt/ninja/drivers\n    $ git clone https://github.com/don/ninja-thing.git\n    \nRestart the Ninja Block\n\n    $ sudo stop ninjablock\n    $ sudo start ninjablock\n\nAfter the driver is installed, you should see the Ninja Block Temperature and Humidity Sensors in The Thing System.\n\n![alt text](https://github.com/don/ninja-thing/raw/master/ninjablock.png \"Ninja Blocks\")\n\n![alt text](https://github.com/don/ninja-thing/raw/master/thethingsystem.png \"The Thing System\")\n\n(c) 2013 Don Coleman\n\nLicense [BSD](LICENSE.txt)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdon%2Fninja-thing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdon%2Fninja-thing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdon%2Fninja-thing/lists"}