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

RuntimeError: Error getting zones from home: 32 #12

Closed
rupertleveneucd opened this issue Apr 13, 2021 · 1 comment
Closed

RuntimeError: Error getting zones from home: 32 #12

rupertleveneucd opened this issue Apr 13, 2021 · 1 comment

Comments

@rupertleveneucd
Copy link
Contributor

Something seems to have changed and for the last couple of days my script is giving the error above. Here's an abbreviated test script which demonstrates the issue.

#!/usr/bin/env python3.4                                                                            
                                                                                                    
from pyephember.pyephember import EphEmber                                                          
                                                                                                    
ZONENAME="Zone 1"                                                                                   
ZONENAME="Hot Water"  
e = EphEmber('[email protected]', 'password')
print(e.get_zone_temperature(ZONENAME))      

Output:

Traceback (most recent call last):
  File "./ember-test.py", line 9, in <module>
    print(e.get_zone_temperature(ZONENAME))
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/pyephember/pyephember.py", line 321, in get_zone_temperature
    zone = self.get_zone(name)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/pyephember/pyephember.py", line 301, in get_zone
    for zone in self.get_zones():
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/pyephember/pyephember.py", line 281, in get_zones
    home_data = self.get_home()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/pyephember/pyephember.py", line 273, in get_home
    "Error getting zones from home: {}".format(status))
RuntimeError: Error getting zones from home: 32

@ttroy50
Copy link
Owner

ttroy50 commented Apr 21, 2021

This might be related to #11 and the API change. Unfortunately I haven't had time to fully look into the API change

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

No branches or pull requests

2 participants