matijse / eufy-ha-mqtt-bridge

Receive Eufy alerts and thumbnails in Home Assistant via MQTT
124 stars 25 forks source link

Invalid email or password in HA error log #70

Open frankverheyen opened 3 years ago

frankverheyen commented 3 years ago

Thanks for the much needed addon. I installed it freshly yesterday. I have HA version 2021.5.5 running on RPI4

My config is eufy: username: password: mqtt: url: "mqtt url" username: "mqtt username" password: "mqtt password" keepalive: 60 home_assistant: off_delay: 5

I created a seperate account for eufy and tested it if I can log on with the correct credentials and this works. 2fa is disabled. Still I get an error in the log after a reboot:

This error originated from a custom integration. Logger: custom_components.eufy_security Source: custom_components/eufy_security/init.py:72 Integration: Eufy Security First occurred: 11:34:28 AM (1 occurrences) Last logged: 11:34:28 AM Invalid username and/or password

Please let me know if you need further information.

What else can I check? Thanks in advance.

supajason commented 3 years ago

You could add log_level: debug to the config and see if that throws any more errors?

I don't know if it will make a differences but my config doesn't wrap my usernames or passwords in quotes (") make try and remove them (if they are wrapped) my mqtt url is wrapped but by a single quote (')

good luck

matijse commented 3 years ago
Logger: custom_components.eufy_security
Source: custom_components/eufy_security/init.py:72

This points to the custom integration, see here: https://github.com/nonsleepr/ha-eufy-security

If you use both, make sure to use a different account for each of them.

frankverheyen commented 3 years ago

Hello,

suppajason, thanks for your feedback. I changed loglevel, but without result. I could not find more errors.

Matijse. Thanks for your feedback. It was clear the error is coming from the ha-eufysecurity integration, but what do you mean by "if you use both" ? I am using an account for the eufy app and a separate one for the plugin. Is it this what you are referring to?

matijse commented 3 years ago

This is not the repository of the ha-eufysecurity integration, this is a separate script you run in Docker or as a Home Assistant addon. So if you use both this script (eufy-ha-mqtt-bridge) and the ha-eufysecurity integration, use different accounts on both.

If you only use one, then you are using the ha-eufysecurity integration, for which you need to create an issue here: https://github.com/nonsleepr/ha-eufy-security

frankverheyen commented 3 years ago

I see. I am indeed trying several solutions to try to integrate a live view of my eufy security battery doorbell in HA, but I am a bit of a novice in regards to this. I'm trying preferably to find one solution to get it done ;-) I have one integration running which gives me feedback about events like doorbell pressed and motion detected. I presume this is coming from the eufy-ha-mqtt-bridge integration. Does the ha-eufysecurity integration an option to view a livestream and if yes, how should I proceed? Thanks!

matijse commented 3 years ago

I'm not sure how up to date the integration is, I think it isn't really working anymore, but I'm not sure. On this forum all the different options are discussed: https://community.home-assistant.io/t/eufy-camera-integration/121758 It is a long thread, but some of the options do offer live view. (ioBroker for example). This MQTT bridge is mostly developed for realtime events (doorbell pressed, motion events etc).

frankverheyen commented 3 years ago

Thanks for your feedback! I'm reading through this thread, but as you say it is a long one :-) I will go in the direction of iobroker for the livestream as you suggest. For MQTT I'm using the MQTT bridge. I suppose that it is best to create 2 accounts. One for the mqtt bridge and one for the iobroker solution, as you previously mensioned. Many thanks for your help.