Skip to content

Checks if the phone connected to WiFi and will trigger an eWeLink unlock

Notifications You must be signed in to change notification settings

yashghatti/building-access-service

Repository files navigation

building-access-service

API service to toggle ewelink door switch over LAN


Run/Debug

npm start

Build

docker build -t building-access-service --no-cache .
docker rm $(docker ps -aqf "name=building-access-service") -f
docker run -p 2222:8080 --name building-access-service --restart=always --detach building-access-service

Usage

To lock building entrance

<URL>/toggle-entry-switch?state=off

To unlock building entrance

<URL>/toggle-entry-switch?state=on

About

Checks if the phone connected to WiFi and will trigger an eWeLink unlock

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published