core: Tahoma component failing
Home Assistant release with the issue: 0.102.3
Last working Home Assistant release (if known): Possibly 0.101.2
Operating environment (Hass.io/Docker/Windows/etc.): Hass.io
Integration: https://www.home-assistant.io/integrations/tahoma/
**Description of problem: After updating to 0.102.3, the Tahoma component no longer can load. In the log it says “Error during setup of component tahoma”. Since it didn’t work, I tried to downgrade to the version I had before, 0.101.2 but it still didn’t work - same errors. Full log is posted further down. **
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
username: "xxxxx@yyyyy.dk"
password: "Password"
exclude: [BridgeHUEComponent, HueLampHUEComponent, PodComponent, PodV2Component, TSKAlarmComponent]```
**Traceback (if applicable):**
**Additional information:
Error during setup of component tahoma
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/tahoma_api/tahoma_api.py", line 44, in login
result = request.json()
File "/usr/local/lib/python3.7/site-packages/requests/models.py", line 897, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/local/lib/python3.7/site-packages/simplejson/__init__.py", line 525, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.7/site-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/usr/local/lib/python3.7/site-packages/simplejson/decoder.py", line 400, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 176, in _async_setup_component
component.setup, hass, processed_config # type: ignore
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/tahoma/__init__.py", line 73, in setup
api = TahomaApi(username, password)
File "/usr/local/lib/python3.7/site-packages/tahoma_api/tahoma_api.py", line 30, in __init__
self.login()
File "/usr/local/lib/python3.7/site-packages/tahoma_api/tahoma_api.py", line 49, in login
request.reason + "(" + error + ")")
TypeError: can only concatenate str (not "int") to str
**
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 4
- Comments: 19 (7 by maintainers)
Someone has a fix for this: see https://github.com/philklei/tahoma-api/pull/18 Please can we not deprecate the Tahoma component just yet?
Personally I just spent £250 (!) on a Tahoma box to control both Velux windows&blinds (which use io:homecontrol protocol), and Somfy blinds (which use RTS protocol). All devices work fine using Somfy’s Tahoma web, and Somfy’s Tahoma Android App. But only Somfy own devices are available from their developers API. It is disappointing of Somfy to do that, but irrespective, the web API as used by Tahoma component still works and so I hope we can keep the Tahoma component alive too.
Pretty interesting comment in the tahoma-api repo https://github.com/philklei/tahoma-api/issues/16#issuecomment-562848519 seems like the changed “just” the api?
Same problem here: I have windows and using the tahoma scenes - both not supported by the official somfy API. The shutters/blinds are working,
As I’m using fhem next to home-assistant I’m wondering why their tahoma integration (not using the offical somfy API) is still working:
http://fhem.de/commandref.html#tahoma
The code can be found here.
The only Somfy device I‘m using is missing. Garage doors aren’t supported yet.