MyBMW Binding

Same here, account is online, car thing shows “COMMUNICATION_ERROR Resource Not Found”
I set the log to DEBUG but without reinstallation of binding/things. Maybe this helps:

2023-07-02 14:16:16.969 [DEBUG] [ng.mybmw.internal.handler.MyBMWProxy] - HTTP Error https://cocoapi.bmwgroup.com/eadrax-vcs/v1/vehicles?tireGuardMode=ENABLED&appDateTime=1688300176945&apptimezone=120 - 404 - Resource Not Found{tireGuardMode=tireGuardMode=[ENABLED], appDateTime=appDateTime=[1688300176945], apptimezone=apptimezone=[120]}
2023-07-02 14:16:16.974 [DEBUG] [ternal.handler.VehicleChannelHandler] - https://cocoapi.bmwgroup.com/eadrax-vcs/v1/vehicles?tireGuardMode=ENABLED&appDateTime=1688300176945&apptimezone=120 - 404 - Resource Not Found{tireGuardMode=tireGuardMode=[ENABLED], appDateTime=appDateTime=[1688300176945], apptimezone=apptimezone=[120]}
2023-07-02 14:16:16.986 [DEBUG] [ng.mybmw.internal.handler.MyBMWProxy] - HTTP Error https://cocoapi.bmwgroup.com/eadrax-chs/v1/charging-statistics?vin=WBA6N31090FK64422&currentDate=2023-07-02T12%3A16%3A16.000948 - 400 - Bad Request{vin=vin=[WBA6N31090FK64422], currentDate=currentDate=[2023-07-02T12:16:16.000948]}
2023-07-02 14:16:16.988 [DEBUG] [ternal.handler.VehicleChannelHandler] - https://cocoapi.bmwgroup.com/eadrax-chs/v1/charging-statistics?vin=WBA6N31090FK64422&currentDate=2023-07-02T12%3A16%3A16.000948 - 400 - Bad Request{vin=vin=[WBA6N31090FK64422], currentDate=currentDate=[2023-07-02T12:16:16.000948]}
2023-07-02 14:16:17.043 [DEBUG] [ng.mybmw.internal.handler.MyBMWProxy] - HTTP Error https://cocoapi.bmwgroup.com/eadrax-chs/v1/charging-sessions?vin=WBY1Z81040V905639&maxResults=40&include_date_picker=true - 400 - Bad Request{vin=vin=[WBY1Z81040V905639], maxResults=maxResults=[40], include_date_picker=include_date_picker=[true]}
2023-07-02 14:16:17.045 [DEBUG] [ternal.handler.VehicleChannelHandler] - https://cocoapi.bmwgroup.com/eadrax-chs/v1/charging-sessions?vin=WBY1Z81040V905639&maxResults=40&include_date_picker=true - 400 - Bad Request{vin=vin=[WBY1Z81040V905639], maxResults=maxResults=[40], include_date_picker=include_date_picker=[true]}

MyBMWProxy as well as v1 shows that this is not the latest one. Can you please try to upgrade?

Sure! I downloaded the latest jar and copied it to the addons folder. list -s shows

296 │ Waiting │  80 │ 3.4.2.202302042117     │ org.openhab.binding.mybmw

as before. The log shows:

