SmartFlex plannedDispatches and completedDispatches queries changes
Upcoming Change
April 26, 2024, 10:36 a.m.
We have made some changes to the SmartFlex devices (IO) plannedDispatches and completedDispatches queries and what they return. The built-in documentation has been updated and improved.
Summary of the main changes:
- Top level
sourcehas been removed (this has been deprecated for years) startDtandendDthave been deprecated and replaced withstartandendthat have a better typedeltaKwhhas been deprecated (this was already replaced bydelta)meta.sourcewill now returnsmart-charge,test-chargeorbump-charge(ornullorunknown) - planned dispatches only- This should now also report bump charge for third-party integrations (e.g. Ohme)
- “Planned” bump charges have a
startwhen triggered and anendbased on our calculated duration needed to get to 100% - Completed dispatches only
meta.locationcan showAWAY,AT_HOME,NO_LOCATIONS_CONFIGUREDorUNABLE_TO_IDENTIFY, and it will also show all charging, even if not triggered from a dispatch (planned is the best place to see dispatches for now).
We’ve also marked as deprecated a couple of other queries (vehicleChargingPreferences and registeredKrakenflexDevice), as these are moving to the devices query.