-
-
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
Bticino K4027C cover position not working #19509
Comments
Also, I found that in the new release of ZigBee2MQTT there is this commit: Koenkk/zigbee-herdsman-converters#6333... Could this be ported also for Bticino K4027C? Thank you. |
@Koenkk @FabianMangold I opened yesterday this issue after seeing your pull request and I would integrate it into K4027C, because the cover position and the calibration is not working (I don't know il tilt works, I have covers without tilt)... How did you approach the debug of NLLV firmware and the tries you did for make this working? I would debug how it works in the app and replicate it in Zigbee2MQTT. I see from logs of Netatmo plugin in Home Assistant this: 2023-11-03 11:47:33.293 DEBUG (MainThread) [pyatmo.home] Setting state for home (62134d6bd95995623b03a8ba) according to {'modules': [{'id': '---', 'target_position': 49, 'bridge': ---'}]} (I removed MAC addresses from component and bridge). |
HI @syntesys87, Just to be on the same page, you are running HA with Z2M right ? Thanks your feedback. |
Thank you for the support! |
My pleasure, thanks for the update. It makes more sense now. |
I mean the calibration procedure, I tested temporal yesterday, following this: |
Okay, that might be somewhat different on the Bticino. Just skip that part, and continue. |
It seems that when I press the reset button for run the association, it loses the calibration; I already tested readding to original gateway, calibrating and readding to zigbee2mqtt, but this does not work. |
The calibration is "stored" in the switch, and re-associating indeed seems to clear those values. |
The procedure is the same, on original app it runs an automatic calibration and then it works. With Z2M I set the shutter in specific_nllv mode and it runs automatic calibration... The procedure seems the same! |
I was actually tallking about the manual calibration process, not the automatic one. Regarding the LED, there is another thread / user reporting the same issue, which i cannot reproduce on my own devices. (See #19108). |
Yes, but tried also original method for seeing the result. |
OK for the calibration, to be investigated.
|
Yes was an ok for the up+down press for calibration 😁 |
Sorry for the stupid questions, just making sure we are talking about the same things. Okay, that is really odd, the automatic calibration or temporal mode should actually enable proper position reporting. |
With Z2M seems that is not working, with original GW everything works as expeced; also, the position reporting works well with the original Netatmo integration in Home Assistant. If you want/need, I can do some video and post here. |
Can you provide you database.db here please ? |
No problem, do you need it with a shutter configured? Because, at the moment, they are all connected with original GW. |
Yes please, whenever you have time, no hurry. |
Here attached the file. Now i try temporal mode :) |
This is the video of the temporal try. When it starts, it goes on red led and then the switch sets into up_down_stop. |
Can you please leave the system running for a while and re-upload the database.db ? Unfortunately it doesn't contain yet any attributes, which makes it kind of worthless for now. |
Thanks for the video, that helps :) |
Yes, no problem, I will send the new file tomorrow, so that attributes could be populated. |
hello, with my bticino N4027C the poistion control works, i calibrated it with specific calibration automatic mode, also different percentsges of positions work. |
database.db.zip |
Firmware-Date |
The version is the same, mine switches has also 0036 firmware. Do you have blinds with tilt or lift only? Could the problem be related to that? |
@FabianMangold yes, this issue could be closed! |
My pleasure @syntesys87, happy to help if i can. |
@FabianMangold yes, it's very strange... As it's strange that there are multiple hardware IDs for the same component... There isn't any parameter or code that is useful to identify che switch. Here #16948 (comment) you can find the procedure to workaround the blinking green led problem. Thank you for your effort! |
I finally managed to get my 7x K4027C working (firmware 36) using the method posted here and get rid of the stupid K4510C Gateway. It was really a pain to fix the green flashing light because in this mode it's not fully paired and the calibration procedure cannot be started.. the first 2 K4027C paired fine but the others was fail&repeat a lot.. eventually fixed and got the purple light on all of them (fully paired) and then the calibration procedure can be started (up+down button for 5 sec). |
@r0bb10 How did you update the bTicino devices? I keep getting the error |
i have a K4510C gateway and use it only to update the devices, never managed to ota update from z2m or zha. |
You've never tried with Z2M or you've tried and failed? |
never tried. |
To update the devices with the gateway do you have to pair them all to it and then pair them back to Z2M? |
exactly, i had everything paired with the bticino gateway, some with new firmware some with older one, i left them all connected and they slowly updated to the latest available and then moved them to z2m (and then to zha). |
Damn! I have about 70 devices, it's unthinkable! |
@r0bb10 How did you update the firmware with the bTicino gateway? I've paired some roller shutter, I see that they have different firmware, but I can't find anywhere the option to update the firmware. |
as far as i know you cannot force the update, it's the gateway that handles the update for downstream devices periodically, once paired let them sit and they will update themselves over a period of time. i know it's annoying but everything bticino (or legrand) does is annoying. |
Damn, really? They are VERY annoying! |
@r0bb10 Do you remember about how long did they take to update? For me it's been a week but none of the 3 got updated. |
it's variable, some of the K4411C and K4027C i have got updated almost immediatelly, other K4027C and some K4531C where so slow i dont even remember how much it took, but long. bticino always amazing. |
@andreapx did you manage to update and pair them correctly? does everything work? |
@r0bb10 no, unfortunately they are not updating |
i also have problems with updating, some work, other don‘t work |
I opened the issue #20221 3 weeks ago, indicating logs and problem. |
@andreapx so i finally moved away from zha and switched the whole zigbee network to z2m, works way way better (binding and positions).. after the migration i tested the ota function in z2m and all bticino devices had an update that worked pretty much immediately. k4027c + k4027cwi + k4531c + k4003c and even fc80gcs were updated ota. |
Damn! Mine still don't want to update, I still get
Thanks! |
I've got a [K4003C/L4003C/N4003C/NT4003C] at firmware version 001c that doesn't want to update. I had to update all the others via the BTicino hub, it took 4 days. |
Let's hope that the problem is the old firmware. |
No not at all, I've tried even with the original hub. I think there is a problem with the motor. |
they were all firmware 0036, build date did not change but version jumped to 0053.. (i had the k4003c acting wierd with the ota respond request but eventually it also updated after several tries). using the method described (the double pair) allows to calibrate them, and position works. z2m exposes position AND tilt, and i dont want the entities to have tilt so i had to filter the devices in homeassistant: |
hello, i also don't want the tilt funktion, it doesn't work for me. to filter this i have to make this customize_glob.yaml? can i insert the text above? Best regards |
Hello, Hope this helps! |
I have solved the problem abount position:
with these steps solve the problem I have another problem...when I use the card to show cover position, I haven't a refresh of the state...I need to refresh state position forcing click on refresh button...why?? |
What happened?
I added to Zigbee2Mqtt my 6 covers Bticino K4027C; the problem is that the setting of cover position does not work; works only 0-100 for open or close.
This is the status JSON:
{
"linkquality": 128,
"position": 100,
"state": "CLOSE",
"tilt": 0,
"update": {
"installed_version": 3556351,
"latest_version": 3556351,
"state": "idle"
},
"action": null,
"led_in_dark": null,
"update_available": null
}
And I have not activated "No position support" because in this JSON I see that I have the latest version.
What did you expect to happen?
The cover sets the right position.
How to reproduce it (minimal and precise)
Add a new BTicino device and try to set the position.
Zigbee2MQTT version
1.33.1-1
Adapter firmware version
7.3.1.0 build 176
Adapter
EZSP v12 SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2
Debug log
No response
The text was updated successfully, but these errors were encountered: