Skip to content
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

Lonsonho Tuya Zigbee 3 way switch (TS0043 / _TZ3000_a7ouggvs) #4520

Closed
Big4SMK opened this issue Mar 4, 2021 · 2 comments · Fixed by #4522
Closed

Lonsonho Tuya Zigbee 3 way switch (TS0043 / _TZ3000_a7ouggvs) #4520

Big4SMK opened this issue Mar 4, 2021 · 2 comments · Fixed by #4522

Comments

@Big4SMK
Copy link
Contributor

Big4SMK commented Mar 4, 2021

Device

  • Product name: Lonsonho Tuya Zigbee 3 way switch
  • Manufacturer:_TZ3000_a7ouggvs
  • Model identifier: TS0043
  • Device type : Switch

Note that I already added the manufacturer in my tuya_testing to get to the below screenshots. However, I'm a bit at a loss on how to continue. From other threads I understood that I could use the API to see button presses, but per the below json the state returns null for the buttonevent.
Any help to move things forward would be helpful.

Screenshots

image
image
image

{
    "config":{
        "battery": 100,
        "on": true,
        "reachable": true
    },
    "ep": 1,
    "etag": "4f50140a18929c74b4d9d4788763a07e",
    "lastseen": "2021-03-04T21:44Z",
    "manufacturername": "_TZ3000_a7ouggvs",
    "mode": 1,
    "modelid": "TS0043",
    "name": "Switch",
    "state":{
        "buttonevent": null,
        "lastupdated": "none"
    },
    "type": "ZHASwitch",
    "uniqueid": "5c:02:72:ff:fe:d7:66:c3-01-0006"
}
@Smanar
Copy link
Collaborator

Smanar commented Mar 5, 2021

Your code seem good, but remember you need to edit the json file too.
This file is in /usr/share/deCONZ/device or something like that.

@Big4SMK
Copy link
Contributor Author

Big4SMK commented Mar 5, 2021

Oh thanks! Your comment made me realize that the json is not being used to create the shared object but needed to be copied as a separate file. It seems to be working fine now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants