Code Monkey home page Code Monkey logo

Comments (7)

Hellowlol avatar Hellowlol commented on June 6, 2024

Can you provide some logs? Try setting it up using the UI

from nordpool.

jtfidje avatar jtfidje commented on June 6, 2024

Sure. Apparently also something wrong with the resolution of met-api.

Not sure what you mean by "Try setting it up using the UI" :-/
Here's the logs though:

2020-03-01 18:47:52 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for nordpool which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2020-03-01 18:47:53 WARNING (SyncWorker_5) [zeroconf] Exception occurred:
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/zeroconf.py", line 2245, in send
    bytes_sent = s.sendto(packet, 0, (addr, port))
OSError: [Errno 126] Required key not available
2020-03-01 18:47:53 ERROR (MainThread) [metno] https://aa015h6buqvih86i1.api.met.no/weatherapi/locationforecast/1.9/ returned Cannot connect to host aa015h6buqvih86i1.api.met.no:443 ssl:None [Temporary failure in name resolution]
2020-03-01 18:47:53 ERROR (MainThread) [homeassistant.components.met.weather] Retrying in 16 minutes

EDIT 1: Met API is working again - here's the contents of the logfile after a docker restart home-assistant

2020-03-01 18:55:47 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for nordpool which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2020-03-01 18:55:48 WARNING (SyncWorker_0) [zeroconf] Exception occurred:
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/zeroconf.py", line 2245, in send
    bytes_sent = s.sendto(packet, 0, (addr, port))
OSError: [Errno 126] Required key not available

EDIT 2: Here's an image of message if I try to validate configuration.yaml
image

from nordpool.

Hellowlol avatar Hellowlol commented on June 6, 2024

The logs didn’t really tell me anything except that the has loaded the component. Anyway. With ui I meant the web ui: Configuration > Integration > search for nordpool. You should also try to install it using hacs instead of manual install.

https://www.home-assistant.io/integrations/logger/ Link for how you can setup the logger so we can get some debug info.

from nordpool.

jtfidje avatar jtfidje commented on June 6, 2024

Have setup the logger now, but it brought nothing new to the table. It's just showing a bunch of INFO messages telling me the different components that's been loaded. ( neither hacs nor nordpool is one of them ).

Here's a link to the logs: https://pastebin.com/NYxhs77v

I've followed the instructiosn for installing hacs, but it's not showing up in the list of integrations.
Maybe this is the problem - my instance og HA is not loading custom components as it should?

from nordpool.

Hellowlol avatar Hellowlol commented on June 6, 2024

I think you're onto something. I would delete the entire custom_components and start for scratch using this guide: https://hacs.xyz/docs/installation/manual

After hacs is up and running, install any (nordpool) package by clicking the Community on the left side menu in the webui. After that you click INTEGRATIONS and search for nordpool and click it, Press install. Go back to the main interface by clicking overview and then click Configuration > Integration > search for nordpool, then enter your settings.

from nordpool.

jtfidje avatar jtfidje commented on June 6, 2024

Following that guide HACS still won't show up in the Integrations list.
However - I'll close this issue as it seems the problem is with my instance of HA :-)

Thx for all the help so far and super quick responses!

EDIT:
Just in case anyone else stumbles across this or a similar issue - I just found a solution.
I had the following image in my docker-compose.yaml home-assistant/home-assistant:latest, which installed version 0.95.4 of HA.

I changed the image to home-assistant/home-assistant:stable and now have version 0.106.2 where everything is working

from nordpool.

Hellowlol avatar Hellowlol commented on June 6, 2024

Thanks! Let me know if you have any issues with the integration.

from nordpool.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.