Hi there, maybe can anyone help me out.
I used the pair-script, with success, on my Linux desktop. So I have an user/password.
I tried to get it working on a Docker Home Assistant install with no success.
EDIT 1: Got these error messages:
Traceback (most recent call last):
File “/usr/src/app/homeassistant/helpers/entity.py”, line 221, in async_update_ha_state
File “/usr/src/app/homeassistant/helpers/entity.py”, line 349, in async_device_update
File “/usr/local/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/app/homeassistant/util/init.py”, line 315, in wrapper
result = method(*args, **kwargs)
File “/config/custom_components/media_player/philips_2016.py”, line 235, in update
File “/config/custom_components/media_player/philips_2016.py”, line 316, in update
File “/config/custom_components/media_player/philips_2016.py”, line 359, in getChannels
r = self._getReq(‘channeldb/tv/channelLists/all’)
File “/config/custom_components/media_player/philips_2016.py”, line 291, in _getReq
File “/usr/local/lib/python3.6/json/init.py”, line 354, in loads
File “/usr/local/lib/python3.6/json/decoder.py”, line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File “/usr/local/lib/python3.6/json/decoder.py”, line 357, in raw_decode
raise JSONDecodeError(“Expecting value”, s, err.value) from None > json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Question, is a Home Assistant setup using a Docker (on a Synology NAS) supported?
I could imagine the requirements are different. Because I used the pairing script on my local computer, so do I need to execute the pip3 install -r requirements.txt script on my Docker install?
Does anyone got this working on a Home Assistant (Synology NAS) Docker configuration?
EDIT 2: FYI, I noticed the media_player component in my HA front-page, with an empty source selection, but powering off worked.
EDIT 3: FYI, also a
__pycache__ directory is made in the custom_components/media_player directory containing a