Skip to main content

Library for participating in the Eltako Series 14 RS485 bus

Project description

Eltako14Bus Python library

This repository contains a library and some tools for interacting with the Eltako Series 14 bus system, which is an extension to the EnOcean Serial Protocol ESP2.

This is part of the reverse engineering approach that allows using Eltako Series 14 devices without a FAM.

It can work both on a direct RS485 serial connection to the bus, with or without a FAM14 present on the bus, through a FAM14's serial connection, or through a bespoke CoAP interface to the ESP2 protocol.

Tools

The eltakotool program shipped with it can do various raw interactions with the bus (replacing some FAM14 functionality, locking and unlocking the bus, sending arbitrary messages) as well as reading and writing the bus participants' memory (including verification and annotation of the memory contents).

Protocol description

(This is a short version. The long is partially available in the EnOcean and Eltako documentations, and the rest is in the reverse engineered code).

The EnOcean serial protocol is a point-to-point serial protocol between a computer and a radio transceiver; it contains synchronization bytes, some structured data bytes, and checksumming. The most common message formats are RPS and 4BS, which have equivalent messages (with short and long (4 byte) data, respectively) on the radio side. These messages contain some addressing information both when receiving (indicating which device sent it) and when sending through the transceiver (in which case the addresses need to match the address range of the transceiver, giving about 128 possible sending addresses).

The Eltako protocol is loosely built on the ESP2 protocol, but is used on an RS485 bus (with up to 127 participants), and uses several message types that are not defined in ESP2.

Part of the Eltako bus protocol is enumeration: Devices on the bus can be put into an addressing mode, and the bus master (a FAM14 or the library user) can assign one of the 127 available address to the device.

Commands are also known to visually identify devices on the bus, and to read and write their configuration (eg. in a relay, setting which buttons it should react to).

License

This was developed by Christian Amsüss c.amsuess@energyharvesting.at and Energy Harvesting Solutions 2016-2020.

It is published under the terms of GNU LGPL version 3 or later.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eltako14bus-0.0.63.tar.gz (46.9 kB view details)

Uploaded Source

Built Distribution

eltako14bus-0.0.63-py3-none-any.whl (49.7 kB view details)

Uploaded Python 3

File details

Details for the file eltako14bus-0.0.63.tar.gz.

File metadata

  • Download URL: eltako14bus-0.0.63.tar.gz
  • Upload date:
  • Size: 46.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for eltako14bus-0.0.63.tar.gz
Algorithm Hash digest
SHA256 bcbac7690a4d1b95113688b319e848ba04b5df21c42122bb78dee389bde76847
MD5 c88e364b7860afcf0b3872811548c47f
BLAKE2b-256 0ee741f5ee22daa9e0e275c9719f40ef7034aa67438a1315b6088ca10b1ac1f3

See more details on using hashes here.

File details

Details for the file eltako14bus-0.0.63-py3-none-any.whl.

File metadata

  • Download URL: eltako14bus-0.0.63-py3-none-any.whl
  • Upload date:
  • Size: 49.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for eltako14bus-0.0.63-py3-none-any.whl
Algorithm Hash digest
SHA256 7eb490adbbd6c2498feedfc2a99e640a7f36c84ff6cc8d2ed0cac9e06e7cbea4
MD5 5d91d9880d84b4bfe60f44aa32e9a5df
BLAKE2b-256 6b09909fb26422eea4531ccd9258b59c7e93f71470ddbc7075dd3e6cc5fd0a79

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page