Skip to content

balena-io-experimental/pimoroni-automation-hat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Resin.io + Pimoroni Automation Hat

This is a project to get you started with the Pimoroni Automation Hat and its awesome python library on resinOS and resin.io.

Usage

For resin.io Managed Devices

  1. Provision a device in your application following this Getting Started Guide.
  2. Clone this repository locally and add the resin git remote to the repo.
  3. Run git push resin master and wait for the code to be deployed. The code will build and run, you will hear the relay clicking every 5 seconds.

For Unmanaged ResinOS devices

  1. Follow the ResinOS Getting Started Guide and get your device set up. Make sure you are familiar with rdt and can push a basic container.
  2. Once your resinOS device is showing on the local network, ssh into it doing rdt ssh --host. On the host load up the i2c kernel module by running: modprobe i2c-dev
  3. Clone this repository locally and run rdt push resin.local -s . from the root of the repository folder. The code will build and run, you will hear the relay clicking every 5 seconds.

Releases

No releases published

Packages

No packages published

Languages