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
Tuya Smart Button IH-663 #7205
Comments
As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs. |
As there has not been any response in 28 days, this issue will be closed. @ OP: If this issue is solved post what fixed it for you. If it is not solved, request to get this opened again. |
Reopen please, I have this device as well and would like it to work with Phoscon. |
I took the DDF I can now pair the switch in Phoscon, it is recognized. BUT: I do not get any button events via the API. I haven't tried anything else, I don't know DDF at all :) |
If yours is not the same manufacturer name, you have to open a new device request. |
@Mimiix I have exactly this device mentioned by the original poster. modifying the existing DDF apparently did not work, but could you still reopen the issue please? |
Can you show me the basic cluster ? |
Thanks @Smanar would you please help out? |
@Smanar I went ahead and did the change to The switch can now be paired with Phoscon, and I see events coming trough deCONZ REST API, including button clicks (single press, double press, long press). Still, strangely, once I hit the button, I get loads of events from the device, updating its values constantly for about 30 seconds, even though the values never change. Is this expected behavior? |
I've added the |
Oups sorry, have totally skipped this post
He, for me not, the device can wait for a "confirmation" from deconz. The report from battery is set here
If this one is not working, and after the time set in refresh.interval (it's for that need to put greater value in it than in bind) deconz make a poll to get the value. |
I have a switch that appears to be identical to the one shown here, except that it reports "_TZ3000_mrpevh8p" as the manufacturer name. It is found in deconz, but not in Phoscon. How can I integrate it and use it in Home Assistant? |
You can do like him #7205 (comment) |
I did it, it is found in Phoscon now, but it only shows the battery status. No button events. |
You have edited too the Buttonmap file ? |
@manup @Smanar could we open this again? Once I hit the button, the battery value is sent multiple times per second, for 20-30 seconds (I suppose the button goes to sleep after that time). |
Did you update to 2.25.0? |
Im looking on Z2M they are doing nothing special except adding the tuya magic packet.
New device don't support bind, so can try to remove
But this part can make the device not working. You haven't some logs when you press the button ? To see if the problem is from the device or deconz, can be something normal, tuya is exotic stuff. |
You have added
In your DDF ? Can start with flags "info" and "info_l2" to start if its too much talkative, else an usefull one is "ZCL" |
@Smanar That did it! Thanks! |
Hi, They are recognized in Deconz. Thanks |
I only see an entry in the add ins log when the button is pressed. In ha itself I see neither the devices nor events. In the others, the devices are displayed after the changes. Am I doing something wrong? |
Can you share some logs ? |
Good morning, happy to upload some logs later when I get back. So far I have several plugs, lights and a button from Silvercrest working. Apart from the described changes in _TZ3000_TS0041_1gang_bat.json and button_maps.json nothing has been changed. Perhaps also important. Thanks a lot |
IDK, I just want to see the one you have, for the moment I realy don't understand what happen
You are using the official docker ? If yes DDF need to be in the But all is native, you don't need to play with DDF, you can have a battery drain without the last version, but it will work natively. |
I open Docker via the terminal addon Advanced SSH & Web Terminal Login via SSH to HA
I have the file _TZ3000_TS0041_1gang_bat.json from the path /usr/share/... to the /data/... folder as described and executed the hot reload. Unfortunately I cannot assign the buttons in the settings yet. |
On HA you have a persistent folder here And on HA you can edit DDF but harder to edit the buttonmap file, and you need it for button return. For the "schalter", better to look direclty in the API, phoscon/help/API Information/sensors. Phoscon is a third app like HA, they can add "stuff" |
Yes, I have copied the file to this folder. I just couldn't remember the exact path.
Then I'll check the button map and see if I can do anything there. Thanks for the support and have a nice weekend. |
Was just a remark, if you can see button event on phoscon, it mean the buttonmap file is fine, but on my side I don't see something native for the qgwcxxws on the actual code. |
I can see the buttons, but unfortunately only an empty cover. |
This device don't have the group cluster, so I don't think it can support it. |
No, unfortunately not. I think I'll buy supported buttons to get me started. |
Ikea and philips are working for sure, but tuya it's more random. |
Screenshots
Node Info
Basic Cluster
Power Config Attributes
On/Off attributes (there are two On/Off listed. This is the Blue text one)
On/Off attributes (there are two On/Off listed. This is the Grey text one)
These Tuya Smart Buttons have three states: Single Press, Double Press, Long Press.
Obviously I can see them in DeCONZ, but it does not appear in Phoscon as anything. I've tried all devices.
I am trying to get this device to work in Home Assistant to trigger LED light states from the different button push states.
The text was updated successfully, but these errors were encountered: