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

Add support for new Switcher OnWall model #832

Open
shaulbarlev opened this issue Jan 14, 2025 · 2 comments
Open

Add support for new Switcher OnWall model #832

shaulbarlev opened this issue Jan 14, 2025 · 2 comments
Labels
type: enhancement New feature or request

Comments

@shaulbarlev
Copy link

shaulbarlev commented Jan 14, 2025

What did you have in mind?

I have the new OnWall model which isn't supported yet by this project. I'd like to have it supported. I would love to help with testing, dumping, etc. I looked around the code to try and integrate this myself but not sure in DeviceType(enum) what the second value means.

MINI = "Switcher Mini", "030f", 1, DeviceCategory.WATER_HEATER, False
POWER_PLUG = "Switcher Power Plug", "01a8", 1, DeviceCategory.POWER_PLUG, False
TOUCH = "Switcher Touch", "030b", 1, DeviceCategory.WATER_HEATER, False
V2_ESP = "Switcher V2 (esp)", "**01a7**", 1, DeviceCategory.WATER_HEATER, False
V2_QCA = "Switcher V2 (qualcomm)", "01a1", 1, DeviceCategory.WATER_HEATER, False
V4 = "Switcher V4", "0317", 1, DeviceCategory.WATER_HEATER, False

ONWALL = "Switcher OnWall", "????", 1, DeviceCategory.WATER_HEATER, False

BREEZE = "Switcher Breeze", "0e01", 2, DeviceCategory.THERMOSTAT, False
RUNNER = "Switcher Runner", "0c01", 2, DeviceCategory.SHUTTER, False
RUNNER_MINI = "Switcher Runner Mini", "0c02", 2, DeviceCategory.SHUTTER, False

...

Are you trying to fix a problem?

No response

Any lead on how this feature can be implemented?

device/__init__.py -> class DeviceCategory(Enum):

@shaulbarlev shaulbarlev added the type: enhancement New feature or request label Jan 14, 2025
@TomerFi
Copy link
Owner

TomerFi commented Jan 15, 2025

Thank you for reporting.

The second argument to the DeviceType enum initialization is the hexadecimal representation of the device type, see here. It is used to identify the device in broadcast messages picked up by the bridge, see here.

Please provide some info about the device you're referring to, including a link.

@YogevBokobza
Copy link
Collaborator

I should get the new Switcher devices soon so I can join the mission to add the integration for them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants