Build gateway 2.0.0 on rpi3



  • Hi
    I need build gateway on RPI but build version 2.0.0
    How i can start it with git clone ? What is command git clone for ver 2.0.0


  • Mod

    @pepson git clone ... as usual. Then:

    git checkout 2.0.0
    

    and proceed with the normal instructions (./configure ...)

    Is there a reason you want to use the old version?



  • Becuase Home Assistan not support newer version... only 1.4, 1.5 and 2.0



  • @mfalkvidd said in Build gateway 2.0.0 on rpi3:

    git checkout 2.0.0

    But next problem

    pi@hassbian:~/MySensors $ git checkout 2.0.0
    Note: checking out '2.0.0'.
    
    You are in 'detached HEAD' state. You can look around, make experimental
    changes and commit them, and you can discard any commits you make in this
    state without impacting any branches by performing another checkout.
    
    If you want to create a new branch to retain commits you create, you may
    do so (now or later) by using -b with the checkout command again. Example:
    
      git checkout -b <new-branch-name>
    
    HEAD is now at 0183b76... Merge pull request #505 from fallberg/master
    pi@hassbian:~/MySensors $ ./configure --my-transport=rfm69 --my-rfm69-frequency=868 --my-is-rfm69hw --my-gateway=ethernet --my-port=5003
    -bash: ./configure: No such file or directory
    

  • Mod

    @pepson ah, yes. The Raspberry Pi gateway did not exist until 2.1.0. Sorry.

    But if Home Assistant only checks version number, maybe you can fake the version number and use the 2.2.0 release anyway?


  • Mod

    (check out 2.2.0, modify the version number in core/Version.h, configure and make and see if that fools Home Assistant)


 

388
Online

7.6k
Users

8.5k
Topics

91.3k
Posts