Coder Social home page Coder Social logo

Comments (7)

Koenkk avatar Koenkk commented on July 25, 2024

Could you make a pull request for this?

from zigbee-herdsman-converters.

clumsy-stefan avatar clumsy-stefan commented on July 25, 2024

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)..

from zigbee-herdsman-converters.

clumsy-stefan avatar clumsy-stefan commented on July 25, 2024

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)...
Really sorry, but I'm not an actual developper, but I'm happy to support whereever I can..

from zigbee-herdsman-converters.

Koenkk avatar Koenkk commented on July 25, 2024

Can you dump it into https://github.com/Koenkk/zigbee-herdsman-converters/blob/master/src/devices/tuya.ts? Then we can continue from there.

from zigbee-herdsman-converters.

clumsy-stefan avatar clumsy-stefan commented on July 25, 2024

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?!

from zigbee-herdsman-converters.

Koenkk avatar Koenkk commented on July 25, 2024

yes in one file, you can remove the already existing one

from zigbee-herdsman-converters.

clumsy-stefan avatar clumsy-stefan commented on July 25, 2024

Tried to do a PR, but it seems something is wrong as one oof the tests failed. Unfortunately I have no clue about .ts files, so I can't really see what's wrong with my code.. When I use it like this in my js, it works..

from zigbee-herdsman-converters.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.