-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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 SODA Circle S8 window handle _TZE200_j7sgd8po
#7565
Comments
In order to get this integrated, we have to get rid of |
I'm happy to help, what how/what should I check? How do I integrate this "ext.js"? It looks the same as my .js just without the tz/fz part... I'm really sorry but I still don't understand how the whoel ts/nodejs stuff works... EDIT: Sorry, I hope I'm getting more into it... |
Ok, just tested your definition. Basically everything seems to work except "calibration" where it throws a "no datapoint defined for calibrate". And two minor syntax errors (some wrong "}" or so)... does that help? EDIT: According to the documentation calibration can be one of "clear" or "execute", so I amended your .js file with these values in the exposes as well as the datapoints section, now all seems to work! Ammended version:
|
Great, yes it's a replacement for your own converter. Just to confirm, everything works now and I can integrate it? (with the code from: #7565 (comment))? |
As far as I could test, yes! I removed the three commented lines as it was for testing, so from my point of view you could integrate it! Thanks a lot for your help!! |
Thanks, added! Could you also submit a picture for the docs? This can be done by clicking here. Make sure that:
|
Does it work when clicking Add file -> Create new file here? |
Yeah it seems to work. But the model reportet is just "TS0601" which I think already exists, that's quite generic... SO I think the code need to be amended to show something more uniqe? EDIT: and I can't upload. To create a new file I guess I would need to frok the repo and propose a change / make a PR... |
I see, will add the picture with the next release! |
Thanks, I saw it's integrated since yesterday. Would it be possible to change the Vendor reference from TuYa to SODA GmBh.? Also, can I somehow extend the Description to make a reference to the homepage of the product, as it's a quite rare one and hard to find... regards |
|
Thx a lot!! PR for documentation done... |
PS: not sure, but after changing vendor/model you probably need to rename the device image/png? |
That will be done with the next z2m release |
Today a second device arrived having the same issue. @clumsy-stefan They asked me to contact you as well, as it seems you've got it working fine with zigbee2mqtt. Which coordinator are you using? After interview is done, rotating the handle doesn't result in any message to zigbee2mqtt Thanks and best regards Thiemo |
Hi Does resetting and rebinding work? Can you try what happens if you trigger the alarm (i.e. shaking the handle while it's closed) and see if it starts to send events? Do you have the chance to test it with another coordinator? |
@clumsy-stefan I did receive another one, but that one doesn't update values as well.... But as I talked to Soda directly this device definetly has the latest FW so that shouldn't be the issue... As I have the same issue with another Tuya device that might be the problem: Koenkk/zigbee2mqtt#24314 |
That issue sounds like it could be related to your problem. However I've never faced that... |
Does anyone of you have the same problem that when you turn the door handle, it feels like both buttons are triggered? The manufacturer claims that this is a software problem, that the entities are being evaluated incorrectly. In the current case, when I turn the window handle, my shutters go up and down because they are placed on the buttons. |
Never had this issue until now on any of the 5 handles... |
That's really strange, I have the feeling that something isn't right. Every time I operate the door handle, it seems like all the values change. Even the humidity sometimes jumps into double figures. Can someone please help me? How can I tell if the device is defective?https://github.com/user-attachments/assets/5c4462c3-be54-47d3-8068-7ad90029299a |
Hi this is SODA as we understand checking 2 different videos of this device Based on the videos, you can see that everything works exactly as it should and as we understood. When the handle is turned, the current value of the sensors is determined at that moment. You can see that the button state "released," meaning not pressed, is sent. Later in the video, you can observe that only the buttons are pressed. At that point, "pressed" is sent when the button is pressed. Shortly after that, "released" is sent, meaning the button is released. Therefore, if you want to respond only to a button press, you must set the event to "pressed." Why the button states are temporarily set to "NULL" in Home Assistant is a peculiarity of Zigbee2MQTT. The handle only sends "pressed" and "released." Zigbee2MQTT apparently sets the button state to "NULL" automatically after a short time. This implementation is fundamentally questionable because every time the handle is turned, there is a change in the button state, which can lead to the described issues for the customer. It always switches from "NULL" to "released" and back again. As mentioned, these "NULL" values do not come from the handle; Zigbee2MQTT sets them automatically. This should be improved, and the automatic "NULL" should be removed. The "jumping" of humidity values is also completely within the range of 1% to 5%. These values are also re-measured when the handle is turned, and due to the sensitivity of the sensors, corresponding fluctuations occur. If the handle is held in hand, the fluctuations can be even greater. |
I hope this helps |
Maybe I'm making a mistake in my thinking and would appreciate some help. Yes, up to now I've only triggered an automation when the button's status changed. But I don't understand how I react to just one event. |
As I don't use Home Assistant I can't really help here. It seems (to me) that Z2M handles it correctly, but probably HA timeouts the Values when there is no update in a certain time and changes it tu NULL... Which would indeed be a questionable behaviour, as especially for battery powered devices only "needed" changes should be sent, even if there is a longer time inbetween. |
So to me it looks like the door handle always sends all values or overwrites Z2M with NULL, because just turning the door handle, which definitely doesn't change the value of the button, sometimes results in NULL. |
FYI I have plans for ordering one and if nobody else fixes the Z2M code in the meantime, I can work on it a bit during my christmas free time 🙂 |
Hi all, |
Oh no, I just wanted to order the window handle now, but it seems to be out of stock on Amazon 😢 In this case I'm not sure I will be able to test and fix the Z2M integration this year. @57234rs59, do you know when it will be available again? |
Good morning, we did not expect to have sold such a large quantity in such a short time. Many people ordered 1 or 2 pieces and then reordered up to 25 pieces by email. We are in re-production and this will take about 10-12 weeks - sorry about this.[ ](@marazmarci I have a reserved sample for you - please contact us at [email protected]. Best wishes, Samuel |
Good morning, I've create the TZE200_j7sgd8po.js. But how include it in the configuration.yaml. Already aks Google but find no solution. Joachim |
Why would you want to replace the existing integration? It works flawless with a pure z2m environment, just HA seems to have issues... What did you change in your version? As I wrote the original (currently in z2m integrated) template I'm happy to test your version in my environment. |
Below a new template for the SODA Circle S8 Professional window handle, probably this is of use for someone.
I have the agreement from the supplier/manufacturer (SODA GmbH) to publish it here and have it included in the z2m project!
Just save it as
TZE200_j7sgd8po.js
in your data directory and include it in yourconfiguration.yaml
.If someone want's to include it in the standard distribution, feel free, unfortunately I don't succeed in making a successful PR (as I don't understand how to include the special functions in the standard library).
Regards
The text was updated successfully, but these errors were encountered: