No description
Find a file
2025-10-23 23:30:55 +02:00
arduino Formatting cleanup 2021-03-23 21:54:29 +01:00
external Formatting cleanup 2021-03-23 21:54:29 +01:00
gradle/wrapper Including gradle wrapper 2020-08-28 23:22:29 +02:00
hal-core Implementation of EcoSens Cloud API 2025-10-23 23:29:31 +02:00
plugins Renamed Tibber plugin name 2025-10-23 23:30:55 +02:00
.gitattributes Updated vendore code exclusion as project now shows as majority javascript 2021-06-21 12:19:21 +02:00
.gitignore Added missing NVR files 2022-05-20 13:05:34 +02:00
.gitmodules Adding NexaTellstick code and NexaControl library (as git submodule) 2016-01-19 15:19:55 +01:00
build.gradle Introduction of JS based pages 2024-03-15 00:17:15 +01:00
gradlew Introduction of JS based pages 2024-03-15 00:17:15 +01:00
gradlew.bat Including gradle wrapper 2020-08-28 23:22:29 +02:00
hal.conf.example Added missing plugins to example configuration 2024-03-15 00:04:28 +01:00
hal.service fixed misspelling 2021-09-15 16:29:59 +02:00
Jenkinsfile Updated junit report path 2023-05-15 23:47:08 +02:00
LICENSE.txt Moved find device to its own utility method, and added a specific equals method and reworked some test. 2021-03-23 01:57:12 +01:00
logging.properties Improved MQTT Broker and added overview page 2023-03-26 00:53:39 +01:00
README.md Updated readme with current project state 2024-09-26 00:30:49 +02:00
run.sh Added doc for missing commands 2024-10-01 23:38:21 +02:00
screenshot_01.jpg Updated README.md file 2016-09-23 15:51:40 +02:00
screenshot_02.jpg Updated README.md file 2016-09-23 15:51:40 +02:00
screenshot_03.jpg Updated README.md file 2016-09-23 15:51:40 +02:00
screenshot_04.jpg Updated README.md file 2016-09-23 15:51:40 +02:00
settings.gradle Updated with new Configurator changes and cleaned up imports 2021-05-08 01:41:13 +02:00

Hal

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
  • Google Assistant
  • MQTT Devices

Under development (Not ready to be used yet)

  • Z-Wave

The project is currently in alpha state, and as such things will change and break continuously.

Screenshots

Week Graph

Home Map

Sensor Overview

Event Overview

Installing

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.

Running the tests

The current test coverage is greatly lacking, but to run the available JUnit test-cases run:

./gradlew test

Architecture

 HalAbstractControlerManager
       |
       |             HalAbstractController
       |                   |
       |                   |              HalAbstractDevice
       |                   |                   |
 .-----------.       .------------.       .--------.  
 |           |       |            |       |        |
 |           |       |            | ----> | Device | 
 |           |       |            |       |        |
 |           | ----> | Controller |       '--------'
 |           |       |            |       .--------.  
 |           |       |            |       |        |
 |  Manager  |       |            | ----> | Device | 
 |           |       |            |       |        |
 |           |       '------------'       '--------'
 |           |       .------------.       .--------.  
 |           |       |            |       |        |
 |           | ----> | Controller | ----> | Device | 
 |           |       |            |       |        |
 '-----------'       '------------'       '--------'
         

Authors

  • Daniel Collin
  • Ziver Koc

License

This project is licensed under the MIT License - see the LICENSE.txt file for details

Acknowledgments

  • Tellstick, for open-sourcing their code