This project is under construction.
About HomePi
HomePi (SmartHome) is a web api application that works with raspberry pi and relay boards to control GPIO pins!
Features
- 🚀 Custom accessories support
- 🎉 Built with Golang, gRPC protobuffers
- 🥭 mongoDB
Build the docker image
docker build . --tag=homepi-gRPC-service
Run the docker image
docker run --restart always -dp 55283:55283 --device /dev/ttyAMA0:/dev/ttyAMA0 --device /dev/mem:/dev/mem --privileged homepi-gRPC-service
docker-compose.yml file
version: '3'
services:
grpc:
build:
context: ./gRPC-service
container_name: homepi.grpc
ports:
- 55283:55283
restart: always
devices:
- /dev/ttyAMA0:/dev/ttyAMA0
- /dev/mem:/dev/mem
privileged: true
networks:
- homepi
networks:
homepi:
driver: bridge
- then run
docker-compose up -d
and you're ready to go:)
Contributing
Thank you for considering contributing to the HomePi project!
License
The HomePi is open-source software licensed under the MIT license.