doudz / homeassistant-myjdownloader

myjdownloader integration for home assistant
MIT License
36 stars 8 forks source link

Device not found #7

Closed mariomare22 closed 3 years ago

mariomare22 commented 3 years ago

Hello just installed and tried to configure it

 - platform: myjdownloader
    email: my@email.com
    password: mypassword
    name: JDownloader@ubuntu-server
    scan_interval: 5

But i got error device not found

bcutter commented 3 years ago

Where do you ge the "device not found" message?

mariomare22 commented 3 years ago

Maybe I am doing something wrong in here

image

bcutter commented 3 years ago

Have a look at

https://github.com/doudz/homeassistant-myjdownloader/issues/1

https://github.com/doudz/homeassistant-myjdownloader/issues/2

They had the same issue and somehow fixed it.

mariomare22 commented 3 years ago

If i remove the name I cannot find it at all. I am using 44e5a45

mariomare22 commented 3 years ago

Also, since i have added the sensor in configuration.yml DNS requests to api.jdownloader.org are going CRAZY! image image

doudz commented 3 years ago

You put scan interval to 5sec, this is probably the reason

mariomare22 commented 3 years ago

I have removed. How can I now add it to my lovelace?

bcutter commented 3 years ago

Also, since i have added the sensor in configuration.yml

DNS requests to api.jdownloader.org are going CRAZY!

image

image

Oh wow, you're absolutely right. Took a look at my DNS log too: 18 requests every minute (scan interval = 60 s). I think I'll kick the integration, for me it was just a test I have no real use-case for having those basic information (at the end of the day: status and bandwith) in Home Assistant.

doudz commented 3 years ago

Please try using new release 2.0