Closed ozett closed 5 years ago
The file EEP.xml specifies the EnOcean profiles that are inpreted by the used Python EnOcean library. The supported switch profile is
rorg = 0xf6 func = 0x02 type = 0x02
The profile with type = 0x04
is currently not supported. Are you sure this is correct? If so, you may want to add it there with a pull request or check whether the usage of type=0x02
is compatible.
thanks for help, do you think i can edit this eep.xml and just add a line with a 0x04-type-profile? without causing other issues?
than i would give it a try.. 😵
Yes, adding a new profile to eep.xml should not have any side effects. Of course, you should check the EnOcean profile specifications on how this profile needs to be interpreted.
i thought i would be easier... 😞
i found two files (maybe an old install of enocean-mqtt, too.. 😕
root@eg-buero-olaf:/usr/src/enoceanfwd/enocean-mqtt# find / -name "EEP.xml"
/usr/local/lib/python2.7/dist-packages/enocean/protocol/EEP.xml
/usr/local/lib/python3.4/dist-packages/enocean-0.41-py3.4.egg/enocean/protocol/EEP.xml
root@eg-buero-olaf:/usr/src/enoceanfwd/enocean-mqtt#
than i doubled the first rocker-profile and exchanged id to 0x04, (in both EEP.xml) but that did not helped to get rid of the error, maybee my thoughts were to simple...
? maybe i have to learn-in the rocker first, but i dont know how.. ? maybe i my config is wrong?
still old error:
root@eg-buero-olaf:/usr/src/enoceanfwd/enocean-mqtt# /usr/local/bin/enoceanmqtt
2018-11-15 21:41:24,055 INFO: Succesfully connected to MQTT broker.
2018-11-15 21:41:24,061 INFO: SerialCommunicator started
2018-11-15 21:41:24,064 WARNING: Replacing Packet.optional with default value.
2018-11-15 21:41:24,170 INFO: Sending packet
2018-11-15 21:41:24,174 DEBUG: 0x05 ['0x8'] [] OrderedDict()
2018-11-15 21:41:24,280 DEBUG: 0x02 ['0x0', '0xff', '0xd4', '0x99', '0x80'] ['0xa'] OrderedDict()
2018-11-15 21:41:24,282 INFO: got response packet: OK
2018-11-15 21:41:26,525 DEBUG: FE:F8:59:74->FF:FF:FF:FF (-76 dBm): 0x01 ['0xf6', '0x10', '0xfe', '0xf8', '0x59', '0x74', '0x30'] ['0x1', '0xff', '0xff', '0xff', '0xff', '0x4c', '0x0'] OrderedDict()
2018-11-15 21:41:26,527 INFO: received: FE:F8:59:74->FF:FF:FF:FF (-76 dBm): 0x01 ['0xf6', '0x10', '0xfe', '0xf8', '0x59', '0x74', '0x30'] ['0x1', '0xff', '0xff', '0xff', '0xff', '0x4c', '0x0'] OrderedDict()
2018-11-15 21:41:26,531 WARNING: Cannot find type in EEP!
2018-11-15 21:41:26,780 DEBUG: FE:F8:59:74->FF:FF:FF:FF (-86 dBm): 0x01 ['0xf6', '0x0', '0xfe', '0xf8', '0x59', '0x74', '0x20'] ['0x1', '0xff', '0xff', '0xff', '0xff', '0x56', '0x0'] OrderedDict()
2018-11-15 21:41:26,783 INFO: received: FE:F8:59:74->FF:FF:FF:FF (-86 dBm): 0x01 ['0xf6', '0x0', '0xfe', '0xf8', '0x59', '0x74', '0x20'] ['0x1', '0xff', '0xff', '0xff', '0xff', '0x56', '0x0'] OrderedDict()
2018-11-15 21:41:26,786 WARNING: Cannot find type in EEP!
i took over the definition of the switch in the config. that was wrong.
it only had to change the type in the config, than i got it working...
thankx
Thanks. I updated the sample config file.
i have a button and the enocean usb-receiver, but i am further unexperienced with enocean. i got the enocean-mqtt running, connection to mqtt,
but i guess my button is somehow "not learned in" or i dont know what it means "EEP-type" not known. guess it has to do with the enocean-lib, but i would be gladful for any hint or help to point me in the direction solving this.
😵 thanx...
config: