deconz-rest-plugin
deconz-rest-plugin copied to clipboard
LIDL PARKSIDE Smart Watering Timer PSBZS A1
Hello, this smart watering dont refresh its state and dont work well. Thanks
Device
Product name: PARKSIDE Smart Watering Timer PSBZS A1 Manufacturer: _TZE200_htnnfasr Model identifier: TS0601. Device type : Other: Smart watering timer
Screenshots



Other clusters that are not mentioned above
Do you mean this one? https://www.lidl.de/de/parkside-smarter-bewaesserungscomputer-zigbee-smart-home/p375570
I'm having issues with the device, too. It does pair via Phoscon, but switching it manually is neither reported in the UI, nor does controlling the device via the UI work.
Yes, it's the linked device from the LIDL Online Shop.
Yes, is exactly like this. In phoscon It's integrated likea light, but dont refresh the state and dont show any sensor of battery level, etc. Thanks.
As some screenshots are hard to read, I added some in higher resolution:

Btw, for me, these buttons are working:

BUT, clicking the light button in phoscon isn't doing anything:

When controlling the device via deconz, however, phoscon is able to show the correct state of the device (on/off).
When controlling it via the Home Assistant integration, it's a little bit different. You can switch the device on/off correctly, but the switch in Home Assistant stays at the old state. When switching it via deconz, the correct state is indicated in Home Assistant.
So for me, it seems like deconz/phoscan has problems reading the current state of the device.
Hello, can you show the device JSON pls ?
Can you give me a hint, where to find it? I couldn't find the information, where to get the JSON here.
I am not able to find the parkside watercomputer via phoscon. Any hints?
I am not able to find the parkside watercomputer via phoscon. Any hints?
It shows like a light in phoscon.
Hello, can you show the device JSON pls ?
Is it this, what you are asking for?
{
"etag":"9e8cc3af3dd044b93eafa4d7c1cafe6f",
"hascolor":false,
"lastannounced":null,
"lastseen":"2021-06-01T17:16Z",
"manufacturername":"_TZE200_htnnfasr",
"modelid":"TS0601",
"name":"On/Off light 14",
"state":{
"alert":"none",
"on":false,
"reachable":true
},
"swversion":null,
"type":"On/Off light",
"uniqueid":"84:71:27:ff:fe:d3:4a:81-01"
}
By the way, when I turn on the device, whether via Deconz or manually via button, it automatically turns off after 60 seconds. Is this also the case for you?
The auto-off timer is the best thing about this device! 😁 unfortunately you can’t change the timer yet. I hope the device support comes very soon. 😀 I have 3 devices in use. And with this price and the auto-off function, there are sure to be even more!
By now I am able to open the waterflow, but the switch turns off immediately, so that I can’t Stop the waterflow using a device. Only manual at the parkside computer
@stefangries yes exactly, thx.
For thoses one that can act on the device using deconz, but not working using phoscon (or API)
You have the procedure here https://github.com/dresden-elektronik/deconz-rest-plugin#install-deconz-development-package-optional-linux-only (but need a linux machine with full OS) So for you, after having installed deconz :
sudo apt install deconz-dev
git clone --branch watering https://github.com/Smanar/deconz-rest-plugin.git
cd deconz-rest-plugin
qmake && make -j2
sudo cp ../libde_rest_plugin.so /usr/share/deCONZ/plugins
Still need to check for timer.
Ok, so for the timer, nothing about this device on other project, so you need to search ^^. On the description they say the device can work with philips HUE gateway, so I don't think they use the tuya cluster (good new)
With the GUI : Take a look on cluster 0x0006 (on/off), on attribute 0x4002 "off wait time". Can try too the command "on with timed off"
This device can just use the "ontime" param
curl -H 'Content-Type: application/json' -X PUT -d '{"on": true, "ontime": 600}' http://192.168.1....
So this should just turn the device on for 90 seconds, right?
It does turn on, but goes off after 60 seconds.
Btw, this device is very new, offical release was yesterday. I was not successful in pairing it with the hue bridge.
I ordered, too. I‘m hoping that deconz will include this new device :)
Just by curiosity, someone can take a look in logs for line starting by
Tuya debug ....................
I didn't find any, Here are the logs, filtered with the device id:

And neither if using the device manualy ?
Regardless of whether I switched the device via deconz or manually, I could not find "tuya" in the log. I use the Home Assistant addon, and have set all debug flags to 1.
Ok, so we are blocked for the moment. No tuya request.
Have you tried too with the "off wait time" in the deconz GUI ?
Someone have tried to compile the new code to check if the device is working in the API with it ?
Ok, so we are blocked for the moment. No tuya request.
Just to make sure: which debug level should be enabled to see the tuya request?

Have you tried too with the "off wait time" in the deconz GUI ?
You mean this?
Didn't changed anything.
Attributes are read only:

Someone have tried to compile the new code to check if the device is working in the API with it ?
No, I'm only running the docker container and don't have a full linux machine, sorry :-/
The off timer starts from the new one, if On is sent again. My workaround For a watering duration of 5 min (295s), the sequence is repeated 5 times (on, wait 59s)
To have tuya log you just need the flag "info", so you was fine
You mean this?
Yep, but with changing the 0 value (yeah I know, not logic, but tuya is magic ...)
No, I'm only running the docker container and don't have a full linux machine, sorry :-/
It s possible too with docker https://github.com/dresden-elektronik/deconz-rest-plugin/issues/4841#issuecomment-852157541
Yep, but with changing the 0 value (yeah I know, not logic, but tuya is magic ...)
Now I tried this command, which instantly turns on the device. But it turns off automatically after 60s, too.

It s possible too with docker #4841 (comment)
Building containers is quite a stressing task for my NUC J4005 :-D Do I have to use tuya_trv_12 branch as well? I was able to build it, but currently having trouble to pair the device.
Now I was able to pair it. Here are some debug outputs (filtered for "tuya"):
21:49:03:602 Tuya debug 1 : Time sync request
21:49:03:605 Send Tuya command 0x24, data: 000060b7fccf60b7fccf
21:49:32:532 Send Tuya request: Dp_type: 0x01, Dp_identifier 0x68, data: 01
21:49:35:178 Send Tuya request: Dp_type: 0x01, Dp_identifier 0x68, data: 00
When trying to toggle in phoscon:

The server replies:
[{"error":{"address":"/lights/1/state","description":"parameter, transitiontime, not available","type":6}}]
Have just updated the code for the "transitiontime" error.
But for the tuya log it s strange, this command is send when using "alert" in the request ....
I have the device in my hands now, too. Do the same that described from @stefangries . It shows in phoscon and deconz (I use the Home Assistant Addon on my Rpi3B). The state is not updated in HA but I can switch it on/off. The device switch always off after 60s.
To avoid the 60s auto off timer I use two scripts in Home Assistant as a workaround to switch on (for 1h) and switch off the valve. See the pics:
script turn on (send a switch on command every 50s)

script turn off device and script

The Parkside watering meter is a Tuya device: https://zigbeealliance.org/zigbee_products/smarter-water-computer/
Is there any chance that this device will be implemented in near future? Otherwise I send it back and buy WOOX R7060.