rrooggiieerr / xyscreens.py

Python library to control XY Screens projector screens and projector lifts over the RS-485 interface
Apache License 2.0
1 stars 0 forks source link

Help modifying python library communication protocols #1

Open rostar99 opened 1 month ago

rostar99 commented 1 month ago

I have a ScreenPro motorized ALR screen I would like to control via the RS485 interface. The communication protocol is similar to XYScreens but differ slightly in the commands. Rather than reinvent the wheel could I just modify my personal copy of the library to make the change. Here is the information on the RS485/RS232 protocol for ScreenPro.

RS485 protocol RS485 wiring
rrooggiieerr commented 4 weeks ago

Those commands look suspiciously similar to the XY Screens commands. Have you actually tried to us the library? It might just work

rostar99 commented 4 weeks ago

rrooggiieerr, I have not hung the screen yet but they are different by one element (ee instead of aa). Once I get it set up with the esp32 to control with Home Assistant I can try it to see if its close enough. If not can I just edit the library element with the altered command?

Thank you


From: rrooggiieerr @.> Sent: Tuesday, June 4, 2024 1:25 PM To: rrooggiieerr/xyscreens.py @.> Cc: rostar99 @.>; Author @.> Subject: Re: [rrooggiieerr/xyscreens.py] Help modifying python library communication protocols (Issue #1)

Those commands look suspiciously similar to the XY Screens commands. Have you actually tried to us the library? It might just work

— Reply to this email directly, view it on GitHubhttps://github.com/rrooggiieerr/xyscreens.py/issues/1#issuecomment-2148358126, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALZYHA3M5LHQN3GCB3LPOYTZFYPDLAVCNFSM6AAAAABIUW6BCOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBYGM2TQMJSGY. You are receiving this because you authored the thread.

rrooggiieerr commented 3 weeks ago

I did some more Googling and found out your screen is developed by an OEM manufacturer named See Max.

This document of an other screen using the same commands also has some more commands to do micro movements. https://downloads.monoprice.com/files/manuals/7951_Manual_180305.pdf

This document describes how to change the address (the middle 3 bytes) of the screen so it's possible to connect multiple screens on the same RS485 cable. https://avaustralia.com.au/product_images/pdf/grandview/Grandview_GRPL_Lift_Manual_1014.pdf

I'm not home this week but like to try of some of these commands also work on my screen and modify the library accordingly.

You can just edit the library with the altered command and try if that works for you,

rrooggiieerr commented 3 weeks ago

FYI, I've added support for selecting device addresses and the micro movement commands the See Max OEM devices support. Your ScreenPro device should now be supported