Requesting support for EEP D02-05-02 #105
Replies: 12 comments 28 replies
-
Hi @OlwinFroon, I will have a look 👍 |
Beta Was this translation helpful? Give feedback.
-
Thank you, much appreciated. Also, pairing a remote to a drive is covered by the documentation, but I didn't find anything about how to pair a shutter drive to the system. |
Beta Was this translation helpful? Give feedback.
-
Yep, those are Becker drives, and they don't send D4 telegrams. I didn't find anything about pairing in the docs. |
Beta Was this translation helpful? Give feedback.
-
Hi @OlwinFroon,
Note that the virtual switches represent the exact same device as the select, it is just a different UI to control that virtual device. However, I couldn't quite get the hang of how it was supposed to work. Yes it doesn't work like that.
😅 Sorry for that.
Yes I know, |
Beta Was this translation helpful? Give feedback.
-
Okay, time for a bit of recollection and current status: Initially after installing E2M, I edited the default EEP and mapping files to rig them for D2-05-02 by simply copying the D2-05-00 stuff. I tried to restart, it didn't work until I removed the custom EEP.xml. No idea what went wrong there, and I'm not exactly fond of the EEP monster, so I just removed the custom config and will wait for the official D2-05-02 support. Meanwhile, I redefined my shutters as D2-05-00 (my OCD spidey senses are punishing me for that), restarted E2M and now I can see my shutter drives' current states. Next up I created a bunch of virtual switches to pair with the real drives, in order to gain SOME control over them, and it worked like a charm. So I started testing those virtual switches (see here) and found that the action select mode produces proper telegrams while the switch-and-send approach doesn't. Right now the drives aren't responding to those, at all. Might be a range issue, now, since I had to rebuild my test rig in my man cave. I'm gonna go find a repeater and put this on the backburner until I do. Why can't anything be easy? Sigh... :( |
Beta Was this translation helpful? Give feedback.
-
Hrm. Note to self: try the obvious next time. So plugging in a keyboard and display worked. Kinda. However, I edited run.sh as requested. No success, even after restarting everything. I gather the problem was me putting EEP.xml in a separate directory instead of adding to the clutter /config, right? Either the fix didn't work or I screwed up the edit. I need to calm down from the annoying keyboard disaster before I take another look... |
Beta Was this translation helpful? Give feedback.
-
This is weird. I think there's more wrong with the custom configuration. Back to square one: I set the configuration to
I started E2M, the live log came up like the one posted above (services start, services stop). Then I put the new EEP.xml in /config directory, too. The log:
followed by lots of other unsuspicious stuff and then, when I interacted with one of my shutters
which indicates that E2M doesn't use either of the custom EEP files. FYI: I defined 3 of my drives as D2-05-00 and the other two as D2-05-02 for this test. Okay, now I have a situation where the container still works with the configuration I want to use. |
Beta Was this translation helpful? Give feedback.
-
I did. It didn't work. Same as before, docker restart resulted in a stopped E2M with empty log file. Can I catch you on discord? |
Beta Was this translation helpful? Give feedback.
-
My mind thanks you 😅 I chimed in on a year old thread about the console keymap issue, perhaps somebody will take pity on us non-americans. So, no discord. Slack, perhaps? I guess we save the custom EEP problem for later, I'll make a spin-off issue report for that. Regarding the issue at hand (missing D2-05-02 coverage), I'll just wait for the next E2M version and hope you add it anyway, without the need for custom EEP files. Once that works, I'll explore the curious action vs. switches thing and perhaps take a peek at the ReMAN/ReCOM business. |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for your help so far! Back to testing: I configured all my shutter drives as D2-05-02 using your test EEP and mapping files. The drives show up in HA just fine, no error messages. And here comes issue number 1: One of my drives kept acting up during installation, it refused to self-teach the lower boundary. Back to topic: We know I can't pair my drives with HA without ReCOM (and I won't play with that anytime soon), so the controls on the device page won't work. ... which brings us to issue number 2: When I send an "OPEN" or "CLOSE" command to a drive, it immediately responds with The position attribute in HA, however, never shows 0x7f, 127 or "unknown". It always translates 0x7f to "100", which makes it impossible to say if the shutters are really open (100) or in motion, ... or make a template sensor for the current state of a shutter (see above). Issue number 3 is not directly related to E2M: One of the drives seems to have a poorly adjusted antenna and won´t receive all commands right away. In order to end up with unattended shutter control, I'll try and fix this with a repeater and/or a blueprint that listens for a response from the drive and tries again if there is none. |
Beta Was this translation helpful? Give feedback.
-
Hi @OlwinFroon, First of all, thanks for your feedback 👍 Issue 1: Only problem: the "closed" position is not at 0, but at 3. So even if this one is fully closed, the icon says "open" and the interface would allow to hit the "close" button. I could of course have a bunch of template sensors telling me the shutter states (open, moving, closed, unknown) instead of the device sensors, but perhaps there's a more elegant way to solve this.For now, unfortunately I have no other solution than using a template sensor to handle this case. Issue 2: Yes you're right, the mapping as currently done doesn't correctly handle the position value 127. |
Beta Was this translation helpful? Give feedback.
-
@mak-gitdev do you think it might be useful to add important information and peculiarities directly to the Wiki / Supported devices? In this case: D2-05-02 Becker shutter drives are not fully supported yet. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Greetings!
This would be for my 5 Becker blinds controls.
I've checked the official EEP documentation and it looks like D02-05-02 is just a subset of D02-05-00. There are just a few minor differences:
CMD 1: Go to position and angle
00: values 0 (channel 1) .. 3 (channel 4), 15 (all channels)
02: values 0 (channel 1), rest is "reserved"
CMD 2: Stop
00: values 0 (channel 1) .. 3 (channel 4), 15 (all channels)
02: values 0 (channel 1), rest is "reserved"
CMD 3: Query Position and Angle
00: values 0 (channel 1) .. 3 (channel 4), 15 (all channels)
02: values 0 (channel 1), rest is "reserved"
CMD 4: Reply Position and Angle
00: 0 (no lock), 1 (blockage), 2 (alarm)
00: 0 (no lock), 1 (blockage), rest is "reserved"
00: values 0 (channel 1) .. 3 (channel 4), 15 (all channels)
02: values 0 (channel 1), rest is "reserved"
CMD 5: Set parameters
Doesn't exist in 02.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions