GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - rrooggiieerr/homeassistant-xyscreens: Home Assistant integration for XY Screens, See Max (and others?) projector screens and projector lifts over the RS-485 interface

BranchesTags
Open more actions menu

Latest commit

 

History

242 Commits
242 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
custom_components/xyscreens
custom_components/xyscreens
 
 
script
script
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
.prettierignore
.prettierignore
 
 
.prettierrc.js
.prettierrc.js
 
 
.yamllint
.yamllint
 
 
LICENSE.md
LICENSE.md
 
 
README.md
README.md
 
 
hacs.json
hacs.json
 
 
icon.png
icon.png
 
 
pyproject.toml
pyproject.toml
 
 
requirements.txt
requirements.txt
 
 
requirements_test.txt
requirements_test.txt
 
 
screenshot_add_device.png
screenshot_add_device.png
 
 
usb-rs485.png
usb-rs485.png
 
 
wiring.png
wiring.png
 
 

Repository files navigation

Home Assistant integration for XY Screens and See Max projector screens and lifts

Python GitHub Release License Maintainer Home Assistant Marketplace
GitHub Sponsors BuyMeCoffee

Introduction

Home Assistant integration to control XY Screens and See Max projector screens and lifts over the serial and RS-485 interface.

This Home Assistant integration was first implemented for XY Screens. After I was informed that the See Max devices use a very similar protocol, support for these devices has been added.

XY Screens and See Max are OEM manufacturers of projector screens and lifts. Their devices are sold around the world under various brand names.

Features

  • Installation/Configuration through Config Flow UI
  • Set the up and down duration of your projector screen/lift
  • Position control: move the screen/lift to any position along the way
  • Use multiple devices on the same RS-485 interface
  • Invert the default Cover Entity behavior
  • Supports Serial/RS-485 to Ethernet/WiFi bridge and ESPHome Serial Proxy

About position control

The XY Screens and See Max projector screens and lifts do not provide any positional feedback. The state of the screen is thus always an assumed one. The screen position is calculated based on the time the cover has moved and the configured up and down durations. This results in a potential error margin. Every time the screen reaches its maximum up or down position any potential position error is reset. If the screen is controlled outside the library, for instance with the remote control, the screen position and state will no longer represent the actual state.

Hardware

RS-485 to USB adapter

Use a RS-485 to USB adapter where position 5 of the RJ25 connector is connected to D+ and position 6 to D-.

image

I use this cheap USB RS-485 controller which you can find on Aliexpress (affiliate link)

image

See the documentation of your specific projector screen or lift on how to wire yours correctly.

Serial to USB adapter

If your projector screen or lift has a serial port exposed use a Serial to USB adapter to connect the projector screen or lift.

See the documentation of your specific projector screen or lift on how to wire yours correctly.

Serial/RS-485 to Ethernet/WiFi bridge

You can also use a Serial/RS-485 to Ethernet/WiFi bridge, this is useful when the projector screen or lift is not close to your Home Assistant server. You can build your own bridge using esp-link or buy an off the shelf product like the CDEBYTE NA111-E.

Connect the D+ and D- lines of your projector screen or lift to the corresponding terminals of the bridge. See the documentation of your specific projector screen or lift on how to wire yours correctly.

Configure the bridge for 2400 baud, 8 bits, no parity and one stop bit to match the projector screen or lift protocol.

Use socket://<ip address>:<port> or rfc2217://<ip address>:<port> as the URL to connect to the Serial/RS-485 to Ethernet/WiFi bridge depending on which protocol the bridge supports.

ESPHome Serial Proxy

You can connect a MAX485 transceiver module to an ESP32 and install ESPHome Serial Proxy on the ESP.

Use esphome://<ip address>:<port>/?port_name=<port name> as the URL to connect to the ESPHome Serial Proxy.

Supported protocol

If your device follows the following protocol it is supported by this Home Assistant integration:

2400 baud 8N1
Up command : 0xFF 0xXX 0xXX 0xXX 0xDD
Down command: 0xFF 0xXX 0xXX 0xXX 0xEE
Stop command: 0xFF 0xXX 0xXX 0xXX 0xCC

Where 0xXX 0xXX 0xXX is the three byte address of the device.

For XY Screens devices the default address is 0xAA 0xEE 0xEE, while for See Max devices the default address is 0xEE 0xEE 0xEE.

Supported projector screens and lifts

The following projector screen is known to work:

  • iVisions Electro M Series

The following projector screens and lifts are not tested but use the same protocol according to the documentation:

XY Screens:

  • iVisions Electro L/XL/Pro/HD Series
  • iVisions PL Series projector lift
  • Elite Screens
  • KIMEX
  • DELUXX
  • Telon

See Max:

  • ScreenPro
  • Monoprice
  • Grandview
  • Dragonfly
  • WS Screens
  • Cirrus Screens
  • Lumien
  • Celexon

Caution

This integration follows the Cover Entity where open means raising the screen and close lowering the screen, like how roller blinds, garage doors and curtains work. For a projector screen this is counterintuitive. You can choose to invert this behavior when adding your screen or lift to Home Assistant. The dashboard will then show the screen controls inverted, arrow up will lower the screen while arrow down will raise the screen. However the voice commands Open and Close will then work as expected.

Thanks to the power of Home Assistant translations the entity state in a non-inverted screen will show correctly, however the voice commands and actions are inverted.

Installation

Marketplace

The recommended way to install this Home Assistant integration is by using Marketplace. Click the following button to open the integration directly on the Marketplace page.

Install XY Screens from Marketplace.

Or follow these instructions:

  • Go to Settings > Marketplace in Home Assistant and search for XY Screens
  • Select Install and confirm the installation

Manually

  • Copy the custom_components/xyscreens directory of this repository into the config/custom_components/ directory of your Home Assistant installation
  • Restart Home Assistant

Adding a new XY Screens projector screen or projector lift

  • Browse to your Home Assistant instance.
  • Go to Settings > Devices & services.
  • In the bottom right corner, select the + Add Integration button.
  • From the list, select XY Screens.
  • Follow the instructions on screen to complete the setup.

Contributing and supporting this project

Are you enjoying this Home Assistant integration? There are several ways you can contribute to the project, help other users, or support my work.

Contribute your projector screen brand and model

Is your projector screen supported by this Home Assistant integration but not listed under Supported projector screens and lifts? Let me know your projector screen brand and model so I can improve the overview of supported projector screens and lifts.

Contribute a translation

Would you like to use this integration in your own language? You can help by adding a translation file to the custom_components/xyscreens/translations directory and submitting it in a pull request.

More information about translating Home Assistant custom integrations can be found here.

Star this integration

Help other Home Assistant and XY Screens users discover this integration by starring the GitHub repository. Just click ⭐ Star at the top right of this page.

Support my work

I’ve put a lot of time and effort into developing and maintaining this integration. If you find it useful, please consider supporting its continued development by sponsoring me on GitHub or buying me a coffee ☕️.

Your support is greatly appreciated and helps keep me motivated to continue developing and maintaining this integration!

GitHub Sponsors BuyMeCoffee

Home Assistant support

Need some hands-on help with Home Assistant? Book a one-hour Q&A session and I'll help you solve your Home Assistant-related questions.

Examples of what we can cover in one hour:

  • Home Assistant walkthrough, I'll explain where to find things in the Home Assistant UI
  • Installing and configuring a Home Assistant integration
  • Explaining and creating scenes
  • Explaining and creating a simple automation
  • Install a ZHA quirk to make an unsupported Zigbee device work with Home Assistant

For more complex issues, such as recovering a crashed Home Assistant installation or providing support for Home Assistant integration developers, I may be able to help as well. These requests can require more than one hour and may need to be arranged separately.

Hire me

Would you like a Home Assistant integration developed for your product, or do you need an experienced Python developer for your project?

I'm available for freelance development work. You can find my contact details on my GitHub profile.

About

Home Assistant integration for XY Screens, See Max (and others?) projector screens and projector lifts over the RS-485 interface

Topics

home-assistanthome-automationprojector-sceenpythonxy-screens

Resources

Readme
Apache-2.0 license
Activity

Stars

6 stars

Watchers

1 watching

Forks

2 forks
Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.