Skip to content
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

Lixee zigbee module bad integration #78984

Closed
dbouchabou opened this issue Sep 23, 2022 · 9 comments
Closed

Lixee zigbee module bad integration #78984

dbouchabou opened this issue Sep 23, 2022 · 9 comments

Comments

@dbouchabou
Copy link

The problem

The Lixee zigbee is correctly indentifyed by the ZHA integration however strange values appears for some entities.

Electricalmeasurement -32 768 W

Electricalmeasurementrmsvoltage 65 535 V

Smartenergysummation 6 220,62 kWh

What version of Home Assistant Core has the issue?

2022.9.6

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

ZHA

Link to integration documentation on our website

https://www.home-assistant.io/integrations/zha/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

The module seems correctly working on a Z2MQTT add on

@homeassistant
Copy link
Contributor

zha documentation
zha source
(message by IssueLinks)


Hey there @dmulcahey, @Adminiuga, @puddly, mind taking a look at this issue as it has been labeled with an integration (zha) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)

@Hedda
Copy link
Contributor

Hedda commented Sep 23, 2022

See ZHA Device Support Request zigpy/zha-device-handlers#1146 + pull request zigpy/zha-device-handlers#1165 for ZLinky_TIC.

fairecasoimeme as the developers of the firmware to the Lixee Zlinky TIC need to fix some issues in their firmware to solve this.

https://github.com/fairecasoimeme/Zlinky_TIC

https://github.com/fairecasoimeme/Zlinky_TIC/issues

Read more in #63757 and fairecasoimeme/Zlinky_TIC#41 and fairecasoimeme/Zlinky_TIC#18 and fairecasoimeme/Zlinky_TIC#46

ZHA Device Handlers quirk will still be needed if device firmware does not completely follow standard Zigbee specifications:

https://www.home-assistant.io/integrations/zha/#zha-exception-and-deviation-handling

https://github.com/zigpy/zha-device-handlers/blob/dev/README.md

@Hedda
Copy link
Contributor

Hedda commented Oct 1, 2022

FYI, the manufacturer have released new pre-relase (beta) Zigbee firmware for this device which is suppose to fix or address at least some of the issues seen in ZHA, so guess they are looking for experienced ZHA Zigbee users to test, see:

Originally posted by @fairecasoimeme in zigpy/zha-device-handlers#1165 (comment)

This pre-release fix the manufacturer issue :
https://github.com/fairecasoimeme/Zlinky_TIC/releases/tag/v9.0

@Hedda
Copy link
Contributor

Hedda commented Oct 3, 2022

FYI, the manufacturer have released new pre-relase (beta) Zigbee firmware for this device which is suppose to fix or address at least some of the issues seen in ZHA, so guess they are looking for experienced ZHA Zigbee users to test, see:

Originally posted by @fairecasoimeme in zigpy/zha-device-handlers#1165 (comment)

This pre-release fix the manufacturer issue :
https://github.com/fairecasoimeme/Zlinky_TIC/releases/tag/v9.0

FYI, there is now also news about new quirk code for ZHA Device Handlers now as well, see -> zigpy/zha-device-handlers#1165

@Hedda
Copy link
Contributor

Hedda commented Oct 17, 2022

FYI, the manufacturer have released new pre-relase (beta) Zigbee firmware for this device which is suppose to fix or address at least some of the issues seen in ZHA, so guess they are looking for experienced ZHA Zigbee users to test, see:
Originally posted by @fairecasoimeme in zigpy/zha-device-handlers#1165 (comment)

This pre-release fix the manufacturer issue :
https://github.com/fairecasoimeme/Zlinky_TIC/releases/tag/v9.0

FYI, there is now also news about new quirk code for ZHA Device Handlers now as well, see -> zigpy/zha-device-handlers#1165

FYI, the new quirk merged upstream so this Home Assistant core issue can be closed once zha-quirks 0.0.83 is bumped/merged.

zigpy/zha-device-handlers#1146

zigpy/zha-device-handlers#1165

https://github.com/zigpy/zha-device-handlers/releases/tag/0.0.83

#80489

Note! Zlinky TIC users still need to update/upgrade to latest OTA firmware on their Zlinky_TIC device to be able to use it properly:

https://github.com/fairecasoimeme/Zlinky_TIC/releases

https://github.com/fairecasoimeme/Zlinky_TIC/releases/tag/v9.0

Firmware update on the Zlinky_TIC device can either be done manually or semi-manual via the zha-toolkit OTA function, see:

https://github.com/mdeweerd/zha-toolkit#ota_notify

PS: Hope that fairecasoimeme in the future submit code for native OTA provider for zigpy to enable automatic firmware updates:

zigpy/zigpy#1060

@mospaeda
Copy link

mospaeda commented Oct 18, 2022

Hello
In addition, the firmware seems reported wrong in the display

ZLinky_TIC
par LiXee
Connecté via [Zigbee Coordinator]
Firmware: 0x00000001

BUT From the cluster details it seems that it is different (in my case firmware 9 as I received last week)
reference from offcial doc : https://github.com/fairecasoimeme/Zlinky_TIC#clusters

Basic (Endpoint id: 1, Id: 0x0000, Type: in)
Valeur 9

sw_build_id (id: 0x4000)
4000-0009

date_code (id: 0x0006)
20220930

I don't know from where the value 0x00000001 is coming but it is probably not pointing to right register

@Hedda
Copy link
Contributor

Hedda commented Oct 19, 2022

@mospaeda Best if you could repost that issue to both the upstream manufacturer and as a bug-report to ZHA Device Handlers:

https://github.com/fairecasoimeme/Zlinky_TIC/issues

and

https://github.com/zigpy/zha-device-handlers/issues

For reference you can read this explaination on why in the ZHA integration documentation:

https://www.home-assistant.io/integrations/zha#zha-exception-and-deviation-handling

Better of couse is if such issues could be fixed by the manufacturers in the firmware for the device so do not need a quirk handler.

@mospaeda
Copy link

mospaeda commented Oct 19, 2022

done
fairecasoimeme/Zlinky_TIC#115
zigpy/zha-device-handlers#1844

@issue-triage-workflows
Copy link

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

@issue-triage-workflows issue-triage-workflows bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 24, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Feb 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants