Skip to content
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

Shutters and Blinds are not correctly supported #278

Open
Sineos opened this issue Aug 27, 2022 · 5 comments
Open

Shutters and Blinds are not correctly supported #278

Sineos opened this issue Aug 27, 2022 · 5 comments
Labels

Comments

@Sineos
Copy link

Sineos commented Aug 27, 2022

Describe the bug
A Tasmota device that is configured as shutter, will expose:

20:36:13.528 MQT: stat/TM_Shutter/RESULT = {"Shutter1":{"Position":56,"Direction":0,"Target":56,"Tilt":0}}

This is translated / concatenated in the adapter to:

grafik

Setting, e.g., Shutter1_Position leads to

sonoff.0 2022-08-27 20:51:06.701 debug Client [TM_Shutter] pingreq
sonoff.0 2022-08-27 20:50:36.732 debug [TM_Shutter] Received: stat/TM_Shutter/RESULT = {"Command":"Unknown"}
sonoff.0 2022-08-27 20:50:36.540 debug Send to "TM_Shutter": cmnd/TM_Shutter/Shutter1_Position = 49
sonoff.0 2022-08-27 20:50:36.540 debug onStateChange sonoff.0.TM_Shutter.Shutter1_Position: {"val":49,"ack":false,"ts":1661626236539,"q":0,"from":"system.adapter.jarvis.0","user":"system.user.admin","lc":1661626236539}
sonoff.0 2022-08-27 20:50:36.540 debug stateChange sonoff.0.TM_Shutter.Shutter1_Position: {"val":49,"ack":false,"ts":1661626236539,"q":0,"from":"system.adapter.jarvis.0","user":"system.user.admin","lc":1661626236539}

The correct command to be send would have been cmnd/TM_Shutter/ShutterPosition1 = 49

Versions:

  • Adapter version: 2.5.1

Additional context
The issue / bug template here relates to some Amazon adapter

@Sineos
Copy link
Author

Sineos commented Aug 27, 2022

Further issue:
Shutter1_Direction and Shutter1_Target are never updated, although the status information are recieved:

. . . .
sonoff.0 2022-08-27 21:27:09.331 debug Client [TM_JamieBlind] pingreq
sonoff.0 2022-08-27 21:27:00.068 debug stateChange sonoff.0.TM_JamieBlind.SHUTTER1: {"val":0,"ack":true,"ts":1661628420067,"q":0,"from":"system.adapter.sonoff.0","user":"system.user.admin","lc":1661628420067}
sonoff.0 2022-08-27 21:27:00.066 debug [TM_JamieBlind] Received: stat/TM_JamieBlind/RESULT = {"Shutter1":{"Position":0,"Direction":0,"Target":0,"Tilt":0}}
sonoff.0 2022-08-27 21:27:00.066 debug process task: {"type":"addObject","id":"sonoff.0.TM_JamieBlind.SHUTTER1","data":{"_id":"sonoff.0.TM_JamieBlind.SHUTTER1","common":{"type":"number","role":"state","read":true,"write":false,"name":"TM_JamieBlind SHUTTER1"},"native":{},"type":"state"}}
sonoff.0 2022-08-27 21:27:00.066 debug updateState sonoff.0.TM_JamieBlind.SHUTTER1 - 1
sonoff.0 2022-08-27 21:27:00.066 debug [TM_JamieBlind] Received: stat/TM_JamieBlind/SHUTTER1 = 0
sonoff.0 2022-08-27 21:26:59.560 debug stateChange sonoff.0.TM_JamieBlind.POWER1: {"val":"OFF","ack":true,"ts":1661628419559,"q":0,"from":"system.adapter.sonoff.0","user":"system.user.admin","lc":1661628419558}
sonoff.0 2022-08-27 21:26:59.559 debug stateChange sonoff.0.TM_JamieBlind.POWER1: {"val":"OFF","ack":true,"ts":1661628419558,"q":0,"from":"system.adapter.sonoff.0","user":"system.user.admin","lc":1661628419558}
sonoff.0 2022-08-27 21:26:59.558 debug process task: {"type":"addObject","id":"sonoff.0.TM_JamieBlind.POWER1","data":{"_id":"sonoff.0.TM_JamieBlind.POWER1","common":{"type":"string","role":"switch","read":true,"write":true,"storeMap":true,"name":"TM_JamieBlind POWER1"},"native":{},"type":"state"}}
sonoff.0 2022-08-27 21:26:59.556 debug updateState sonoff.0.TM_JamieBlind.POWER1 - 2
sonoff.0 2022-08-27 21:26:59.556 debug [TM_JamieBlind] Received: stat/TM_JamieBlind/POWER1 = OFF
sonoff.0 2022-08-27 21:26:59.556 debug Set State after task: sonoff.0.TM_JamieBlind.POWER1
sonoff.0 2022-08-27 21:26:59.556 debug process task: {"type":"addObject","id":"sonoff.0.TM_JamieBlind.POWER1","data":{"_id":"sonoff.0.TM_JamieBlind.POWER1","common":{"type":"string","role":"switch","read":true,"write":true,"name":"TM_JamieBlind POWER1"},"native":{},"type":"state"},"cbArg":"OFF"}
sonoff.0 2022-08-27 21:26:59.556 debug updateState sonoff.0.TM_JamieBlind.POWER1 - 1
sonoff.0 2022-08-27 21:26:59.556 debug [TM_JamieBlind] Received: stat/TM_JamieBlind/RESULT = {"POWER1":"OFF"}
sonoff.0 2022-08-27 21:26:58.701 debug [TM_JamieBlind] Received: stat/TM_JamieBlind/RESULT = {"Shutter1":{"Position":4,"Direction":1,"Target":0,"Tilt":0}}
sonoff.0 2022-08-27 21:26:57.697 debug [TM_JamieBlind] Received: stat/TM_JamieBlind/RESULT = {"Shutter1":{"Position":9,"Direction":1,"Target":0,"Tilt":0}}
sonoff.0 2022-08-27 21:26:56.720 debug [TM_JamieBlind] Received: stat/TM_JamieBlind/RESULT = {"Shutter1":{"Position":14,"Direction":1,"Target":0,"Tilt":0}}
sonoff.0 2022-08-27 21:26:55.724 debug [TM_JamieBlind] Received: stat/TM_JamieBlind/RESULT = {"Shutter1":{"Position":19,"Direction":1,"Target":0,"Tilt":0}}
sonoff.0 2022-08-27 21:26:54.696 debug [TM_JamieBlind] Received: stat/TM_JamieBlind/RESULT = {"Shutter1":{"Position":24,"Direction":1,"Target":0,"Tilt":0}}
sonoff.0 2022-08-27 21:26:53.690 debug [TM_JamieBlind] Received: stat/TM_JamieBlind/RESULT = {"Shutter1":{"Position":29,"Direction":1,"Target":0,"Tilt":0}}
sonoff.0 2022-08-27 21:26:52.688 debug [TM_JamieBlind] Received: stat/TM_JamieBlind/RESULT = {"Shutter1":{"Position":34,"Direction":1,"Target":0,"Tilt":0}}
sonoff.0 2022-08-27 21:26:51.725 debug [TM_JamieBlind] Received: stat/TM_JamieBlind/RESULT = {"Shutter1":{"Position":39,"Direction":1,"Target":0,"Tilt":0}}
sonoff.0 2022-08-27 21:26:50.724 debug [TM_JamieBlind] Received: stat/TM_JamieBlind/RESULT = {"Shutter1":{"Position":44,"Direction":1,"Target":0,"Tilt":0}}
sonoff.0 2022-08-27 21:26:49.706 debug [TM_JamieBlind] Received: stat/TM_JamieBlind/RESULT = {"Shutter1":{"Position":49,"Direction":1,"Target":0,"Tilt":0}}
sonoff.0 2022-08-27 21:26:48.714 debug [TM_JamieBlind] Received: stat/TM_JamieBlind/RESULT = {"Shutter1":{"Position":54,"Direction":1,"Target":0,"Tilt":0}}
sonoff.0 2022-08-27 21:26:47.704 debug [TM_JamieBlind] Received: stat/TM_JamieBlind/RESULT = {"Shutter1":{"Position":59,"Direction":1,"Target":0,"Tilt":0}}
sonoff.0 2022-08-27 21:26:46.728 debug [TM_JamieBlind] Received: stat/TM_JamieBlind/RESULT = {"Shutter1":{"Position":64,"Direction":1,"Target":0,"Tilt":0}}
sonoff.0 2022-08-27 21:26:45.726 debug [TM_JamieBlind] Received: stat/TM_JamieBlind/RESULT = {"Shutter1":{"Position":69,"Direction":1,"Target":0,"Tilt":0}}
sonoff.0 2022-08-27 21:26:44.716 debug [TM_JamieBlind] Received: stat/TM_JamieBlind/RESULT = {"Shutter1":{"Position":74,"Direction":1,"Target":0,"Tilt":0}}
sonoff.0 2022-08-27 21:26:43.705 debug [TM_JamieBlind] Received: stat/TM_JamieBlind/RESULT = {"Shutter1":{"Position":79,"Direction":1,"Target":0,"Tilt":0}}
sonoff.0 2022-08-27 21:26:42.794 debug [TM_JamieBlind] Received: stat/TM_JamieBlind/RESULT = {"Shutter1":{"Position":84,"Direction":1,"Target":0,"Tilt":0}}
sonoff.0 2022-08-27 21:26:41.708 debug [TM_JamieBlind] Received: stat/TM_JamieBlind/RESULT = {"Shutter1":{"Position":89,"Direction":1,"Target":0,"Tilt":0}}
sonoff.0 2022-08-27 21:26:40.705 debug [TM_JamieBlind] Received: stat/TM_JamieBlind/RESULT = {"Shutter1":{"Position":94,"Direction":1,"Target":0,"Tilt":0}}
sonoff.0 2022-08-27 21:26:39.704 debug [TM_JamieBlind] Received: stat/TM_JamieBlind/RESULT = {"Shutter1":{"Position":99,"Direction":1,"Target":0,"Tilt":0}}
sonoff.0 2022-08-27 21:26:39.547 debug [TM_JamieBlind] Received: stat/TM_JamieBlind/RESULT = {"Shutter1":{"Position":100,"Direction":1,"Target":0,"Tilt":0}}

@coltc50
Copy link

coltc50 commented Oct 15, 2022

+1 having the same problem...

@bug84
Copy link

bug84 commented Oct 22, 2022

+1 same problem

@Apollon77
Copy link
Collaborator

@bug84 me too posts helop noone ... Thumbs up in fortst post is only think that is visible

@stale
Copy link

stale bot commented May 9, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions.
Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.

@stale stale bot added the wontfix label May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants