Ikea Tradfri repeater no quality link value reported
Bug Report
What happened
No link quality reported on devices connected to this repeater
What did you expect to happen
How to reproduce it (minimal and precise)
Debug Info
zigbee2mqtt version: 1.3.0 CC253X firmware version: March 29, 2019
I am seeing the same behavior. Coordinator firmware: 20190425 and zigbee2mqtt: 1.4.0 I have three repeaters that show as joined devices but never report linkquality values.
The reason for this is that the TRADFRI repeater doesn't send any messages.
Perhaps we could configure this so that it does, please try with the following configuration (guidance: http://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html):
devices.js
{
zigbeeModel: ['TRADFRI signal repeater'],
model: 'E1746',
description: 'TRADFRI signal repeater',
supports: 'linkquality',
vendor: 'IKEA',
fromZigbee: [fz.ignore_basic_change, fz.ignore_diagnostic_change],
toZigbee: [],
configure: (ieeeAddr, shepherd, coordinator, callback) => {
const device = shepherd.find(ieeeAddr, 1);
const actions = [
(cb) => device.report('genBasic', 'modelId', 0, 3, 0, cb),
];
execute(device, actions, callback);
},
},
fromZigbee.js
E1746_linkquality: {
cid: 'genBasic',
type: ['attReport', 'readRsp'],
convert: (model, msg, publish, options) => {
return {linkquality: msg.linkquality};
},
},
I may have not done this correctly. I am getting this warning:
No converter available for 'E1746' with cid 'genBasic', type 'attReport' and data '{"cid":"genBasic","data":{"modelId":"TRADFRI signal repeater"}}'
I forgot something, please try with:
devices.js
{
zigbeeModel: ['TRADFRI signal repeater'],
model: 'E1746',
description: 'TRADFRI signal repeater',
supports: 'linkquality',
vendor: 'IKEA',
fromZigbee: [fz.ignore_basic_change, fz.ignore_diagnostic_change, fz.E1746_linkquality],
toZigbee: [],
configure: (ieeeAddr, shepherd, coordinator, callback) => {
const device = shepherd.find(ieeeAddr, 1);
const actions = [
(cb) => device.report('genBasic', 'modelId', 0, 3, 0, cb),
];
execute(device, actions, callback);
},
},
fromZigbee.js
E1746_linkquality: {
cid: 'genBasic',
type: ['attReport', 'readRsp'],
convert: (model, msg, publish, options) => {
return {linkquality: msg.linkquality};
},
},
@Koenkk
I tried the modification as well - my three IKEA repeaters are reporting their linkquality now. Unforturnately they report each 3 seconds, which increases the load on the network substantially.
@3DIRK the code above was for testing purposes, I would recommend changing to
(cb) => device.report('genBasic', 'modelId', 3600, 14400, 0, cb),
which would result in linkquality reported somewhere between every 1 till 4 hours.
Okay, I have made the changes and am now receiving linkquality reports from each repeater! Thank you! Do you need anything from my end?
Nope, will be available in the dev branch soon, thanks!
Hi @Koenkk, I'm facing this issue on an home assistant that I've just installed, so I would like to check with you if this change is present in the current release? thank you!
@joseal it's already in for a long time (+ 1 year), if it doesn't work you can try to reconfigure: https://www.zigbee2mqtt.io/information/mqtt_topics_and_message_structure.html#zigbee2mqttbridgeconfigure
Hi @Koenkk, thanks for the quick reply! I tried to reconfigure, but it was give me an exception, so I decided to rebuild the container and it looks much better now. Also, the upgrade from raspberry 3B to raspberry 4 seems to cause a negative impacting on the signal quality between the coordenator and the ikea repeater... must be the noise caused by the PI4 (it's a bit better with another USB extension, but not the same as with PI3B). thank you
@joseal I have the same problem. What do you mean with "rebuild the container"?
@joseal I have the same problem. What do you mean with "rebuild the container"?
@soenkegissel, in my case I had to rebuild the docker container (you can do it by simple removed the addon and added it again). Also, validate if your repeater is running the latest firmware (check for OTA updates) and do a reconfirgure after detected (mine became more stable after the reconfigure... don't ask me why :) ).
What are you using as coordinator?
USB zigbee dongle CC2538+CC2592
I never tested with that device, but I've 3 CC2531 and one with the RF Amp running without any issues.
Are you using Raspberry Pi 4?
I never tested with that device, but I've 3 CC2531 and one with the RF Amp running without any issues.
Are you using Raspberry Pi 4?
Yes. With 2 meter extension.
My very close wall plug is reporting linkquality to coordinator without problems. All other devices are far away and extend over IKEA repeater. They don't report linkquality.
Can you bring one device plus the repeater close to the coordinator, just for testing?