Sign inSign up

opaal/bco-app-adhoc

By opaal

•Updated over 5 years ago

BCO Rule Learner

Image
0

390

opaal/bco-app-adhoc repository overview

⁠Adhoc

This BCO App can be used to learn individual automation rules from humans manual control behavior. The internally used logic inductive programming rule learner is called Aleph and is implemented in Prolog. Adhoc can be deployed to any bco node. As requirement, the app needs permission to read all your unit states in order to perform the training.

⁠Build docker image

docker build .

⁠Installation

⁠Via Docker
sudo docker run \
    --name bco-app-adhoc \
    --net=host \
    --volume /etc/localtime:/etc/localtime:ro \
    --volume /etc/timezone:/etc/timezone:ro \
    --volume bco_data:/home/bco/data \
    --detach \
    --env USER_ID=$(id -u bco) \
    --env GROUP_ID=$(getent group bco | cut -d: -f3) \
    --restart=always \
    -t \
    opaal/bco-app-adhoc:latest
⁠Via Sourcecode
  1. Install Prolog SWI
  2. Install Aleph (Rule Learner Engine)
    • after Prolog is installed, aleph can be installed via the swi package manager by executing swipl -g 'pack_install('aleph'), halt.'
  3. Install Adhoc (BCO Adaptive Home Control)
    • switch into the project folder and execute ./install.sh
  4. Start Adhoc
    • After Adhoc is installed to ${prefix}/bin and this directory is registered in your $PATH variable (echo $PATH) you should be able to start Adhoc via bco-app-adhoc.

Tag summary

Content type

Image

Digest

Size

422.6 MB

Last updated

over 5 years ago

docker pull opaal/bco-app-adhoc