danielperna84 / pydevccu

HomeMatic CCU XML-RPC Server with fake devices for development
10 stars 9 forks source link

Get DIRECTION for some HM(W) devices #5

Closed danielperna84 closed 4 years ago

danielperna84 commented 4 years ago

For the following devices deriving the channel direction does not work yet (no roles found for channels):

This could be improved. But in some XMLs there are definitions both for to and from the device. How do we know what's correct in this case?
For the non-wired devices some research revealed, that these devices really have directions of 0.

danielperna84 commented 4 years ago

For HM-ES-TX-WM I know the DIRECTION of 0 is correct. But this is an example for a device where frames with from_device exist. So parsing the frames would actually change to an incorrect value.

danielperna84 commented 4 years ago

Thanks to additional research it is now clear, that the HWM-devices don't support direct links as well, hence 0 is the correct DIRECTION.