Replies: 3 comments 7 replies
-
To start, I am not an expert at all😉. Why don't you use an external converter ? No need to modify the files you edited https://www.zigbee2mqtt.io/advanced/support-new-devices/01_support_new_devices.html |
Beta Was this translation helpful? Give feedback.
3 replies
-
Is there a description somewhere about how to do this? What files goes where etc. |
Beta Was this translation helpful? Give feedback.
1 reply
-
What you can do is, from the z2m folder:
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have updated the definition for a Namron thermostat plug, but I did so with the source code from the "node_modules/zigbee-herdsman-converters/devices/" directory that appears after I run "npm ci" in the zigbee2mqtt repo. The source code in the node_modules directory has several differences compared to the source code in the zigbee-herdsman-converters repo, specially when i comes to importing libraries etc.
My updated module for the thermostat plug seems to work as expected with the modifications I made to the namron.js file, but since I made this to the file in the node_modules directory, it seems to be complicated to have it included in the zigbee-herdsman-converters..
So my question is, how do I set up my system to and perform the development in the zigbee-herdsman-converters repo and have this running on my computer.
PS, I am running zgbee2mqtt in a terminal window under Ubuntu. (npm start)
I am novice when it comes to java script and git, but have some experience with C++, so after many hours of searching through the (missing) documentation and trial and error I was able to modify the code for the Namron thermostat plug to operate as a thermostat, and I like to have this included in the official code...
Beta Was this translation helpful? Give feedback.
All reactions