Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

Kreck-Projekt/RaspiOpener_old

Repository files navigation

RaspiOpener

Open source project to remotely operate electronic door openers. You need to connect a raspberry pi (zero?) with a relay to the normal button that you use. The App to use with it is "DoorOpenerApp"

Installation Guide:

Install "RaspiOpener" "sudo java -jar AliveKeeper.jar" in new screen

  • flash sd card with RaspberryOS Lite (https://www.raspberrypi.org/software/operating-systems/)

  • copy your wpa-supplicant.conf and the ssh file on the boot partition Thats how the wpa-supplicant.conf file could look:

    country=[insert your country code here without the square brackets]
    update_config=1
    ctrl_interface=/var/run/wpa_supplicant
    
    network={
    ssid="MyTestNetwork"
    psk="Password"
    }
  • install all required packages:

    sudo apt-get install openjdk-8-jdk -y & sudo apt-get install wiringpi -y & sudo apt-get install screen -y & sudo apt-get install git -y
  • download the installer

    wget https://github.com/Kreck-Projekt/PiInstaller/releases/download/V1.0/installer.sh
  • making the installer executable

    chmod +x installer.sh
  • run the installer

    ./installer.sh
  • create a new screen and execute the AliveKeeper.jar

    screen -S RaspiOpener
    sudo java -jar AliveKeeper.jar

    To exit hit Ctrl + A and then d

  • now install the app and go through the init process in the app.(only android)
    Download Link: https://github.com/Kreck-Projekt/DoorOpenerApp/releases/download/v1.0/door-opener-release.apk

  • If the initializing was succesful you should now open port 5000 in your network.

  • After that change the IP-Addres in the app You can look up your public ip here: https://whatismyipaddress.com

    !Warning! After the reboot you must redo the last step

Developer Notes:

Command syntax:

Store Key: k:'key'
Store Password: p:('hash');'nonce'
Change Password: c:('oldHash';'newHash');'nonce'
Set new OTP: "s:('otp';'hash');'nonce'
Use OTP: e:'otp';'time'
Open: o:('hash';'time');'nonce'
Reset: r:('hash');'nonce'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages