{"id":23520580,"url":"https://github.com/eldemcan/pi-mote-ruby","last_synced_at":"2026-04-25T12:35:16.766Z","repository":{"id":54507873,"uuid":"118376772","full_name":"eldemcan/pi-mote-ruby","owner":"eldemcan","description":"Energenie Pi-mote ruby api for Raspberry Pi","archived":false,"fork":false,"pushed_at":"2021-02-14T22:16:14.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-24T18:23:45.782Z","etag":null,"topics":["iot","raspberry-pi","raspberry-pi-gpio","raspberry-pi-library","ruby"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/eldemcan.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}},"created_at":"2018-01-21T21:46:21.000Z","updated_at":"2023-03-04T07:52:56.000Z","dependencies_parsed_at":"2022-08-13T18:10:25.997Z","dependency_job_id":null,"html_url":"https://github.com/eldemcan/pi-mote-ruby","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eldemcan%2Fpi-mote-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eldemcan%2Fpi-mote-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eldemcan%2Fpi-mote-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eldemcan%2Fpi-mote-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eldemcan","download_url":"https://codeload.github.com/eldemcan/pi-mote-ruby/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239207403,"owners_count":19599966,"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":["iot","raspberry-pi","raspberry-pi-gpio","raspberry-pi-library","ruby"],"created_at":"2024-12-25T16:14:28.511Z","updated_at":"2026-04-25T12:35:11.721Z","avatar_url":"https://github.com/eldemcan.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pi Mote ruby\nEnergenie [Pi-mote](https://energenie4u.co.uk/catalogue/product/ENER002-2PI) ruby api for Raspberry Pi.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'pi_mote'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install pi_mote\n\n# Dependency\n\nYou need to install [rpi gpio](https://github.com/ClockVapor/rpi_gpio) library.\nIf you encounter problems related with permissions you can change ownership of `/dev/gpiomem` folder with `sudo chown root.gpio /dev/gpiomem\nsudo chmod g+rw /dev/gpiomem` chmod one will give write permissions.\n\n# Usage\n\n```ruby\nsc = PiMote::Sockets.new\nsc.switch_on(socket_number)\nsc.switch_off(socket_number)\n\nsc.switch_on # all sockets on\nsc.switch_off # all sockets on\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/pi_mote. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the PiMote project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/celdem/pi_mote/blob/master/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feldemcan%2Fpi-mote-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feldemcan%2Fpi-mote-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feldemcan%2Fpi-mote-ruby/lists"}