2023-07-02 15:10:18.582 [DEBUG] [g.mybmw.internal.MyBMWHandlerFactory] - bundle org.openhab.binding.mybmw:3.4.4 (276)[org.openhab.binding.mybmw.internal.MyBMWHandlerFactory(325)] : Querying state active
2023-07-02 15:10:18.583 [DEBUG] [l.handler.MyBMWCommandOptionProvider] - bundle org.openhab.binding.mybmw:3.4.4 (276)[org.openhab.binding.mybmw.internal.handler.MyBMWCommandOptionProvider(326)] : Querying state active
2023-07-02 15:10:18.595 [DEBUG] [ternal.console.MyBMWCommandExtension] - bundle org.openhab.binding.mybmw:3.4.2.202302042117 (296)[org.openhab.binding.mybmw.internal.console.MyBMWCommandExtension(446)] : Querying state active
2023-07-02 15:10:18.596 [DEBUG] [g.mybmw.internal.MyBMWHandlerFactory] - bundle org.openhab.binding.mybmw:3.4.2.202302042117 (296)[org.openhab.binding.mybmw.internal.MyBMWHandlerFactory(445)] : Querying state satisfied
...
2023-07-02 15:11:17.713 [DEBUG] [ng.mybmw.internal.handler.MyBMWProxy] - HTTP Error https://cocoapi.bmwgroup.com/eadrax-vcs/v1/vehicles?tireGuardMode=ENABLED&appDateTime=1688303477696&apptimezone=120 - 404 - Resource Not Found{tireGuardMode=tireGuardMode=[ENABLED], appDateTime=appDateTime=[1688303477696], apptimezone=apptimezone=[120]}
2023-07-02 15:11:17.715 [DEBUG] [ternal.handler.VehicleChannelHandler] - https://cocoapi.bmwgroup.com/eadrax-vcs/v1/vehicles?tireGuardMode=ENABLED&appDateTime=1688303477696&apptimezone=120 - 404 - Resource Not Found{tireGuardMode=tireGuardMode=[ENABLED], appDateTime=appDateTime=[1688303477696], apptimezone=apptimezone=[120]}
2023-07-02 15:11:17.733 [DEBUG] [ng.mybmw.internal.handler.MyBMWProxy] - HTTP Error https://cocoapi.bmwgroup.com/eadrax-chs/v1/charging-statistics?vin=WBA6N31090FK64422&currentDate=2023-07-02T13%3A11%3A17.000699 - 400 - Bad Request{vin=vin=[WBA6N31090FK64422], currentDate=currentDate=[2023-07-02T13:11:17.000699]}
2023-07-02 15:11:17.735 [DEBUG] [ternal.handler.VehicleChannelHandler] - https://cocoapi.bmwgroup.com/eadrax-chs/v1/charging-statistics?vin=WBA6N31090FK64422&currentDate=2023-07-02T13%3A11%3A17.000699 - 400 - Bad Request{vin=vin=[WBA6N31090FK64422], currentDate=currentDate=[2023-07-02T13:11:17.000699]}
2023-07-02 15:11:17.741 [DEBUG] [ng.mybmw.internal.handler.MyBMWProxy] - HTTP Error https://cocoapi.bmwgroup.com/eadrax-chs/v1/charging-sessions?vin=WBY1Z81040V905639&maxResults=40&include_date_picker=true - 400 - Bad Request{vin=vin=[WBY1Z81040V905639], maxResults=maxResults=[40], include_date_picker=include_date_picker=[true]}
2023-07-02 15:11:17.743 [DEBUG] [ternal.handler.VehicleChannelHandler] - https://cocoapi.bmwgroup.com/eadrax-chs/v1/charging-sessions?vin=WBY1Z81040V905639&maxResults=40&include_date_picker=true - 400 - Bad Request{vin=vin=[WBY1Z81040V905639], maxResults=maxResults=[40], include_date_picker=include_date_picker=[true]}

So the error still persists. Did I do anything wrong?

EDIT:
Oh, there is another one! Stupid me!!!

276 │ Active  │  80 │ 3.4.4                  │ org.openhab.binding.mybmw

Decativated this one and now everything’s back to work! Sorry!

Hi all,

just to summarize: The official Openhab addon as well as the community version are not working. The only versions which can be used right now can be downloaded from GitHub - martingrassl/openhab-mybmw.

There are now two jar files:

  • the 3.4.5-SNAPSHOT version for the latest 3.4.x builds
  • the 4.0.0-SNAPSHOT version for the latest 4.0.0 builds

