-
Notifications
You must be signed in to change notification settings - Fork 2
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
ClimateType of 'wakeup' not found, halts further processing #46
Comments
Yes that is a bug I can fix, but it shouldn't get to that. Have you rebuilt the profile and restarted the nodeserver since the wakup mode was added? |
I have restarted the nodeserver a few times, but have not rebuilt the profile. I will try that and report back. |
Thanks. I think it's supposed to rebuild the profile in restart but I don't remember for sure. If you PM or email me the log package then I can review. |
Fix released, please verify since I can't. |
I installed 2.1.12 and will let you know the results.
…On Sun, Sep 8, 2019 at 2:10 PM jimboca ***@***.***> wrote:
Fix released, please verify since I can't.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#46?email_source=notifications&email_token=AEMBLMFEOVDKKXYW5YXPZXTQIVS6DA5CNFSM4ISEFZIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6FZPMA#issuecomment-529242032>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEMBLMBKNMSKAUXHW5D3XU3QIVS6DANCNFSM4ISEFZIA>
.
|
Seems to be working. It made it pass when the problem normally occurs.
Thank you!
…On Sun, Sep 8, 2019 at 2:10 PM jimboca ***@***.***> wrote:
Fix released, please verify since I can't.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#46?email_source=notifications&email_token=AEMBLMFEOVDKKXYW5YXPZXTQIVS6DA5CNFSM4ISEFZIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6FZPMA#issuecomment-529242032>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEMBLMBKNMSKAUXHW5D3XU3QIVS6DANCNFSM4ISEFZIA>
.
|
Great, thanks for reporting and verifying. |
Not sure if this is a recent change from Ecobee
From the log:
2019-08-29 11:30:38,817 [Controller] [DEBUG] EcobeeF_########:t######:Ecobee - Upstairs:_update: climateType=wakeup
Resulting error:
2019-08-29 11:30:38,819 [Controller] [ERROR] Unknown climateType='wakeup'
2019-08-29 11:30:38,822 [Controller] [ERROR] Exception in thread Controller:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.7/threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.7/site-packages/pgc_interface/pgc_interface.py", line 797, in _parseInput
self.longPoll()
File "./ecobee-poly.py", line 204, in longPoll
self.updateThermostats()
File "./ecobee-poly.py", line 228, in updateThermostats
self.nodes[address].update(thermostat, fullData)
File "/app/nodeserver/node_types.py", line 284, in update
self._update()
File "/app/nodeserver/node_types.py", line 372, in _update
'GV3': self.getClimateIndex(climateType),
File "/app/nodeserver/node_types.py", line 401, in getClimateIndex
climateIndex = climateMap['unknown']
KeyError: 'unknown'
Just a guess at line 401 in node_types.py when name is not in climateMap it attempts to map 'unknown', which does not exist in node_funcs.py's climateList.
def getClimateIndex(self,name):
if name in climateMap:
climateIndex = climateMap[name]
else:
LOGGER.error("Unknown climateType='{}'".format(name))
climateIndex = climateMap['unknown']
return climateIndex
The text was updated successfully, but these errors were encountered: