Hal is a home automation hub with sensor statistics with the functionality to share that data between friends. It has been developed to be very extensible so future Sensors and other input devices can be supported.
Features:
- Map, Set up a house map with sensors and events mapped on a floorplan
- Triggers and Actions, IFTTT type functionality
- Power;Challenge, Sync power or sensor usage between friends to challenge each other to lower the power usage
- Google Assistant Integration
Currently supported devices:
- Network Scanner, IP scanner to detect devices on local network
- NUT, Linux UPS daemon
- Tellstick, Supported devices:
- NexaSelfLearning
- Oregon0x1A2D
- Raspberry Pi, GPIO connected sensors
- Zigbee
- Temperature Sensors
- Humidity Sensors
- Pressure Sensors
- OnnOff Devices
Under development (Not ready to be used yet)
- Z-Wave
- Google Assistant
- MQTT Devices
The project is currently in alpha state, and as such things will change and break continuously.
To run the Hal server you first need to clone the git repository and then run the gradle command to build and run the server:
./gradlew run
Check hal.conf.example
for available configuration options.
By default, HAL server will be listening to http://localhost:8080.
The current test coverage is greatly lacking, but to run the available JUnit test-cases run:
./gradlew test
HalAbstractControlerManager
|
| HalAbstractController
| |
| | HalAbstractDevice
| | |
.-----------. .------------. .--------.
| | | | | |
| | | | ----> | Device |
| | | | | |
| | ----> | Controller | '--------'
| | | | .--------.
| | | | | |
| Manager | | | ----> | Device |
| | | | | |
| | '------------' '--------'
| | .------------. .--------.
| | | | | |
| | ----> | Controller | ----> | Device |
| | | | | |
'-----------' '------------' '--------'
- Daniel Collin
- Ziver Koc
This project is licensed under the MIT License - see the LICENSE.txt file for details
- Tellstick, for open-sourcing their code