wubbl0rz / FiatChamp

FIAT (uconnect) Home Assistant Addon 🚗
https://github.com/wubbl0rz/FiatChamp
MIT License
96 stars 23 forks source link

Unable to connect to FIAT API - Service not enabled #77

Open thospe opened 1 month ago

thospe commented 1 month ago

ERROR: Got unexpected response from the API: Service not enabled

After some reseach I did change my pw on the Uconnect site and updated my HA config. Affter restart of the integration I still get the same messages. Where can I "enable" the API service ? Functionality via APP and/or Web works fine and gives every information about the car, location etc.

Error log:

s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service fix-attrs successfully started s6-rc: info: service legacy-cont-init: starting s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service legacy-services: starting s6-rc: info: service legacy-services successfully started [00:09:32] ERROR: Got unexpected response from the API: Service not enabled Unhandled exception. System.InvalidOperationException: Failed to convert configuration value at 'MqttPort' to type 'System.Int32'. ---> System.ArgumentException: is not a valid value for Int32. (Parameter 'value') ---> System.IndexOutOfRangeException: Index was outside the bounds of the array. at System.ComponentModel.BaseNumberConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value) --- End of inner exception stack trace --- at System.ComponentModel.BaseNumberConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value) at System.ComponentModel.TypeConverter.ConvertFromInvariantString(String text) at Microsoft.Extensions.Configuration.ConfigurationBinder.TryConvertValue(Type type, String value, String path, Object& result, Exception& error) --- End of inner exception stack trace --- at Microsoft.Extensions.Configuration.ConfigurationBinder.BindInstance(Type type, Object instance, IConfiguration config, BinderOptions options) at Microsoft.Extensions.Configuration.ConfigurationBinder.GetPropertyValue(PropertyInfo property, Object instance, IConfiguration config, BinderOptions options) at Microsoft.Extensions.Configuration.ConfigurationBinder.BindProperty(PropertyInfo property, Object instance, IConfiguration config, BinderOptions options) at Microsoft.Extensions.Configuration.ConfigurationBinder.BindNonScalar(IConfiguration configuration, Object instance, BinderOptions options) at Microsoft.Extensions.Configuration.ConfigurationBinder.BindInstance(Type type, Object instance, IConfiguration config, BinderOptions options) at Microsoft.Extensions.Configuration.ConfigurationBinder.Get(IConfiguration configuration, Type type, Action1 configureOptions) at Microsoft.Extensions.Configuration.ConfigurationBinder.Get[T](IConfiguration configuration, Action1 configureOptions) at Microsoft.Extensions.Configuration.ConfigurationBinder.Get[T](IConfiguration configuration) at Program.

$(String[] args) in /home/runner/work/FiatUconnect/FiatUconnect/FiatAddon/FiatClient/Program.cs:line 30 at Program.
(String[] args) /run.sh: line 25: 158 Aborted (core dumped) ./FiatUconnect s6-rc: info: service legacy-services: stopping s6-rc: info: service legacy-services successfully stopped s6-rc: info: service legacy-cont-init: stopping s6-rc: info: service legacy-cont-init successfully stopped s6-rc: info: service fix-attrs: stopping s6-rc: info: service fix-attrs successfully stopped s6-rc: info: service s6rc-oneshot-runner: stopping s6-rc: info: service s6rc-oneshot-runner successfully stopped

AndyBowden commented 3 weeks ago

Is the Fiat App on your smart phone showing valid data? If not, it may be that the UConnect subscription has expired. Early cars got 3 years free. More recently only one year

thospe commented 2 weeks ago

Fiat App on the phone works as expected