Home Assistant Problem
Posted: 6. Mar 2017, 11:58
Hallo,
ich dachte ich poste das Problem mal hier, auf Deutsch, dann tu ich mir leichter als auf Englisch im HA Forum.
Ausserdem haben die im Moment wohl jede Menge mit der neuen 0.39 zu tun.
Nach Eintrag der Parameter laut Anleitung (https://home-assistant.io/components/notify.pushsafer/) will HA nicht mehr starten.
Mir scheint HA erwartet einen "api_key" statt "private_key".
Nach Änderung von private_key zu api_key, startet HA zwar wieder, beim Senden einer Message kommt dann aber
im Log.
Danke fürś Lesen.
Ich würde Pushsaver gerne in HA verwenden.
Gruß
ich dachte ich poste das Problem mal hier, auf Deutsch, dann tu ich mir leichter als auf Englisch im HA Forum.
Ausserdem haben die im Moment wohl jede Menge mit der neuen 0.39 zu tun.
Nach Eintrag der Parameter laut Anleitung (https://home-assistant.io/components/notify.pushsafer/) will HA nicht mehr starten.
Code: Select all
17-03-06 12:40:45 ERROR (MainThread) [homeassistant.bootstrap] Invalid config for [notify.pushsafer]: required key not provided @ data['api_key']. Got None. (See ?, line ?). Please check the docs at https://home-assistant.io/components/notify.pushsafer/
Nach Änderung von private_key zu api_key, startet HA zwar wieder, beim Senden einer Message kommt dann aber
Code: Select all
Traceback (most recent call last):
File "/usr/lib/python3.4/asyncio/tasks.py", line 242, in _step
result = coro.throw(exc)
File "/srv/homeassi/lib/python3.4/site-packages/homeassistant/core.py", line 1001, in _event_to_service_call
yield from service_handler.func(service_call)
File "/srv/homeassi/lib/python3.4/site-packages/homeassistant/components/notify/__init__.py", line 136, in async_notify_message
yield from notify_service.async_send_message(**kwargs)
File "/usr/lib/python3.4/asyncio/futures.py", line 358, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 297, in _wakeup
future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassi/lib/python3.4/site-packages/homeassistant/components/notify/pushsafer.py", line 68, in send_message
"0", "", "", "")
File "/home/homeassi/.homeassistant/deps/pushsafer.py", line 106, in send_message
return MessageRequest(payload)
File "/home/homeassi/.homeassistant/deps/pushsafer.py", line 61, in __init__
Request.__init__(self, "post", MESSAGE_URL, payload)
File "/home/homeassi/.homeassistant/deps/pushsafer.py", line 48, in __init__
raise InitError
pushsafer.InitError: No privatekey provided. Init the pushsafer module by calling the init function
Danke fürś Lesen.
Ich würde Pushsaver gerne in HA verwenden.
Gruß