2017-06-04 16:05:36 ERROR (Thread-10) [homeassistant.util.package] Unable to install package pywebpush==1.0.0: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-rbmwlg7l/http-ece/
2017-06-04 16:05:36 ERROR (MainThread) [homeassistant.setup] Not initializing notify.html5 because could not install dependency pywebpush==1.0.0
2017-06-04 16:05:37 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform notify.html5: Could not install all requirements.
2017-06-04 16:05:37 ERROR (MainThread) [homeassistant.components.notify] Unknown notification service specified
The key is to install lib-ssl-dev (sudo apt-get install libssl-dev) Then when you restart Home Assistant, it should install the updated version pywebpush. If you still get errors, install pywebpush manually (sudo pip3 install pywebpush==1.0.0)
This steps installed the following: ( As today, 19th Jun 17 )
setuptools-5.5.1 > setuptools-36.0.1 and pywebpush-1.0.5
Witch issn’t ideal. I think its better to difine the wanted version ( pip3 install pywebpush==1.0.4 )
Or just leave the line out and let HA sort things out on boot.
I used Youri’s method and managed to get rid of the error message but html5 is still not working for me. I no longer get error messages in the logs but when I test the notify, I only get pushbullet notifications and not html5. Strange since I created a boolean just to test this. I will keep digging and report back to see if there is something missing in my configuration.
Looks like I had to update my html5_push_registrations.conf. Everything is working now.
I noticed that under Developer tools>services. Under the Domain > Notify, there were like 5 unnamed devices under services. This prompted me to check the html5_push_registrations.conf. Once I deciphered which one was for my phone, i just renamed it and everything works!
Thanks everyone for replying and helping out. I really appreciate the community. Hope this will help someone else who runs into this issue.
Pushbullet was working very well for me. I actually like it more than html5 only because I can change the ringtone and notification LED on my phone to something different. I really only use it for message notifications and not the sms stuff so I just really did the minimal set up for it to get it to work.
@wouf
I was getting the error homeassistant.setup] Not initializing notify.html5 because could not install dependency pywebpush==1.1.0 in your case pywebpush==1.0.0
This is what i did and it worked.
$ sudo systemctl stop [email protected]
$ sudo su
$ source /srv/homeassistant/bin/activate
$ pip install --upgrade setuptools
$ pip3 install pywebpush==1.1.0 ####### in your case 1.0.0
$ exit
$ sudo systemctl start [email protected]