-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
TS0201 does not update frequently enough. #4202
Comments
You can check if it can be configured more often by changing the entry in {
zigbeeModel: ['TS0201'],
model: 'TS0201',
vendor: 'TuYa',
description: 'Temperature & humidity sensor with display',
supports: 'temperature and humidity',
fromZigbee: [fz.battery, fz.temperature, fz.humidity],
toZigbee: [],
meta: {configureKey: 1},
configure: async (device, coordinatorEndpoint) => {
const endpoint = device.getEndpoint(1);
const binds = ['msTemperatureMeasurement'];
await bind(endpoint, coordinatorEndpoint, binds);
await configureReporting.temperature(endpoint, {min: 1, max: 5, change 1});
},
}, See https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html how to edit |
I too have a bunch of them, they do indeed go hours without updates at times. A heiman next to it to compared logged 2-3 deg change over the time. Not sure they support reporting, I got back an error. I will also try again next time I am at my computer if @SargonofAssyria doesn’t beet me too it |
Just a heads up, there is an error in your new device entry, there needs to be a : behind change. |
I got messages that the device was configured and succesfully interviewed, but some what later I got. |
Half a day later. The Cresta had several increments of 0.1 degrees. The TS0201 still is at the same temperature. |
@SargonofAssyria so it seems that we cannot configure the device to report more often unfortunately |
To bad. Tnx for the effort. |
ive asked tuya to update firmware to fix problem, i have same issue |
Yep, same issue with mine I just retried, same error I as when i tried it a few weeks ago too. Device was awake because I kept it online by pushing the little button, to rule out it taking a nap. |
After I left the device at rest, it seems to have a default step size of 0.7 degrees. |
In a desperate attempt to improve the reporting frequency (or alternatively decrease the reporting threshold), I've noticed that the device reports data every 1 minute if the button is continuously kept pressed. I, however, have no clue what the implication on battery life are. If anyone could do some measurements, I'd be very curious... |
I tried that too, and it works some times. But I also get messages about leaving the network, so I have to include it again. |
@SargonofAssyria : I've managed to dissemble it without breaking and block the button in the pushed position. So far so good, for me it reports data every minute and the signal symbol on the LCD is blinking like every second. While this works here, I doubt battery life wilkl be great, but, as I said, I cannot measure such small current with the tools I have.... To disassemble, just start in the battery compartment, inserting some screwdriver forcing a bit, and at the same time popping the plastic clips all around. There are like 5 clips, I'd recommend starting below where there are a few holes (it's only one clip there). Btw., I certainly don't have disconnections problems. Maybe in your case LQI is too small ??? |
Tnx, for the instructions how to open the TS0201. I block the switch and see the updates coming every minute. |
Any reports on battery life after modification as otherwise it's useless due to no updates. |
As I said, that's no way for me to measure actual current, so just looking at the battery voltage it's still at the starting value. So, looks fine here ! |
After the modification ( 1 week ago ) battery is still at 100% and voltage dropped from 2.9 Volt to 2.8 Volt. |
Well, battery life is just about two weeks with good batteries. In my opinion this is simply not acceptable... |
I switched all of mine to the new sonoff ones, they u take annoying cell batteries but atleast update often enough for me to get nice data. And they were super cheap in bulk. |
Mine are after more then 3 weeks still at 100% and voltage 2.700 |
https://www.itead.cc/sonoff-snzb-02-zigbee-temperature-and-humidity-sensor.html
Data I am getting from them is pretty consistent, even have one outside and it’s holding up fine!
~ sjorge
… On 7 Nov 2020, at 16:00, SargonofAssyria ***@***.***> wrote:
Mine are after more then 3 weeks still at 100% and voltage 2.700
Which "new sonoff ones"?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Tnx, I have a Xiaomi look a like. But this one does not have a display. |
is there any firmware update ? |
Device does not support OTA. |
how they flashed firmware first time ? :-) |
Factory bakes them in, sometimes making fuses burn in the result to make it truly read only...
Realistically speaking if the device does not support Zigbee OTA you're not going to get fimrware updates for it, and if it does... it's still a difficult to get the firmware files. |
Mine are after more then 4 weeks still at 100% and voltage 2.600 |
Well, that's good to know. Mine stopped working when voltage dropped to
around 2.0V. This does happen fast, though.
Anyways, 4 weeks is quite decent. Which batteries, btw. ?
…On Sat, Nov 14, 2020 at 6:47 PM SargonofAssyria ***@***.***> wrote:
Mine are after more then 4 weeks still at 100% and voltage 2.600
I think the 100% is wrong, but device still working, although voltage is
going down rapidly.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#4202 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADRSNYK22NJKR3Y2IUSBEF3SP27BLANCNFSM4QODYGAQ>
.
|
I have 20 of these sensors, the battery lasts for 2 months at max. This is definitely not acceptable since it is being advertised as a one-year battery lifetime, and in reality, it is not even 1/4 of that. |
I hope so, please report here for comparison. I've just changed batteries (alkaline) in a modded device.
Sure, but I'd be careful when physically pushing the button on the device, if the Attyni is powered/working. I did enable BOD (1.8V), since the device stops working anyhow at 1.9V. Let's see what happens! |
Btw., I'm also considering powering the devices using eneloops. Has anyone tried this? Any figures regarding battery life? Thanks! |
@jandy123 I got 30 of these sensors and the battery life was poor. They used to last for 3 months on energizer batteries. |
@falmanna Hmm, that's not much. Curious about rechargeables even more... |
Hello, |
Hello, @jandy123: thank you for providing this solution that works fine. ATTiny adds 4µA of current drain. not so much. that is 35 mAH per year. |
@3615JMD Great, thanks for sharing! === Btw., battery life with eneloops is by no means great. (I suspect the zigbee chip + lcd screen are the biggest consumers; not much to do here.) I get about 3-4 weeks of a pair of new eneloops 750ma. Well, at least I can recharge them quite a number of times ;). |
@jandy123 do you plan to provide an updated version of your code? and maybe we should make a gist out of it |
@jandy123 @3615JMD I've also added the mod from @3615JMD, maybe you can give feedback if this is what you have explained above. Feel free to give feedback edit: |
@eloo, |
Hi everyone, Just got some TS0201 and have the same problem. However the hack with Attyni13 seems promising. But what about the battery life with this hack? I see 3-4weeks with 750mA batteries in the previous posts. Is it with the hack? Does anyone have a kind of comparison of battery life with and without this hack? Thanks :) |
Hi @petitchti, my current battery life experience is that 2/4 are still running the original batteries (around 6 month now in total and 2 month with the ATTiny in place) So IMHO we can expect a runtime more than 2 month in general. I guess 3 or 4 month could be possible. |
@eloo 6 months is crazy... Are they connected to Zigbee? I (re)placed on the 22nd December 2021 eneloops 750ma in one device and it's still running. I'll report again when it dies. |
So im in the same boat.. |
@RuneNyhuus |
I promised to report battery life using eneloops 750mah. Well, here it is: after 7 weeks of working, today voltage dropped to 1.0v per cell and device stopped working. Still, I find 7 weeks quite reasonable. |
Hi, |
@mecrean Looks more like you need to enable debouncing. In case you use zigbee2mqtt, check out this option https://www.zigbee2mqtt.io/guide/configuration/devices-groups.html#common-device-options |
@jandy123 , in your code there is sentence I looked on PCB of TS0201 ,and found a 10k with is in series with the button ( button gives shortcut Pin3 of P1 socket on TS0201 to the ground thru 10k resistor) , but connecting directly to pins P1 of TS0201 this resistor is bypassed ( ATTINY13 is shortcuting it directly , unless there is some internal 10k resistor in ATTINY13 ?) . I modified this solution by adding 10k resistor beetween ATTINY13 PIN6 and Pin3 of P1 field on TS0201 and still works ok. |
You can now flash those device with firmware from https://github.com/pvvx/ZigbeeTLc
|
Hello KipK, |
there's a firmware for the TS0201_TZ3000. |
In Z2M the TS0201 is not appearing in OTA tab, how to flash it please? |
TS0201 TZ3000 arrived today, compared to the original TZ2000 version, it does not have a rear leg as a stand. The send temperature button also toggles between ˚C and ˚F, I modified the TZ2000 with a timer to send the temperature every minute, unfortunately it will also toggle C/F here. Otherwise, I use NIMH Ikea Ladd in them and they last more than 1/2 year without problems. |
@PetrP2B , have you tried to flash it with the custom fw mentioned above? |
@KipK , I guess I don't quite understand how to do it, I tried to start the search on the NTB, which I have to BT, according to the description, but it doesn't find the thermometer. Specifically, it is this model https://www.aliexpress.com/item/1005005951863680.html?spm=a2g0o.order_detail.order_detail_item.5.4977f19cqKfAJO, unlike the TZ2000, it does not have a rear foot and switches C/F with a button. |
If it's already using ZigBee you can't flash it using the web panel. It's only for Bluetooth ones. You need to flash it with an usbttl |
The TS0201 does only update a few times per day while temperature and humidity change a lot more.
The device presents it self as: Model is TS0201 by _TZ2000_a476raq2.
The steps of temp changes are high. Sometimes more then 2 degrees, but mostly 0.7 - 0.9 degrees between updates.
The setting I use in the configuration.yaml are:
temperature_precision: 2
temperature_calibration: -2
I have used other 'precisions' but the result is the same.
Is there a 'hidden' setting about the update frequency?
I have a Cresta, TFA TS34C nearby and that device change dozens of times per day in increments of 0.1 degree.
What did you expect to happen
The TS0201 should have (almost) same kind if updates.
Debug Info
Zigbee2MQTT version: 1.14.3-dev (commit #a78d0f6)
Adapter hardware: CC1352P-2
Adapter firmware version: 20200805
The text was updated successfully, but these errors were encountered: