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

JSON Modul Probleme #424

Closed
DetMoerk opened this issue May 29, 2022 · 3 comments
Closed

JSON Modul Probleme #424

DetMoerk opened this issue May 29, 2022 · 3 comments

Comments

@DetMoerk
Copy link
Contributor

2022-05-29 14:36:17,075 - {soc.modules.common.fault_state:37} - ERROR - Json Zähler: FaultState FaultStateLevel.ERROR, FaultStr <class 'AttributeError'> 'Device' object has no attribute 'domain', Traceback:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/json/device.py", line 66, in update
response = req.get_http_session().get(self.domain, timeout=5)
AttributeError: 'Device' object has no attribute 'domain'

2022-05-29 14:36:17,081 - {soc.modules.common.fault_state:37} - ERROR - Json Wechselrichter: FaultState FaultStateLevel.ERROR, FaultStr <class 'AttributeError'> 'Device' object has no attribute 'domain', Traceback:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/json/device.py", line 66, in update
response = req.get_http_session().get(self.domain, timeout=5)
AttributeError: 'Device' object has no attribute 'domain'

Vermute hier müssen die Anpassungen aus openWB 1.9 auch noch nachgezogen werden.
VG
Det

@DetMoerk
Copy link
Contributor Author

DetMoerk commented May 29, 2022

habe mir gerade die JSON Module aus der Nightly 1.9 auf die V2.0 geholt. Damit funktioniert es wieder :-). Der PR snaptec/openWB#2222 aus 1.9 sollte hier also auch funktionieren.

@benderl
Copy link
Contributor

benderl commented May 30, 2022

Ja, das wird noch gemerged.

@LKuemmel
Copy link
Contributor

#426 ist nun gemergt.

@benderl benderl closed this as completed May 31, 2022
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

3 participants