custom-ui icon indicating copy to clipboard operation
custom-ui copied to clipboard

Met Office service not working

Open andy5211d opened this issue 6 years ago • 6 comments
trafficstars

Using the UK Met Office as a weather service seems not to work correctly. There are two integrations in HA for Met Office, one as a Weather service and the other is a Sensor. Only the Weather service works and to use it the entity is as below:

  • type: custom:weather-card entity: weather.met_office_guildford name: Weather

Don't know where the "guildford" component comes from but that is the nearest town so that may be generated by the Met Office api as it requires to know location for registration. The entity was determined by looking at lovelace unused entities.

The displayed card is missing a lot of the data which I'm not sure how to fix or what I need to do to understand what the card requires.

screencapture Ignore sun rise and set times as this screen capture is from a different time zone to that set in HA.

The other version of the Met Office service is to use the Sensor binding which shows nothing on the card but does not throw an error.

  • type: custom:weather-card entity: sensor.met_office_weather name: Weather

Any suggestions welcome.

andy5211d avatar Feb 21 '19 13:02 andy5211d

Please share the entity info from /dev-state

Most likely Met Office doesn't supply a forecast and the other info. Use another weather platform or ask the maintainer of Met Office to add this info.

bramkragten avatar Feb 21 '19 13:02 bramkragten

bramkragten. Sorry don't have any idea what '/dev-state' is or where I would find it. Running HASSIO on a R-Pi. Only a Windows person really but brought up on CLI and DOS.

andy5211d avatar Feb 22 '19 15:02 andy5211d

http://your-home-assistant:8123/dev-state

Or:

image

bramkragten avatar Feb 22 '19 15:02 bramkragten

OK, think I know what you mean but using Dark-Sky at present and it works as expected. Thanks for the work that goes into this. I'll try with the Met Office service again when home and pull the data from Developer area States tab and copy the data here.

andy5211d avatar Feb 22 '19 15:02 andy5211d

Sorry, me being a bit dense. Long day and now late in this part of the world. May not get time to pull this data until after the weekend.

andy5211d avatar Feb 22 '19 15:02 andy5211d

The Met Office entity info from /dev-state: screencapture

I note that if I look t the Met Office web site these parameters are incorrect, for instance it says the temp is 2deg for the location given!

andy5211d avatar Feb 24 '19 09:02 andy5211d