Skip to main content
The Open Weather Map plugin syncs data locally. Use corsair.openweathermap.db.<entity>.search({ data, limit?, offset? }) with the filters listed per entity.

Day Summaries

Path: openweathermap.db.daySummaries.search
const rows = await corsair.openweathermap.db.daySummaries.search({
    data: { /* filters below */ },
    limit: 100,
    offset: 0,
});

Searchable filters

FieldTypeOperators
entity_idstringequals, contains, startsWith, endsWith, in
latnumberequals, gt, gte, lt, lte, in
lonnumberequals, gt, gte, lt, lte, in
datestringequals, contains, startsWith, endsWith, in
tzstringequals, contains, startsWith, endsWith, in
unitsstringequals, contains, startsWith, endsWith, in
temperatureMinnumberequals, gt, gte, lt, lte, in
temperatureMaxnumberequals, gt, gte, lt, lte, in
temperatureAfternoonnumberequals, gt, gte, lt, lte, in
temperatureMorningnumberequals, gt, gte, lt, lte, in
temperatureEveningnumberequals, gt, gte, lt, lte, in
temperatureNightnumberequals, gt, gte, lt, lte, in
precipitationTotalnumberequals, gt, gte, lt, lte, in
windMaxSpeednumberequals, gt, gte, lt, lte, in
windMaxDirectionnumberequals, gt, gte, lt, lte, in
cloudCoverAfternoonnumberequals, gt, gte, lt, lte, in
humidityAfternoonnumberequals, gt, gte, lt, lte, in
pressureAfternoonnumberequals, gt, gte, lt, lte, in
createdAtdateequals, before, after, between
Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.

Overviews

Path: openweathermap.db.overviews.search
const rows = await corsair.openweathermap.db.overviews.search({
    data: { /* filters below */ },
    limit: 100,
    offset: 0,
});

Searchable filters

FieldTypeOperators
entity_idstringequals, contains, startsWith, endsWith, in
latnumberequals, gt, gte, lt, lte, in
lonnumberequals, gt, gte, lt, lte, in
datestringequals, contains, startsWith, endsWith, in
tzstringequals, contains, startsWith, endsWith, in
unitsstringequals, contains, startsWith, endsWith, in
weatherOverviewstringequals, contains, startsWith, endsWith, in
createdAtdateequals, before, after, between
Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.