Re weatherundground Oliver

hi

guys I have a weather station linked to weather underground and I get free API keys because of that but when I try to add in yaml file. the one im .useing is this https://www.home-assistant.io/integrations/wunderground/

it does not show and it says error in logs

has anyone had this issue before

thanks Oliver

Please share the config and the the logs. It would be helpful

I had the same issue… although I don’t remember quite well, I think I solved it with installing this addon. It is also available in HACS, if you use it and don’t like manual installation.
It has something to do with changed API key checking process, I believe, that’s why native WUnderground integration returns errors

I did try that but when I add it in on file h a goes into safe mode

those are the errors 2021-02-04 12:14:25 ERROR (SyncWorker_0) [homeassistant.util.yaml.loader] while scanning for the next token

found character ‘`’ that cannot start any token

in “/config/configuration.yaml”, line 5, column 2

2021-02-04 12:14:25 ERROR (MainThread) [homeassistant.bootstrap] Failed to parse configuration.yaml: while scanning for the next token

found character ‘`’ that cannot start any token

in “/config/configuration.yaml”, line 5, column 2. Activating safe mode

Looks like a sensor formatting problem.

here the file

I guess this is your problem
what are these ``` in your configuration?

Well, if you installed the addon from my link, than you must also change the platform in configuration.yaml - for this addon it is “wundergroundpws”, while the default (which you have) is “wunderground”…

still says this 2021-02-04 12:45:34 ERROR (SyncWorker_0) [homeassistant.util.yaml.loader] while scanning for the next token

found character ‘`’ that cannot start any token

in “/config/configuration.yaml”, line 5, column 1

2021-02-04 12:45:34 ERROR (MainThread) [homeassistant.bootstrap] Failed to parse configuration.yaml: while scanning for the next token

found character ‘`’ that cannot start any token

in “/config/configuration.yaml”, line 5, column 1. Activating safe mode

what are these ``` in your configuration?

And do you have a proper API key without quotation marks in config, like this:

- platform: wundergroundpws
  api_key: 2f51trz67u987t3zu8ert91r92pp6er2
  pws_id: ILOGDRAG2

If you use it this way:

- platform: wundergroundpws
  api_key: '2f51trz67u987t3zu8ert91r92pp6er2'
  pws_id: ILOGDRAG2

there will most likely be an error.

here’s my layout now in the config I got no errors in logs but still not showing up on h a
also do I need to add this sensor.wupws_weather_1d_metric_2 where it says sensor
thanks Oliver

Not sure what are you asking… here is my config, for example:

- platform: wundergroundpws
  api_key: !secret key_wunder
  pws_id: ILOGDRAG999
  lang: sl-SI
  monitored_conditions:
      - humidity
      - temp
      - dewpt
      - heatIndex
      - windChill
      - precipRate
      - precipTotal
      - pressure
      - windGust
      - windSpeed
      - winddir
      - obsTimeLocal
      - weather_1d
      - weather_1n
      - weather_2d
      - weather_2n
      - weather_3d
      - weather_3n
      - weather_4d
      - weather_4n
      - weather_5d
      - weather_5n

For all these lines the sensors are automatically created, for example the line
“- humidity”
creates
“sensor.wupws_humidity”
and so on. You don’t need to create any additional sensors.

thanks for the reply

what is this for lang: sl-SI

Defining my local language (Slovenian), so that the forecast is in Slovenian instead of English.

does it come in as weather home I still don’t have entities with wu

get this error now ogger: homeassistant.config
Source: config.py:822
First occurred: 17:06:21 (1 occurrences)
Last logged: 17:06:21

Platform error: sensor - Integration ‘wundergroundpws’ not found.

You installed the custom component, correct?

do I put the custom_ component in the config folder of ha or in the addons folder

Put wundergroundpws in the config/custom_components directory.

is that right

I did this To Install, copy the custom_components directory into your .homeassistant directory and the www directory into your .homeassistant directory.