Giter Club home page Giter Club logo

balena-wifi-connect-example's Introduction

balena-wifi-connect-example

License

Example application to demonstrate wifi-connect

This example is written in python, consisting of an RPi3 and a Display-O-Tron HAT to provide visual feedback.

The Dockerfile is split into two sections; the first section is for resin-wifi-connect and the second is for the Display-O-Tron HAT. This provides a good idea of the correct way to combine the balena-wifi-connect Dockerfile and your app's Dockerfile into one.

The start script has been modifed to run this example app both before and after running balena-wifi-connect. This provides both visual feedback on the connection status and a good idea of the correct way to integrate the balena-wifi-connect start script into your app.

The first image shows the Display-O-Tron HAT when no configured connection has been found and the second image shows what happens once a connection has been configured and successfully connected.

Not connected Connected

balena-wifi-connect-example's People

Contributors

chrisys avatar jbaldwinroberts avatar majorz avatar tryum avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

balena-wifi-connect-example's Issues

Random behaviour

I'm getting a random behavious where the AP is not always turned on if the device doesnt have a connection.

Whenever I do have an Ethernet based connection, I constantly get this error:

Clear disabled
{ Error: No introspectable at /usr/src/app/resin-wifi-connect/node_modules/dbus/lib/bus.js:101:15
cause: Error: No introspectable at /usr/src/app/resin-wifi-connect/node_modules/dbus/lib/bus.js:101:15, isOperational: true }

I'm working on a RPi 3 on a node project.

Upgrade to WiFi Connect v4

We need to update the code of this example application to use WiFi Connect v4, since it contains breaking changes and the current example application is not compatible with it.

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.