Closed AlbrechtL closed 2 years ago
I just figured out that my EHBX08DA9W doesn't support a few settings. By commenting out the respective database entries in createDB.py a was able to read out my Lan adapter BRP069A61.
Could you tell, how you found out, which fields are supported? Debug logging?
thx
having the same issue
Traceback (most recent call last): File "/Users/klausgruber/Downloads/Daikin-BRP069A62/main.py", line 148, in <module> main() File "/Users/klausgruber/Downloads/Daikin-BRP069A62/main.py", line 124, in main RH.readHPDetails(daikinIP, daikinDataBase, daikinUrlError, daikinUrlBase, daikingUrlDisc, daikinDevices) File "/Users/klausgruber/Downloads/Daikin-BRP069A62/DOHPC/readHP.py", line 81, in readHPDetails daikinDataFilter(daikinSocketResponse, daikinSocketResponseName, dbFileName, row[4], row[5], row[6], row[10], today, con) File "/Users/klausgruber/Downloads/Daikin-BRP069A62/DOHPC/readHP.py", line 187, in daikinDataFilter con.execute(f"UPDATE rw_url SET type = 'Z' WHERE name {rowName}") sqlite3.OperationalError: near "R_U_S_TTOS": syntax error
Looks like the query is missing an =
and maybe some '
where name = '{rowName}'
thx @Meatballs1 that helped a bit, no I get a database lock error.
con.execute(f"UPDATE rw_url SET type = 'Z' WHERE name = '{rowName}'")
sqlite3.OperationalError: database is locked
Guess the connect on line 186 isn't needed?
Really great project ! Thanks!
Unfortunately, I run into a python issue.
I have Ubuntu 22.05 and Python 3.10.4.