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

Airly plugin "AttributeError" - Domoticz 4.10717, Python 3.7.3 Armbian Buster #9

Closed
Piotr-kr-pl opened this issue Dec 1, 2019 · 2 comments
Assignees

Comments

@Piotr-kr-pl
Copy link

2019-12-01 17:52:26.462 (Myslenicka) Debug logging mask set to: NONE
2019-12-01 17:52:26.458 Status: (Myslenicka) Entering work loop.
2019-12-01 17:52:26.458 Status: (Myslenicka) Initialized version 0.3.0, author 'fisher'
2019-12-01 17:52:26.857 Error: (Myslenicka) 301: Installation was replaced with another one
2019-12-01 17:52:26.859 Error: (Myslenicka) 'onStart' failed 'AttributeError'.
2019-12-01 17:52:26.859 Error: (Myslenicka) ----> Line 669 in '/home/domoticz/domoticz/plugins/domoticz-airly/plugin.py'
2019-12-01 17:52:26.859 Error: (Myslenicka) ----> Line 286 in '/home/domoticz/domoticz/plugins/domoticz-airly/plugin.py'
2019-12-01 17:52:26.859 Error: (Myslenicka) ----> Line 417 in '/home/domoticz/domoticz/plugins/domoticz-airly/plugin.py'

ID 6885 - Kraków Myślenicka
Nie dodaje żadnego czujnika IDX, tylko ten błąd w logach.

@Piotr-kr-pl Piotr-kr-pl changed the title Airly plugin AttributeError" - Domoticz 4.10717, Python 3.7.3 Armbian Buster Airly plugin "AttributeError" - Domoticz 4.10717, Python 3.7.3 Armbian Buster Dec 1, 2019
@z1mEk z1mEk self-assigned this Dec 2, 2019
@z1mEk
Copy link
Collaborator

z1mEk commented Dec 2, 2019

To ID (6885) wydaje się być nieprawidłowe, dlatego następuje przekierowanie na ID=11333. Plugin otrzymuje wówczas błąd 301 z serwera Airly i kończy działanie. Jako obejście problemu polecam zastosować prawidłowe ID tej stacji (11333), natomiast obsługa wyjątku w pluginie zostanie potraktowana jako enhancement następnej wersji.

Dane zwracane przez 11333 są pod linkiem: https://airapi.airly.eu/v2/installations/11333?apikey=fae55480ef384880871f8b40e77bbef9

@Piotr-kr-pl
Copy link
Author

Piotr-kr-pl commented Dec 2, 2019 via email

@lrybak lrybak closed this as completed Sep 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants