You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, all weather stations will be searched and potentially be used to store data (if they are the closest to the location).
While it makes sense conceptually that weather stations are public (to be used by all accounts on a FlexMeasures server), it doesn't have to be like that. Maybe two accounts use different weather services. It can lead to unwanted data situations, in any case.
Sensor.find_closest() already supports adding an account_id argument. We could support this from FM-OWM, by configuring an account_id (as CLI parameter or a setting).
It would also be good to query only public weather stations per default, however, the account_id parameter has no effect when set to None. Maybe we'd need to add our own filter (disregarding non-public) in this case.
The text was updated successfully, but these errors were encountered:
It would be passed in via CLI, checked if a weather station exists in that account, and then only weather stations for this account would be used for sensor lookup.
Is not passed in, we should probably insist on public weather stations, but maybe that is not straightforward with how FlexMeasures is set up currently.
Currently, all weather stations will be searched and potentially be used to store data (if they are the closest to the location).
While it makes sense conceptually that weather stations are public (to be used by all accounts on a FlexMeasures server), it doesn't have to be like that. Maybe two accounts use different weather services. It can lead to unwanted data situations, in any case.
Sensor.find_closest()
already supports adding anaccount_id
argument. We could support this from FM-OWM, by configuring an account_id (as CLI parameter or a setting).It would also be good to query only public weather stations per default, however, the
account_id
parameter has no effect when set toNone
. Maybe we'd need to add our own filter (disregarding non-public) in this case.The text was updated successfully, but these errors were encountered: