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

Support Low Battery Warning #49

Open
jimboca opened this issue Nov 12, 2019 · 1 comment
Open

Support Low Battery Warning #49

jimboca opened this issue Nov 12, 2019 · 1 comment
Assignees
Milestone

Comments

@jimboca
Copy link
Collaborator

jimboca commented Nov 12, 2019

The Thermostat gets low battery for a sensor:

2019-11-12 11:55:42,072 [Controller] [DEBUG] ECO_CTR:Ecobee Controller:session_get: res={'code': 200, 'data': {'page': {'page': 1, 'totalPages': 1, 'pageSize': 1, 'total': 1}, 'thermostatList': [{'identifier': '511889241737', 'name': 'Lake Living Room', 'thermostatRev': '191104225234', 'isRegistered': True, 'modelNumber': 'apolloSmart', 'brand': 'ecobee', 'features': 'Home,HomeKit', 'lastModified': '2019-11-04 22:52:34', 'thermostatTime': '2019-11-12 12:55:41', 'utcTime': '2019-11-12 19:55:41', 'alerts': [{'acknowledgeRef': '1c:5dbfd0eb:511889241737', 'date': '2019-11-04', 'time': '07:19:07', 'severity': 'low', 'text': 'Time To Have Your Heating/AC System Serviced, it was last inspected on Apr 1, 2019', 'alertNumber': 3140, 'alertType': 'alert', 'isOperatorAlert': False, 'reminder': '2019-11-04', 'showIdt': True, 'showWeb': True, 'sendEmail': True, 'acknowledgement': 'unacknowledged', 'remindMeLater': False, 'thermostatIdentifier': '511889241737', 'notificationType': 'hvac'}, {'acknowledgeRef': '21:5dc252e3:511889241737', 'date': '2019-11-06', 'time': '04:58:11', 'severity': 'low', 'text': 'Your Kitchen sensor is running low on battery. Replace the battery when you get a chance.', 'alertNumber': 1026, 'alertType': 'alert', 'isOperatorAlert': False, 'reminder': '2019-11-06', 'showIdt': True, 'showWeb': True, 'sendEmail': True, 'acknowledgement': 'unacknowledged', 'remindMeLater': False, 'thermostatIdentifier': '511889241737', 'notificationType': 'alert'}, {'acknowledgeRef': '26:5dc258b2:511889241737', 'date': '2019-11-06', 'time': '05:22:58', 'severity': 'medium', 'text': 'Thermostat has lost your Kitchen sensor! Try moving the sensor closer.', 'alertNumber': 1028, 'alertType': 'alert', 'isOperatorAlert': False, 'reminder': '2019-11-06', 'showIdt': True, 'showWeb': True, 'sendEmail': True, 'acknowledgement': 'unacknowledged', 'remindMeLater': False, 'thermostatIdentifier': '511889241737', 'notificationType': 'sensor'}],

Need to translate that back to a sensor? Or Just have an "alert" on the Thermostat?

@jimboca
Copy link
Collaborator Author

jimboca commented Dec 25, 2020

Will be a lot of work to translate the message back to find which sensor has a low battery, have to parse:
"Your KItchen Sensor ..." and pick out text between "Your (.) Sensor" to figure out when one is having an issue...

@jimboca jimboca added this to the 2.2.1 milestone Dec 25, 2020
@jimboca jimboca self-assigned this Dec 25, 2020
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

1 participant