diff --git a/README.md b/README.md index 82ee1d0e3..99f48b884 100644 --- a/README.md +++ b/README.md @@ -526,6 +526,9 @@ Calling `Item.persistence` returns an `ItemPersistence` object with the followin - .minimumSince(timestamp, serviceId) ⇒ `PersistedItem | null` - .minimumUntil(timestamp, serviceId) ⇒ `PersistedItem | null` - .minimumBetween(begin, end, serviceId) ⇒ `PersistedItem | null` + - .medianSince(timestamp, serviceId) ⇒ `PersistedState | null` + - .medianUntil(timestamp, serviceId) ⇒ `PersistedState | null` + - .medianBetween(begin, end, serviceId) ⇒ `PersistedState | null` - .persist(serviceId): Tells the persistence service to store the current Item state, which is then done asynchronously. **Warning:** This has the side effect, that if the Item state changes shortly after `.persist` has been called, the new Item state will be persisted. See [JSDoc](https://openhab.github.io/openhab-js/items.ItemPersistence.html#persist) for a possible work-around. - .persist(timestamp, state, serviceId): Tells the persistence service to store the given state at the given timestamp, which is then done asynchronously. diff --git a/src/items/item-persistence.js b/src/items/item-persistence.js index f3523921a..3734845eb 100644 --- a/src/items/item-persistence.js +++ b/src/items/item-persistence.js @@ -567,7 +567,7 @@ class ItemPersistence { * Gets the average value of the state of a given Item since a certain point in time. * * @example - * var yesterday = new Date(new Date().getTime() - (24 * 60 * 60 * 1000)); + * var yesterday = time.toZDT().minusDays(1); * var item = items.getItem('KitchenDimmer'); * console.log('KitchenDimmer average since yesterday', item.persistence.averageSince(yesterday)); * @@ -602,6 +602,45 @@ class ItemPersistence { return _stateOrNull(PersistenceExtensions.averageBetween(this.rawItem, ...arguments)); } + /** + * Gets the median value of the state of a given Item since a certain point in time. + * + * @example + * var yesterday = time.toZDT().minusDays(1); + * var item = items.getItem('KitchenDimmer'); + * console.log('KitchenDimmer median since yesterday', item.persistence.medianSince(yesterday)); + * + * @param {(time.ZonedDateTime | Date)} timestamp the point in time from which to search for the median value + * @param {string} [serviceId] optional persistence service ID, if omitted, the default persistence service will be used + * @returns {(PersistedState | null)} the median value since timestamp as {@link items.PersistedState} or null if no previous states could be found + */ + medianSince (timestamp, serviceId) { + return _stateOrNull(PersistenceExtensions.medianSince(this.rawItem, ...arguments)); + } + + /** + * Gets the median value of the state of a given Item until a certain point in time. + * + * @param {(time.ZonedDateTime | Date)} timestamp the point in time to which to search for the median value + * @param {string} [serviceId] optional persistence service ID, if omitted, the default persistence service will be used + * @returns {(PersistedState | null)} the median value until timestamp as {@link items.PersistedState} or null if no future states could be found + */ + medianUntil (timestamp, serviceId) { + return _stateOrNull(PersistenceExtensions.medianUntil(this.rawItem, ...arguments)); + } + + /** + * Gets the median value of the state of a given Item between two certain points in time. + * + * @param {(time.ZonedDateTime | Date)} begin the point in time from which to start the median + * @param {(time.ZonedDateTime | Date)} end the point in time to which to start the median + * @param {string} [serviceId] optional persistence service ID, if omitted, the default persistence service will be used + * @returns {(PersistedState | null)} the median value between begin and end as {@link items.PersistedState} or null if no states could be found + */ + medianBetween (begin, end, serviceId) { + return _stateOrNull(PersistenceExtensions.medianBetween(this.rawItem, ...arguments)); + } + /** * Gets the sum of the states of a given Item since a certain point in time. * diff --git a/types/items/item-persistence.d.ts b/types/items/item-persistence.d.ts index 147f9e625..19104a75b 100644 --- a/types/items/item-persistence.d.ts +++ b/types/items/item-persistence.d.ts @@ -279,7 +279,7 @@ declare class ItemPersistence { * Gets the average value of the state of a given Item since a certain point in time. * * @example - * var yesterday = new Date(new Date().getTime() - (24 * 60 * 60 * 1000)); + * var yesterday = time.toZDT().minusDays(1); * var item = items.getItem('KitchenDimmer'); * console.log('KitchenDimmer average since yesterday', item.persistence.averageSince(yesterday)); * @@ -305,6 +305,36 @@ declare class ItemPersistence { * @returns {(PersistedState | null)} the average value between begin and end as {@link items.PersistedState} or null if no states could be found */ averageBetween(begin: (time.ZonedDateTime | Date), end: (time.ZonedDateTime | Date), serviceId?: string, ...args: any[]): (PersistedState | null); + /** + * Gets the median value of the state of a given Item since a certain point in time. + * + * @example + * var yesterday = time.toZDT().minusDays(1); + * var item = items.getItem('KitchenDimmer'); + * console.log('KitchenDimmer median since yesterday', item.persistence.medianSince(yesterday)); + * + * @param {(time.ZonedDateTime | Date)} timestamp the point in time from which to search for the median value + * @param {string} [serviceId] optional persistence service ID, if omitted, the default persistence service will be used + * @returns {(PersistedState | null)} the median value since timestamp as {@link items.PersistedState} or null if no previous states could be found + */ + medianSince(timestamp: (time.ZonedDateTime | Date), serviceId?: string, ...args: any[]): (PersistedState | null); + /** + * Gets the median value of the state of a given Item until a certain point in time. + * + * @param {(time.ZonedDateTime | Date)} timestamp the point in time to which to search for the median value + * @param {string} [serviceId] optional persistence service ID, if omitted, the default persistence service will be used + * @returns {(PersistedState | null)} the median value until timestamp as {@link items.PersistedState} or null if no future states could be found + */ + medianUntil(timestamp: (time.ZonedDateTime | Date), serviceId?: string, ...args: any[]): (PersistedState | null); + /** + * Gets the median value of the state of a given Item between two certain points in time. + * + * @param {(time.ZonedDateTime | Date)} begin the point in time from which to start the median + * @param {(time.ZonedDateTime | Date)} end the point in time to which to start the median + * @param {string} [serviceId] optional persistence service ID, if omitted, the default persistence service will be used + * @returns {(PersistedState | null)} the median value between begin and end as {@link items.PersistedState} or null if no states could be found + */ + medianBetween(begin: (time.ZonedDateTime | Date), end: (time.ZonedDateTime | Date), serviceId?: string, ...args: any[]): (PersistedState | null); /** * Gets the sum of the states of a given Item since a certain point in time. * diff --git a/types/items/item-persistence.d.ts.map b/types/items/item-persistence.d.ts.map index 94eaf07ca..1f9a8db05 100644 --- a/types/items/item-persistence.d.ts.map +++ b/types/items/item-persistence.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"item-persistence.d.ts","sourceRoot":"","sources":["../../src/items/item-persistence.js"],"names":[],"mappings":";AAiIA;;;;;;;;;;;GAWG;AACH;IACE,0BAEC;IADC,aAAsB;IAGxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+BG;IACH,oBALW,CAAC,KAAK,aAAa,GAAG,IAAI,CAAC,UAC3B,MAAM,GAAC,MAAM,GAAC,KAAK,aAAa,GAAC,QAAQ,YAAU,eACnD,g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AAzFD;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AAEH;;;;;GAKG;AACH;IAGE;;OAEG;IACH,iCAEC;IAED;;;OAGG;IACH,oBAEC;IAED;;;OAGG;IACH,2BAGC;IAED;;;OAGG;IACH,oDAWC;;CACF"} \ No newline at end of file +{"version":3,"file":"item-persistence.d.ts","sourceRoot":"","sources":["../../src/items/item-persistence.js"],"names":[],"mappings":";AAiIA;;;;;;;;;;;GAWG;AACH;IACE,0BAEC;IADC,aAAsB;IAGxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+BG;IACH,oBALW,CAAC,KAAK,aAAa,GAAG,IAAI,CAAC,UAC3B,MAAM,GAAC,MAAM,GAAC,KAAK,aAAa,GAAC,QAAQ,YAAU,eACnD,gBAAgB,cAChB,MAAM,wBAiChB;IAqDD;;;;;;OAMG;IACH,0BAJW,CAAC,KAAK,aAAa,GAAG,IAAI,CAAC,cAC3B,MAAM,mBACJ,CAAC,aAAa,GAAG,IAAI,CAAC,CAIlC;IAED;;;;;;MAME;IACF,uBAJW,MAAM,mBACJ,CAAC,KAAK,aAAa,GAAG,IAAI,CAAC,CAKvC;IAED;;;;;OAKG;IACH,uBAHW,MAAM,mBACJ,CAAC,KAAK,aAAa,GAAG,IAAI,CAAC,CAIvC;IAED;;;;;;OAMG;IACH,uBAJW,MAAM,mBACJ,CAAC,KAAK,aAAa,GAAG,IAAI,CAAC,CAKvC;IAED;;;;;OAKG;IACH,uBAHW,MAAM,mBACJ,CAAC,KAAK,aAAa,GAAG,IAAI,CAAC,CAIvC;IAED;;;;;;OAMG;IACH,0BAJW,OAAO,cACP,MAAM,mBACJ,CAAC,aAAa,GAAG,IAAI,CAAC,CAIlC;IAED;;;;;;OAMG;IACH,sBAJW,OAAO,cACP,MAAM,mBACJ,CAAC,aAAa,GAAG,IAAI,CAAC,CAIlC;IAED;;;;;;;OAOG;IACH,wBALW,CAAC,KAAK,aAAa,GAAG,IAAI,CAAC,cAC3B,MAAM,mBACJ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