Releases: ReneNulschDE/mbapi2020
v0.8.2 - Statistics, DepartureTime, Token Deletion
New Sensor:
DepartureTime - Shows the next planned Departure Time
- Attributes: departureTimeWeekday (0=Monday, ..., 6 = Sunday)
Other Changes:
- The "Configure"-dialog has an option to delete the existing token file
- The DoorsLock Service has a optional field for the Security-PIN
- The Odometer Sensor has a new attribute "serviceintervaldistance"
- The consumption sensors are supporting long term statistics
v0.8.1 - Lock improvement, Unit Fix chargingPower
Lock:
The lock provides the status is_locking and is_unlocking now. (for the first 30 seconds only after initiating). Custom icon definition was removed.
Frontend Result (see icon changes):
Sensors
SOC:
custom icon removed
Charging Power:
missing unit kW restored (Fix of statistics is needed via Developer Tools/Statistics)
custom icon removed
Odometer, rangeliquid:
SensorDeviceClass changed from None to Distance
tanklevelpercent, oilLevel:
SensorDeviceClass changed from None to Power_Factor
averageSpeedStart, averageSpeedReset:
SensorDeviceClass changed from None to Speed
custom icon removed
Release v0.8.0 - Units and larger clean-up
Primary objectives of this release:
- Fix the unit handling for ALL the people. Now the units from the MB app are used and no conversation based in HA settings is done anymore. Should be esp. interesting for the people in the UK and Down-under.
- Move the (first) attributes to sensors (based on the recommendation of the HA-creators)
- Code changes required for to the upcoming HA-release 2022-02 (eventually 2022-01, depending on late changes)
All breaking changes:
Units:
- All units are based on the settings of the MB Me (Connect) App now.
Sensor SOC
- added State Class measurement
- removed attribute chargingpower (extra sensor now)
Sensor Odometer
- removed attribute averageSpeedReset (extra sensor now)
- removed attribute averageSpeedStart (extra sensor now)
- removed attribute distanceReset (extra sensor now)
- removed attribute distanceStart (extra sensor now)
- removed attribute distanceZEReset (extra sensor now)
- moved attribute drivenTimeZEReset to sensor distanceZEReset
- moved attribute drivenTimeReset to sensor distanceReset
- moved attribute drivenTimeZEReset to sensor distanceZEReset
- removed attribute batteryState (extra sensor starterBatteryState now)
- removed attribute ecoscoretotal (extra sensor ecoscoretotal now)
- removed attribute ecoscorefreewhl (extra sensor ecoscorefreewhl now)
- removed attribute ecoscorebonusrange (extra sensor ecoscorebonusrange now)
- removed attribute ecoscoreconst (extra sensor ecoscoreconst now)
- removed attribute ecoscoreaccel (extra sensor ecoscoreaccel now)
- removed attribute ecoscorebonusrange (extra sensor ecoscorebonusrange now)
- removed attribute liquidconsumptionstart (extra sensor liquidconsumptionstart now)
- removed attribute liquidconsumptionreset (extra sensor liquidconsumptionreset now)
- removed attribute rangeliquid (extra sensor rangeliquid now)
- removed attribute tanklevelpercent (extra sensor tanklevelpercent exists already)
Sensor distanceZEReset
- added attribute drivenTimeZEReset (from Odometer)
Sensor distanceStart
- added attribute drivenTimeStart (from Odometer)
Sensor distanceReset
- added attribute drivenTimeReset (from Odometer)
Sensor tanklevelpercent
- added State Class measurement
New Features
- Attributes windowstatusrearleftblind, windowstatusrearrightblind, windowstatusfrontrightblind, windowstatusfrontleftblind added to sensor windowStatusOverall ("Windows Closed")
Non Breaking Changes (hopefully)
- Changed underlaying websocket communication from Google Protobuf 3.2 to 4.21 - Prevent errors on fresh installations with a higher protobuf version then 3.19 (Should be backwards compatible until 3.19.1, this was the minimum version for some months already)
- Code Cleanup
Stats
- added ~2k lines of code and removed 14k
- tested with HA versions 2022.11.5 and 2022.12.9 and latest DEV (with my european profile)
Potential problems
- Your template sensors needs to be adopted in case you use the above mentioned attributes
- some statistics needs to be fixed (see yourHA-URL/developer-tools/statistics)
- readme not updated yet
Release 0.7.4 - Asia-Pacific MB API Header changes
Bugfix:
- API Backend changes for Asia-Pacific (fixes: #92 )
Release 0.7.3 - Asia-Pacific MB API Header changes
Bugfix:
- API Backend changes for Asia-Pacific (fixes: #92 )
Release 0.7.2 - MB API Request Header changes
Bugfix:
- Error on Integration Setup and ReAuth
Release 0.7.1 - MB API Request Header changes (plus some goodies)
Bugfix:
- HTTP Teapot Error for REST MB-API Calls
New features:
- New Sensor Geofencing Violations
- Multiple New Sensors that have been extended attributes in the past (Thanks to @Thomas55555)
Release 0.7.0 - Bugfix MB API URL changes
Bugfix:
- MB API URL Changes
- Wrong error message on onlock if PIN is set in the configure dialog
Pre-Release 0.7.0.b2 - Bugfix MB API URL changes
Bugfix
- MB API URL changes
v0.6.11 - Prevent parallel websocket requests - blocked user account
Bugfix Release:
- Prevent parallel websocket requests - blocked user account #82 (@appit-online)
minimum HA-version: 2022.11.0
Thanks to appit-online