the installation process changed because now you need to define not only which serial port you want to use, you need to choose a mapping between gateway and serial port.
This implies that reloading of existing gateways does not work because the given data is not the same anymore
=> Conclusion:
Do Backup first!!!
You need to delete the existing gateways and add them newly.
If you like migrate or old sensor data histories. (There might be better docs than I linked above.)
I decoupled the repos because if you fork a repo you cannot properly track your changes.
Unfortunately, I don’t see a way to create pull-requests to an unlinked repo.
What would you like to achieve by getting pull-requests?
Funnily, I found my repo listed in here. Maybe this came through the initial fork.
Ok, I found a way to get the BR14 messages to my BR12 bus. I managed to borrow a second FGW14 and connected it to my own one.
The first one communicates as gateway from HA the BR14 bus and the second one translates the BR14 to the BR12 bus.
Next step is to switch my FSR12 relays (with F6-02-01).
I need to make a difference for channel 0 and 1.
I found this piece of code in switch.py
def turn_on(self, **kwargs: Any) -> None:
"""Turn on the switch."""
address, discriminator = self._sender_id
if self._sender_eep == F6_02_01:
if discriminator == "left":
action = 0
elif discriminator == "right":
action = 2
else:
action = 0
Can anybody tell how to add the discrimination “left” and “right” in the configuration.yaml?
I checked this in the Enocean integration and the use “channel” but this:
Hey @netzgauner,
I’ve actually planned to change it a bit. So that you can define an arbitrary Id for the gateway. This gives you also the possibility to change or replace the gateway without losing all the history of the existing devices.
If you have any ideas or wishes how to improve it please let me know.
The gateway base id is the same like fam14. Funnily, i don’t see my gateway in PCT14.
Ok thanks. Then I misunderstood something, because in the documentation it says…
gateway:
- base_id: FF-AA-80-00 # Address which is used to send telegrams into wireless network. Mainly important for transceivers like FAM-USB
- device: fgw14usb # Supported gateways: gam14, fgw14usb, fam-usb
Can you explain me what that left and right means? And for which switches that is meant?
I use switches based on PTM215 which have 4 button. Actually the EEP F6-02-01 does support all 4 an pressing 2 at the same time. Only in the code there is left and right supported.
If you want have more possibilities here that is easy to extend.
The thing with Enocean (and therefore Eltako) is that they use different names for units than the rest of the world.
What everybody calls a switch, that knob on the wall or that button on a remote Enocean uses binary_sensor.
And what the rest of the world calls a relay or a contact which can be turned on and off they call it a switch…
Therefor my FSR12 (in BR14 this is a FSR14) are called Switch and the left and right I’m referring to are the two relays in the unit. In the Enocean intergration these are called Channel 0 or 1