Hi to all, i configured rocketchat with this parameters:
notify:
- platform: rocketchat
name: RC
url: !secret rc_url
username: !secret rc_usr
password: !secret rc_pwd
room: !secret rc_room
(like “component page” describe Rocket.Chat - Home Assistant)
but i can’t see it in the notify service and it show me one error:
Log Details (ERROR)
Tue Feb 26 2019 22:53:00 GMT+0100 (Ora standard dell’Europa centrale)
Error setting up platform rocketchat
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/notify/init.py”, line 76, in async_setup_platform
platform.get_service, hass, p_config, discovery_info)
File “/usr/local/lib/python3.7/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/notify/rocketchat.py”, line 41, in get_service
return RocketChatNotificationService(url, username, password, room)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/notify/rocketchat.py”, line 60, in init
self._server = RocketChat(username, password, server_url=url)
File “/usr/local/lib/python3.7/site-packages/rocketchat_API/rocketchat.py”, line 19, in init
self.login(user, password)
File “/usr/local/lib/python3.7/site-packages/rocketchat_API/rocketchat.py”, line 63, in login
if login_request.json().get(‘status’) == “success”:
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 518, 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)
Connessione persa. Riconnessione…
I noticed that the link to the .py is no longer eistente and the component is no longer present under the gitub folder (core/homeassistant/components/rocketchat/notify.py at dev · home-assistant/core · GitHub) …
is it still supported? because I would prefer it to Slack
thanks in advance for your help