Announcement - AppDaemon 3.0 beta 1!

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.

log:
  accessfile: /export/hass/appdaemon_test/logs/access.log
  errorfile: /export/hass/appdaemon_test/logs/error.log
  logfile: /export/hass/appdaemon_test/logs/appdaemon.log
  log_generations: 3
  log_size: 1024
appdaemon:
  logfile: STDOUT
  errorfile: STDERR
  threads: 10
  time_zone: <time zone>
  api_port: 5000
  api_key: !secret api_key
  api_ssl_certificate: <path/to/root/CA/cert>
  api_ssl_key: <path/to/root/CA/key>
  plugins:
    HASS:
      type: hass
      ha_url: <some_url>
      ha_key: <some key>
      cert_path: <path/to/root/CA/cert>
      cert_verify: True
      namespace: default

This config does NOT work . How is it supposed to be please . I use this link for docs: http://appdaemon.readthedocs.io/en/latest/INSTALL.html

depends on how you installed appdaemon.

Giving us the error might help, including the piece with the version number of AppDaemon.

I’m actually at work… will post later :slight_smile: i have AppDaemon 3 beta installed

I installed via PIP3 install --upgrade --pre appdaemon

Locking this thread since beta 2 is now out: