Skip to content

Commit

Permalink
Merge pull request #8 from onIon-Energy/fgw14-communication
Browse files Browse the repository at this point in the history
This pull requests makes the library work with communications over the FGW14-USB gateway.

A refactoring of the code was done by @JBosecker (thanks for your contribution).
Changes:
* Removed functions for locking, unlocking, creating devices etc. , as not possible with the FGW14.
The functions were used to communicate on the Eltako bus via USB on the FAM14, but this was not a use case that Eltako designed for. Just an example: If you lock the bus and unlock it again, all current states of the actors are dismissed (like the current scene for FSB14).
* CoAP: not sure these functions were working, and these were not fundamentally needed for the library to function.
* Added message types, because they were needed for the communication (1BS).
* "device" elements not necessary anymore.
* Reimplemented the EEP functions to interpret and create messages based on the official EnOcean documentation and other implementation (e.g. FHEM).
  • Loading branch information
michaelpiron authored May 17, 2023
2 parents 71e3f35 + 9630150 commit e3ac7dc
Show file tree
Hide file tree
Showing 12 changed files with 792 additions and 1,510 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
eltatakobus Python library
eltako14bus Python library
==========================

This repository contains a library and some tools for interacting with the Eltako Series 14 bus system,
Expand All @@ -7,10 +7,7 @@ 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.
It can work both on a direct RS485 serial connection to the bus, or through the FGW14-USB communication gateway.

Tools
-----
Expand Down Expand Up @@ -49,6 +46,10 @@ and to read and write their configuration (eg. in a relay, setting which buttons
License
-------

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

This package was initially developed by Christian Amsüss <c.amsuess@energyharvesting.at> and Energy Harvesting Solutions 2016-2020.
The package was later refactored by @JBosecker, to support FGW14-USB communication.
Maintainer: @michaelpiron


It is published under the terms of GNU LGPL version 3 or later.
Binary file added eltakobus/.DS_Store
Binary file not shown.
5 changes: 1 addition & 4 deletions eltakobus/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,4 @@
from .message import *
from .bus import *
from .serial import *
from .coap import *
from .device import *
from . import locking
from . import eep
from .eep import *
30 changes: 0 additions & 30 deletions eltakobus/coap.py

This file was deleted.

Loading

0 comments on commit e3ac7dc

Please # to comment.