-
-
Notifications
You must be signed in to change notification settings - Fork 32.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
ZHA Develco Frient Devices #49127
Comments
SPLZB-131 Signature:
|
Hey there @dmulcahey, @Adminiuga, mind taking a look at this issue as its been labeled with an integration ( |
WISZB-120 Signature:
|
SMSZB-120 Signature:
|
I also get errors in the log for these devices like this
|
This device would need a quirk in zha-device-handlers repo as it doesn't confirm to ZCL specs and sends an incorrectly formatted message on cluster 0x0500 For the redundant entity, just disable it in ha. |
Hmm, that seems to happen for the two battery devices indeed, where the battery and binary sensors don't work. WISZB-120
SMSZB-120
|
Hello @Veldkornet |
As information, here is the note about alarm reset in the Develco device technical documenation : Note: How to clear a alarm in the “Zone status”: |
Unfortunately no, all of my Frient devices just report the temperature at the moment (for the sensors). Nothing else works. Pity... I'm hoping that someone with ZHA knowledge and an interest in the Frient devices will come along and help out getting them supported. |
Yes, this is pity since these devices are well made. I'll try to develop a quirck for these. @Adminiuga , even if I can improve the integration of Frient devices, I will not be able to handle the ZCL default response issue (Frient devices awaits a ZCL default response as acknowledge). Do you have any hint for this ? THanks |
Here's Tuya sending a default response on a zcl cluster command https://github.com/zigpy/zha-device-handlers/blob/eecdcb4364d5846d6635985b60765177fd7c1930/zhaquirks/tuya/__init__.py#L223 Zigpy would send default response for attribute reports |
Thanks @Adminiuga . Do you know if there is a possibility to generate "manually" the ZCL default response using ZHA? In order to check if this commands solves the binary status locked issue before making the custom quirk, Thanks |
Not with zha. The default response needs to have the same sequence number as the request. |
I meant with ZHA services you can't send the response, but if you modify the IASZoneChannel you could craft a default response, although currently we do not pass the ZCL header down to the channel on top:
and in the IASZoneChannel
|
@Adminiuga Thanks for this information. I am totally new to this. I have some difficulties to locate the directory where I have to put custom quirks in HA OS and how to force HA to use them? Do you have any help for that? Thanks |
By browsing custom quirks, I have found a quirk for a "develco open-close" sensor in the zhaquirks folder of my HAOS
I am not sure that it handles default response, but this can be a starting point... |
Ah yes, I found that too, thought I mentioned it somewhere in zigpy/zha-device-handlers#853 ; it was added via zigpy/zha-device-handlers#317 Anyway, even the model number is the same. I don’t know if there is a difference between the Develco vs Develco Frient version, but my guess is there’s not. |
The changes I outlined, are for ZHA integration. You could copy zha folder into /config/custom_components/zha and run it from there (just need to add If you go the quirk route, then check the contribution guide and afaik you could drop a new quirk in some special folder in your /config @puddly how do you test a quirk with the latest zha changes? What was the configuration or folder name? |
For default response handling in quirks, there's one of Tuya s quirk that does that. Check my earlier messages |
Configure the custom quirks folder: zha:
custom_quirks_path: /config/custom_zha_quirks/ And then download any quirk submodule ( The "old way" works better if you're editing more than a single file because the custom quirk loads constants and things like that from the main |
Hi, That's useful hints, thank you. I think that I have all I need to write custom quirks. I have 3 devices from Frient (motion, door & humidity sensors), I'll try to make them all compatible. Just one thing : Is it necessary to reset the zigbee association of the device in order to change the quirk used by ZHA? How ZHA is able to associate one custom quirk to a device? is it just with the "MODELS_INFO: [(DEVELCO, "WISZB-120")]," line ? Thanks, Sam |
You don't have to re-pair the device, just restart the ha and if the quirk match the device signature it would be applied |
My frient smoke alarms are also on firmware: 0x00040002 but still nothing works. |
I'm having the same problems with the Frient smoke alarm. Entities show up in home assistant but nothing seems to work, apart (maybe) from the battery and the temperature sensor. Is this something someone is actively working on (no pressure, just asking) or would I be better off buying a different fire alarm? I'd prefer not going the zigbee2mqtt route. Though that works (from what I hear), the zha route seems better for me. |
Triggering siren works for me! But the other options and the random switch does nothing! |
The thing I would like to do but can't is trigger it so that when one siren goes off, it triggers others to go off as well. Any ideas? |
You need to create an automation for that. |
interesting... for me nothing works but the battery level |
Not working for me and my smart heat alarm either, happy to share logs if needed. Sometimes it pairs, usually it doesn't, when it does pair options are available but do nothing, e.g. the siren trigger. Seems like the zha-device-handlers are happy it's implemented properly, here: zigpy/zha-device-handlers#854 |
I had the same Problem described in the initial post. Turns out, my LQI-Value is very low on this device (zigbee-dongle at HA-Instance is only a few meters and one wall away), reporting an LQI of 30. After placing the siren directly next to the dongle, and triggered a reconfiguration, i noticed that actually some of the checkmarks turned from yellow to green (by far not all of them), and even more interesting, after doing so, the siren-toggleswitch actually works now and the LQI has risen to ~66 (i am on homeassistant docker 2022.8.6). |
I've also noticed a very low lqi (in the 30s) and am now waiting for some plugs to arrive that can work as repeaters. It feels like the Frient devices have very poor zigbee transmitters. |
yeah, the smoke detector is basically sitting in plain view to the dongle, for that, the lqi is far to low. beside that, i think the temperature sensor is also not working correctly. it shows a value (which seems to be halfway realistic), but it doesn't change at all. straight line over several days beside some window-open-cycles... |
I find the same behavior for me. Flat line temperature. LQI improved a little, but still not great. |
Hmm tried re-pairing with the same results. I much prefer ZHA but I've been toying with the idea of having a 2nd Zigbee coordinator (I have a spare) using Zigbee2MQTT. This means for compatibilities sake I can use Z2M for edge case devices such as this and some Tuya thermostats I have but don't need to port everything over. Just a thought for others on here. |
I have two SMSZB-120 and I'm experiencing the exact same issues as others via ZHA: Technical Manual: |
Also for me temperature seems to be stuck at the value from when the device was pairing. |
Hi all, The Siren Switch does work as expected - it does trigger the alarm on the device. I don't yet know, what the "switch" might do - haven't tested that so far, and also, I haven't test other settings like "alarm sound, alarm level, etc... Regarding the IASZone Binary Sensor: I've received some documentation from the frient - I can attach them, if this might help to improve either the integration of the device, or others? |
Yes please! |
Anyone has better results with the 4.05 firmware for the smoke detectors? I bought a 3-pack a couple of months ago and only one of them shows the proper temperature. The other two basically show the same temperature al the time. After upgrading the firmware just now, the temperature changed, but it looks as though it is again fixed to the new temperature. |
How did you check your firmware version and how did you upgrade it? |
The firmware version is shown with the device info in Home Assistant. Firmware: 0x00040004 for v4.04. I've followed the guide here: https://github.com/zigpy/zigpy/wiki/OTA-Device-Firmware-Updates When triggering the firmware update manually, follow the example in the wiki but use endpoint_id 35 instead of 1.
On a side note: after resetting, recoupling and moving one of the updated device to a warmer room, it is now displaying correct temperatures it seems. The other one is in an update loop however and is still at 4.04. |
@pvandegeer Thanks for you hints! I followed what you did and what the instructions said with the change that I updated using the GUI method. For some reason the service method kept complaining about deprecated arguments. Anyway, it took a good long while to update but it successfully installed 4.0.5 on my 1st smoke detector. This did not fix anything until I enabled the temperature entity and hit "reconfigure" on the sensor's device overview. The second smoke detector automatically updated its firmware overnight so I hit its reconfigure button too and its temperature started working. What I did notice it that the reconfigure works but sometimes parts of it fails. Also the LQI is still terrible for bot devices. One is at the far end of the house so that makes sense but the other is right next to the controller and still only does 120 LQI. (which is about 50% dropped packets I believe) |
These are battery operated devices and may sleep. Keep device awake when reconfiguring, like pressing a button every other second |
All of mine are now reading the temperature after the firmware update. :) |
I realize that @Adminiuga but the sync/connect button on the back didn't seem to have any effect and the only other button activates a particularly loud siren which I wasn't in the mood to do. 😄 Any way, for me the same as @pvandegeer .. all temperature sensors now work and all I did was reconfigure, not re-pair. |
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. |
The problem
I’ve paired a couple of Develco Frient devices with ZHA, and while they mostly work, the experience is not great.
In general, the devices seem to work a bit buggy compared to the other devices i have on ZHA. They are either slow to react or fail completely. Below my observations for the devices I already own:
SPLZB-131 Smart Plug Mini:
WISZB-120 Entry Sensor Pro:
SMSZB-120 Intelligent Smoke Alarm:
MOSZB-140 Motion Sensor Pro:
What is version of Home Assistant Core has the issue?
core-2021.4.3
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/
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
The text was updated successfully, but these errors were encountered: