Giter Site home page Giter Site logo

metro-resin's Introduction

Metrotaulu Python on ResinOS

** requires update to balenaOS (resinOS follower) **

This is metro display control on the Rasperry Pi using Python with ResinOS

The serial device should be mounted to "/dev/ttyUSB0" Please see http://sooda.dy.fi/2013/3/29/omaa-tekstia-metronayttoihin/ and https://github.com/sooda/metro_station_display for more info on circuit design. And for me only working adapter was: http://www.aten.com/global/en/products/usb-&-thunderbolt/usb-converters/uc232a/

Some guides: https://resinos.io/docs/raspberry-pi/gettingstarted/

Some info: https://runnable.com/docker/python/dockerize-your-python-application

Image for the development machine: https://hub.docker.com/r/resin/raspberry-pi-python/

Systemd is somehow related to relaunch of the app: https://en.wikipedia.org/wiki/Systemd http://www.diegoacuna.me/how-to-run-a-script-as-a-service-in-raspberry-pi-raspbian-jessie/ But all you need is (in Dockerfile): ENV INITSYSTEM on

All you need to do is :

  • clone this repo locally
  • get .cache-«username» -file by running spotipy.util.prompt_for_user_token with computer using browser for the first time
  • connect 'serial converted to USB on RPI0W with ResinOS' in cardslot
  • add the resin to development machine
  • sudo resin local push «devname».local -f --source .
    • debugging: ssh root@«devname».local -p22222
  • enjoy the timely info on the display...
  • my devname: metroresin

metro-resin's People

Contributors

laurivaltteri avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.