-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Salus Controls PS600 - random "model ID" (zigbeeModel) #16272
Comments
I have the same problem. Random characters are generated after PS600 e.g. I've had to create a custom external converter file to be able to add this, but it's very difficult to get the random characters into it correctly. It seems some are simply not recognised at all, even when listed out. Contents of external converter file below in case it helps anyone else get these working.
EDIT: The |
Having the same problem. It looks like this line https://github.com/Koenkk/zigbee-herdsman-converters/blob/master/index.js#L39 should let us to set the zigbeeModel = zigbeeModel ? zigbeeModel.replace(/\0.*$/g, '').trim() : null; Incidentally i finally figured out how to get the right model id for a custom converter, I had to open database.db and copy/paste it out of there. |
Nice one! At least that makes getting the correct ID possible on the first attempt. It took me many attempts copying from the log file and some were split across lines and simply didn't work, as I guess the characters were not being displayed properly. On a separate subject, as I am a novice when it comes to these custom converters, is there a way to bring the battery information in? Apparently there are some battery attributes including voltage available when it's added via ZHA. |
I'm not sure about battery, ZHA doesn't seem to provide any docs on the PS600 to indicate how it would support it. You could try setting the espose value in your custom converter i.e. I was able to figure out why the original PS600 config doesn't seem to get picked up, I've pushed a PR to address it! Hopefully it can be merged. |
Thanks @mikeyyuen. I tried |
@robertwigley the following external converter gave me battery support:
I had to change the reporting and binding a little, which i've not played with before so I'm not 100% ready to PR it! If it doesn't cause me (or anyone else here) any issues, i'll PR the config change. I had to press the "reconfigure" button for the device in the about page to get it to show up immediately, I don't know if that's just me being impatient! |
Brilliant @mikeyyuen. I'm now seeing battery info. Thanks. |
I think this can now be closed. |
Thanks @mikeyyuen ! |
What happened?
PS600 generates a differen "model ID" (zigbeeModel) after each pairing. And also it changes it between it starts pairing and it is paired. The beginning is always the same but not the end.
Also if I add the whole new name into the "/zigbee-herdsman-converters/devices/salus_controls.js" then for example OTA gives me an error regarding non existing model ID.
What did you expect to happen?
No response
How to reproduce it (minimal and precise)
Is it possible to add something like "end of string" char or sequence? This is the first device that I have that do the mess like this.
Zigbee2MQTT version
1.29.2
Adapter firmware version
20220219
Adapter
LAUNCHXL-CC1352P-2
Debug log
No response
The text was updated successfully, but these errors were encountered: