Comments (4)
Hi Mathieu
I'll try to reproduce this issue so I can get it fixed. As I understand you're trying to build the image on the raspberry pi. Which OS are you running on the raspberry pi?
I haven't built the image on the raspberry pi yet. In the short term you might be able to work around this by building the binary on another machine and copying it to the raspberry pi. The following steps I have tested on 64 bit architecture on both mac os and linux (ubuntu).
docker run --rm -v "$PWD":/go/src/gogo-garage-opener -w /go/src/gogo-garage-opener gogo-garage-opener-builder:latest
- Copy the output
gogo-garage-opener
binary file to the raspberry pi. - Run on raspberry pi
gogo-garage-opener -s 15 -r 18 -db /var/gogo-garage-opener/gogo-garage-opener.db
. (`-s should be set to the gpio for the magnetic switch, -r should be set to the gpio for the relay)
I will find some time this evening to look at building the binary on the raspberry pi.
Hope this helps.
Ben
from gogo-garage-opener.
I have build it on Linux and tonight I'll copy the binary to my raspberry and try to run it!
from gogo-garage-opener.
Hi Ben, I have copy the binary on the raspberry and looks like it works great!! Thank you for the precision!!
from gogo-garage-opener.
Great to hear Mathieu.
I have tried to clarify some of the details in the readme. If you spot anything that you think could be clarified feel free to raise a pull request 👍
If you get anymore problems going forward or have any feedback it would be great to hear from you again.
As for now I think I will close this issue.
from gogo-garage-opener.
Related Issues (11)
- Need ability to list all one time pins
- Refactor auth0 setup to be configuration driven
- Fix docker build
- Revoke one time pins
- Configure notification after an amount of time after the garage has been opened but not closed HOT 1
- Dependabot can't resolve your Go dependency files
- Unable to authenticate HOT 2
- Replace package satori/go.uuid HOT 1
- Document auth0 setup
- Rewrite readme using pi zero
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gogo-garage-opener.