Skip to content

Unable to switch Eltako FL62 or FD62 #130

@andreas-bulling

Description

@andreas-bulling

I am trying to use this library to switch an Eltako FL62 and FD62 (in the context of Home Assistant) but without success so far. I've studied the corresponding official technical specifications in detail (PDF page 16 and 17) and have assembled packets that, from my point of view, match the specification. Specifically, I create on and off packets using

ON

if self._type == "fl62":
    packet = RadioPacket.create(
        rorg=RORG.BS4,
        rorg_func=0x38,
        rorg_type=0x08,
        destination=self._destination_id,
        sender=self._sender_id,
        COM=1,
        LCK=1,
        SW=1)
                
elif self._type == "fd62":
    packet = RadioPacket.create(
        rorg=RORG.BS4,
        rorg_func=0x38,
        rorg_type=0x08,
        destination=self._destination_id,
        sender=self._sender_id,
        COM=2,
        LCK=1,
        SW=1,
        STR=1,
        TIM=0.5,
        EDIMR=1,
        RMP=127,
        EDIM=bval)

OFF

if self._type == "fl62":
    packet = RadioPacket.create(
        rorg=RORG.BS4,
        rorg_func=0x38,
        rorg_type=0x08,
        destination=self._destination_id,
        sender=self._sender_id,
        COM=1,
        LCK=1,
        SW=0)
        
elif self._type == "fd62":
    packet = RadioPacket.create(
        rorg=RORG.BS4,
        rorg_func=0x38,
        rorg_type=0x08,
        destination=self._destination_id,
        sender=self._sender_id,
        COM=2,
        LCK=1,
        SW=0)

Switching the FL62 simply doesn't work for some reason. For switching on the FD62 I see the following error message in the logs although the EEP XML description shows them:

2021-12-06 09:54:17 WARNING (SyncWorker_8) [enocean.protocol.eep] Cannot find data description for shortcut STR
2021-12-06 09:54:17 WARNING (SyncWorker_8) [enocean.protocol.eep] Cannot find data description for shortcut EDIMR
2021-12-06 09:54:17 WARNING (SyncWorker_8) [enocean.protocol.eep] Cannot find data description for shortcut RMP
2021-12-06 09:54:17 WARNING (SyncWorker_8) [enocean.protocol.eep] Cannot find data description for shortcut EDIM
2021-12-06 09:54:17 DEBUG (SyncWorker_8) [custom_components.enocean.device] SENT radio packet: FF:E3:01:82->04:14:7F:22 (-255 dBm): 0x01 ['0xa5', '0x2', '0x0', '0x5', '0xd', '0xff', '0xe3', '0x1', '0x82', '0x0'] ['0x3', '0x4', '0x14', '0x7f', '0x22', '0xff', '0x0'] OrderedDict([('COM', {'description': 'Command ID', 'unit': '', 'value': 'Command ID 2', 'raw_value': 2}), ('TIM', {'description': 'Time in 1/10 seconds. 0 = no time specifed', 'unit': 's', 'value': 0.5, 'raw_value': 5}), ('LCK', {'description': 'Lock for duration time if time >0, unlimited time of no time specified. Locking may be cleared with "unlock". During lock phase no other commands will be accepted or executed', 'unit': '', 'value': 'Lock', 'raw_value': 1}), ('DEL', {'description': 'Delay or duration (if Time > 0); 0 = Duration (Execute switching command immediately and switch back after duration) 1 = Delay (Execute switching command after delay)', 'unit': '', 'value': 'Duration', 'raw_value': 0}), ('SW', {'description': 'Switching command ON/OFF', 'unit': '', 'value': 'On', 'raw_value': 1})])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions