-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'Smart main' not synced #152
Comments
You have hit a nail :-) We have to solve these default smart sensors. I think it's a good idea to try to sync data for any sensor that has been On Wed, Oct 26, 2016 at 11:23 AM, J. Ver. [email protected] wrote:
|
I have added a property for the fluksosensor to check if it has data or not, we could use that to filter views |
I think we have this this issue in #166. |
We would have to mock a sensor in tmpo... Something like: hp.tmpos.add('mock', 'mock')
...
# do not sync tmpos because it will fail with false sensor info
test_sensor = FluksoSensor('mock', ...)
assertFalse(test_sensor.has_data)
hp.tmpos.delete('mock', 'mock') |
I think we should only use mocks in the tests.
…On Mon, Nov 28, 2016 at 10:47 AM, Jan Pecinovsky ***@***.***> wrote:
We would have to mock a sensor in tmpo...
Something like:
hp.tmpos.add('mock', 'mock')...# do not sync tmpos because it will fail with false sensor info
test_sensor = FluksoSensor('mock', ...)
assertFalse(test_sensor.has_data)
hp.tmpos.delete('mock', 'mock')
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/opengridcc/opengrid/issues/152#issuecomment-263226947>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAiVBjr5jYhPzLiXLci4eNYUzn7N9-6Zks5rCqMVgaJpZM4Kg8Vu>
.
|
Sure, we could do this in the mock houseprint object that we use in the tests somewhere |
Some OG-res (open grid respondents :P) also gave (or only gave) their smart main sensors and token.
For example: FL03001579
However, the smart-main series are not synced trough tmpo.
Can this be resolved, either by replacing the smart main data with the non-smart sensor data, or updating all 'smart main' ID-s and tokens from the houseprint?
The text was updated successfully, but these errors were encountered: