Closed copystring closed 4 years ago
Property '41368' is a newer way of reporting DS18B20 sensors. It is used even if you have no sensors. Support for that is merged into Zigbee2MQTT source, but it seems that it hasn't reached into the "stable" channel yet. You can manually update this file just by replacing it: https://github.com/Koenkk/zigbee-herdsman-converters/blob/master/converters/fromZigbee.js
Replace it? Not sure what to replace it with. Or do you meant to delete it?
Replace the file from your zigbee2mqtt installation with that linked file from the zigbee2mqtt repository.
Oh. Sorry I missunderstood. I already have that file on my system. Using the dev version of z2m only updated it yesterday and that includes this file.
Hm, do you find '41368' in that file?
Yes. It is there. This is why I am wondering what is going on :)
This is what mine looks like:
Ah, okay. Sorry, i see the problem now. I forgot to publish the new precompiled firmware which is sending that 41368 property. Have a look at https://github.com/formtapez/ZigUP/releases
Okay. I flashed my devices again. Now I cannot control them anymore. They do not rejoin even after resetting.
Deleting them from your zigbee2mqtt database-file before re-pairing helps.
Yes. I tried this. I think it has something to do with the channel. No idea how it worked before since you compiled it with channel 25 and I use channel 11. Looked into compiling myself. It is a pain... Could you make one with channel 11 as well? Surely that makes sense. That is the default channel. Most people use this one.
Okay. I managed to compile it with channel 11 and #define ATTRID_EXT_TEMPS 41368. Re-paired the device. The Problem remains.
In this file: https://github.com/Koenkk/zigbee-herdsman-converters/blob/master/converters/fromZigbee.js
Line 1353: if (msg.data.data['41368']) {
Is that correct? Should it not be: if (msg.data['41368']) {
?
The lines below line 1353 use msg.data instead of msg.data.data.
Changed
if (msg.data.data['41368']) { ds18b20Id = msg.data.data['41368'].split(':')[0]; ds18b20Value = precisionRound(msg.data.data['41368'].split(':')[1], 2); }
to
if (msg.data['41368']) { ds18b20Id = msg.data['41368'].split(':')[0]; ds18b20Value = precisionRound(msg.data['41368'].split(':')[1], 2); }
It actually works fine now. Also getting a lot more readings. Like CPU temp, etc. They did not appear before. Do you think this was the issue?
Not sure if this is an issue with ZigUP or z2m. Let me know if it does not belong here.
I am getting a lot of this:
Looking at the code of z2m it seems it does that with the precompiled firmware since it does not have the temp sensor connected?