I’m a Linux and HA newbie and I’m trying to add my personal weather station to HA. I’m using this document as my instructions.
The issue I’m having is I can’t locate the “custom_components” or .“homeassistant” directories refereed to below:
“To Install, copy the custom_components directory into your .homeassistant directory and the www directory into your .homeassistant directory.
or
copy the contents of the custom_components into an existing custom_components directory in your .homeassistant directory and the contents of the www directory into an existing www directory in your .homeassistant directory.”
1.) I have HA running on a Rasberry Pi 4 running Alpine Linux version 3.13. Even though I have an SD card installed, I don’t believe there’s anything on it (how can I check)?
2.) I do have a PSW and it’s registered with wunderground and I am able to get the API key.
3.) Are the instructions still valid for setting up a PSW within HA?
Thanks in advance for any help that can be provided.
Well, depends on the type of installation you are using - Docker or Supervised?
I can’t say for Docker, but I’m using Supervised and the mentioned directory is in “/usr/share/hassio/homeassistant”.
I would say most likely you are using Container or Core installation then. Afaik, in this case you can not use addons - see this table as reference.
You could still try the native integration though… however, I tried it but it didn’t work for me because of some changes in the API, so I ended up using the 3rd party (cytech) addon also.
You need to check and see if WU is still giving out API keys. After IBM purchased WU, the program was cut back considerably.
What software do you use for your weather station. There may be different options to get the data you need. For instance, I use Weather Display and by using the built-in mqtt I am able to grab all the data I want. As I understand it, Ambience misspelled has a way through a bridge to do the same thing.
Admiral Stripe - Thanks for your response. I’ll look into the directories further.
Edwin - Thanks for your response. I have an account with wunderground so I’m able to get an API key for for my weather station. This information is posted to wunderground and acurite.com. Apparently I should have the ability to pull info from wunderground and display it on HA (because I can obtain the API key). Other wise, as I understand it, I need to use a dongle and sniff out the data being transferred from the weather station to my weather station display unit.
Hello
I looked at the link that Heinz provided and have added the following code. Please see below. It adds the sensors to HA but doesn’t populate them with any information. The url in “secrets” works in a browser so I know I’ve got the correct station ID and API key. Any ideas as to what maybe failing?
I’m struggling to get this to work with WUnderground. I know that my WU configuration is correct because I can find my station on WU. However, I get this error when checking the config.
I couldn’t put the the code into the config file described in the instructions because I have a separate sensors.yaml file. So I put the code in there.
Not sure, but if you just copied the files to custom_components (or installed wundergroundpws via HACS), it would be good to restart HA and then try to add the code to sensors.yaml, otherwise HA may not recognize the addon as installed and therefore giving you error “integration not found”.
The code itself seems correct to me, at least I have the same one in my sensors.yaml.
I use the wundergroundpws integration, it has been working well for ages. I use a Davis VP2 PWS, which has a few sensors, including temperature and humidity, in its console. Is it possible to push the console temperature to HA and if so, what is the sensor name that I would need to add to my config file?