Skip to content

balena-io-experimental/pimoroni-enviro-phat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Resin.io + Pimoroni Enviro pHat

This is a project to get you started with the Pimoroni Enviro pHat and its awesome [python library][py-envirophat] 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