Skip to content

cniweb/balena-python-blinkt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

balena BLINKT(!)

balena BLINKT!

RESTful API for controlling a Raspberry Pi with a BLINKT(!) board attached over balena cloud.

Hardware required

  • Raspberry Pi 3 or 4
  • Pimoroni BLINKT(!) board
  • A 4GB or greater micro SD card (We always recommend SanDisk Extreme Pro SD cards)
  • Power supply

Software required

Setup and use

To run this project is as simple as deploying it to a balenaCloud application, no additional configuration is required.

Setup the device

  • Sign up for or login to the balenaCloud dashboard
  • Create an application, selecting the correct device type for your Raspberry Pi
  • Add a device to the application, enabling you to download the OS
  • Flash the downloaded OS to your SD card with balenaEtcher
  • Power up the board and check it's online in the dashboard

One Click Deployment

You can deploy this server with one click with the button below. Or, you can follow the manual deployment instructions in the next section.

Deploy with balena

Manually Deploy this application

  • Install the balena CLI tools
  • Login with balena login
  • Download this project and from the project directory run balena push <appName> where <appName> is the name you gave your balenaCloud application in the first step.

Usage instructions

You can use the public device URL from your device for controlling the BLINKT(!) board.

Examples

Turn all lights on:

https://***.balena-devices.com/on

Turn all lights off:

https://***.balena-devices.com/off

Turn all lights red:

https://***.balena-devices.com/red

Turn all lights yellow:

https://***.balena-devices.com/yellow

Turn all lights green:

https://***.balena-devices.com/green

About

RESTful API for controlling a Raspberry Pi with a Blinkt(!) board attached over balena cloud

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages