How can help me to integrate Temp/Hum-Sensor _TZE200_vvmbj46n #18827
Replies: 17 comments 6 replies
-
This works for me. Only the battery state is not working. any help here?
|
Beta Was this translation helpful? Give feedback.
-
here is some data:
|
Beta Was this translation helpful? Give feedback.
-
Thanks Obmawo for your converter |
Beta Was this translation helpful? Give feedback.
-
A lot of extra datapoints, based on the value I cannot immediately determine which on the battery is. Does somebody maybe have a TuYa gateway? It can tell what the values mean: https://www.zigbee2mqtt.io/advanced/support-new-devices/03_find_tuya_data_points.html |
Beta Was this translation helpful? Give feedback.
-
Try this, partially stolen eeeeeh... inspired from original Tuya.js file: PS: I apologize but for some reason code block is not working. More than likely its not happy with some chars inside the code but I'm too tired to care right now :) const fz = require('zigbee-herdsman-converters/converters/fromZigbee'); const e = exposes.presets; const definition = { }; module.exports = definition; |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for you nightwork. I will try it today immediately. Where did you find the "tuya.js"-file? Is it a possible source for another unsupported devices? |
Beta Was this translation helpful? Give feedback.
-
It is under the
"/opt/zigbee2mqtt/node_modules/zigbee-herdsman-converters/lib" folder on my
installation. It may be slightly different for different installations I
presume.
Thank you and best regards,
…On Wed, Sep 20, 2023 at 12:26 PM ThomasKlesse ***@***.***> wrote:
Thank you very much for you nightwork. I will try it today immediately.
Where did you find the "tuya.js"-file? Is it a possible source for another
unsupported devices?
—
Reply to this email directly, view it on GitHub
<#18827 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAYUTOAMU534O6GCTH7IL3X3MRLVANCNFSM6AAAAAA4H67LXQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
Gokhan KORALTURK
|
Beta Was this translation helpful? Give feedback.
-
I'm getting a TypeError "e.numeric is not a function" at startup when I 'plug it in', it seems like "e" is not recognised as an object of the correct type - when I comment things out I also get "e.enum is not a function".
|
Beta Was this translation helpful? Give feedback.
-
That is interesting. "const e = e.presets" line should have seen to that. More than likely it is caused by either a version difference or some of the files are in different paths between our systems and not properly included. In any case I'm glad you've been able to make it work! Have fun ! |
Beta Was this translation helpful? Give feedback.
-
There isn't "const e = e.presets" in the code though?
I just went over the repository and found a few files with the same methods
and similar structure and copied how they were referenced.
…On Fri, 22 Sept 2023 at 22:16, gokkor ***@***.***> wrote:
That is interesting. "const e = e.presets" line should have seen to that.
More than likely it is caused by either a version difference or some of the
files are in different paths between our systems and not properly included.
In any case I'm glad you've been able to make it work! Have fun !
—
Reply to this email directly, view it on GitHub
<#18827 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A7CVFPUPJC6DNLFPHUELAMDX3V6TPANCNFSM6AAAAAA4H67LXQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Well, I'm out of ideas. 🤷♂️ (Not that I had a lot to begin with 😆 ) Importantly, it works! |
Beta Was this translation helpful? Give feedback.
-
I used this code and all was solved for me: const fz = require('zigbee-herdsman-converters/converters/fromZigbee'); const definition = { module.exports = definition; |
Beta Was this translation helpful? Give feedback.
-
Do the updates work for you guys? I try to change the slider, I can see in the logs that something is being published, however the state does not change. |
Beta Was this translation helpful? Give feedback.
-
As far as I can remember it works. I'll try and check in the morning.
…On Fri, Sep 29, 2023 at 7:07 AM Łukasz Sitarski ***@***.***> wrote:
Do the updates work for you guys? I try to change the slider, I can see in
the logs that something is being published, however the state does not
change.
—
Reply to this email directly, view it on GitHub
<#18827 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAYUTOCQTC7OQSW4MFUTULX422ZVANCNFSM6AAAAAA4H67LXQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
Gokhan KORALTURK
|
Beta Was this translation helpful? Give feedback.
-
In my case humidity was showing as Null because I saw this in Z2M debug output Zigbee2MQTT:debug 2023-11-08 14:28:06: Received Zigbee message from 'THSensor-5-Zigbee-LivingRoom', type 'attributeReport', cluster 'genBasic', data '{"65506":56,"65508":1,"appVersion":72}' from endpoint 1 with groupID 0 |
Beta Was this translation helpful? Give feedback.
-
I've tried a couple of variations, and I see the sensor data in home assistant, but the controls don't work. Error from HA is
If you change the setting from the zigbee2mqtt device "exposes" form, it does seem to be trying:
However if you try the same thing from HA device page, I get a slightly different error, indicating that HA is using a different topic style to set the value;
config I am using is this one: I have tried with both seems like the state value has been preset to "120" for both humidity_report_interval and temperature_report_interval |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I tried to use the Tuya platform to understand the device TZE200_vvmbj46n. But it is not listed among the virtual devices. I only have one SONOFF coordinator, so it's probably difficult for me to work with the Tuya network.
Can you help me to support to integrate the device natively or as a converter file?
Many thanks!
Thomas
Beta Was this translation helpful? Give feedback.
All reactions