-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Can't drive the curtain motor #7484
Comments
Motor Speed only sets the motor speed but does not move the motor. Not sure if that is what you are trying to do. Set the Motor Speed to 40 Set the Motor Speed to 100 Hope this helps |
what structure of the mqtt topic should be in order to start the motor? |
{"state": "OPEN"} or {"state": "CLOSE"} |
https://www.zigbee2mqtt.io/devices/TS0601_cover.html Cover # |
got it right. full command is: |
In short, by defaults, the motor works with commands {"state":"OPEN/STOP/CLOSE"}. After the upper and lower limits are set on the device itself, the commands will become available {"position":VALUE}. |
That is all correct :) I think you have rushed to pairing this device before actually setting the device on your window. Doing the limits first ensures the devices works as it is, with or without wireless data transmission. So far this looks like a PEBCAK After that, you pair it and everything is good :) |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days |
@robertalexa how do you pair it? there are no instructions on z2m page. |
what exactly interests? how did you pair or what commands did you use to control? |
I am not sure if that is for me? but like I asked how did you pair the motor to z2m? |
the open and close buttons on z2m gui dont work. The only way to close and open the blind motor is by setting the value. Is that correct? on homeassistant, there isn't a switch for open and close, when I paired the blind motor. Can you guys please confirm? |
You probably need to calibrate your blind first before you can use the open and close button |
By the way, I found out that it is not necessary to set a long value {"state": "OPEN"} in the topic. You can just send OPEN or CLOSE |
Hello all do you guys experiencing any drop outs with the blind? My blind works fine for 3 days and then it just stops working until I repair with z2m again. Any one experiencing this? |
Hi. Everything works for me, z2m does not fall off. Check it out I didn't bother with complicated commands, I only use OPEN and CLOSE, no JSON like {position: 30}. Although later it is possible I will try to configure them as well. Привет. У меня все работает, z2m не отваливается. Проверь Я не стал заморачиваться сложными командами, успользую только OPEN и CLOSE, никаких JSON вроде {position:30}. Хотя попозже возможно попробую настроить и их. 24.08.2021, 22:21, "bachoo786" ***@***.***>: Hello alldo you guys experiencing any drop outs with the blind? My blind works fine for 3 days and then it just stops working until I repair with z2m again.Any one experiencing this?—You are receiving this because you modified the open/close state.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.
|
The issue I am facing is that I am using a router to operate my tuya blind controller which works fine but surprisingly after 3 days it stops working and I have to then repair it again to the router. The router I am using is the ikea plug in USB adapter. I even swapped the blind controller to see if the blind controller had an issue but I face the same problem with the other as well. I am thinking of running a new z2m instance on a spare raspberry pi I have and use it to control this particular blind controller that is giving me issues. Hopefully that would sort the connectivity issue out. |
Why not try to place the Ikea router closer to it for now, to see if that is actually the issue before you make a new z2m setup which is far from ideal and you will hate really fast :) Things that I would like to suggest
|
The IKEA router is like 3 meters away from the blind controller. So not sure how close I should bring it as that's pretty close I guess? With regards to creating another z2m setup, why do you think it's a bad idea? |
Interference to start with, which should be the main focus. More managing, more points of failure, more integrations, more time spent, more electricity consumption. 3m is not bad, but again, consider the repeater might have issues, or maybe you house is congested. Check your neighbours wifi channel, set your router on channels with the least interference from them. Then look at your zigbee network and put it on a channel that will not interfere with wifi. There are many variables, setting up a new network can contribute to the bigger problem and result in issues with other devices. |
OK great thanks for that. How do I check and change the channel on my zigbee network? |
By the way, really. What equipment are you using? I have RPi 4, RPiOS + usb whistle cc2531. I noticed that the parallel launch of the second whistle on the same channel greatly affects the operation of the main |
RPi 4, RPiOS. I used to have CC2531 and it was very unstable as I added more and more devices. I changed the CC2531 for https://www.tindie.com/products/electrolama/zzh-cc2652r-multiprotocol-rf-stick/#product-reviews and network is much more stable now. |
Hello
Can't drive the curtain motor
https://aliexpress.ru/item/1005001698400295.html
Called AM43-0.45/40-ES-EZ(TY), manufactured by Moes
There is a similar one in the repository under the name TuYa TS0601_cover, but it looks a little different, like this
https://zigbee.blakadder.com/Moes_AM43-0_45_40-ES-EB.html
Pairing was successful:
MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":{"description":"Curtain motor/roller blind motor/window pusher/tubular motor","exposes":[{"features":[{"access":3,"name":"state","property":"state","type":"binary","value_off":"CLOSE","value_on":"OPEN"},{"access":3,"description":"Position of this cover","name":"position","property":"position","type":"numeric","value_max":100,"value_min":0}],"type":"cover"},{"features":[{"access":3,"description":"Motor speed","name":"motor_speed","property":"motor_speed","type":"numeric","value_max":255,"value_min":0}],"name":"options","property":"options","type":"composite"},{"access":1,"description":"Link quality (signal strength)","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"TS0601_cover","supports_ota":false,"vendor":"TuYa"},"friendly_name":"0x847127fffed08e8a_curtain_motor1","ieee_address":"0x847127fffed08e8a","status":"successful","supported":true},"type":"device_interview"}'
#33[32mZigbee2MQTT:info #33[39m 2021-05-16 01:30:10: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"interview_successful","meta":{"description":"Curtain motor/roller blind motor/window pusher/tubular motor","friendly_name":"0x847127fffed08e8a_curtain_motor1","model":"TS0601_cover","supported":true,"vendor":"TuYa"},"type":"pairing"}'
when you click on the buttons, it gives only this:
#33[32mZigbee2MQTT:info #33[39m 2021-05-16 01:53:13: MQTT publish: topic 'zigbee2mqtt/0x847127fffed08e8a_curtain_motor1', payload '{"linkquality":49,"motor_speed":40}'
when trying to use mqtt:
mosquitto_pub -d -h localhost -t zigbee2mqtt/0x847127fffed08e8a/set -m {"motor_speed":100} -u al***** -P *****
#33[31mZigbee2MQTT:error#033: Invalid JSON '{motor_speed:100}', skipping...
What am I doing wrong and what mqtt topics for the device should I use?
The text was updated successfully, but these errors were encountered: