@ReneTode
I have this error in Hassio log:
18-10-28 20:18:54 WARNING (MainThread) [hassio.api.security] /addons/a0d7b954_appdaemon3/info no role for a0d7b954_appdaemon3
18-10-28 20:18:54 ERROR (MainThread) [hassio.api.security] Invalid token for access /addons/a0d7b954_appdaemon3/info
This is the log of Appdaemon
parse error: Expected string key before ':' at line 1, column 4
ERROR: Unknown HTTP error occured
parse error: Expected string key before ':' at line 1, column 4
ERROR: Unknown HTTP error occured
From:
parse error: Expected string key before ':' at line 1, column 4
ERROR: Unknown HTTP error occured
By:
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
Log level is set to INFO
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] 02-updates.sh: executing...
parse error: Expected string key before ':' at line 1, column 4
ERROR: Unknown HTTP error occured
parse error: Expected string key before ':' at line 1, column 4
ERROR: Unknown HTTP error occured
INFO: You are running the latest version of this add-on
[cont-init.d] 02-updates.sh: exited 0.
[cont-init.d] 20-init-configuration.sh: executing...
[cont-init.d] 20-init-configuration.sh: exited 0.
[cont-init.d] 21-compiled-dir.sh: executing...
[cont-init.d] 21-compiled-dir.sh: exited 0.
[cont-init.d] 30-auto-password.sh: executing...
[cont-init.d] 30-auto-password.sh: exited 0.
[cont-init.d] 31-ha-url.sh: executing...
WARNING: You are using an non-recommended Home Assistant URL!
WARNING: Setting the "ha_url" option in your AppDaemon config to
WARNING: "http://hassio/homeassistant" is recommended!
[cont-init.d] 31-ha-url.sh: exited 0.
[cont-init.d] 50-compiled-symlink.sh: executing...
[cont-init.d] 50-compiled-symlink.sh: exited 0.
[cont-init.d] 80-system-packages.sh: executing...
[cont-init.d] 80-system-packages.sh: exited 0.
[cont-init.d] 81-python-packages.sh: executing...
[cont-init.d] 81-python-packages.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
2018-10-29 00:13:20.605076 INFO AppDaemon Version 3.0.1 starting
2018-10-29 00:13:20.605763 INFO Configuration read from: /config/appdaemon/appdaemon.yaml
2018-10-29 00:13:20.609407 INFO AppDaemon: Starting Apps
2018-10-29 00:13:20.618352 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin
2018-10-29 00:13:20.711852 INFO AppDaemon: HASS: HASS Plugin Initializing
2018-10-29 00:13:20.712875 INFO AppDaemon: HASS: HASS Plugin initialization complete
2018-10-29 00:13:20.713846 INFO Starting Dashboards
2018-10-29 00:13:20.760709 INFO API is disabled
2018-10-29 00:13:21.460699 INFO AppDaemon: HASS: Connected to Home Assistant 0.80.3
2018-10-29 00:13:21.964256 INFO AppDaemon: Got initial state from namespace default
2018-10-29 00:13:24.088650 INFO AppDaemon: Reading config
2018-10-29 00:13:24.246505 INFO AppDaemon: /config/appdaemon/apps/apps.yaml added or modified
2018-10-29 00:13:24.247076 INFO AppDaemon: /config/appdaemon/apps/apps.yaml added or modified
2018-10-29 00:13:24.247979 INFO AppDaemon: App 'alarm_system' added
2018-10-29 00:13:24.248858 INFO AppDaemon: App 'Occupancy Simulator' added
2018-10-29 00:13:24.250263 INFO AppDaemon: Adding /config/appdaemon/apps to module import path
2018-10-29 00:13:24.252700 INFO AppDaemon: Loading App Module: /config/appdaemon/apps/alarm.py
2018-10-29 00:13:24.354292 INFO AppDaemon: Loading App Module: /config/appdaemon/apps/occusim.py
2018-10-29 00:13:24.373837 INFO AppDaemon: Initializing app alarm_system using class AlarmSystem from module alarm
2018-10-29 00:13:25.053385 INFO alarm_system: Hello from AlarmSystem
2018-10-29 00:13:25.058550 INFO alarm_system: Got armed_home sensors ['binary_sensor.door_window_sensor_158d0001a3dea5', 'binary_sensor.door_window_sensor_158d0001a3e062', 'binary_sensor.door_window_sensor_158d0001b14427', 'binary_sensor.door_window_sensor_158d0001e453c0', 'binary_sensor.door_window_sensor_158d0001e45446', 'binary_sensor.door_window_sensor_158d0001657248', 'binary_sensor.door_window_sensor_158d0001de8821', 'binary_sensor.door_window_sensor_158d0001de92ce', 'binary_sensor.door_window_sensor_158d0001de76a8', 'binary_sensor.door_window_sensor_158d0001e45b81']
2018-10-29 00:13:25.064097 INFO alarm_system: Got armed_away sensors ['binary_sensor.door_window_sensor_158d0001a3dea5', 'binary_sensor.door_window_sensor_158d0001a3e062', 'binary_sensor.door_window_sensor_158d0001b14427', 'binary_sensor.door_window_sensor_158d0001e453c0', 'binary_sensor.door_window_sensor_158d0001e45446', 'binary_sensor.door_window_sensor_158d0001657248', 'binary_sensor.door_window_sensor_158d0001de8821', 'binary_sensor.door_window_sensor_158d0001de92ce', 'binary_sensor.door_window_sensor_158d0001de76a8', 'binary_sensor.door_window_sensor_158d0001e45b81', 'binary_sensor.motion_sensor_158d00016dad06', 'binary_sensor.motion_sensor_158d00016dafd8', 'binary_sensor.motion_sensor_158d0001a25221', 'binary_sensor.motion_sensor_158d0001a33a44', 'binary_sensor.motion_sensor_158d0002234653', 'binary_sensor.motion_sensor_158d0002236904', 'binary_sensor.motion_sensor_158d0001e5414c', 'binary_sensor.motion_sensor_158d0002234653', 'binary_sensor.motion_sensor_158d0002236904']
2018-10-29 00:13:25.069549 INFO alarm_system: Got device trackers ['device_tracker.samsung_s9_wifi', 'device_tracker.samsung_s9_bt', 'device_tracker.samsung_s9_ping', 'device_tracker.huawei_p8_wifi', 'device_tracker.huawei_p8_bt', 'device_tracker.huawei_p8_ping', 'device_tracker.xiaomi_redmi_wifi', 'device_tracker.xiaomi_redmi_bt']
2018-10-29 00:13:25.077597 INFO alarm_system: Got 3 device_trackers home and 3 device_trackers not home
2018-10-29 00:13:25.083337 INFO alarm_system: Got guest_mode False
2018-10-29 00:13:25.088583 INFO alarm_system: Got vacation_mode False
2018-10-29 00:13:25.093869 INFO alarm_system: Got silent mode False
2018-10-29 00:13:25.098812 INFO alarm_system: Got info volume 10
2018-10-29 00:13:25.103848 INFO alarm_system: Got alarm volume 99
2018-10-29 00:13:25.108815 INFO alarm_system: Got notify service notify.hassio
2018-10-29 00:13:25.114088 INFO alarm_system: Got alarm state disarmed
2018-10-29 00:13:25.117117 WARNING AppDaemon: alarm_system: Entity device_tracker.samsung_s9_ping not found in AppDaemon
2018-10-29 00:13:25.118122 WARNING AppDaemon: alarm_system: Entity device_tracker.samsung_s9_ping not found in AppDaemon
2018-10-29 00:13:25.119755 WARNING AppDaemon: alarm_system: Entity device_tracker.huawei_p8_ping not found in AppDaemon
2018-10-29 00:13:25.121117 WARNING AppDaemon: alarm_system: Entity device_tracker.huawei_p8_ping not found in AppDaemon
2018-10-29 00:13:26.166765 INFO AppDaemon: Initializing app Occupancy Simulator using class OccuSim from module occusim
2018-10-29 00:13:26.186288 WARNING AppDaemon: ------------------------------------------------------------
2018-10-29 00:13:26.192597 WARNING AppDaemon: Unexpected error running initialize() for Occupancy Simulator
2018-10-29 00:13:26.194956 WARNING AppDaemon: ------------------------------------------------------------
2018-10-29 00:13:26.217272 WARNING AppDaemon: Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/appdaemon/appdaemon.py", line 1575, in init_object
init()
File "/config/appdaemon/apps/occusim.py", line 32, in initialize
self.create_events({})
File "/config/appdaemon/apps/occusim.py", line 65, in create_events
start = self.parse_time(start_p)
File "/usr/lib/python3.6/site-packages/appdaemon/appapi.py", line 277, in parse_time
return self.AD.parse_time(time_str, name)
File "/usr/lib/python3.6/site-packages/appdaemon/appdaemon.py", line 1067, in parse_time
parts = re.search('^(\d+):(\d+):(\d+)', time_str)
File "/usr/lib/python3.6/re.py", line 182, in search
return _compile(pattern, flags).search(string)
TypeError: expected string or bytes-like object
2018-10-29 00:13:26.218407 WARNING AppDaemon: ------------------------------------------------------------
2018-10-29 00:13:26.223682 INFO AppDaemon: App initialization complete