I am trying to get Dark Sky setup. I tried the Dark Sky Platform and the Sensor both with zero success.
I setup my API and used the the following in my config.yaml:
I am running Hass.io .68.1
I am running it in a docked on Ubuntu 16.04
I don’t know how to find the error logs. I am quite familiar with *nix OS’s but this dockers thing is throwing me for a loop, smb shares and ssh running seperately from the OS which also have smb and ssh running. Black Magic I’s tell ya
Not necessarily. I don’t know what the criteria is for this not to happen, but I know I have to add new items specifically under the default_viewgroup.
The most accurate way of determining if you have created an entity is to search on the states page under developer tools for dark_sky
I’ve checked there and I do not have a Dark Skies entry in States.
I’ve also added a Torque sensor to my config.yaml and it doesn’t show up in States either.
Something is wrong with your configuration - it doesn’t seem to be reading the yaml file you are writing. But I don’t have any experience with hassio, so I’ll leave somebody else to help on that.
That’s what I thought too.
So I went back to the config file and uncommented the old YR Weather sensor that I had commented out and put the Darksky sensor in with it and the YR weather element showed up on the Overview and in States but the Dark Sky one did not show up in States.
So I just got an opportunity to peak at the home-assistant.log file I found this:
Testing configuration at /config
Failed config
sensor.darksky:
- Invalid config for [sensor.darksky]: required key not provided @ data[‘monitored_conditions’]. Got None. (See ?, line ?). Please check the docs at Removed integration - Home Assistant
- platform: darksky
api_key: My_API_Key
Successful config (partial)
sensor.darksky:
It says my key is missing but it is clearly there.
Could be, I added back in the monitored conditions you recommended earlier and now I am getting this error:
2018-05-22 15:19:08 ERROR (SyncWorker_8) [homeassistant.components.sensor.darksky] Unable to connect to Dark Sky. HTTPSConnectionPool(host=‘api.darksky.net’, port=443): Max retries exceeded with url: /forecast/My_API_#/Latitude#,Longitude#?units=ca&lang=en (Caused by NewConnectionError(‘<urllib3.connection.VerifiedHTTPSConnection object at 0x7f6c7ebca550>: Failed to establish a new connection: [Errno -3] Try again’,))