arraylabs / pymyq

Python wrapper for MyQ API
MIT License
112 stars 42 forks source link

error every 30 seconds or so in HA #86

Closed jes1417 closed 2 years ago

jes1417 commented 3 years ago

I am seeing an error very frequently in my HA logs and it seems the api is seeing an unknown device, I am wondering if it is my Lockitron Bolt I have paired with my MyQ hub

Logger: pymyq.api
Source: /usr/local/lib/python3.8/site-packages/pymyq/api.py:591
First occurred: 12:31:25 AM (15 occurrences)
Last logged: 12:35:00 AM

Unknown device family locks
ehendrix23 commented 3 years ago

It would be :-)

Can you provide me with your detailed config output? I changed the coding right now so it will be classified as another device and still be added as a device. Just won't be able to operate it. But I want to confirm this works based on the configuration received.

Just run: python3 -m aioharmony --harmony_ip <your IP> show_detailed_config

Thx!

jes1417 commented 3 years ago

Just run: python3 -m aioharmony --harmony_ip <your IP> show_detailed_config

Im a little confused, it looks like this command pulls a harmony config but I was talking about my MyQ hub, it didnt work using the IP of MyQ which I kind of expected 🤪 it did pull my harmony config though when I changed the IP 😄

haffi78 commented 3 years ago

Are you working on integrating the lockitron Via MyQ ? if so I have one if you need testing. Would love to get that back to work. I am also getting the errors.

2021-03-30 21:49:23 WARNING (MainThread) [pymyq.api] Unknown device family locks 2021-03-30 21:49:39 WARNING (MainThread) [pymyq.api] Unknown device family locks 2021-03-30 21:49:55 WARNING (MainThread) [pymyq.api] Unknown device family locks 2021-03-30 21:50:11 WARNING (MainThread) [pymyq.api] Unknown device family locks 2021-03-30 21:50:27 WARNING (MainThread) [pymyq.api] Unknown device family locks

jes1417 commented 3 years ago

still seeing these issues on 2021.4.6

Logger: pymyq.api
Source: /usr/local/lib/python3.8/site-packages/pymyq/api.py:591
First occurred: April 25, 2021, 11:36:13 PM (107 occurrences)
Last logged: 12:03:29 AM

Unknown device family locks
jes1417 commented 3 years ago

This issue is so noisy I had to disable it.

jes1417 commented 3 years ago

Still an issue I just set logging to error so I forgot about it but it is still as noisy as ever.

Logger: pymyq.api
Source: /usr/local/lib/python3.9/site-packages/pymyq/api.py:591
First occurred: 10:26:59 PM (266 occurrences)
Last logged: 11:33:17 PM

Unknown device family locks
haffi78 commented 3 years ago

Anyone planing on integrating the lock ? I am willing to help if needed , but kinda don't know where to start, would love to be able to get mynlockitron back

ehendrix23 commented 3 years ago

Still an issue I just set logging to error so I forgot about it but it is still as noisy as ever.

Logger: pymyq.api
Source: /usr/local/lib/python3.9/site-packages/pymyq/api.py:591
First occurred: 10:26:59 PM (266 occurrences)
Last logged: 11:33:17 PM

Unknown device family locks

Can you try out the custom HACS component. It is the same as the one in HASS but uses latest beta version of myq.

Install HACS custom component (if not already there) and then deploy the component using following link: https://github.com/ehendrix23/hass_myq

ehendrix23 commented 3 years ago

Anyone planing on integrating the lock ? I am willing to help if needed , but kinda don't know where to start, would love to be able to get mynlockitron back

No plans. Do not have/know the API for this.

haffi78 commented 3 years ago

Is it not just a matter of defing it, probly uses same open close as the cover/garage doors or ?

ehendrix23 commented 3 years ago

No, most likely it is going to be different API calls and different information received back.

ehendrix23 commented 2 years ago

Closing this issue as it should have been resolved with latest releases.