Skip to content

Releases: ssalonen/openhab1-addons

modbus-timeout-pr-2016-09-07

07 Sep 17:10
Compare
Choose a tag to compare
Pre-release

modbus-error-detection-pr-2016-08-08

08 Aug 09:18
Compare
Choose a tag to compare
Pre-release

See issue openhab#4552 in openhab

New slave configuration parameter postundefinedonreaderror (default false) to emit Undefined whenever read fails.

pooling-pr-20160517-rebase-utc-fix

16 Jul 11:27
Compare
Choose a tag to compare
Pre-release

Same as dynamodb-pr-v1-rebased-2016-07-16 but with 9e6adab (timezone fix)

Precompiled version of dynamodb persistence addon for openhab 1

Docs: https://github.com/openhab/openhab/wiki/Amazon-DynamoDB-Persistence

PR: openhab#4542

dynamodb-pr-v1-rebased-2016-07-16

16 Jul 10:40
Compare
Choose a tag to compare
Pre-release

Same as dynamodb-pr-v1 but rebased against upstream master @ 2016-07-16

Precompiled version of dynamodb persistence addon for openhab 1

Docs: https://github.com/openhab/openhab/wiki/Amazon-DynamoDB-Persistence

PR: openhab#4542

DynamoDB openhab persistence addon

16 Jul 10:29
Compare
Choose a tag to compare
Pre-release

Precompiled version of dynamodb persistence addon for openhab 1

Docs: https://github.com/openhab/openhab/wiki/Amazon-DynamoDB-Persistence

serial-reconnect-v1

11 Jul 18:45
Compare
Choose a tag to compare
serial-reconnect-v1 Pre-release
Pre-release

Test version of modbus binding which re-configures serial port after every transaction

Not really working.

modbus-pooling-pr

17 May 20:02
Compare
Choose a tag to compare
modbus-pooling-pr Pre-release
Pre-release

See openhab#4226

This corresponds to the rebased version done 2016-05-17

DynamoDB persistence addon preview version v0.1

17 Apr 15:26
Compare
Choose a tag to compare

PLEASE NOTE THAT THIS IS OLD VERSION SEE PULL REQUEST FOR UP-TO-DATE VERSION

Preview version of DynamoDB persistence addon for openhab. Currently supports only storing value (no querying).

Disclaimer: Please note that the Amazon services might cost you something. I take no responsibility what happens to your amazon account with this addon, please use with your own risk!

  1. Sign up for Amazon AWS
  2. Create user for openhab with IAM
    2.a Services -> IAM -> Users -> Create new Users -> (User names: openhab, keep Generate an access key for each user checked) -> Create
    2.b. Show User Security Credentials and store record the keys
  3. Configure user policy to have access for dynamodb
    3.a. Open Services -> IAM -> Policies
    3.b. Check AmazonDynamoDBFullAccess and click Policy actions -> Attach
    3.c. Check the user created in step 2 and click Attach policy
  4. configure openhab using openhab.cfg:
    ini dynamodb:accessKey=foo dynamodb:secretKey=bar dynamodb:region=eu-west-1

Finally, configure addon as other persistence addons using dynamodb.persist file.

The read & write capacity default to 1 for minimum costs. You can override them with readCapacityUnits and writeCapacityUnits configuration parameters.

The persistence plugin creates all the necessary dynamodb tables to store the items. Currently we have several tables, one for each item type (string, integer, date, and bigdecimal)

modbus-pooling-pr (old)

26 Mar 11:25
Compare
Choose a tag to compare
Pre-release

modbus-pooling-test-version-6

16 Mar 06:23
Compare
Choose a tag to compare
Pre-release

Changes

functionality

  • TCP modbus: configurable re-connection period. Default remains the same: connection is still disconnected after every transaction
  • serial end points: end points are considered same if they have the same port name. Previously other parameters mattered (e.g. baud rate)
  • interpretation of inter transaction delay change: now we ensure certain duration between response and the next request. Before we ensured certain duration between consecutive requests (even though slave response might have just ended).

code

  • rebased codebase
  • merged with modbus binding test suite
  • heavy documentation

logging

  • warn level logging if several modbus slaves have same endpoint but different parameters
  • info level log of parsing results in the beginning

Example TCP configuration (poll 5ms, 100ms delay between transactions)

modbus:poll=5

modbus:tcp.slave1.connection=192.168.1.100:502:100
modbus:tcp.slave1.type=holding
modbus:tcp.slave1.length=3

modbus:tcp.slave2.connection=192.168.1.100:502:100
modbus:tcp.slave2.type=holding
modbus:tcp.slave2.length=2


modbus:tcp.slave3.connection=192.168.1.100:502:100
modbus:tcp.slave3.type=holding
modbus:tcp.slave3.length=2

Example serial configuration (poll 5ms, 280ms read timeout, 100ms delay between transactions)

modbus:poll=5

#agsBus-Master
modbus:serial.agsBusMasterHolding.connection=/dev/ttyS0:38400:8:none:1:rtu:280:100
modbus:serial.agsBusMasterHolding.id=247
modbus:serial.agsBusMasterHolding.start=42
modbus:serial.agsBusMasterHolding.length=14
modbus:serial.agsBusMasterHolding.type=holding