Newer
Older
isoheat_MiL-MKR19xx
===================
Simple commandline C-program for readout of ISOHEAT MiL-MKR 19xx heating controllers. The communication is done via Modbus-TCP.
Commandline parameters
----------------------
* -d: enable debugging (mainly modbus datagrams)
* -D `devicename`: connect to remote `devicename` (may be a DNS name or IPv4/v6 address)
* -f: Print all output in InfluxDB line protocol format.
* -L `looptime`: run endlessly in a loop, poll every `looptime` seconds.
* -h: print help and exit.
Examples
--------
### Writing data to InfluxDB through the API:
isoheat_MiL-MKR19xx -D _DEVICENAME_ -f | curl -sS -XPOST -H 'Authorization: Token _TOKEN_' '_INFLUXSERVER_:8086/api/v2/write?org=_ORG_&bucket=_BUCKET_&precision=s' --data-binary @-
Please replace all the _PLACEHOLDERS_ in above example with the proper values for your environment.
Dependencies
------------
* libmodbus 3.1.6 <https://libmodbus.org>
Authors
--------
* [Michael Lestinsky](http://web-docs.gsi.de/~lestinsk)
for the [GSI Atomic Physics department](http://www.gsi.de/ap)
and the [CRYRING@ESR project](http://www.gsi.de/cryring)