Code Monkey home page Code Monkey logo

Comments (7)

AltyorFig avatar AltyorFig commented on July 20, 2024 1

Hello @Mariano-Github ,

I really thank you for your help, I will test all the solutions that you propose to me. Sorry again for the inconvenience.

Beautiful day

from edge-drivers-beta.

Mariano-Github avatar Mariano-Github commented on July 20, 2024

Hi Emilie

Added to this driver version

───────────────────────────────────────────────────
 Driver Id    e9bfd289-1d51-499e-8c64-d564d1868ad2 
 Name         Zigbee Multi Switch and Child Mc     
 Version      2023-03-31T15:28:33.368359212        
───────────────────────────────────────────────────
- id: "NodOn/SIN-4-1-20"
    deviceLabel: Multifunction Relay Switch
    manufacturer: NodOn
    model: SIN-4-1-20
    deviceProfileName: two-switch
  - id: "NodOn/SIN-4-1-20-PRO"
    deviceLabel: Multifunction Relay Switch PRO
    manufacturer: NodOn
    model: SIN-4-1-20-PRO
    deviceProfileName: two-switch

from edge-drivers-beta.

AltyorFig avatar AltyorFig commented on July 20, 2024

Hi @Mariano-Github ,

Thank you for your reactivity, I apologize in advance, I just realized that I made a naming error (id + device label), could you update?

  • id: "NodOn/SIN-4-2-20"
    deviceLabel: Lighting Relay Switch
    manufacturer: NodOn
    model: SIN-4-2-20
    deviceProfileName: two-switch
    • id: "NodOn/SIN-4-2-20-PRO"
      deviceLabel: Lighting Relay Switch PRO
      manufacturer: NodOn
      model: SIN-4-2-20-PRO
      deviceProfileName: two-switch

Also, once this update is done, to be able to test, can we add it with the Smartthings CLI commands and also for publication, is this done in the same way as the other modules present in the community? Thanks for all that work.

from edge-drivers-beta.

Mariano-Github avatar Mariano-Github commented on July 20, 2024

Hi
Modified in this driver version

You can install driver in your hub from channel link in my github README.md
If you already your hub enrolled to my channel, you can also install it with the CLI
Once device paired you can view the running logs with the CLI

───────────────────────────────────────────────────
 Driver Id    e9bfd289-1d51-499e-8c64-d564d1868ad2 
 Name         Zigbee Multi Switch and Child Mc     
 Version      2023-04-03T15:52:42.086859975        
───────────────────────────────────────────────────
- id: "NodOn/SIN-4-2-20"
    deviceLabel: Lighting Relay Switch
    manufacturer: NodOn
    model: SIN-4-2-20
    deviceProfileName: two-switch
  - id: "NodOn/SIN-4-2-20-PRO"
    deviceLabel: Lighting Relay Switch PRO
    manufacturer: NodOn
    model: SIN-4-2-20-PRO
    deviceProfileName: two-switch

from edge-drivers-beta.

AltyorFig avatar AltyorFig commented on July 20, 2024

Hi @Mariano-Github ,Thanks for your answer. After testing device, how can we pull request to smartthings? Is it recognize for adding product in the console for company like others?

from edge-drivers-beta.

Mariano-Github avatar Mariano-Github commented on July 20, 2024

Hi,

This driver is not an official driver, it is a personal driver.

If you want to add the fingerprints to the smartthings Zigbee Switch driver you will have to make a pull request on the github smartthings beta drivers

https://github.com/SmartThingsCommunity/SmartThingsEdgeDrivers/tree/production/drivers

from edge-drivers-beta.

Mariano-Github avatar Mariano-Github commented on July 20, 2024

Hi Emile

If you need help on how to integrate the dual switches in the stock Zigbee Switch driver I can help you:

  • You have to add the fingerprints with "basic-switch" profile, like this for example:
- id: "eWeLink/ZB-SW02"
     deviceLabel: "eWeLink Switch 1"
     manufacturer: eWeLink
     model: ZB-SW02
     deviceProfileName: basic-switch
  • Then you have to go to the subdriver: "multi-switch-no-master"
  • Add the fingerprints of your devices in the table and how many chil devices you have to create:
local MULTI_SWITCH_NO_MASTER_FINGERPRINTS = {

 { mfr = "NodOn", model = "SIN-4-2-20-PRO", children = 1 },
 { mfr = "NodOn", model = "SIN-4-2-20", children = 1 },
}

This will be created by installing the child device device for switch-2 and a simple switch for main.

With this they should work perfectly with the stock Zigbee Switch

If you have doubts you can tell me

from edge-drivers-beta.

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.