vanja1
June 22, 2024, 6:52am
1
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
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
// Mechanism used to play OGG audio files
// by default ovos-utils will try to detect best player
// Override: SYSTEM
//"play_ogg_cmdline": "ogg123 -q %1",
// Location where the system resides
// NOTE: Although this is set here, an Enclosure can override the value.
// For example a mycroft-core running in a car could use the GPS.
// Override: REMOTE
"location": {
"city": {
"code": "Lawrence",
"name": "Lawrence",
"state": {
"code": "KS",
"name": "Kansas",
"country": {
"code": "US",
"name": "United States"
}
if ~/.config/mycroft/mycroft.conf
does not exist, create it, that’s where all your config changes should go
2 Likes
vanja1
January 16, 2025, 5:07am
3
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
vanja1
January 16, 2025, 6:28pm
5
done, still gives out nonsense as current weather
vanja1
January 17, 2025, 9:25pm
6
fixed. found wrong data (probably picked up via my UK vpn) in web_cache.json (last modified on 28 March last year).
1 Like