Notify html5 Error after upgrade to 0.45.1

Did all these things but same problem.

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

Any idea ?

Sorry, 'm out of ideas at this point. Maybe Robbie will check in when he gets a chance. I’m sure he’s been busy with the new release.

I can wait :slight_smile:

I’m at the beginning of the automation trip and have plenty of over things to explore.

I was able to get mine to work (using hassbian) with:

sudo su - # Make myself root
source /srv/homeassistant/bin/activate
pip install --upgrade setuptools #Required to fix http_ece errors
pip install https://github.com/web-push-libs/pywebpush/archive/1.0.1.zip
2 Likes

that’s great, I will give that a try after back up my card in the next couple of days and report back.

Question, so

sudo su -

makes yourself root?
or should it be just:

sudo su

and the password is the one you assigned for pi?

Both commands work. And yes, when asked for a password use the one from current user (usually pi)

1 Like

Unfortunately this didn’t help me but I’m not running Hassbian so it might help others.

Think I need to look for other options for notify

instead of sudo apt-get install pywebpush

go into virtual environment and type

pip3 install pywebpush

1 Like

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)

Hi guys!
Had the same problem with the HTML5 Push.
Updating the setuptools did the trick for my setup. ( Hassbian, Pi1 )

$ sudo systemctl stop [email protected]
$ sudo su -s /bin/bash homeassistant
$ source /srv/homeassistant/bin/activate
$ pip install --upgrade setuptools
$ pip3 install pywebpush
$ exit
$ sudo systemctl start [email protected]

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.

2 Likes

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.

Hi Frelev,

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]

see if it helps

Thx @juan11perez.

I no longer use Notify html 5, I have replaced it with Telegram notification. (I have also moved from hassbian to hassio)