-
-
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
Namron 4512768 reports 10x Voltage use and 1000x Amps #25964
Comments
Could you check if the issue is fixed with the following external converter:
external_converters:
- ext_converter.js
|
For some reason I can't get the external converter to load. I made the ext_converter.js file inside my zigbee2mqtt folder. I stopped the z2m addon, and added the external_converters to the configuration.yaml, and started z2m addon again. When I look up the switches they still have "Zigbee 2 channel switch" as description, and not "Zigbee 2 channel switch CUSTOM" as the ext_converter.js says. Does it matter where in the configuration.yaml file I add the code? |
Whoops the instructions are outdated, new ones: Could you check if the issue is fixed with the following external converter:
|
I have tried to save After both these saves I started z2m, but still no CUSTOM in description. Am I correct in understanding that there should be no changes to Language problems is making me unsure if you ment to tell me that i should save the |
The
|
I got a friend that have the same switch to test this in his z2m. He have the same experience. After following the solution described above his device does not get CUSTOM in the description (the same as I experience) It seems like the external converter thing just is not working on both of our devices. Is there any logging I can turn on to see if z2m tries to use the external converts? |
@Aeliassen does your logging show |
I get this in my log file
I see a lot of people have had this problem, and solved it with creating the file with Terminal, but thats not working for me. Any idea why this is happening? More info: If i remove the external_converters folder and restart z2m it starts without these error codes in the log |
Made a mistake, fixed it now: https://gist.github.com/Koenkk/3e055027efc32723af07e2dcf8b6ec6a |
Could you provide the data/database.db entry of this device? |
I tried to find information about database.db in the documentation, but could not find anythin. Is this what you are asking for?
|
Interesting, there is no divisor, could you provide the debug log when re-configuring the device (yellow refresh) button? See this on how to enable debug logging. |
I must have done something wrong the first time I tried the external converter. This time it worked. I now see Power, Voltage and Amps like expected. |
Great, integrated the fix! Changes will be available in the dev branch in a few hours from now and in the next release which is every 1st of the month. |
What happened?
Both L1 and L2 reports 2300V and 64A.
For V this is 10x what it should be, for A this is 1000x what it should be
What did you expect to happen?
I expect it to report 230V and 0,064A. There is a 15W lightbulb connected to each of the L1 and L2
How to reproduce it (minimal and precise)
It seems to affect all users that I have talked with that use this device
Zigbee2MQTT version
2.0.0.2
Adapter firmware version
7.3.1.0 build 176
Adapter
?
Setup
Add-On on Homeassistant on raspberry pi
Debug log
No response
The text was updated successfully, but these errors were encountered: