Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guidance Problems #170

Open
citizenserious opened this issue Feb 18, 2021 · 4 comments
Open

Guidance Problems #170

citizenserious opened this issue Feb 18, 2021 · 4 comments

Comments

@citizenserious
Copy link

citizenserious commented Feb 18, 2021

Tells me an old weather situation (the first one after activation of guidance) when set to speak at a specific Bluetooth connection. Sometimes it tells the weather several times which seems to be also a bug. When it tells it the second time, it gets the conditions right. It seems that it tells a cached one at the first time. I use google TTS, and did a reset of the app many times without any change at this particular behavior.
Would be happy if anyone had an idea what might be wrong.
Version 5.6.4

@citizenserious
Copy link
Author

2021-02-18 01:51:26.414 LanguageUtil - locale.split("-"):en::locale:en
2021-02-18 01:51:29.529 LanguageUtil - locale.split("
-"):en::locale:en
2021-02-18 01:53:00.265 LanguageUtil - locale.split("-"):en::locale:en
2021-02-18 01:53:00.319 MainActivity - scheduleStart at boot, SDK=30
2021-02-18 01:53:00.324 MainActivity - scheduleStart does not start - it's scheduled already
2021-02-18 01:53:04.751 ReconciliationDbService - onHandleIntent
2021-02-18 01:53:04.780 ReconciliationDbService - update location:3
2021-02-18 01:53:13.180 LanguageUtil - locale.split("
-"):en::locale:en
2021-02-18 01:53:13.476 LanguageUtil - locale.split("_-"):en::locale:en
2021-02-18 01:53:19.221 BluetoothEventsReceiver - Receiver started with intent: Intent { act=android.bluetooth.device.action.ACL_DISCONNECTED flg=0x5000010 cmp=org.thosp.yourlocalweather/.service.BluetoothEventsReceiver (has extras) } and action android.bluetooth.device.action.ACL_DISCONNECTED
2021-02-18 01:53:19.244 BluetoothEventsReceiver - onReceive:bluetoothDevice: A7:55:7B:8B:56:2A
2021-02-18 01:53:19.314 BluetoothEventsReceiver - Receiver started with intent: Intent { act=android.bluetooth.device.action.ACL_CONNECTED flg=0x5000010 cmp=org.thosp.yourlocalweather/.service.BluetoothEventsReceiver (has extras) } and action android.bluetooth.device.action.ACL_CONNECTED
2021-02-18 01:53:19.325 BluetoothEventsReceiver - onReceive:bluetoothDevice: A7:55:7B:8B:56:2A
2021-02-18 01:53:19.334 BluetoothEventsReceiver - isBtTriggerEnabled: {1=1, 2=0}
2021-02-18 01:53:19.344 BluetoothEventsReceiver - isBtTriggerEnabled:value: 1
2021-02-18 01:53:19.354 BluetoothEventsReceiver - isBtTriggerEnabled:allBtDevices: false
2021-02-18 01:53:34.412 WeatherByVoiceService - handleMessage:2:WeatherByVoiceRequestDataHolder:location=null, weather=null, timeNow=0
2021-02-18 01:53:34.444 WeatherByVoiceService - weatherByVoiceMessages.size when adding new message = 0
2021-02-18 01:53:34.456 WeatherByVoiceService - startVoiceCommand
2021-02-18 01:53:34.474 WeatherByVoiceService - weatherByVoiceMessages.size before peek = 1
2021-02-18 01:53:34.487 WeatherByVoiceService - weatherByVoiceMessages.size after peek = 0
2021-02-18 01:53:34.503 WeatherByVoiceService - sayForLocation:allLocations:true
2021-02-18 01:53:34.521 WeatherByVoiceService - sayCurrentWeather voiceSettingIdFromSettings: 1:1613008091642:org.thosp.yourlocalweather.model.Location@afd8c02
2021-02-18 01:53:34.534 WeatherByVoiceService - Initiated from BT device, ommitin the rest of the settings
2021-02-18 01:53:34.547 WeatherByVoiceService - sayCurrentWeather voiceSettingIdFromSettings: 1
2021-02-18 01:53:34.561 WeatherByVoiceService - Going to say: [Good evening, ...---..., Current weather, ...---..., Scattered clouds , ...---..., temperature -10°C , _________]
2021-02-18 01:53:34.740 WeatherByVoiceService - sayCurrentWeather voiceSettingIdFromSettings: 1:1613609527833:org.thosp.yourlocalweather.model.Location@eb7836f
2021-02-18 01:53:34.752 WeatherByVoiceService - Initiated from BT device, ommitin the rest of the settings
2021-02-18 01:53:34.766 WeatherByVoiceService - sayCurrentWeather voiceSettingIdFromSettings: 1
2021-02-18 01:53:34.782 WeatherByVoiceService - Going to say: [Good evening, ...---..., Current weather, ...---..., Clear sky , ...---..., temperature 1°C , _______]
2021-02-18 01:53:55.696 UpdateWeatherService - handleMessage:1:WeatherRequestDataHolder:locationId=3, updateSource=MAIN, attempts=0, forceUpdate=false, updateWeatherOnly=false, updateType=1
2021-02-18 01:53:55.705 UpdateWeatherService - currentWeatherUpdateMessages.size when adding new message = 0
2021-02-18 01:53:55.710 UpdateWeatherService - startCurrentWeatherUpdate
2021-02-18 01:53:55.719 UpdateWeatherService - currentWeatherUpdateMessages.size before peek = 1
2021-02-18 01:53:55.727 UpdateWeatherService - currentWeatherUpdateMessages.size after peek = 1
2021-02-18 01:53:55.731 UpdateWeatherService - currentLocation=org.thosp.yourlocalweather.model.Location@b6264dc, updateSource=MAIN
2021-02-18 01:53:55.736 UpdateWeatherService - Current weather requested for location.orderId=1, updatePeriodForLocation=3600000, now=1613609635736, lastUpdateTimeInMilis=1613609527833
2021-02-18 01:53:55.743 UpdateWeatherService - networkAvailableAndConnected=true
2021-02-18 01:53:55.748 UpdateWeatherService - startRefreshRotation
2021-02-18 01:53:55.753 AbstractCommonService - startRefreshRotation:START
2021-02-18 01:53:55.760 UpdateWeatherService - weather get params: latitude:xx.xxxxxxxxxxxxxx, longitudex.xxxxxxxxxxxxxxxxxxx
2021-02-18 01:53:55.765 Utils - https://api.openweathermap.org/data/2.5/weather?appid=a81368c0da796214a41094ab9b63025e&lat=xxxxxxxxxxxxxxxxxxx&lon=xxxxxxxxxxxxxxxxxxxx&units=metric&lang=en
2021-02-18 01:53:55.772 WidgetRefreshIconService - handleMessage:1
2021-02-18 01:53:55.780 WidgetRefreshIconService - RotationSource:2
2021-02-18 01:53:55.788 WidgetRefreshIconService - startRotatingUpdateIcon:setIsRotationActive=true:postingNewSchedule
2021-02-18 01:53:55.792 AppWakeUpManager - handleMessage:1:1
2021-02-18 01:53:55.796 AppWakeUpManager - startWakeUp:wakeUpSources:startWakeUp:, wakeUpSources.size=1, WakeUp source list: 1,
2021-02-18 01:53:55.802 AppWakeUpManager - powerManager:android.os.PowerManager@9f48a98
2021-02-18 01:53:55.806 AppWakeUpManager - lock is held
2021-02-18 01:53:55.810 AppWakeUpManager - start wakeup
2021-02-18 01:53:56.202 UpdateWeatherService - weather got, result:{"coord":{"lon":xxxxxxx"lat":xxxxxx},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"base":"stations","main":{"temp":1.1,"feels_like":-1.44,"temp_min":0,"temp_max":2.22,"pressure":1020,"humidity":100},"visibility":10000,"wind":{"speed":1.03,"deg":0},"clouds":{"all":0},"dt":1613609528,"sys":{"type":1,"id":1274,"country":"DE","sunrise":xxxxxxxxxx"sunset":xxxxxxxxxxx},"timezone":3600,"id":xxxxxxxxx"name":"xxxxxxxx","cod":200}
2021-02-18 01:53:56.208 UpdateWeatherService - Going to store result with updateType:1
2021-02-18 01:53:56.219 UpdateWeatherService - Current weather type
2021-02-18 01:53:56.224 UpdateWeatherService - saveWeatherAndSendResult:locationId:3
2021-02-18 01:53:56.229 UpdateWeatherService - saveWeatherAndSendResult:locationSource by location:W
2021-02-18 01:53:56.233 UpdateWeatherService - Location source is:W
2021-02-18 01:53:56.241 LocationsDbHelper - updateLocationSource:entered:3:W
2021-02-18 01:53:56.245 LocationsDbHelper - updateLocationSource:updated
2021-02-18 01:53:56.250 AbstractCommonService - stopRefreshRotation:STOP
2021-02-18 01:53:56.254 UpdateWeatherService - Update request: WeatherRequestDataHolder:locationId=3, updateSource=MAIN, attempts=0, forceUpdate=false, updateWeatherOnly=false, updateType=1
2021-02-18 01:53:56.258 UpdateWeatherService - currentWeatherUpdateMessages.size after pull when sending result = 0
2021-02-18 01:53:56.262 UpdateWeatherService - Sending result with updateType:1
2021-02-18 01:53:56.272 WeatherByVoiceService - handleMessage:1:WeatherByVoiceRequestDataHolder:location=org.thosp.yourlocalweather.model.Location@b6264dc, weather=org.thosp.yourlocalweather.model.Weather@ca0c17d, timeNow=1613609636241
2021-02-18 01:53:56.276 WeatherByVoiceService - weatherByVoiceMessages.size when adding new message = 0
2021-02-18 01:53:56.281 WeatherByVoiceService - startVoiceCommand
2021-02-18 01:53:56.286 WeatherByVoiceService - weatherByVoiceMessages.size before peek = 1
2021-02-18 01:53:56.290 WeatherByVoiceService - weatherByVoiceMessages.size after peek = 0
2021-02-18 01:53:56.294 WeatherByVoiceService - sayForLocation:allLocations:{1=true, 2=true}
2021-02-18 01:53:56.302 WeatherByVoiceService - sayCurrentWeather voiceSettingIdFromSettings: 2:1613609636241:org.thosp.yourlocalweather.model.Location@b6264dc
2021-02-18 01:53:56.310 WeatherByVoiceService - isAnySettingValidToTellWeather enabledVoiceDevices: {1=7, 2=7}
2021-02-18 01:53:56.315 WeatherByVoiceService - isAnySettingValidToTellWeather voiceSettingId: 2
2021-02-18 01:53:56.320 WeatherByVoiceService - speaker_enabled
2021-02-18 01:53:56.324 WeatherByVoiceService - sayCurrentWeather voiceSettingIdFromSettings: null
2021-02-18 01:53:56.328 AppWakeUpManager - handleMessage:2:1
2021-02-18 01:53:56.331 AppWakeUpManager - startWakeUp:wakeUpSources:startWakeUp:, wakeUpSources.size=0, WakeUp source list:
2021-02-18 01:53:56.336 AppWakeUpManager - wakeDown wakeLock:null
2021-02-18 01:53:56.341 MainActivity - BroadcastReceiver:Intent { act=org.thosp.yourlocalweather.action.WEATHER_UPDATE_RESULT flg=0x10 pkg=org.thosp.yourlocalweather (has extras) }
2021-02-18 01:53:56.352 AppWakeUpManager - handleMessage:2:3
2021-02-18 01:53:56.357 AppWakeUpManager - startWakeUp:wakeUpSources:startWakeUp:, wakeUpSources.size=0, WakeUp source list:
2021-02-18 01:53:56.361 AppWakeUpManager - wakeDown wakeLock:null
2021-02-18 01:53:56.366 AbstractWidgetProvider - intent:Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=org.thosp.yourlocalweather/.widget.LessWidgetProvider (has extras) }, widget:class org.thosp.yourlocalweather.widget.LessWidgetProvider
2021-02-18 01:53:56.369 AbstractWidgetProvider - EXTRA_APPWIDGET_ID:0
2021-02-18 01:53:56.374 AbstractWidgetProvider - onUpdate:start
2021-02-18 01:53:56.378 AbstractWidgetProvider - setWidgetIntents:widgetid:40
2021-02-18 01:53:56.395 AbstractWidgetProvider - onUpdate:end
2021-02-18 01:53:56.402 AbstractWidgetProvider - onEnabled:start
2021-02-18 01:53:56.409 PermissionUtil:checkPermissionsAndSettings - locationUpdateStrategy is set to update_location_none, return false
2021-02-18 01:53:56.416 AbstractWidgetProvider - onEnabled:end
2021-02-18 01:53:56.422 AbstractWidgetProvider - onUpdate:start
2021-02-18 01:53:56.427 AbstractWidgetProvider - setWidgetIntents:widgetid:40
2021-02-18 01:53:56.447 AbstractWidgetProvider - onUpdate:end
2021-02-18 01:53:56.453 WidgetRefreshIconService - handleMessage:2
2021-02-18 01:53:56.458 WidgetRefreshIconService - stopRotatingUpdateIcon:setIsRotationActive=false:postingNewSchedule
2021-02-18 01:53:56.472 AbstractWidgetProvider - intent:Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=org.thosp.yourlocalweather/.widget.MoreWidgetProvider (has extras) }, widget:class org.thosp.yourlocalweather.widget.MoreWidgetProvider
2021-02-18 01:53:56.477 AbstractWidgetProvider - EXTRA_APPWIDGET_ID:0
2021-02-18 01:53:56.482 AbstractWidgetProvider - intent:Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=org.thosp.yourlocalweather/.widget.ExtLocationWidgetProvider (has extras) }, widget:class org.thosp.yourlocalweather.widget.ExtLocationWidgetProvider
2021-02-18 01:53:56.487 AbstractWidgetProvider - EXTRA_APPWIDGET_ID:0
2021-02-18 01:53:56.494 AbstractWidgetProvider - intent:Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=org.thosp.yourlocalweather/.widget.ExtLocationWithForecastWidgetProvider (has extras) }, widget:class org.thosp.yourlocalweather.widget.ExtLocationWithForecastWidgetProvider
2021-02-18 01:53:56.500 AbstractWidgetProvider - EXTRA_APPWIDGET_ID:0
2021-02-18 01:53:56.505 AbstractWidgetProvider - intent:Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=org.thosp.yourlocalweather/.widget.WeatherForecastWidgetProvider (has extras) }, widget:class org.thosp.yourlocalweather.widget.WeatherForecastWidgetProvider
2021-02-18 01:53:56.509 AbstractWidgetProvider - EXTRA_APPWIDGET_ID:0
2021-02-18 01:53:56.516 AbstractWidgetProvider - intent:Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=org.thosp.yourlocalweather/.widget.ExtLocationWithGraphWidgetProvider (has extras) }, widget:class org.thosp.yourlocalweather.widget.ExtLocationWithGraphWidgetProvider
2021-02-18 01:53:56.520 AbstractWidgetProvider - EXTRA_APPWIDGET_ID:0
2021-02-18 01:53:56.527 AbstractWidgetProvider - intent:Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=org.thosp.yourlocalweather/.widget.WeatherGraphWidgetProvider (has extras) }, widget:class org.thosp.yourlocalweather.widget.WeatherGraphWidgetProvider
2021-02-18 01:53:56.536 AbstractWidgetProvider - EXTRA_APPWIDGET_ID:0
2021-02-18 01:53:56.541 AbstractWidgetProvider - intent:Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=org.thosp.yourlocalweather/.widget.ExtLocationWithForecastGraphWidgetProvider (has extras) }, widget:class org.thosp.yourlocalweather.widget.ExtLocationWithForecastGraphWidgetProvider
2021-02-18 01:53:56.546 AbstractWidgetProvider - EXTRA_APPWIDGET_ID:0
2021-02-18 01:53:56.553 AbstractWidgetProvider - intent:Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=org.thosp.yourlocalweather/.widget.LessWidgetProvider (has extras) }, widget:class org.thosp.yourlocalweather.widget.LessWidgetProvider
2021-02-18 01:53:56.557 AbstractWidgetProvider - EXTRA_APPWIDGET_ID:0
2021-02-18 01:53:56.560 AbstractWidgetProvider - onUpdate:start
2021-02-18 01:53:56.565 AbstractWidgetProvider - setWidgetIntents:widgetid:40
2021-02-18 01:53:56.582 AbstractWidgetProvider - onUpdate:end
2021-02-18 01:53:56.588 AbstractWidgetProvider - onEnabled:start
2021-02-18 01:53:56.592 PermissionUtil:checkPermissionsAndSettings - locationUpdateStrategy is set to update_location_none, return false
2021-02-18 01:53:56.599 AbstractWidgetProvider - onEnabled:end
2021-02-18 01:53:56.603 AbstractWidgetProvider - onUpdate:start
2021-02-18 01:53:56.607 AbstractWidgetProvider - setWidgetIntents:widgetid:40
2021-02-18 01:53:56.622 AbstractWidgetProvider - onUpdate:end
2021-02-18 01:53:56.632 AbstractWidgetProvider - intent:Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=org.thosp.yourlocalweather/.widget.MoreWidgetProvider (has extras) }, widget:class org.thosp.yourlocalweather.widget.MoreWidgetProvider
2021-02-18 01:53:56.640 AbstractWidgetProvider - EXTRA_APPWIDGET_ID:0
2021-02-18 01:53:56.648 AbstractWidgetProvider - intent:Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=org.thosp.yourlocalweather/.widget.ExtLocationWidgetProvider (has extras) }, widget:class org.thosp.yourlocalweather.widget.ExtLocationWidgetProvider
2021-02-18 01:53:56.654 AbstractWidgetProvider - EXTRA_APPWIDGET_ID:0
2021-02-18 01:53:56.664 AbstractWidgetProvider - intent:Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=org.thosp.yourlocalweather/.widget.ExtLocationWithForecastWidgetProvider (has extras) }, widget:class org.thosp.yourlocalweather.widget.ExtLocationWithForecastWidgetProvider
2021-02-18 01:53:56.669 AbstractWidgetProvider - EXTRA_APPWIDGET_ID:0
2021-02-18 01:53:56.675 AbstractWidgetProvider - intent:Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=org.thosp.yourlocalweather/.widget.WeatherForecastWidgetProvider (has extras) }, widget:class org.thosp.yourlocalweather.widget.WeatherForecastWidgetProvider
2021-02-18 01:53:56.680 AbstractWidgetProvider - EXTRA_APPWIDGET_ID:0
2021-02-18 01:53:56.687 AbstractWidgetProvider - intent:Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=org.thosp.yourlocalweather/.widget.ExtLocationWithGraphWidgetProvider (has extras) }, widget:class org.thosp.yourlocalweather.widget.ExtLocationWithGraphWidgetProvider
2021-02-18 01:53:56.690 AbstractWidgetProvider - EXTRA_APPWIDGET_ID:0
2021-02-18 01:53:56.699 AbstractWidgetProvider - intent:Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=org.thosp.yourlocalweather/.widget.WeatherGraphWidgetProvider (has extras) }, widget:class org.thosp.yourlocalweather.widget.WeatherGraphWidgetProvider
2021-02-18 01:53:56.708 AbstractWidgetProvider - EXTRA_APPWIDGET_ID:0
2021-02-18 01:53:56.713 AbstractWidgetProvider - intent:Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=org.thosp.yourlocalweather/.widget.ExtLocationWithForecastGraphWidgetProvider (has extras) }, widget:class org.thosp.yourlocalweather.widget.ExtLocationWithForecastGraphWidgetProvider
2021-02-18 01:53:56.721 AbstractWidgetProvider - EXTRA_APPWIDGET_ID:0
2021-02-18 01:54:07.474 LanguageUtil - locale.split("
-"):en::locale:en
2021-02-18 01:54:07.499 YourLocalWeather - Default locale:en
2021-02-18 01:54:07.510 LanguageUtil - locale.split("
-"):en::locale:en
2021-02-18 01:54:07.519 YourLocalWeather - scheduleStart at YourLocalWeather
2021-02-18 01:54:08.577 StartAutoLocationJob - onStartJob
2021-02-18 01:54:08.601 ScreenOnOffUpdateService - Check if receivers is going to be started: receiversRegistered=false
2021-02-18 01:54:08.617 ScreenOnOffUpdateService - Start connectivity receiver with callback
2021-02-18 01:54:08.639 NetworkConnectionReceiver - onAvailable, network=140, wasOffline=false
2021-02-18 01:54:08.650 StartAutoLocationJob - got locationUpdateServiceConnection
2021-02-18 01:54:08.650 NetworkConnectionReceiver - networkIsOffline, networkInfo=[type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: , failover: false, available: true, roaming: false]
2021-02-18 01:54:08.659 NetworkConnectionReceiver - networkIsOffline, networkInfo.isConnectedOrConnecting()=true
2021-02-18 01:54:08.669 NetworkConnectionReceiver - network is online, wasOffline=false
2021-02-18 01:54:08.678 LocationsDbHelper - Location in memory created: 1.0:1.0
2021-02-18 01:54:08.684 LocationsDbHelper - Location in memory created: 3.0:3.0
2021-02-18 01:54:08.694 StartAutoLocationJob - updateAutoPeriodStr:60, updatePeriodStr:60, notificationPeriodStr:60
2021-02-18 01:54:08.699 StartAutoLocationJob - 1:nextAlarmWakeup=3600000
2021-02-18 01:54:08.705 StartAutoLocationJob - location:org.thosp.yourlocalweather.model.Location@286ab8d, location.isEnabled:false
2021-02-18 01:54:08.711 StartAutoLocationJob - location:org.thosp.yourlocalweather.model.Location@9854553, location.isEnabled:false
2021-02-18 01:54:08.721 StartAutoLocationJob - updatedNow=false, updatePeriod=3600000
2021-02-18 01:54:08.728 StartAutoLocationJob - 4:nextAlarmWakeup=3479140
2021-02-18 01:54:08.734 StartAutoLocationJob - 1:nextTimeForLog=1613613127833
2021-02-18 01:54:08.739 StartAutoLocationJob - next scheduler time:2021-02-18 02:52:07.833
2021-02-18 01:54:08.745 AbstractAppJob - next alarm:3479140, serviceClass=class org.thosp.yourlocalweather.service.StartAutoLocationJob
2021-02-18 01:54:08.766 StartAutoLocationJob - unbinding sensorLocationUpdate: org.thosp.yourlocalweather.service.StartAutoLocationJob$2@cda3d63

@thuryn
Copy link
Owner

thuryn commented Feb 27, 2021

I've found I have the same problem. I will fix it.

@ildar
Copy link

ildar commented Feb 5, 2023 via email

@thuryn
Copy link
Owner

thuryn commented Feb 5, 2023

No, but I have not faced the problem again. Could you, please, install the newest version (5.8.10) and send me the log (from the app), please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants