Giter Site home page Giter Site logo

Comments (4)

benjefferies avatar benjefferies commented on May 28, 2024

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).

  1. docker run --rm -v "$PWD":/go/src/gogo-garage-opener -w /go/src/gogo-garage-opener gogo-garage-opener-builder:latest
  2. Copy the output gogo-garage-opener binary file to the raspberry pi.
  3. 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.

matgenois avatar matgenois commented on May 28, 2024

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.

matgenois avatar matgenois commented on May 28, 2024

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.

benjefferies avatar benjefferies commented on May 28, 2024

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)

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.