How to configure location/region on OVOS

hi,
running raspovos headless image on rpi3+

Where do I configure my current location in ovos?
Judging by his response of “what’s the weather?” he has no clue where he is. the temperature is off by 30 degrees celsius :slight_smile:
how to ask him where he thinks he is at? or check in the config…

edit: i imagined he pinpoints the location by IP address, but in that case its not working very well…

you are correct that by default location comes from IP address and isn’t very accurate

you can change the location in your mycroft.conf

see here what that looks like

if ~/.config/mycroft/mycroft.conf does not exist, create it, that’s where all your config changes should go

2 Likes

Hi,

{
   "tts": {
    "module": "ovos-tts-plugin-google-tx"
},
   "stt": {
    "module": "ovos-stt-plugin-server",
    "ovos-stt-plugin-server": {"url": "https://stt.smartgic.io/fasterwhisper/stt"},
    "verify_ssl": true
   },
   "location": {
   "city": {
    "code": "Abu Dhabi",
    "name": "Abu Dhabi"},
    "state": {
      "code": "AD",
      "name": "Abu Dhabi"},
      "country": {
        "code": "AE",
        "name": "United Arab Emirates"}
      }
}

my ip on the ovos machine is in abu dhabi.
however, answer to what is theh weather is 4 deg celsius and fog. maybe London, definitely not Abu Dhabi

you need to set latitude and longitude

done, still gives out nonsense as current weather

fixed. found wrong data (probably picked up via my UK vpn) in web_cache.json (last modified on 28 March last year).

1 Like