jbouwh / omnikdatalogger

Datalogger for Omnik solar power inverters with DSMR integration and output to Home Assistant, PVOUTPUT, InfluxDB and MQTT
https://jbsoft.nl/site/omnik-datalogger/
GNU General Public License v3.0
10 stars 3 forks source link

Omnik Datalogger OSError: [Errno 99] Address not available #2

Closed florisdegroot closed 3 years ago

florisdegroot commented 3 years ago

I am struggling with the Omnik Data logger Automation in HACS. I am running Home Assistant running on a RPI and I have all software (HA-Core, Supervisor, HACS etc) updated to the latest releases. I have:

But I have still an error in the Appdaemon4, see the last part of the log in appended log file appdeamon log.log appdaemon.txt apps.txt

Do you need more info? Can you advise me what I am missing or doing wrong.?

Kind regards,

jbouwh commented 3 years ago

It seems mqtt cannot connect. Create a username and password and add them to the mqtt plugin config. Make sure a mqtt server IP is added to the mqtt config. Does the app run without output plugins configured?

Did you notice the Dutch wiki the website?

The error is not handled correctly at least.

florisdegroot commented 3 years ago

Thanks for the quick reply. As you could see in the appdeamon.txt (yaml) file and the logfile I have used a mqtt username etc but I will make a new MQTT username and password and will retry. I will be back this evening.


From: Jan Bouwhuis @.> Sent: Thursday, June 17, 2021 11:50:38 PM To: jbouwh/omnikdatalogger @.> Cc: Floris @.>; Author @.> Subject: Re: [jbouwh/omnikdatalogger] Omnik Datalogger OSError: [Errno 99] Address not available (#2)

It seems mqtt cannot connect. Create a username and password and add them to the mqtt plugin config. Does the app run without output plugins configured?

Did jou notice the Dutch wiki the website?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/jbouwh/omnikdatalogger/issues/2#issuecomment-863586463, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AG3ZQV2FH45CXTJ3Q32JCM3TTJU25ANCNFSM464PDO5A.

jbouwh commented 3 years ago

If you are using hassapi as input client, you will need to have a omnikdataloggerproxy setup to retrieve the updates using the binary sensor it creates. This is what omnikdatlogger is listening to.

Floris @.***> schreef op 18 juni 2021 08:07:30 CEST:

Thanks for the quick reply. As you could see in the appdeamon.txt (yaml) file and the logfile I have used a mqtt username etc but I will make a new MQTT username and password and will retry. I will be back this evening.>

____> From: Jan Bouwhuis @.>> Sent: Thursday, June 17, 2021 11:50:38 PM> To: jbouwh/omnikdatalogger @.>> Cc: Floris @.>; Author @.>> Subject: Re: [jbouwh/omnikdatalogger] Omnik Datalogger OSError: [Errno 99] Address not available (#2)>

It seems mqtt cannot connect. Create a username and password and add them to the mqtt plugin config. Does the app run without output plugins configured?>

Did jou notice the Dutch wiki the website?>

—> You are receiving this because you authored the thread.> Reply to this email directly, view it on GitHubhttps://github.com/jbouwh/omnikdatalogger/issues/2#issuecomment-863586463, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AG3ZQV2FH45CXTJ3Q32JCM3TTJU25ANCNFSM464PDO5A.>

-- > You are receiving this because you were assigned.> Reply to this email directly or view it on GitHub:> https://github.com/jbouwh/omnikdatalogger/issues/2#issuecomment-863781795

-- Sent from my Android device with K-9 Mail. Please excuse my brevity.

florisdegroot commented 3 years ago

1st I go to read and follow the instructions of the WIKI Dutch pages.

It looks that these are much more clear to me. Less options etc.

If I thereafter get again errors I will open again an issue.

Thanks for he support so far.

Van: Jan Bouwhuis @.> Verzonden: vrijdag 18 juni 2021 08:17 Aan: jbouwh/omnikdatalogger @.> CC: Floris @.>; Author @.> Onderwerp: Re: [jbouwh/omnikdatalogger] Omnik Datalogger OSError: [Errno 99] Address not available (#2)

If you are using hassapi as input client, you will need to have a omnikdataloggerproxy setup to retrieve the updates using the binary sensor it creates. This is what omnikdatlogger is listening to.

Floris @. <mailto:@.> > schreef op 18 juni 2021 08:07:30 CEST:

Thanks for the quick reply. As you could see in the appdeamon.txt (yaml) file and the logfile I have used a mqtt username etc but I will make a new MQTT username and password and will retry. I will be back this evening.>

____> From: Jan Bouwhuis @. <mailto:@.> >> Sent: Thursday, June 17, 2021 11:50:38 PM> To: jbouwh/omnikdatalogger @. <mailto:@.> >> Cc: Floris @. <mailto:@.> >; Author @. <mailto:@.> >> Subject: Re: [jbouwh/omnikdatalogger] Omnik Datalogger OSError: [Errno 99] Address not available (#2)>

It seems mqtt cannot connect. Create a username and password and add them to the mqtt plugin config. Does the app run without output plugins configured?>

Did jou notice the Dutch wiki the website?>

—> You are receiving this because you authored the thread.> Reply to this email directly, view it on GitHubhttps://github.com/jbouwh/omnikdatalogger/issues/2#issuecomment-863586463, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AG3ZQV2FH45CXTJ3Q32JCM3TTJU25ANCNFSM464PDO5A.>

-- > You are receiving this because you were assigned.> Reply to this email directly or view it on GitHub:> https://github.com/jbouwh/omnikdatalogger/issues/2#issuecomment-863781795

-- Sent from my Android device with K-9 Mail. Please excuse my brevity.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jbouwh/omnikdatalogger/issues/2#issuecomment-863786350 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AG3ZQVZ2J4U2ZV5C74U4GHDTTLQFXANCNFSM464PDO5A . https://github.com/notifications/beacon/AG3ZQVZUTNSZAHSOZ2WMLH3TTLQFXA5CNFSM464PDO5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGN6FK3Q.gif

jbouwh commented 3 years ago

v1.5.7 fixes crashing with an invalid MQTT config. For more information about the config see:

https://github.com/jbouwh/omnikdatalogger/blob/main/info.md https://github.com/jbouwh/omnikdatalogger#readme

or the website for a Dutch Wiki: https://jbsoft.nl/site/dutch-only/