-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ZM25RX-08/30 cover directions are reversed after 1.33.2 upgrade #19539
ZM25RX-08/30 cover directions are reversed after 1.33.2 upgrade #19539
Comments
This also seems to affect the _TZE200_bv1jcqqu version of the Zemismart ZM25RX-08/30 |
@donbobka could you check this? |
@burnsie-la I've set state according to physical buttons (buttons at left side)+motor direction option=normal. Can you send the photo of your blinds? It's strange that internal invert option doesn't work Open/close actually depends on multiple factors 🤔: left/right side, direction of blinds rolled onto tube (in my case is left + under) @Koenkk, I don't think there is right way of installation and the best solution will change it back to keep it backwards compatible. Also maybe we should keep it as standard for tubular motor installation to keep open/close state consistent across all motors: like left side + rolled over (and then we have inverted option to invert it) |
@donbobka could you make a PR for that? |
I have blinds that go in both directions, and they previously worked fine with Z2M. I originally set the motor direction and set points with the remote control, and the remote control still functions perfectly making all the blinds go up and down using the physical buttons as expected. |
Just to add to this - I have a mix of left/right roll-over blinds now doing the same. All are set to Open=100 in z2m, with the inverse set on the motor itself. Zigbee2MQTT version Adapter firmware version Adapter |
I have had the problem since the past few updates. ZM25RX-08/30 cover position is correct, 0% is fully closed, 100% is fully open when the cover is closed 0%, I get one option, Open, clicking open button does nothing. |
oh.. and there is no working battery state for this motor, never worked. ZM25RX-08/30 |
I'm back and tested with reverted state values, but it makes open/close action inverted for me 🤔 (different hardware/firmware revision? i see some visual differences: like on-off button).
If i set @TRusselo @KablammoNick for the following setup (left side) IMG_9791.movMy current idea is to do same as for const valueConverterBasic = {
lookup: (map, fallbackValue) => {
return {
to: (v, meta) => utils.getFromLookup(v, typeof map == "function" ? map(meta.options) : map),
from: (v, meta, options) => {
m = typeof map == "function" ? map(options) : map
const value = Object.entries(m).find((i) => i[1].valueOf() === v);
if (!value) {
if (fallbackValue !== undefined) return fallbackValue;
throw new Error(`Value '${v}' is not allowed, expected one of ${Object.values(m)}`);
}
return value[0];
},
};
},
}; [1, 'state', valueConverterBasic.lookup((options) => options.invert_cover ? { 'OPEN': tuya.enum(2), 'STOP': tuya.enum(1), 'CLOSE': tuya.enum(0) } : { 'OPEN': tuya.enum(0), 'STOP': tuya.enum(1), 'CLOSE': tuya.enum(2) })], PS.: I bought my blinds here |
I'm away for a few days but will have a suss when I get home. |
Also my motor with default options |
changing the "motor direction" does not fix anything in home assistant for me. cant see any change when changing "motor direction" option |
@TRusselo Does motor give feedback when you change options: small movement up and down? Is your motor IMG_9805.mov |
_TZE200_7eue9vhc notes: |
I'll revert P.S.: Actually i checked the code and it used same DP 5 for motor direction option |
I also get no feedback from the motor at all when changing the settings in Z2M. But I do if I reverse the motor direction using the RF remote that came with the device |
@burnsie-la 🤔 and your device is |
I have both _TZE200_bv1jcqqu and _TZE200_7eue9vhc, motor direction and battery never worked via Z2M for either. They seem to function the same. Edit: I purchased mine from Zemismart https://www.zemismart.com/products/zm25rz01-30 |
No feedback from motor with settings changes... and changing motor_direction in Z2M makes no difference to the physical buttons on my blinds. All blinds are TS0601 & _TZE200_7eue9vhc.
EDIT: I'm getting myself confused but hope this info can help - it sounds like you're across a fix - happy to wait til that happens, and if you need more testing done am happy to help as best I can! |
@TRusselo logical buttons and physical buttons are connected (at least on my motor)
Hopefully this video from another PR explains it (still waiting for a few more motors to test it completely). PR that reverts logical open/close action back has been already merged into master |
What happened?
Since upgrading to 1.33.2 my Zemismart tubular blind closes when I send the OPEN command and vice versa. Changing the motor direction or using the Invert Cover options within Zigbee2MQTT had no effect. Setting the position of the cover using the 0-100 value works as expected.
Device type: EndDevice
Zigbee Model: TS0601
Zigbee Manufacturer: _TZE200_7eue9vhc
Description: Tubular motor
It seems to have started happening after the introduction of this PR: https://github.com/Koenkk/zigbee-herdsman-converters/pull/6341/files
What did you expect to happen?
The Close command should close the cover, the open command should open the cover.
How to reproduce it (minimal and precise)
Pair a _TZE200_7eue9vhc with Z2M.
Press Close in the Exposes tab of the device in the UI
The blind opens, instead of closes.
Zigbee2MQTT version
1.33.1
Adapter firmware version
7.1.1.0 build 273
Adapter
Home Assistant SkyConnect
Debug log
Topic: zigbee2mqtt/Top Floor Hallway Blind
log.txt
The text was updated successfully, but these errors were encountered: