Variant of the HomeRemote home automation dashboard, that is only accessible from the local network.
Create a docker-compose.yml with:
services:
at-home-remote:
image: ghcr.io/mdvanes/at-home-remote:main
volumes:
- ./data:/usr/src/app/data
- ./.env:/usr/src/app/.env
restart: unless-stopped
nginx:
image: nginx:latest
ports:
- 3044:443
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
- ./certs:/etc/nginx/certs
- ./auth:/etc/nginx/auth
restart: unless-stopped
Set up a .env
file based on the example file in this repo.
Create certs:
mkdir -p certs
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout ./certs/nginx.key -out ./certs/nginx.crt
Create basic authentication user:
mkdir -p auth
htpasswd -c ./auth/.htpasswd <USERNAME>
Copy nginx.conf from this repo to the dir where the docker-compose.yml is.
start with docker-compose up -d
The Kronaby app can't use webhooks with (self signed) https nor with basic authentication. So in that case use:
Create a docker-compose.yml with:
services:
at-home-remote:
image: ghcr.io/mdvanes/at-home-remote:main
ports:
- 3044:3000
volumes:
- ./data:/usr/src/app/data
- ./.env:/usr/src/app/.env
restart: unless-stopped
start with docker-compose up -d
npm i
npm run build
npx dotenvx run -- node dist/analog/server/index.mjs
This project was generated with Analog, the fullstack meta-framework for Angular.
Run npm install
to install the application dependencies.
Run npm start
for a dev server. Navigate to http://localhost:5173/
. The application automatically reloads if you change any of the source files.
Run npm run build
to build the client/server project. The client build artifacts are located in the dist/analog/public
directory. The server for the API build artifacts are located in the dist/analog/server
directory.
Run npm run test
to run unit tests with Vitest.
- Visit and Star the GitHub Repo
- Join the Discord
- Follow us on Twitter
- Become a Sponsor
- http://localhost:5173/api/v1/hello
- https://hookdeck.com/webhooks/guides/complete-guide-to-webhook-security
// NOTE: http://192.168.0.8:3044/api/webhooks/homesec/toggle