Based on guckykv/freeathome-go-fahapi
this repository provides you with tools for working with the local API
of the System Access Point 2.0 für Busch-free@home®
(needs at least Access Point Software Version 2.6).
Installation
Clone this repository, install locally at least Go 1.15, call make all
or,
if you want to use the tools on your raspberry pi make all-pi
.
Than you get two commands cmd/fahcli/fahcli
and cmd/fahinflux/fahinflux
.
Or for the raspberry pi cmd/fahcli/fahcli-pi
and cmd/fahinflux/fahinflux-pi
.
Create a config file .fahapi-config.json
. See the template
and put it in your homedir.
fahinflux - Writes all Updates for some Device Types into an InfluxDB
Writes all updates of all RTC, weather station and window sensors to InfluxDB.
Two examples of Grafana dashboards using data persisted by this command:
Room Temperature Controller |
Weather Station |
|
|
See fahinflux.
fahcli - Manage devices via shell command
Very first version of a shell command to make all sorts of operations possible via the f@h API.
See fahcli.
fahvswitch - Example program for handling virtual devices
Small testprogramm for dealing with virtual devices.
The fahvswitch can be used to get all input messages for a virtual switch actuator and send the value back as output message.
So that the state will be shown correctly at the SysAP.
See fahvswitch.