The jar file has to be downloaded locally (please check if the size is roughly 190kB) and put into the addons folder of the Openhab installation (in the zip file it is directly in addons of OH root folder, in Openhabian it is /usr/share/openhab/addons). If you enable the debug logging by setting “log:set DEBUG org.openhab.binding.mybmw” you should see a lot of log entries including “bundle org.openhab.binding.mybmw:4.0.0.202307022008” (4.0.0 build) or “bundle org.openhab.binding.mybmw:3.4.5.202307021957” (3.4.4 build). The files are only working in the right target environment!

The fix is requested to be merged into the main development branch since February, but unfortunately the maintainers are quite busy so they couldn’t approve it already. I still hope that this will be done until the release of 4.0.0, if not we will have to deal with this workaround longer.

In the meantime, it would be great to add your versions to the marketplace, so users can install them easily…

I also had some difficulties as the MyBMW binding stopped working some days ago. I copied the new jar-file to addons folder and restarted OH3.4.0 but the binding didn’t work. Finally I deleted the binding and reinstalled it and now everything works. Thanks a lot for the nice work.

@MartinOpenhabFan : thank you very much for your work!

I’ve removed the old binding, restarted OH (3.4.4), then copied the jar to the addons folder, but the
binding seems to be stuck in “waiting” stage. When I enable the thing it doesn’t work. Stopping, restarting the binding doesn’t change anything, it’s always “Waiting”.

311 │ Waiting │ 80 │ 3.4.5.202307021957 │ openHAB Add-ons :: Bundles :: MyBMW Binding

Do you have any idea what to do with it?
Thank you!

Probably the old binding is active again, I’ve had the same issue. Try to find the one with version 3.4.4 in the openhab console, stop it (bundle:stop <old_id>) and uninstall it (bundle:uninstall <old_id>). Then restart the new one (bundle:restart <new_id>).

Spot on, thank you! I did think of it, but never actually checked with a grep and I couldn’t find it without it seems :slight_smile: Thanks again for the hint!

Hi Martin,

I was also struck by the connection fails.
Many thanks for the quick support, works again with your snapshot build in my OH-3.4.3
Hint for all those not sure what to do:
From openhab console just enter
bundle:update -r <ID> file:/<drive-letter>:/<path-to-downloaded-binding>/org.openhab.binding.mybmw-3.4.5-SNAPSHOT.jar
Make sure to use the java notation for paths :wink:

br,
Udo

I am trying to install the updated addon on my OH 3.4.4 installation but without success:

suggestions are very welcome!

Hmmm are you sure there is no other version installed, did you check this first?

And did you enable the logging?

I first tried the upgrade when the old version was still installed, and when that didn’t work I removed the old version - after which the mybmw bundle indeed was gone when running the list -s command.

wrt logging, if I set log level to debug and run the install command I see the following messages. Does unfortunately not provide any insights about the reason for the failed installation:

16:07:45.177 [DEBUG] [le.osgi.LoggingCommandSessionListener] - Executing command: 'bundle:install file:///home/openhab/org.openhab.binding.mybmw-3.4.5-SNAPSHOT.jar'
16:07:45.190 [DEBUG] [le.osgi.LoggingCommandSessionListener] - Command: 'bundle:install file:///home/openhab/org.openhab.binding.mybmw-3.4.5-SNAPSHOT.jar' failed: org.apache.karaf.shell.support.MultiException: Error installing bundles:
        Unable to install bundle file:///home/openhab/org.openhab.binding.mybmw-3.4.5-SNAPSHOT.jar: org.osgi.framework.BundleException: Error occurred installing a bundle.

I tried multiple variations of the path, and also used the http link, but all return the same error message.

Can you please check if the size of the jar file is 190kB? We already had the issue, that the downloaded file was the html page instead of the jar.

That was indeed the issue :flushed: . Apparently doing a wget using the file link or using the file link in the bundle:install indeed pulls a html file from git…

Instead I did a git clone of the repo and copied the file into the addons folder and it worked immediately. Thanks a lot!

Hi Martin, new jar works great. Thanks for all the help and your work.

Hello,
Thank you to Martin for the information, it help me to have the bridge connected.
Now I have a question: the bridge is connected, a car (“520e”) is also connected, the fingerprint works (I can see all the details), but somehow when I try to define an item, it doesn’t work.

See below the .things and the .items file. I largely inspired myself from the example

->can someone help me?

Thank you!

.things file:

Bridge mybmw:account:4711   "MyBMW Account" [userName="YOUR_USERNAME",password="YOUR_PASSWORD",region="ROW"] {
         Thing phev 520e       "BMW 520e"                [ vin="VEHICLE_VIN",refreshInterval=5,vehicleBrand="BMW"]
}

(obviously userName, password and vin contents are anonymised)

.items file

Group       g520e                              "520e"                          




Number:Length           520eMileage                 "Odometer [%d %unit%]"                        <line>          (g520e)        {channel="mybmw:phev:4711:520e:range#mileage" }                                                                           
Number:Length           520eRange                   "Range [%d %unit%]"                           <motion>        (g520e)        {channel="mybmw:phev:4711:520e:range#hybrid"}
Number:Length           520eRangeElectric           "Electric Range [%d %unit%]"                  <motion>        (520e,long)   {channel="mybmw:phev:4711:520e:range#electric"}   
Number:Length           520eRangeFuel               "Fuel Range [%d %unit%]"                      <motion>        (520e)        {channel="mybmw:phev:4711:520e:range#fuel"}
Number:Dimensionless    520eBatterySoc              "Battery Charge [%.1f %%]"                    <battery>       (520e,long)   {channel="mybmw:phev:4711:520e:range#soc"}
Number:Volume           520eFuel                    "Fuel [%.1f %unit%]"                          <oil>           (520e)        {channel="mybmw:phev:4711:v520e:range#remaining-fuel"}
Number:Length           520eRadiusElectric          "Electric Radius [%d %unit%]"                 <zoom>          (520e)        {channel="mybmw:phev:4711:520e:range#radius-electric" }
Number:Length           520eRadiusFuel              "Fuel Radius [%d %unit%]"                     <zoom>          (520e)        {channel="mybmw:phev:4711:520e:range#radius-fuel" }
Number:Length           520eRadiusHybrid            "Hybrid Radius [%d %unit%]"                   <zoom>          (520e)        {channel="mybmw:phev:4711:520e:range#radius-hybrid" }

String                  520eDoorStatus              "Door Status [%s]"                            <lock>          (520e)        {channel="mybmw:phev:4711:520e:status#doors" }
String                  520eWindowStatus            "Window Status [%s]"                          <lock>          (520e)        {channel="mybmw:phev:4711:520e:status#windows" }
String                  520eLockStatus              "Lock Status [%s]"                            <lock>          (520e)        {channel="mybmw:phev:4711:520e:status#lock" }
DateTime                520eNextServiceDate         "Next Service Date [%1$tb %1$tY]"             <calendar>      (520e)        {channel="mybmw:phev:4711:520e:status#service-date" }
String                  520eNextServiceMileage      "Next Service Mileage [%d %unit%]"            <line>          (520e)        {channel="mybmw:phev:4711:520e:status#service-mileage" }
String                  520eCheckControl            "Check Control [%s]"                          <error>         (520e)        {channel="mybmw:phev:4711:520e:status#check-control" }
String                  520ePlugConnection          "Plug [%s]"                                   <energy>        (520e)        {channel="mybmw:phev:4711:520e:status#plug-connection" } 
String                  520eChargingStatus          "[%s]"                                        <energy>        (520e)        {channel="mybmw:phev:4711:520e:status#charge" } 
String                  520eChargingInfo            "[%s]"                                        <energy>        (520e)        {channel="mybmw:phev:4711:520e:status#charge-info" } 
DateTime                520eLastUpdate              "Update [%1$tA, %1$td.%1$tm. %1$tH:%1$tM]"    <calendar>      (520e)        {channel="mybmw:phev:4711:520e:status#last-update"}

Location                520eLocation                "Location  [%s]"                              <zoom>          (520e)        {channel="mybmw:phev:4711:520e:location#gps" }                                                                           
Number:Angle            520eHeading                 "Heading [%.1f %unit%]"                       <zoom>          (520e)        {channel="mybmw:phev:4711:520e:location#heading" }  

String                  520eRemoteCommand           "Command [%s]"                                <switch>        (520e)        {channel="mybmw:phev:4711:520e:remote#command" } 
String                  520eRemoteState             "Remote Execution State [%s]"                 <status>        (520e)        {channel="mybmw:phev:4711:520e:remote#state" } 

String                  520eDriverDoor              "Driver Door [%s]"                            <lock>          (520e)        {channel="mybmw:phev:4711:520e:doors#driver-front" }
String                  520eDriverDoorRear          "Driver Door Rear [%s]"                       <lock>          (520e)        {channel="mybmw:phev:4711:520e:doors#driver-rear" }
String                  520ePassengerDoor           "Passenger Door [%s]"                         <lock>          (520e)        {channel="mybmw:phev:4711:520e:doors#passenger-front" }
String                  520ePassengerDoorRear       "Passenger Door Rear [%s]"                    <lock>          (520e)        {channel="mybmw:phev:4711:520e:doors#passenger-rear" }
String                  520eHood                    "Hood [%s]"                                   <lock>          (520e)        {channel="mybmw:phev:4711:520e:doors#hood" }
String                  520eTrunk                   "Trunk [%s]"                                  <lock>          (520e)        {channel="mybmw:phev:4711:520e:doors#trunk" }
String                  520eDriverWindow            "Driver Window [%s]"                          <lock>          (520e)        {channel="mybmw:phev:4711:520e:doors#win-driver-front" }
String                  520eDriverWindowRear        "Driver Window Rear [%s]"                     <lock>          (520e)        {channel="mybmw:phev:4711:520e:doors#win-driver-rear" }
String                  520ePassengerWindow         "Passenger Window [%s]"                       <lock>          (520e)        {channel="mybmw:phev:4711:520e:doors#win-passenger-front" }
String                  520ePassengerWindowRear     "Passenger Window Rear [%s]"                  <lock>          (520e)        {channel="mybmw:phev:4711:520e:doors#win-passenger-rear" }
String                  520eRearWindow              "Rear Window [%s]"                            <lock>          (520e)        {channel="mybmw:phev:4711:520e:doors#win-rear" }
String                  520eSunroof                 "Sunroof [%s]"                                <lock>          (520e)        {channel="mybmw:phev:4711:520e:doors#sunroof" }

String                  520eServiceName             "Service Name [%s]"                           <text>          (520e)        {channel="mybmw:phev:4711:520e:service#name" }
String                  520eServiceDetails          "Service Details [%s]"                        <text>          (520e)        {channel="mybmw:phev:4711:520e:service#details" }
Number:Length           520eServiceMileage          "Service Mileage [%d %unit%]"                 <line>          (520e)        {channel="mybmw:phev:4711:520e:service#mileage" }
DateTime                520eServiceDate             "Service Date [%1$tb %1$tY]"                  <calendar>      (520e)        {channel="mybmw:phev:4711:520e:service#date" }

String                  520eCCName                  "CheckControl Name [%s]"                      <text>          (520e)        {channel="mybmw:phev:4711:520e:check#name" }
String                  520eCCDetails               "CheckControl Details [%s]"                   <text>          (520e)        {channel="mybmw:phev:4711:520e:check#details" }
String                  520eCCSeverity              "CheckControl Severity [%s]"                  <line>          (520e)        {channel="mybmw:phev:4711:520e:check#severity" }
 
Switch                  520eChargeProfileClimate    "Charge Profile Climatization"                <temperature>   (520e)        {channel="mybmw:phev:4711:520e:profile#climate" }  
String                  520eChargeProfileMode       "Charge Profile Mode [%s]"                    <energy>        (520e)        {channel="mybmw:phev:4711:520e:profile#mode" } 
String                  520eChargeProfilePrefs      "Charge Profile Preference [%s]"              <energy>        (520e)        {channel="mybmw:phev:4711:520e:profile#prefs" } 
String                  520eChargeProfileCtrl       "Charge Profile Control [%s]"                 <energy>        (520e)        {channel="mybmw:phev:4711:520e:profile#control" } 
Number                  520eChargeProfileTarget     "Charge Profile SoC Target [%s]"              <energy>        (520e)        {channel="mybmw:phev:4711:520e:profile#target" } 
Switch                  520eChargeProfileLimit      "Charge Profile limited"                      <energy>        (520e)        {channel="mybmw:phev:4711:520e:profile#limit" } 
DateTime                520eChargeWindowStart       "Charge Window Start [%1$tH:%1$tM]"           <time>          (520e)        {channel="mybmw:phev:4711:520e:profile#window-start" } 
DateTime                520eChargeWindowEnd         "Charge Window End [%1$tH:%1$tM]"             <time>          (520e)        {channel="mybmw:phev:4711:520e:profile#window-end" } 
DateTime                520eTimer1Departure         "Timer 1 Departure [%1$tH:%1$tM]"             <time>          (520e)        {channel="mybmw:phev:4711:520e:profile#timer1-departure" } 
String                  520eTimer1Days              "Timer 1 Days [%s]"                           <calendar>      (520e)        {channel="mybmw:phev:4711:520e:profile#timer1-days" } 
Switch                  520eTimer1DayMon            "Timer 1 Monday"                              <calendar>      (520e)        {channel="mybmw:phev:4711:520e:profile#timer1-day-mon" } 
Switch                  520eTimer1DayTue            "Timer 1 Tuesday"                             <calendar>      (520e)        {channel="mybmw:phev:4711:520e:profile#timer1-day-tue" } 
Switch                  520eTimer1DayWed            "Timer 1 Wednesday"                           <calendar>      (520e)        {channel="mybmw:phev:4711:520e:profile#timer1-day-wed" } 
Switch                  520eTimer1DayThu            "Timer 1 Thursday"                            <calendar>      (520e)        {channel="mybmw:phev:4711:520e:profile#timer1-day-thu" } 
Switch                  520eTimer1DayFri            "Timer 1 Friday"                              <calendar>      (520e)        {channel="mybmw:phev:4711:520e:profile#timer1-day-fri" } 
Switch                  520eTimer1DaySat            "Timer 1 Saturday"                            <calendar>      (520e)        {channel="mybmw:phev:4711:520e:profile#timer1-day-sat" } 
Switch                  520eTimer1DaySun            "Timer 1 Sunday"                              <calendar>      (520e)        {channel="mybmw:phev:4711:520e:profile#timer1-day-sun" } 
Switch                  520eTimer1Enabled           "Timer 1 Enabled"                             <switch>        (520e)        {channel="mybmw:phev:4711:520e:profile#timer1-enabled" }  
DateTime                520eTimer2Departure         "Timer 2 Departure [%1$tH:%1$tM]"             <time>          (520e)        {channel="mybmw:phev:4711:520e:profile#timer2-departure" } 
Switch                  520eTimer2DayMon            "Timer 2 Monday"                              <calendar>      (520e)        {channel="mybmw:phev:4711:520e:profile#timer2-day-mon" } 
Switch                  520eTimer2DayTue            "Timer 2 Tuesday"                             <calendar>      (520e)        {channel="mybmw:phev:4711:520e:profile#timer2-day-tue" } 
Switch                  520eTimer2DayWed            "Timer 2 Wednesday"                           <calendar>      (520e)        {channel="mybmw:phev:4711:520e:profile#timer2-day-wed" } 
Switch                  520eTimer2DayThu            "Timer 2 Thursday"                            <calendar>      (520e)        {channel="mybmw:phev:4711:520e:profile#timer2-day-thu" } 
Switch                  520eTimer2DayFri            "Timer 2 Friday"                              <calendar>      (520e)        {channel="mybmw:phev:4711:520e:profile#timer2-day-fri" } 
Switch                  520eTimer2DaySat            "Timer 2 Saturday"                            <calendar>      (520e)        {channel="mybmw:phev:4711:520e:profile#timer2-day-sat" } 
Switch                  520eTimer2DaySun            "Timer 2 Sunday"                              <calendar>      (520e)        {channel="mybmw:phev:4711:520e:profile#timer2-day-sun" } 
Switch                  520eTimer2Enabled           "Timer 2 Enabled"                             <switch>        (520e)        {channel="mybmw:phev:4711:520e:profile#timer2-enabled" }  
DateTime                520eTimer3Departure         "Timer 3 Departure [%1$tH:%1$tM]"             <time>          (520e)        {channel="mybmw:phev:4711:520e:profile#timer3-departure" } 
Switch                  520eTimer3DayMon            "Timer 3 Monday"                              <calendar>      (520e)        {channel="mybmw:phev:4711:520e:profile#timer3-day-mon" } 
Switch                  520eTimer3DayTue            "Timer 3 Tuesday"                             <calendar>      (520e)        {channel="mybmw:phev:4711:520e:profile#timer3-day-tue" } 
Switch                  520eTimer3DayWed            "Timer 3 Wednesday"                           <calendar>      (520e)        {channel="mybmw:phev:4711:520e:profile#timer3-day-wed" } 
Switch                  520eTimer3DayThu            "Timer 3 Thursday"                            <calendar>      (520e)        {channel="mybmw:phev:4711:520e:profile#timer3-day-thu" } 
Switch                  520eTimer3DayFri            "Timer 3 Friday"                              <calendar>      (520e)        {channel="mybmw:phev:4711:520e:profile#timer3-day-fri" } 
Switch                  520eTimer3DaySat            "Timer 3 Saturday"                            <calendar>      (520e)        {channel="mybmw:phev:4711:520e:profile#timer3-day-sat" } 
Switch                  520eTimer3DaySun            "Timer 3 Sunday"                              <calendar>      (520e)        {channel="mybmw:phev:4711:520e:profile#timer3-day-sun" } 
Switch                  520eTimer3Enabled           "Timer 3 Enabled"                             <switch>        (520e)        {channel="mybmw:phev:4711:520e:profile#timer3-enabled" }
DateTime                520eTimer4Departure         "Timer 4 Departure [%1$tH:%1$tM]"             <time>          (520e)        {channel="mybmw:phev:4711:520e:profile#timer4-departure" } 
Switch                  520eTimer4DayMon            "Timer 4 Monday"                              <calendar>      (520e)        {channel="mybmw:phev:4711:520e:profile#timer4-day-mon" } 
Switch                  520eTimer4DayTue            "Timer 4 Tuesday"                             <calendar>      (520e)        {channel="mybmw:phev:4711:520e:profile#timer4-day-tue" } 
Switch                  520eTimer4DayWed            "Timer 4 Wednesday"                           <calendar>      (520e)        {channel="mybmw:phev:4711:520e:profile#timer4-day-wed" } 
Switch                  520eTimer4DayThu            "Timer 4 Thursday"                            <calendar>      (520e)        {channel="mybmw:phev:4711:520e:profile#timer4-day-thu" } 
Switch                  520eTimer4DayFri            "Timer 4 Friday"                              <calendar>      (520e)        {channel="mybmw:phev:4711:520e:profile#timer4-day-fri" } 
Switch                  520eTimer4DaySat            "Timer 4 Saturday"                            <calendar>      (520e)        {channel="mybmw:phev:4711:520e:profile#timer4-day-sat" } 
Switch                  520eTimer4DaySun            "Timer 4 Sunday"                              <calendar>      (520e)        {channel="mybmw:phev:4711:520e:profile#timer4-day-sun" } 
Switch                  520eTimer4Enabled           "Timer 4 Enabled"                             <switch>        (520e)        {channel="mybmw:phev:4711:520e:profile#timer4-enabled" }

String                  520eStatisticsTitle         "[%s]"                                        <text>          (520e)        {channel="mybmw:phev:4711:520e:statistic#title" }
Number:Energy           520eStatisticsEnergy        "Charged [%d %unit%]"                         <energy>        (520e)        {channel="mybmw:phev:4711:520e:statistic#energy" }
Number                  520eStatisticsSessions      "Sessions [%d]"                               <line>          (520e)        {channel="mybmw:phev:4711:520e:statistic#sessions" }

String                  520eSessionTitle            "[%s]"                                        <text>          (520e)        {channel="mybmw:phev:4711:520e:session#title" }
String                  520eSessionDetails          "[%s]"                                        <text>          (520e)        {channel="mybmw:phev:4711:520e:session#subtitle" }
String                  520eSessionCharged          "Energy Charged [%s]"                         <energy>        (520e)        {channel="mybmw:phev:4711:520e:session#energy" }
String                  520eSessionProblems         "Problems [%s]"                               <error>         (520e)        {channel="mybmw:phev:4711:520e:session#issue" }
String                  520eSessionStatus           "Session status [%s]"                         <text>          (520e)        {channel="mybmw:phev:4711:520e:session#status" }

Number:Pressure         520eTireFLCurrent           "Tire Front Left [%.1f %unit%]"               <text>          (520e)        {channel="mybmw:phev:4711:520e:tires#fl-current" }
Number:Pressure         520eTireFLTarget            "Tire Front Left Target [%.1f %unit%]"        <text>          (520e)        {channel="mybmw:phev:4711:520e:tires#fl-target" }
Number:Pressure         520eTireFRCurrent           "Tire Front Right [%.1f %unit%]"              <text>          (520e)        {channel="mybmw:phev:4711:520e:tires#fr-current" }
Number:Pressure         520eTireFRTarget            "Tire Front Right Target [%.1f %unit%]"       <text>          (520e)        {channel="mybmw:phev:4711:520e:tires#fr-target" }
Number:Pressure         520eTireRLCurrent           "Tire Rear Left [%.1f %unit%]"                <text>          (520e)        {channel="mybmw:phev:4711:520e:tires#rl-current" }
Number:Pressure         520eTireRLTarget            "Tire Rear Left Target [%.1f %unit%]"         <text>          (520e)        {channel="mybmw:phev:4711:520e:tires#rl-target" }
Number:Pressure         520eTireRRCurrent           "Tire Rear Right [%.1f %unit%]"               <text>          (520e)        {channel="mybmw:phev:4711:520e:tires#rr-current" }
Number:Pressure         520eTireRRTarget            "Tire Rear Right Target [%.1f %unit%]"        <text>          (520e)        {channel="mybmw:phev:4711:520e:tires#rr-target" }

Image                   520eImage                   "Image"                                                       (520e)        {channel="mybmw:phev:4711:520e:image#png" }  
String                  520eImageViewport           "Image Viewport [%s]"                         <zoom>          (520e)        {channel="mybmw:phev:4711:520e:image#view" }  

I found the solution to my problem: the items in the .items file started with a digit, which is not allowed…

Thank you, @MartinOpenhabFan for updating to 4.0! Works great so far. :slight_smile:
One think changed, the unit is now [m] instead of [KM]. I read about the changes of units in 4.0. how do I apply this for odometer, e.g. Currently (from 3.4.x) I got it like this in a text file:


Number:Length           iX3Mileage                 "Gesamt KM [%d %unit%]"                        <line>          (giX3)        {channel="mybmw:bev:BMW:iX3:range#mileage" }                  

Output is: 3687000 m

Does anyone know how to easily convert to KM?

Instead of %unit%, just put km in your item label format.