brianjking / homeassistant-config

Configuration for @brianjking Home Assistant
https://home-assistant.io
82 stars 8 forks source link

USPS -- Attempt to setup using kylefrost today-mail setup using Selenium #125

Closed brianjking closed 6 years ago

brianjking commented 6 years ago
brianjking commented 6 years ago

https://home-assistant.io/developers/component_loading/

J-CMartin commented 6 years ago

So I got it working for mail count sensor using Kyle's code inside myusps running with the latest homeassistant version. The code is very simple, but as mentioned before, it requires Chrome and other libraries to be installed along with homeassistant. I've tested it in a Docker environment and it wasn't easy to install Chrome. had to manually install dependencies and then download and install latest chrome. Other requirements were installed using pip and can be automated likely.

brianjking commented 6 years ago

@J-CMartin -- Nice! I'm on Hassbian, can you please advise as to how I can go about getting this setup?

Are you going to submit a PR here for @happyleaves to merge?

Thanks!

brianjking commented 6 years ago

Fixed in myusps==1.3.2 using PhantomJS method. https://github.com/happyleavesaoc/python-myusps/issues/9

brianjking commented 6 years ago

pip3 install --upgrade --force-reinstall myusps==1.3.2