AMoo-Miki / homebridge-tuya-lan

Homebridge plugin for IoT devices that use Tuya Smart's platform
MIT License
196 stars 50 forks source link

NEW DEVICE: Curtain Switch PT-CS01 #276

Open metalnodeug opened 1 year ago

metalnodeug commented 1 year ago

Hello all,

i have buying this curtain switch :

Device Information link: https://www.amazon.fr/Interrupteur-Volet-Roulant-Connecté-WIFI/dp/B09TKG2V2D "Product Name" : PT-CS01 "Product Category": clkg

I use this configuration:

{ "manufacturer": "Teeppo", "key": "", "model": "Roller Switch", "name": "Volet Cuisine", "id": "", "type": "SimpleBlinds", "cmdClose": "off", "cmdStop": "stop", "cmdOpen": "on", "timeToTighten": 5, "sendEmptyUpdate": true, "timeToOpen": 19, "flipState": false }

Curtain is visible in HomeKit, i can open, close and stop but the position current and target works not well.

I explain my problem with Tuya app to have log:

Postion was 38 -> 29 -> 39

After that, i have error at HomeKit, if i open a curtain and will close all curtains with SIRI, the curtain open continue to open and the other close correctly.

Finally, i have a problem with calculate position:

13/08/2022 à 12:04:41 [HOOBS 6210@Volet Cuisine@Volet Cuisine@Current Position] characteristic was supplied illegal value: number 449 exceeded maximum of 100 13/08/2022 à 12:04:41 [HOOBS 6210@Volet Cuisine@Volet Cuisine@Target Position] characteristic was supplied illegal value: number 449 exceeded maximum of 100

Can you help please ? Thanks a lot.

PS: i can't ran a schema because i have an error with SSL_PROTOCOL and i don't understand why...

metalnodeug commented 1 year ago

I found this and i think it's probably same schema https://github.com/AMoo-Miki/homebridge-tuya-lan/issues/22

metalnodeug commented 1 year ago

@AMoo-Miki Any idea maybe ?

metalnodeug commented 1 year ago

Project is dead ?