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

Ux360 support #51

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

davidhewing
Copy link

Used the dump_home_json.py to view the output of the Nexia service for my new ux360 thermostat and noticed that the response from the API included detailed information about endpoints. An example with house details redacted are in doc/dump_home_example.ux360.*

From that information I added several URL overrides in zone.py and thermostat.py. To support the PUT method that the API calls for, I also duplicated the post_url as put_url changing the method used.

I also updated the main.py to enable testing with my specific system and to validate the updates that I made.

Its possible that the way the current API returns the JSON data from Nexia the code could be updated for all thermostats available through the service using the action URL information in the JSON.

This is also my first contribution to a python project, so there may be better code methodologies that could be used. I'm hopeful this will be accepted or at least triggers eventual support for the UX360 thermostat since my ultimate goal is to get this working with Home Assistant.

This version has been tested with a copy of Home Assistants Nexia integration for basic functionality and appears to work.

@swamiller
Copy link

I'm happy to help test.

@ellisjm74
Copy link

I'm happy to help test, as well

@dmz006
Copy link

dmz006 commented Sep 11, 2024

What is easiest/best way to test? I have HA running and a UX360 waiting be tested!

@swamiller
Copy link

@davidhewing Any chance you would be able to create a HACS version until the official integration gets updated?

@davidhewing
Copy link
Author

@davidhewing Any chance you would be able to create a HACS version until the official integration gets updated?

I will try to develop some instructions and provide a link. It will most likely be a new repository. May take a few days.

@davidhewing
Copy link
Author

@swamiller @dmz006 @ellisjm74
I have created a new repository with directions here: https://github.com/davidhewing/nexia_ux360

I have also renamed the repo that is the source of the pull request to https://github.com/davidhewing/python_nexia_ux360

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants