-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
New device template for _TZE204_dvosyycn
#7232
Comments
Could you make a pull request for this? |
I can try. I need to find out how and where I need to include it in the existing files. The other issue is, that there exists already a device definition with this odentification, and I'm not sure if there is another device (with 8 or 16 relais), that uses the same ID and I would damage that one. (sorry for my english).. |
I'm struggling to understand the structure of the converters. eg. what needs to go in lib/* , converters/* and devices/* (especially the fzLocal and tzLocal functions). Also if I should extend the */tuya.js definitions oder make a complete new one (all in device/xyz.js or split in lib/xyz.js and device/xyz.js)... |
Can you dump it into https://github.com/Koenkk/zigbee-herdsman-converters/blob/master/src/devices/tuya.ts? Then we can continue from there. |
Sure, all of it in one file then? And I would need to remove the existing definition of that device, hopefully not breaking anyones devices... I assume I can/should do the same #7181, that one also runs smoothly in my environment?! |
yes in one file, you can remove the already existing one |
Added definition for 8In/8Out board from ZYXH, see also Koenkk#7232
Tried to do a PR, but it seems something is wrong as one oof the tests failed. Unfortunately I have no clue about |
Even though this device alreday exists, it seems that there are multiple versions of this.
The version I have from AliExpress has 8 Analog Inputs and 8 Digital outputs. The inputs can be directly connected to the outputs or individually used.
Attached the template to use the device incl. the analog ports and change the input settings / couplings.
Probably this is of use for someone...
The text was updated successfully, but these errors were encountered: