After a few hours I get a crash with the following error…
C:\WINDOWS\system32>appdaemon -c C:\Users\MyPc\AppData\Roaming\.homeassistant\conf
Traceback (most recent call last):
File "c:\users\mypc\appdata\local\programs\python\python36\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "c:\users\mypc\appdata\local\programs\python\python36\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\MyPc\AppData\Local\Programs\Python\Python36\Scripts\appdaemon.exe\__main__.py", line 9, in <module>
File "c:\users\mypc\appdata\local\programs\python\python36\lib\site-packages\appdaemon\admain.py", line 335, in main
admain.main()
File "c:\users\mypc\appdata\local\programs\python\python36\lib\site-packages\appdaemon\admain.py", line 331, in main
self.run(appdaemon, hadashboard)
File "c:\users\mypc\appdata\local\programs\python\python36\lib\site-packages\appdaemon\admain.py", line 78, in run
loop.run_until_complete(asyncio.gather(*pending))
File "c:\users\mypc\appdata\local\programs\python\python36\lib\asyncio\base_events.py", line 467, in run_until_complete
return future.result()
File "c:\users\mypc\appdata\local\programs\python\python36\lib\site-packages\appdaemon\rundash.py", line 267, in update_rss
self.ws_update("default", data)
File "c:\users\mypc\appdata\local\programs\python\python36\lib\site-packages\appdaemon\rundash.py", line 371, in ws_update
data = json.dumps(jdata)
File "c:\users\mypc\appdata\local\programs\python\python36\lib\json\__init__.py", line 231, in dumps
return _default_encoder.encode(obj)
File "c:\users\mypc\appdata\local\programs\python\python36\lib\json\encoder.py", line 199, in encode
chunks = self.iterencode(o, _one_shot=True)
File "c:\users\mypc\appdata\local\programs\python\python36\lib\json\encoder.py", line 257, in iterencode
return _iterencode(o, 0)
File "c:\users\mypc\appdata\local\programs\python\python36\lib\json\encoder.py", line 180, in default
o.__class__.__name__)
TypeError: Object of type 'URLError' is not JSON serializable
Nothing is reported in the 3 log files.