-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
[New device support]: Linptech Presence Sensor ES1 (TS0225__TZ3218_awarhusb) #18637
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
Comments
This device is rather different than the rest of the presence sensors based on the Tuya platform. |
ah, I see. I should probably just return this device, then. |
Amazon reviews are good, I would wait some more days or weeks, it will be surely supported in Z2M sooner or later ... The form factor of this device is the same as the Xiaomi Mi-Home Bluetooth presence detector, and Xiaomi devices are typically of a much better quality than most of the similar things coming from AliExpress. |
It would be great to see this one work! Would this method still work to find the Tuya Data Points? |
Not sure if this information will help, but I can't get very far with an external converter. Here's the illuminance cluster when my office light is off: Here's the illuminance cluster when my office light is turned on: And here is the manuSpecificTuya_2 cluster. It's at a distance and the value (shown as 214 below) goes down as i get closer to the device. Thinking distance? When I get really close to it, the cluster changes like this, the 57354 changing to 57345 and the 214 number jumping way up. It's like the distance measurement jumps to smaller units? And here's the IasZone cluster: I also get this genTime cluster, not sure what that does: There's also a genBasic cluster that only shows up sometimes. I just need to understand how these work rather than the typical Tuya "data points". |
Greetings! Acquired a rebranding from MOES with the same designation. |
Let's start simple, does battery and occupancy work with this? https://gist.github.com/Koenkk/2e438754fac949869e5c2cf5219382aa
external_converters:
- ext_converter.js
|
I had returned this because I assumed it won't work. Let me try getting a hold of this again and try the external converter. |
Greetings, Koenkk! |
I've tried the external converter. Same as @VikeDragon, I get Occupancy, Battery, and Linkquality. Occupancy and Linkquality seem to work, but Battery is "Null" since it is USB powered. |
This device also exposes the illuminance via the standard ZCL cluster 0x0400 |
Added illuminance, removed battery: https://gist.github.com/Koenkk/2e438754fac949869e5c2cf5219382aa |
Getting an error with the illuminance: |
Try just binding the illuminance cluster without configuring the reporting. This is a rather weird device... Not typical Tuya data points implementation. It uses cluster 0xE002 for configuring the parameters: Tuya cluster 0xEF00, data point 101 - the 'fading time', range 10..10000, rw |
I also just got the MOES Human Presence Sensor and tried this ext converter and Lux is NULL FYI - This is the correct image for the MOES Plug |
Does the MOES sensor have exactly the same fingerprint: tuya.fingerprint('TS0225', ['_TZ3218_awarhusb']) as the Linptech? |
Yes looks like it |
Still showing Illuminance as Null, but, the error has gone away. Sending I've sent an email to Linptech to see if they can help out. |
Same thing with MOES sensor. |
This is a screencap for the MOES version |
Here are some screenshots from the Smart Home app. It is pretty basic sensor. IT shows only 4 variables.
This is everything that can be changed, only 4 settings. It shows the following:
|
Anything new on the subject? How can we use this mmwave sensor with Zigbee2MQTT? |
Still not able to figure out these messages: I've tried adding fzLocal and tzLocal to the converter file to help describe the messages, which I believe is a target distance. Here's my converter:
But I'm getting an error: I just don't know enough about this stuff to do much more. Any help would be appreciated. |
Ok, I'm getting somewhere! I have the target distance working (sort of). Here's my latest converter.
My biggest issue right now is figuring out the difference between these two messages:
|
So this comment has prompted me to read up on ZCL clusters. I'm literally over my head here, but it looks like the standard Illuminance Measurement cluster (0x0400) has only 5 attributes, while the one reported here seems to have 10:
Does this indicate that the cluster is non-standard, so we kinda have to guess at what the attributes are? Soon @blakadder may have some input :-D |
Sorry @marazmarci , I have already updated my Linptech ES1 (MOES) device using a Tuya GW. |
@kkossev true, sad thing, but thx anyways! |
Did you buy the zigbee version or the Bluetooth version?
…On Fri, Aug 9, 2024, 11:08 AM FireROR ***@***.***> wrote:
Got a Linptech ES1ZB(MI) today and it kept blinking a blue led and
zigbee2mqtt can't detect the device. Any idea how I can troubleshoot?
—
Reply to this email directly, view it on GitHub
<#18637 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVPFRAUKIUQZZUL67AY5H4DZQTLM7AVCNFSM6AAAAAA3TNUPDWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZYGE3DSNRTGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Firmware updates from TUYA would be great. I would love to have the LED light accessible from Z2M. Buying a gateway just to turn it off seems wasteful. |
fzLocal: e.numeric('motion_indicator', ea.STATE_SET) this is my setting for the led indicator light , but it return No converter available for 'motion_indicator' (0) |
I've figured the calculation of Lux !!!!!!!!! const measuredValue = Number(buffer[7]) * 256 + Number(buffer[6]); i think it fits perfect, though i don't use a lux meter to compare the numbers, but i've confirmed the formula through the max buffer value i got with [8,19,10,0,0,33,65,156,0,0], 156 * 256 + 65 - 1 = 40000, which is exactly the same max Lux number 10000 lx as the product introduces. Also i noticed that the calculation is same as in fromZigbee.ts. |
Awesome!! |
Does anyone have a way to update the firmware without getting a Tuya hub? |
@ryangu great, could you make a PR to update the code? |
Well .......... I bought the hub for about US$10 on aliexpress. I tried to use the old app according to the docs but this device is too new to view it for some reason. I upgraded the linptech presence sensor using my phone and latest app. V1.0.5 to V1.0.6. I turned off the stupid blinking light and then removed it from the app and put it back in HA. I will try with wireshark to see if I can figure out the OTA link but I only have one more device to try it on. It would be helpful if HA and/or Z2M folks could get the links from Tuya. |
Hi @felafel , |
That was the document I referred to in my info; "I tried to use the old app according to the docs". BTW, the link to the APK is not working so I did find that version on another APK mirror. I only have one more device to try this on so I need to figure out how I can capture the URLs the app will try to use. Maybe if I can get a log from my internet router? I am a dev so this network traffic stuff is not my thing. I have wireshark but I think it won't hit my computer's NIC so that probably is not worth it. I will try some stuff. |
done. also add the led indicator attribute |
@ryangu Could it be possible to bring the previous illuminance value back, e.g. as an additional "raw" sensor reading? |
@eremem Well, nothing has changed but the value, you can do the reverse calculation to convert the old lux value to the new formula. |
Please let us know if someone found a way of updating the firmware using Z2M instead of having to buy a Hub! |
Two things: I have the Linptech version. I cannot change the distance or the sensitivity and make it save. Is there a reason we cannot change the values? Do I need to change them with the TUYA hub and then get the device back into z2m? It is annoying. I am away from home until the end of the month. I will look into finding the URL when I get back. |
Had the same issue on one of mine, had to re-pair it and works perfectly now. |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days |
Any update on the the Moes wwmave human presence sensor? Mine also shows as _TZ3218_awarhusb TS0225. What is the latest and best so far converter that exist? thanks |
Have you updated to the latest firmware via connecting to a Tuya hub / app? |
No, it's stupid but I didn't think about it.😅 |
Anyone managed to update the Firmware using the Sonoff Zigbee 3.0? |
We need the update link I think. I have the hub and tried to get the firmware using the steps mentioned above. Due to this device being after the version of the Tuya app those steps did not work. We just need to figure out a way to see the link the hub is using. One thing I find very weird is that I think I read where Z2M or ZHA devs have been in contact with Tuya devs about devices but we do not have a structured way to get the endpoints for the devices. Very annoying. |
Is it possible to change the distance measurement to meters? Is there a reason distance is reported in cm? |
Link
https://www.amazon.com/dp/B0C7C6L66J?ref=ppx_yo2ov_dt_b_product_details&th=1
Database entry
{"id":29,"type":"Router","ieeeAddr":"0xb43a31fffe265666","nwkAddr":29864,"manufId":4098,"manufName":"_TZ3218_awarhusb","powerSource":"Mains (single phase)","modelId":"TS0225","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":1026,"inClusterList":[0,3,4,5,57346,16384,61184,1280],"outClusterList":[10,25],"clusters":{"genBasic":{"attributes":{"modelId":"TS0225","manufacturerName":"_TZ3218_awarhusb","powerSource":1,"zclVersion":3,"appVersion":65,"stackVersion":1,"hwVersion":1,"dateCode":""}},"ssIasZone":{"attributes":{"iasCieAddr":"0x00124b0026b884c4","zoneState":0}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":65,"stackVersion":1,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{},"lastSeen":1692243468779,"defaultSendRequestWhen":"immediate"}
Comments
I see another thread requesting support for TS0225 but the manufacturer and the product pages seem to be different for this one.
External converter
No response
Supported color modes
No response
Color temperature range
No response
The text was updated successfully, but these errors were encountered: