LordMike / MBW.BlueRiiot2MQTT

Utility to map between Blue Riiots pool API, and Home Assistant MQTT
49 stars 2 forks source link

No updates after a few days #40

Closed dodg3r closed 3 years ago

dodg3r commented 3 years ago

Hi.

Last year everything worked great but when I reactivated my blueconnect from wintersleep I ran into some problems.

After a few days it suddenly stops update my sensors. In the blueriot ap the data updates but not in hass.

I dont know what to do? If I restart the addon it works for about a day. Maybe it´s something with my pump schedule thats messing it up?

[2021-04-09 00:59:46+00:00 INF] [MBW.HassMQTT.HassMqttManager] Pushed 0 discovery documents, 2 values and 5 attribute changes
[2021-04-09 03:59:48+00:00 WRN] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] There were 17 consecutive updates without new data for 'HiBerry Pool', setting next run to be 04/09/2021 06:59:48, waiting 03:00:00
[2021-04-09 03:59:48+00:00 INF] [MBW.HassMQTT.HassMqttManager] Pushed 0 discovery documents, 3 values and 5 attribute changes
[2021-04-09 06:59:51+00:00 WRN] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] There were 18 consecutive updates without new data for 'HiBerry Pool', setting next run to be 04/09/2021 09:59:51, waiting 03:00:00
[2021-04-09 06:59:51+00:00 INF] [MBW.HassMQTT.HassMqttManager] Pushed 0 discovery documents, 4 values and 6 attribute changes
[2021-04-09 09:59:53+00:00 WRN] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] There were 19 consecutive updates without new data for 'HiBerry Pool', setting next run to be 04/09/2021 12:59:53, waiting 03:00:00
[2021-04-09 09:59:53+00:00 INF] [MBW.HassMQTT.HassMqttManager] Pushed 0 discovery documents, 10 values and 13 attribute changes
LordMike commented 3 years ago

That's weird.

Do you get updates in HASS every 3 hours? The log says it's pushing values, which seems like something is changing.. Why you're ending in that branch of code I'm not sure. What are your settings like?

dodg3r commented 3 years ago

Hi.

No, idont get any updates unless I restart. Why does it increase the next to run time?

[2021-04-08 05:20:09+00:00 WRN] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] There were 1 consecutive updates without new data for 'HiBerry Pool', setting next run to be 04/08/2021 05:21:09, waiting 00:01:00
[2021-04-08 05:20:09+00:00 INF] [MBW.HassMQTT.HassMqttManager] Pushed 12 discovery documents, 11 values and 12 attribute changes
[2021-04-08 05:21:11+00:00 WRN] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] There were 2 consecutive updates without new data for 'HiBerry Pool', setting next run to be 04/08/2021 05:25:11, waiting 00:04:00
[2021-04-08 05:21:11+00:00 INF] [MBW.HassMQTT.HassMqttManager] Pushed 0 discovery documents, 0 values and 5 attribute changes
[2021-04-08 05:25:13+00:00 WRN] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] There were 3 consecutive updates without new data for 'HiBerry Pool', setting next run to be 04/08/2021 05:34:13, waiting 00:09:00
[2021-04-08 05:25:13+00:00 INF] [MBW.HassMQTT.HassMqttManager] Pushed 0 discovery documents, 0 values and 5 attribute changes
[2021-04-08 05:34:15+00:00 WRN] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] There were 4 consecutive updates without new data for 'HiBerry Pool', setting next run to be 04/08/2021 05:50:15, waiting 00:16:00
[2021-04-08 05:34:15+00:00 INF] [MBW.HassMQTT.HassMqttManager] Pushed 0 discovery documents, 2 values and 5 attribute changes
[2021-04-08 05:50:17+00:00 WRN] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] There were 5 consecutive updates without new data for 'HiBerry Pool', setting next run to be 04/08/2021 06:15:17, waiting 00:25:00
[2021-04-08 05:50:17+00:00 INF] [MBW.HassMQTT.HassMqttManager] Pushed 0 discovery documents, 2 values and 5 attribute changes
[2021-04-08 06:15:20+00:00 WRN] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] There were 6 consecutive updates without new data for 'HiBerry Pool', setting next run to be 04/08/2021 06:51:20, waiting 00:36:00
[2021-04-08 06:15:20+00:00 INF] [MBW.HassMQTT.HassMqttManager] Pushed 0 discovery documents, 1 values and 5 attribute changes
[2021-04-08 06:51:22+00:00 WRN] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] There were 7 consecutive updates without new data for 'HiBerry Pool', setting next run to be 04/08/2021 07:40:22, waiting 00:49:00
[2021-04-08 06:51:22+00:00 INF] [MBW.HassMQTT.HassMqttManager] Pushed 0 discovery documents, 2 values and 5 attribute changes
[2021-04-08 07:40:25+00:00 WRN] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] There were 8 consecutive updates without new data for 'HiBerry Pool', setting next run to be 04/08/2021 08:44:25, waiting 01:04:00
[2021-04-08 07:40:25+00:00 INF] [MBW.HassMQTT.HassMqttManager] Pushed 0 discovery documents, 3 values and 5 attribute changes
[2021-04-08 08:44:28+00:00 WRN] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] There were 9 consecutive updates without new data for 'HiBerry Pool', setting next run to be 04/08/2021 10:05:28, waiting 01:21:00
[2021-04-08 08:44:28+00:00 INF] [MBW.HassMQTT.HassMqttManager] Pushed 8 discovery documents, 14 values and 13 attribute changes
[2021-04-08 10:05:30+00:00 WRN] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] There were 10 consecutive updates without new data for 'HiBerry Pool', setting next run to be 04/08/2021 11:45:30, waiting 01:40:00
[2021-04-08 10:05:30+00:00 INF] [MBW.HassMQTT.HassMqttManager] Pushed 0 discovery documents, 5 values and 13 attribute changes
[2021-04-08 11:45:33+00:00 WRN] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] There were 11 consecutive updates without new data for 'HiBerry Pool', setting next run to be 04/08/2021 13:46:33, waiting 02:01:00
[2021-04-08 11:45:33+00:00 INF] [MBW.HassMQTT.HassMqttManager] Pushed 0 discovery documents, 10 values and 13 attribute changes
[2021-04-08 13:46:35+00:00 WRN] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] There were 12 consecutive updates without new data for 'HiBerry Pool', setting next run to be 04/08/2021 16:10:35, waiting 02:24:00
[2021-04-08 13:46:35+00:00 INF] [MBW.HassMQTT.HassMqttManager] Pushed 0 discovery documents, 8 values and 13 attribute changes
[2021-04-08 16:10:38+00:00 WRN] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] There were 13 consecutive updates without new data for 'HiBerry Pool', setting next run to be 04/08/2021 18:59:38, waiting 02:49:00
[2021-04-08 16:10:38+00:00 INF] [MBW.HassMQTT.HassMqttManager] Pushed 0 discovery documents, 6 values and 13 attribute changes
[2021-04-08 18:59:41+00:00 WRN] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] There were 14 consecutive updates without new data for 'HiBerry Pool', setting next run to be 04/08/2021 21:59:41, waiting 03:00:00
[2021-04-08 18:59:41+00:00 INF] [MBW.HassMQTT.HassMqttManager] Pushed 0 discovery documents, 7 values and 14 attribute changes
[2021-04-08 21:59:43+00:00 WRN] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] There were 15 consecutive updates without new data for 'HiBerry Pool', setting next run to be 04/09/2021 00:59:43, waiting 03:00:00
[2021-04-08 21:59:43+00:00 INF] [MBW.HassMQTT.HassMqttManager] Pushed 0 discovery documents, 3 values and 5 attribute changes
[2021-04-09 00:59:46+00:00 WRN] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] There were 16 consecutive updates without new data for 'HiBerry Pool', setting next run to be 04/09/2021 03:59:46, waiting 03:00:00
[2021-04-09 00:59:46+00:00 INF] [MBW.HassMQTT.HassMqttManager] Pushed 0 discovery documents, 2 values and 5 attribute changes
[2021-04-09 03:59:48+00:00 WRN] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] There were 17 consecutive updates without new data for 'HiBerry Pool', setting next run to be 04/09/2021 06:59:48, waiting 03:00:00
[2021-04-09 03:59:48+00:00 INF] [MBW.HassMQTT.HassMqttManager] Pushed 0 discovery documents, 3 values and 5 attribute changes
[2021-04-09 06:59:51+00:00 WRN] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] There were 18 consecutive updates without new data for 'HiBerry Pool', setting next run to be 04/09/2021 09:59:51, waiting 03:00:00
[2021-04-09 06:59:51+00:00 INF] [MBW.HassMQTT.HassMqttManager] Pushed 0 discovery documents, 4 values and 6 attribute changes
[2021-04-09 09:59:53+00:00 WRN] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] There were 19 consecutive updates without new data for 'HiBerry Pool', setting next run to be 04/09/2021 12:59:53, waiting 03:00:00
[2021-04-09 09:59:53+00:00 INF] [MBW.HassMQTT.HassMqttManager] Pushed 0 discovery documents, 10 values and 13 attribute changes
[2021-04-09 12:59:56+00:00 WRN] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] There were 20 consecutive updates without new data for 'HiBerry Pool', setting next run to be 04/09/2021 15:59:56, waiting 03:00:00
[2021-04-09 12:59:56+00:00 INF] [MBW.HassMQTT.HassMqttManager] Pushed 0 discovery documents, 10 values and 13 attribute changes

After restart

[2021-04-09 15:01:45+00:00 WRN] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] There were 1 consecutive updates without new data for 'HiBerry Pool', setting next run to be 04/09/2021 15:02:45, waiting 00:01:00
[2021-04-09 15:01:45+00:00 INF] [MBW.HassMQTT.HassMqttManager] Pushed 20 discovery documents, 19 values and 20 attribute changes
MQTT:
  Server: *
  Port: 1883
  Username: *
  Password: *
  ClientId: blueriiot2mqtt
BlueRiiot:
  Username: *
  Password: *
  Language: en
  DiscoveryInterval: '12:00:00'
  UpdateInterval: '01:00:00'
  UpdateIntervalWhenAllDevicesAsleep: '08:00:00'
  ReportUnchangedValues: false
HASS:
  DiscoveryPrefix: homeassistant
  TopicPrefix: blueriiot
  EnableHASSDiscovery: true
LordMike commented 3 years ago

Could you if possible run the app with this environment variable:

LoggingMinimumLevelDefault: Debug

And also, run the :dev label. It'll have some new code that adds more logging.

dodg3r commented 3 years ago

How do I use the :dev label?

LordMike commented 3 years ago

Oh, you're using HASSIO.. Uhm.. I'm not sure.

I'm also not sure how to enable the debug logging there - iirc you can't configure settings outside the ones I've exposed there.

dodg3r commented 3 years ago

Hi. I did a new installation on ubuntu and homeassistant supervised and downloaded the dev version and enabled logging.

I will let it run for a day and come back to you with logs.

Can you tell med what this message mean?

[2021-04-10 09:55:04+00:00 WRN] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] There were 15 consecutive updates without new data for 'HiBerry Pool', setting next run to be 04/10/2021 12:55:04, waiting 03:00:00

Doesnt it check for new updates in 3 hours?

I have a feeling that it starts to fail under the night when I have a schedule for my blue connect not to do measures.

dodg3r commented 3 years ago

Hi again :)

What does last auto measurement mean? Seems like the date and time isnt correct?

[2021-04-11 10:41:18+00:00 DBG] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] Timing calculation details: measurementInterval 01:12:00, lastAutoMeasurement: 05/08/2020 10:59:03, anyDeviceAwake: True,
[2021-04-11 10:41:18+00:00 DBG] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] Calculated next check at 05/08/2020 12:11:03 (in -337.22:28:40.0279966), adding 95,
[2021-04-11 10:41:18+00:00 WRN] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] There were 3 consecutive updates without new data for 'HiBerry Pool', setting next run to be 04/11/2021 10:50:18, waiting 00:09:00,
dodg3r commented 3 years ago

Found it. Its the sigfox reading and I dont have any sigfox reception. I´m using blue extender.

olivierjag2 commented 3 years ago

i have the same problem, how to change to blue extender?

LordMike commented 3 years ago

Auto measurements are the 20-times-a-day measurements that arrive. How can you schedule it to not do readings - is that an extender thing? :O

Do you get readings at all?

Looking into the code, I can see that there are specific cases for Bluetooh readings (app) and sigfox readings. But not for wifi/extender.

Could you enable logging of requests, and post some of the responses from the API?

Logging__MinimumLevel__Override__MBW.Client.BlueRiiotApi: Verbose

I'm specifically after a request for /swimming_pool/SOME_ID/blue.. It will contain fields like last_measure_message, last_measure_message_ble, last_measure_message_sigfox - and perhaps also a last_measure_message_wifi (just guessing).

I'll also look into the reversed code I have from android.

LordMike commented 3 years ago

I couldn't immediately find anything specific for measurements from wifi. :|

LordMike commented 3 years ago

Reading back in the issue, you are getting data, so it's likely just that my code isn't seeing the timestamp on this latest measurement. The fields I read from the API do not reflect the timestamp of the reading that I also got.

I'm looking forward to hopefully getting some API responses so I can see if there are any fields I should be reading, which I'm currently not. :)

dodg3r commented 3 years ago

Yes, I´m getting the data but after about a day it stops. I added the verbose logging but had to restart so maybe tomorrow i stops updating. So far in the logs:

[2021-04-11 12:49:23+00:00 INF] [MqttNet.ManagedMqttClient] Started,
[2021-04-11 12:49:24+00:00 INF] [MqttNet.MqttClient] Connected.,
[2021-04-11 12:49:24+00:00 INF] [Microsoft.Hosting.Lifetime] Application started. Press Ctrl+C to shut down.,
[2021-04-11 12:49:24+00:00 INF] [Microsoft.Hosting.Lifetime] Hosting environment: Production,
[2021-04-11 12:49:24+00:00 INF] [Microsoft.Hosting.Lifetime] Content root path: /app,
[2021-04-11 12:49:25+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool?deleted=false, with body: {"data":[{"created":"2020-05-05T10:31:48.791Z","user_id":"eu-west-1:cb8906b8-211b-4b48-9c7f-ff93ab1594e0","swimming_pool":{"chemistry":{"activeChemicalPackId":"riiot_generic","canSelectChemicalPack":false},"last_refresh_status":"2021-04-10T17:31:30.437Z","characteristics":{"volume":{"width":3.5,"length":8,"depth":1.4,"shape":"Rectangle","capacity":39.2},"uv_sanitizing":{},"configuration":{"_type":"Aboveground","construction_year":"2019","location":"Outdoor","kind":"SwimmingPool","waterproofing":"Liner"},"sanitizer":{"chemical":"Chlorine low","process":"Manuel"},"geoloc":{"country":"Sweden","country_code":"SE","city":"Hovås","administrative_area_level_1":{"long_name":"Västra Götaland County","short_name":"Västra Götaland County"},"lon":11.959102134272973,"lat":57.59737725639671,"zip_code":"436 54"},"equipment":{"heatings":["Heat Pump"],"cleanings":["Electric"],"protections":["Shelter"],"filtrations":["Glass"]},"ph_regulation":{},"filter_pump":{"operating_type":"Scheduled","is_present":true,"operating_hours":[{"start":"2021-03-22T08:00:00Z","end":"2021-03-22T20:00:00Z"}]},"picture":{}},"chemical":{},"strip_brand_id":"generic_strips","created":"2020-05-05T10:31:48.791Z","name":"HiBerry Pool","custom_settings":{"measure_ranges":{"ph":{},"temperature":{},"conductivity":{},"orp":{}}},"swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606","updated":"2021-03-22T17:10:53.843Z","sigfox_global_coverage":{"robustness":0,"score":0,"margins":[-1,-1,-1],"redundancy":0,"level":0}},"role":"FIRST_ADMINISTRATOR","name":"HiBerry Pool","swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606"}]},
[2021-04-11 12:49:25+00:00 INF] [MBW.BlueRiiot2MQTT.Service.BlueRiiotMqttService] Discovered new pool, 'HiBerry Pool' (1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606),
[2021-04-11 12:49:25+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/blue, with body: {"data":[{"created":"2020-05-05T10:32:40.701Z","blue_device":{"contract_servicePlan":"plus","sleep_state":"awake","fw_version_psoc":"v2.1.2","last_measure_message_gateway_seq_number":169,"hw_bundle_extender":false,"gateway_id":"BLEX-CC:50:E3:85:B0:A8","contract_isGo":false,"last_measure_message_gateway":"2021-04-11T11:41:00.000Z","hw_region":"eu","contract_isBasic":false,"sf_rc":"rc1","wake_period":4320,"SN":"32192651024","last_measure_message_ble":"2021-03-22T17:10:06.539Z","sf_rc_country":"SE","hw_type":"plus","fw_version_history":[{"timestamp":"2020-05-05T11:11:32.115Z","fw_version_psoc":"v2.1.2"}],"fs_beacon_enabled":true,"contract_isSwaUs":false,"last_measure_message_sigfox":"2020-05-08T10:59:03.000Z","hw_generation":2,"hw_color":"blue","last_measure_message":"2021-04-11T11:41:00.000Z","production_datetime":"2019-07-04T00:00:00.000Z","serial":"00304680","fs_sigfox_enabled":true,"contract_isVpcEligible":true,"location":{"support":"fit50","location":"pipe"},"battery_low":false,"sigfox_geoloc":{"country_name":"Sweden","country":"752","country_code_iso":"SE","timestamp":"2020-05-08T10:59:03.000Z"}},"user_id":"eu-west-1:cb8906b8-211b-4b48-9c7f-ff93ab1594e0","blue_device_serial":"00304680","role":"IS_OWNER","swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606"}]},
[2021-04-11 12:49:26+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/blue/00304680/lastMeasurements?mode=blue_and_strip, with body: {"status":"OK","last_blue_measure_timestamp":"2021-04-11T11:41:00.000Z","blue_device_serial":"00304680","swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606","data":[{"name":"temperature","priority":10,"timestamp":"2021-04-11T11:41:00.000Z","expired":false,"value":10.9,"trend":"stable","ok_min":20,"ok_max":40,"warning_high":50,"warning_low":5,"gauge_max":50,"gauge_min":0,"issuer":"gateway"},{"name":"ph","priority":20,"timestamp":"2021-04-11T11:41:00.000Z","expired":false,"value":7.5,"trend":"increase","ok_min":7.2,"ok_max":7.6,"warning_high":8.4,"warning_low":6.6,"gauge_max":10,"gauge_min":5,"issuer":"gateway"},{"name":"orp","priority":30,"timestamp":"2021-04-11T11:41:00.000Z","expired":false,"value":854,"trend":"decrease","ok_min":550,"ok_max":650,"warning_high":900,"warning_low":400,"gauge_max":1000,"gauge_min":300,"issuer":"gateway"},{"name":"conductivity","priority":40,"timestamp":"2021-04-11T11:41:00.000Z","expired":false,"value":190,"trend":"decrease","ok_min":300,"ok_max":10000,"warning_high":12000,"warning_low":200,"gauge_max":20000,"gauge_min":0,"issuer":"gateway"}]},
[2021-04-11 12:49:26+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/guidance?lang=&mode=interactive_v03, with body: {"guidance":{"swp_global_status":"SP_NOT_OK","chemicalPackId":"riiot_generic","issue_to_fix":{"task_identifier":"ORP_HIGH","current_value":854,"ideal_value":600,"products":[],"pool_volume":39.2,"steps":[{"title":"Remove products","message":"Remove any products (granules, tablets...) that may still be being dissolved. Do not add anymore."},{"title":"Wait","message":"Wait until the ORP level is back to normal."}],"user_action":"Measure","poststeps":[{"title":"Resume usual treatment","message":"Once the ORP level is back to normal, resume usual treatment."}],"chemicalPackId":"riiot_generic","swp_range":{"ok_min":550,"ok_max":650,"warning_high":900,"warning_low":400,"ideal":600},"action_title":"Restore the ORP level","issue_title":"ORP is too high","info":[]},"status":"COMPUTED","buy_process":"none","bottom_links":[],"swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606","lang":"en"},"vpc_sharing":{"sharing_status":"not_shared"}},
[2021-04-11 12:49:27+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/lastMeasurements, with body: {"data":[]},
[2021-04-11 12:49:27+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/weather?lang=, with body: {"swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606","data":{"timestamp":"2021-04-11T12:49:27.000Z","temperature_current":2,"wind_speed_current":3.58,"wind_direction_current":58,"weather_current_icon_code":"13d","weather_current_description":"snow","weather_current_code":601,"uv_current":0.6,"temperature_min":2,"temperature_max":5,"weather_future_icon_code":"13d","weather_future_timestamp":"2021-04-11T16:00:00.000Z","weather_future_temp":2,"weather_future_timeframe_one_icon_code":"04d","weather_future_timeframe_one_timestamp":"2021-04-11T15:00:00.000Z","weather_future_timeframe_two_icon_code":"13d","weather_future_timeframe_two_timestamp":"2021-04-11T16:00:00.000Z"},"lang":"en"},
[2021-04-11 12:49:27+00:00 WRN] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] There were 1 consecutive updates without new data for 'HiBerry Pool', setting next run to be 04/11/2021 12:50:27, waiting 00:01:00,
[2021-04-11 12:49:27+00:00 INF] [MBW.HassMQTT.HassMqttManager] Pushed 20 discovery documents, 19 values and 20 attribute changes,
[2021-04-11 12:50:27+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/blue, with body: {"data":[{"created":"2020-05-05T10:32:40.701Z","blue_device":{"contract_servicePlan":"plus","sleep_state":"awake","fw_version_psoc":"v2.1.2","last_measure_message_gateway_seq_number":169,"hw_bundle_extender":false,"gateway_id":"BLEX-CC:50:E3:85:B0:A8","contract_isGo":false,"last_measure_message_gateway":"2021-04-11T11:41:00.000Z","hw_region":"eu","contract_isBasic":false,"sf_rc":"rc1","wake_period":4320,"SN":"32192651024","last_measure_message_ble":"2021-03-22T17:10:06.539Z","sf_rc_country":"SE","hw_type":"plus","fw_version_history":[{"timestamp":"2020-05-05T11:11:32.115Z","fw_version_psoc":"v2.1.2"}],"fs_beacon_enabled":true,"contract_isSwaUs":false,"last_measure_message_sigfox":"2020-05-08T10:59:03.000Z","hw_generation":2,"hw_color":"blue","last_measure_message":"2021-04-11T11:41:00.000Z","production_datetime":"2019-07-04T00:00:00.000Z","serial":"00304680","fs_sigfox_enabled":true,"contract_isVpcEligible":true,"location":{"support":"fit50","location":"pipe"},"battery_low":false,"sigfox_geoloc":{"country_name":"Sweden","country":"752","country_code_iso":"SE","timestamp":"2020-05-08T10:59:03.000Z"}},"user_id":"eu-west-1:cb8906b8-211b-4b48-9c7f-ff93ab1594e0","blue_device_serial":"00304680","role":"IS_OWNER","swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606"}]},
[2021-04-11 12:50:28+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/blue/00304680/lastMeasurements?mode=blue_and_strip, with body: {"status":"OK","last_blue_measure_timestamp":"2021-04-11T11:41:00.000Z","blue_device_serial":"00304680","swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606","data":[{"name":"temperature","priority":10,"timestamp":"2021-04-11T11:41:00.000Z","expired":false,"value":10.9,"trend":"stable","ok_min":20,"ok_max":40,"warning_high":50,"warning_low":5,"gauge_max":50,"gauge_min":0,"issuer":"gateway"},{"name":"ph","priority":20,"timestamp":"2021-04-11T11:41:00.000Z","expired":false,"value":7.5,"trend":"increase","ok_min":7.2,"ok_max":7.6,"warning_high":8.4,"warning_low":6.6,"gauge_max":10,"gauge_min":5,"issuer":"gateway"},{"name":"orp","priority":30,"timestamp":"2021-04-11T11:41:00.000Z","expired":false,"value":854,"trend":"decrease","ok_min":550,"ok_max":650,"warning_high":900,"warning_low":400,"gauge_max":1000,"gauge_min":300,"issuer":"gateway"},{"name":"conductivity","priority":40,"timestamp":"2021-04-11T11:41:00.000Z","expired":false,"value":190,"trend":"decrease","ok_min":300,"ok_max":10000,"warning_high":12000,"warning_low":200,"gauge_max":20000,"gauge_min":0,"issuer":"gateway"}]},
[2021-04-11 12:50:29+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/guidance?lang=&mode=interactive_v03, with body: {"guidance":{"swp_global_status":"SP_NOT_OK","chemicalPackId":"riiot_generic","issue_to_fix":{"task_identifier":"ORP_HIGH","current_value":854,"ideal_value":600,"products":[],"pool_volume":39.2,"steps":[{"title":"Remove products","message":"Remove any products (granules, tablets...) that may still be being dissolved. Do not add anymore."},{"title":"Wait","message":"Wait until the ORP level is back to normal."}],"user_action":"Measure","poststeps":[{"title":"Resume usual treatment","message":"Once the ORP level is back to normal, resume usual treatment."}],"chemicalPackId":"riiot_generic","swp_range":{"ok_min":550,"ok_max":650,"warning_high":900,"warning_low":400,"ideal":600},"action_title":"Restore the ORP level","issue_title":"ORP is too high","info":[]},"status":"COMPUTED","buy_process":"none","bottom_links":[],"swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606","lang":"en"},"vpc_sharing":{"sharing_status":"not_shared"}},
[2021-04-11 12:50:29+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/lastMeasurements, with body: {"data":[]},
[2021-04-11 12:50:29+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/weather?lang=, with body: {"swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606","data":{"timestamp":"2021-04-11T12:50:29.000Z","temperature_current":2,"wind_speed_current":3.58,"wind_direction_current":58,"weather_current_icon_code":"13d","weather_current_description":"snow","weather_current_code":601,"uv_current":0.6,"temperature_min":2,"temperature_max":5,"weather_future_icon_code":"13d","weather_future_timestamp":"2021-04-11T16:00:00.000Z","weather_future_temp":2,"weather_future_timeframe_one_icon_code":"04d","weather_future_timeframe_one_timestamp":"2021-04-11T15:00:00.000Z","weather_future_timeframe_two_icon_code":"13d","weather_future_timeframe_two_timestamp":"2021-04-11T16:00:00.000Z"},"lang":"en"},
[2021-04-11 12:50:29+00:00 WRN] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] There were 2 consecutive updates without new data for 'HiBerry Pool', setting next run to be 04/11/2021 12:54:29, waiting 00:04:00,
[2021-04-11 12:50:29+00:00 INF] [MBW.HassMQTT.HassMqttManager] Pushed 17 discovery documents, 0 values and 5 attribute changes,
[2021-04-11 12:54:30+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/blue, with body: {"data":[{"created":"2020-05-05T10:32:40.701Z","blue_device":{"contract_servicePlan":"plus","sleep_state":"awake","fw_version_psoc":"v2.1.2","last_measure_message_gateway_seq_number":169,"hw_bundle_extender":false,"gateway_id":"BLEX-CC:50:E3:85:B0:A8","contract_isGo":false,"last_measure_message_gateway":"2021-04-11T11:41:00.000Z","hw_region":"eu","contract_isBasic":false,"sf_rc":"rc1","wake_period":4320,"SN":"32192651024","last_measure_message_ble":"2021-03-22T17:10:06.539Z","sf_rc_country":"SE","hw_type":"plus","fw_version_history":[{"timestamp":"2020-05-05T11:11:32.115Z","fw_version_psoc":"v2.1.2"}],"fs_beacon_enabled":true,"contract_isSwaUs":false,"last_measure_message_sigfox":"2020-05-08T10:59:03.000Z","hw_generation":2,"hw_color":"blue","last_measure_message":"2021-04-11T11:41:00.000Z","production_datetime":"2019-07-04T00:00:00.000Z","serial":"00304680","fs_sigfox_enabled":true,"contract_isVpcEligible":true,"location":{"support":"fit50","location":"pipe"},"battery_low":false,"sigfox_geoloc":{"country_name":"Sweden","country":"752","country_code_iso":"SE","timestamp":"2020-05-08T10:59:03.000Z"}},"user_id":"eu-west-1:cb8906b8-211b-4b48-9c7f-ff93ab1594e0","blue_device_serial":"00304680","role":"IS_OWNER","swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606"}]},
[2021-04-11 12:54:30+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/blue/00304680/lastMeasurements?mode=blue_and_strip, with body: {"status":"OK","last_blue_measure_timestamp":"2021-04-11T11:41:00.000Z","blue_device_serial":"00304680","swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606","data":[{"name":"temperature","priority":10,"timestamp":"2021-04-11T11:41:00.000Z","expired":false,"value":10.9,"trend":"stable","ok_min":20,"ok_max":40,"warning_high":50,"warning_low":5,"gauge_max":50,"gauge_min":0,"issuer":"gateway"},{"name":"ph","priority":20,"timestamp":"2021-04-11T11:41:00.000Z","expired":false,"value":7.5,"trend":"increase","ok_min":7.2,"ok_max":7.6,"warning_high":8.4,"warning_low":6.6,"gauge_max":10,"gauge_min":5,"issuer":"gateway"},{"name":"orp","priority":30,"timestamp":"2021-04-11T11:41:00.000Z","expired":false,"value":854,"trend":"decrease","ok_min":550,"ok_max":650,"warning_high":900,"warning_low":400,"gauge_max":1000,"gauge_min":300,"issuer":"gateway"},{"name":"conductivity","priority":40,"timestamp":"2021-04-11T11:41:00.000Z","expired":false,"value":190,"trend":"decrease","ok_min":300,"ok_max":10000,"warning_high":12000,"warning_low":200,"gauge_max":20000,"gauge_min":0,"issuer":"gateway"}]},
[2021-04-11 12:54:31+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/guidance?lang=&mode=interactive_v03, with body: {"guidance":{"swp_global_status":"SP_NOT_OK","chemicalPackId":"riiot_generic","issue_to_fix":{"task_identifier":"ORP_HIGH","current_value":854,"ideal_value":600,"products":[],"pool_volume":39.2,"steps":[{"title":"Remove products","message":"Remove any products (granules, tablets...) that may still be being dissolved. Do not add anymore."},{"title":"Wait","message":"Wait until the ORP level is back to normal."}],"user_action":"Measure","poststeps":[{"title":"Resume usual treatment","message":"Once the ORP level is back to normal, resume usual treatment."}],"chemicalPackId":"riiot_generic","swp_range":{"ok_min":550,"ok_max":650,"warning_high":900,"warning_low":400,"ideal":600},"action_title":"Restore the ORP level","issue_title":"ORP is too high","info":[]},"status":"COMPUTED","buy_process":"none","bottom_links":[],"swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606","lang":"en"},"vpc_sharing":{"sharing_status":"not_shared"}},
[2021-04-11 12:54:31+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/lastMeasurements, with body: {"data":[]},
[2021-04-11 12:54:31+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/weather?lang=, with body: {"swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606","data":{"timestamp":"2021-04-11T12:54:31.000Z","temperature_current":2,"wind_speed_current":3.58,"wind_direction_current":58,"weather_current_icon_code":"13d","weather_current_description":"snow","weather_current_code":601,"uv_current":0.6,"temperature_min":2,"temperature_max":5,"weather_future_icon_code":"13d","weather_future_timestamp":"2021-04-11T16:00:00.000Z","weather_future_temp":2,"weather_future_timeframe_one_icon_code":"04d","weather_future_timeframe_one_timestamp":"2021-04-11T15:00:00.000Z","weather_future_timeframe_two_icon_code":"13d","weather_future_timeframe_two_timestamp":"2021-04-11T16:00:00.000Z"},"lang":"en"},
[2021-04-11 12:54:31+00:00 WRN] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] There were 3 consecutive updates without new data for 'HiBerry Pool', setting next run to be 04/11/2021 13:03:31, waiting 00:09:00,
[2021-04-11 12:54:31+00:00 INF] [MBW.HassMQTT.HassMqttManager] Pushed 17 discovery documents, 0 values and 5 attribute changes,
dodg3r commented 3 years ago

Hi again :) :)

In lovelace it says Last measurement was 16:06. In my blueriot app the last reading was 17:18.

This is my log:

[2021-04-11 12:49:23+00:00 INF] [MqttNet.ManagedMqttClient] Started,
[2021-04-11 12:49:24+00:00 INF] [MqttNet.MqttClient] Connected.,
[2021-04-11 12:49:24+00:00 INF] [Microsoft.Hosting.Lifetime] Application started. Press Ctrl+C to shut down.,
[2021-04-11 12:49:24+00:00 INF] [Microsoft.Hosting.Lifetime] Hosting environment: Production,
[2021-04-11 12:49:24+00:00 INF] [Microsoft.Hosting.Lifetime] Content root path: /app,
[2021-04-11 12:49:25+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool?deleted=false, with body: {"data":[{"created":"2020-05-05T10:31:48.791Z","user_id":"eu-west-1:cb8906b8-211b-4b48-9c7f-ff93ab1594e0","swimming_pool":{"chemistry":{"activeChemicalPackId":"riiot_generic","canSelectChemicalPack":false},"last_refresh_status":"2021-04-10T17:31:30.437Z","characteristics":{"volume":{"width":3.5,"length":8,"depth":1.4,"shape":"Rectangle","capacity":39.2},"uv_sanitizing":{},"configuration":{"_type":"Aboveground","construction_year":"2019","location":"Outdoor","kind":"SwimmingPool","waterproofing":"Liner"},"sanitizer":{"chemical":"Chlorine low","process":"Manuel"},"geoloc":{"country":"Sweden","country_code":"SE","city":"Hovås","administrative_area_level_1":{"long_name":"Västra Götaland County","short_name":"Västra Götaland County"},"lon":11.959102134272973,"lat":57.59737725639671,"zip_code":"436 54"},"equipment":{"heatings":["Heat Pump"],"cleanings":["Electric"],"protections":["Shelter"],"filtrations":["Glass"]},"ph_regulation":{},"filter_pump":{"operating_type":"Scheduled","is_present":true,"operating_hours":[{"start":"2021-03-22T08:00:00Z","end":"2021-03-22T20:00:00Z"}]},"picture":{}},"chemical":{},"strip_brand_id":"generic_strips","created":"2020-05-05T10:31:48.791Z","name":"HiBerry Pool","custom_settings":{"measure_ranges":{"ph":{},"temperature":{},"conductivity":{},"orp":{}}},"swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606","updated":"2021-03-22T17:10:53.843Z","sigfox_global_coverage":{"robustness":0,"score":0,"margins":[-1,-1,-1],"redundancy":0,"level":0}},"role":"FIRST_ADMINISTRATOR","name":"HiBerry Pool","swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606"}]},
[2021-04-11 12:49:25+00:00 INF] [MBW.BlueRiiot2MQTT.Service.BlueRiiotMqttService] Discovered new pool, 'HiBerry Pool' (1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606),
[2021-04-11 12:49:25+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/blue, with body: {"data":[{"created":"2020-05-05T10:32:40.701Z","blue_device":{"contract_servicePlan":"plus","sleep_state":"awake","fw_version_psoc":"v2.1.2","last_measure_message_gateway_seq_number":169,"hw_bundle_extender":false,"gateway_id":"BLEX-CC:50:E3:85:B0:A8","contract_isGo":false,"last_measure_message_gateway":"2021-04-11T11:41:00.000Z","hw_region":"eu","contract_isBasic":false,"sf_rc":"rc1","wake_period":4320,"SN":"32192651024","last_measure_message_ble":"2021-03-22T17:10:06.539Z","sf_rc_country":"SE","hw_type":"plus","fw_version_history":[{"timestamp":"2020-05-05T11:11:32.115Z","fw_version_psoc":"v2.1.2"}],"fs_beacon_enabled":true,"contract_isSwaUs":false,"last_measure_message_sigfox":"2020-05-08T10:59:03.000Z","hw_generation":2,"hw_color":"blue","last_measure_message":"2021-04-11T11:41:00.000Z","production_datetime":"2019-07-04T00:00:00.000Z","serial":"00304680","fs_sigfox_enabled":true,"contract_isVpcEligible":true,"location":{"support":"fit50","location":"pipe"},"battery_low":false,"sigfox_geoloc":{"country_name":"Sweden","country":"752","country_code_iso":"SE","timestamp":"2020-05-08T10:59:03.000Z"}},"user_id":"eu-west-1:cb8906b8-211b-4b48-9c7f-ff93ab1594e0","blue_device_serial":"00304680","role":"IS_OWNER","swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606"}]},
[2021-04-11 12:49:26+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/blue/00304680/lastMeasurements?mode=blue_and_strip, with body: {"status":"OK","last_blue_measure_timestamp":"2021-04-11T11:41:00.000Z","blue_device_serial":"00304680","swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606","data":[{"name":"temperature","priority":10,"timestamp":"2021-04-11T11:41:00.000Z","expired":false,"value":10.9,"trend":"stable","ok_min":20,"ok_max":40,"warning_high":50,"warning_low":5,"gauge_max":50,"gauge_min":0,"issuer":"gateway"},{"name":"ph","priority":20,"timestamp":"2021-04-11T11:41:00.000Z","expired":false,"value":7.5,"trend":"increase","ok_min":7.2,"ok_max":7.6,"warning_high":8.4,"warning_low":6.6,"gauge_max":10,"gauge_min":5,"issuer":"gateway"},{"name":"orp","priority":30,"timestamp":"2021-04-11T11:41:00.000Z","expired":false,"value":854,"trend":"decrease","ok_min":550,"ok_max":650,"warning_high":900,"warning_low":400,"gauge_max":1000,"gauge_min":300,"issuer":"gateway"},{"name":"conductivity","priority":40,"timestamp":"2021-04-11T11:41:00.000Z","expired":false,"value":190,"trend":"decrease","ok_min":300,"ok_max":10000,"warning_high":12000,"warning_low":200,"gauge_max":20000,"gauge_min":0,"issuer":"gateway"}]},
[2021-04-11 12:49:26+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/guidance?lang=&mode=interactive_v03, with body: {"guidance":{"swp_global_status":"SP_NOT_OK","chemicalPackId":"riiot_generic","issue_to_fix":{"task_identifier":"ORP_HIGH","current_value":854,"ideal_value":600,"products":[],"pool_volume":39.2,"steps":[{"title":"Remove products","message":"Remove any products (granules, tablets...) that may still be being dissolved. Do not add anymore."},{"title":"Wait","message":"Wait until the ORP level is back to normal."}],"user_action":"Measure","poststeps":[{"title":"Resume usual treatment","message":"Once the ORP level is back to normal, resume usual treatment."}],"chemicalPackId":"riiot_generic","swp_range":{"ok_min":550,"ok_max":650,"warning_high":900,"warning_low":400,"ideal":600},"action_title":"Restore the ORP level","issue_title":"ORP is too high","info":[]},"status":"COMPUTED","buy_process":"none","bottom_links":[],"swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606","lang":"en"},"vpc_sharing":{"sharing_status":"not_shared"}},
[2021-04-11 12:49:27+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/lastMeasurements, with body: {"data":[]},
[2021-04-11 12:49:27+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/weather?lang=, with body: {"swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606","data":{"timestamp":"2021-04-11T12:49:27.000Z","temperature_current":2,"wind_speed_current":3.58,"wind_direction_current":58,"weather_current_icon_code":"13d","weather_current_description":"snow","weather_current_code":601,"uv_current":0.6,"temperature_min":2,"temperature_max":5,"weather_future_icon_code":"13d","weather_future_timestamp":"2021-04-11T16:00:00.000Z","weather_future_temp":2,"weather_future_timeframe_one_icon_code":"04d","weather_future_timeframe_one_timestamp":"2021-04-11T15:00:00.000Z","weather_future_timeframe_two_icon_code":"13d","weather_future_timeframe_two_timestamp":"2021-04-11T16:00:00.000Z"},"lang":"en"},
[2021-04-11 12:49:27+00:00 WRN] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] There were 1 consecutive updates without new data for 'HiBerry Pool', setting next run to be 04/11/2021 12:50:27, waiting 00:01:00,
[2021-04-11 12:49:27+00:00 INF] [MBW.HassMQTT.HassMqttManager] Pushed 20 discovery documents, 19 values and 20 attribute changes,
[2021-04-11 12:50:27+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/blue, with body: {"data":[{"created":"2020-05-05T10:32:40.701Z","blue_device":{"contract_servicePlan":"plus","sleep_state":"awake","fw_version_psoc":"v2.1.2","last_measure_message_gateway_seq_number":169,"hw_bundle_extender":false,"gateway_id":"BLEX-CC:50:E3:85:B0:A8","contract_isGo":false,"last_measure_message_gateway":"2021-04-11T11:41:00.000Z","hw_region":"eu","contract_isBasic":false,"sf_rc":"rc1","wake_period":4320,"SN":"32192651024","last_measure_message_ble":"2021-03-22T17:10:06.539Z","sf_rc_country":"SE","hw_type":"plus","fw_version_history":[{"timestamp":"2020-05-05T11:11:32.115Z","fw_version_psoc":"v2.1.2"}],"fs_beacon_enabled":true,"contract_isSwaUs":false,"last_measure_message_sigfox":"2020-05-08T10:59:03.000Z","hw_generation":2,"hw_color":"blue","last_measure_message":"2021-04-11T11:41:00.000Z","production_datetime":"2019-07-04T00:00:00.000Z","serial":"00304680","fs_sigfox_enabled":true,"contract_isVpcEligible":true,"location":{"support":"fit50","location":"pipe"},"battery_low":false,"sigfox_geoloc":{"country_name":"Sweden","country":"752","country_code_iso":"SE","timestamp":"2020-05-08T10:59:03.000Z"}},"user_id":"eu-west-1:cb8906b8-211b-4b48-9c7f-ff93ab1594e0","blue_device_serial":"00304680","role":"IS_OWNER","swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606"}]},
[2021-04-11 12:50:28+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/blue/00304680/lastMeasurements?mode=blue_and_strip, with body: {"status":"OK","last_blue_measure_timestamp":"2021-04-11T11:41:00.000Z","blue_device_serial":"00304680","swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606","data":[{"name":"temperature","priority":10,"timestamp":"2021-04-11T11:41:00.000Z","expired":false,"value":10.9,"trend":"stable","ok_min":20,"ok_max":40,"warning_high":50,"warning_low":5,"gauge_max":50,"gauge_min":0,"issuer":"gateway"},{"name":"ph","priority":20,"timestamp":"2021-04-11T11:41:00.000Z","expired":false,"value":7.5,"trend":"increase","ok_min":7.2,"ok_max":7.6,"warning_high":8.4,"warning_low":6.6,"gauge_max":10,"gauge_min":5,"issuer":"gateway"},{"name":"orp","priority":30,"timestamp":"2021-04-11T11:41:00.000Z","expired":false,"value":854,"trend":"decrease","ok_min":550,"ok_max":650,"warning_high":900,"warning_low":400,"gauge_max":1000,"gauge_min":300,"issuer":"gateway"},{"name":"conductivity","priority":40,"timestamp":"2021-04-11T11:41:00.000Z","expired":false,"value":190,"trend":"decrease","ok_min":300,"ok_max":10000,"warning_high":12000,"warning_low":200,"gauge_max":20000,"gauge_min":0,"issuer":"gateway"}]},
[2021-04-11 12:50:29+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/guidance?lang=&mode=interactive_v03, with body: {"guidance":{"swp_global_status":"SP_NOT_OK","chemicalPackId":"riiot_generic","issue_to_fix":{"task_identifier":"ORP_HIGH","current_value":854,"ideal_value":600,"products":[],"pool_volume":39.2,"steps":[{"title":"Remove products","message":"Remove any products (granules, tablets...) that may still be being dissolved. Do not add anymore."},{"title":"Wait","message":"Wait until the ORP level is back to normal."}],"user_action":"Measure","poststeps":[{"title":"Resume usual treatment","message":"Once the ORP level is back to normal, resume usual treatment."}],"chemicalPackId":"riiot_generic","swp_range":{"ok_min":550,"ok_max":650,"warning_high":900,"warning_low":400,"ideal":600},"action_title":"Restore the ORP level","issue_title":"ORP is too high","info":[]},"status":"COMPUTED","buy_process":"none","bottom_links":[],"swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606","lang":"en"},"vpc_sharing":{"sharing_status":"not_shared"}},
[2021-04-11 12:50:29+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/lastMeasurements, with body: {"data":[]},
[2021-04-11 12:50:29+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/weather?lang=, with body: {"swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606","data":{"timestamp":"2021-04-11T12:50:29.000Z","temperature_current":2,"wind_speed_current":3.58,"wind_direction_current":58,"weather_current_icon_code":"13d","weather_current_description":"snow","weather_current_code":601,"uv_current":0.6,"temperature_min":2,"temperature_max":5,"weather_future_icon_code":"13d","weather_future_timestamp":"2021-04-11T16:00:00.000Z","weather_future_temp":2,"weather_future_timeframe_one_icon_code":"04d","weather_future_timeframe_one_timestamp":"2021-04-11T15:00:00.000Z","weather_future_timeframe_two_icon_code":"13d","weather_future_timeframe_two_timestamp":"2021-04-11T16:00:00.000Z"},"lang":"en"},
[2021-04-11 12:50:29+00:00 WRN] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] There were 2 consecutive updates without new data for 'HiBerry Pool', setting next run to be 04/11/2021 12:54:29, waiting 00:04:00,
[2021-04-11 12:50:29+00:00 INF] [MBW.HassMQTT.HassMqttManager] Pushed 17 discovery documents, 0 values and 5 attribute changes,
[2021-04-11 12:54:30+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/blue, with body: {"data":[{"created":"2020-05-05T10:32:40.701Z","blue_device":{"contract_servicePlan":"plus","sleep_state":"awake","fw_version_psoc":"v2.1.2","last_measure_message_gateway_seq_number":169,"hw_bundle_extender":false,"gateway_id":"BLEX-CC:50:E3:85:B0:A8","contract_isGo":false,"last_measure_message_gateway":"2021-04-11T11:41:00.000Z","hw_region":"eu","contract_isBasic":false,"sf_rc":"rc1","wake_period":4320,"SN":"32192651024","last_measure_message_ble":"2021-03-22T17:10:06.539Z","sf_rc_country":"SE","hw_type":"plus","fw_version_history":[{"timestamp":"2020-05-05T11:11:32.115Z","fw_version_psoc":"v2.1.2"}],"fs_beacon_enabled":true,"contract_isSwaUs":false,"last_measure_message_sigfox":"2020-05-08T10:59:03.000Z","hw_generation":2,"hw_color":"blue","last_measure_message":"2021-04-11T11:41:00.000Z","production_datetime":"2019-07-04T00:00:00.000Z","serial":"00304680","fs_sigfox_enabled":true,"contract_isVpcEligible":true,"location":{"support":"fit50","location":"pipe"},"battery_low":false,"sigfox_geoloc":{"country_name":"Sweden","country":"752","country_code_iso":"SE","timestamp":"2020-05-08T10:59:03.000Z"}},"user_id":"eu-west-1:cb8906b8-211b-4b48-9c7f-ff93ab1594e0","blue_device_serial":"00304680","role":"IS_OWNER","swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606"}]},
[2021-04-11 12:54:30+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/blue/00304680/lastMeasurements?mode=blue_and_strip, with body: {"status":"OK","last_blue_measure_timestamp":"2021-04-11T11:41:00.000Z","blue_device_serial":"00304680","swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606","data":[{"name":"temperature","priority":10,"timestamp":"2021-04-11T11:41:00.000Z","expired":false,"value":10.9,"trend":"stable","ok_min":20,"ok_max":40,"warning_high":50,"warning_low":5,"gauge_max":50,"gauge_min":0,"issuer":"gateway"},{"name":"ph","priority":20,"timestamp":"2021-04-11T11:41:00.000Z","expired":false,"value":7.5,"trend":"increase","ok_min":7.2,"ok_max":7.6,"warning_high":8.4,"warning_low":6.6,"gauge_max":10,"gauge_min":5,"issuer":"gateway"},{"name":"orp","priority":30,"timestamp":"2021-04-11T11:41:00.000Z","expired":false,"value":854,"trend":"decrease","ok_min":550,"ok_max":650,"warning_high":900,"warning_low":400,"gauge_max":1000,"gauge_min":300,"issuer":"gateway"},{"name":"conductivity","priority":40,"timestamp":"2021-04-11T11:41:00.000Z","expired":false,"value":190,"trend":"decrease","ok_min":300,"ok_max":10000,"warning_high":12000,"warning_low":200,"gauge_max":20000,"gauge_min":0,"issuer":"gateway"}]},
[2021-04-11 12:54:31+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/guidance?lang=&mode=interactive_v03, with body: {"guidance":{"swp_global_status":"SP_NOT_OK","chemicalPackId":"riiot_generic","issue_to_fix":{"task_identifier":"ORP_HIGH","current_value":854,"ideal_value":600,"products":[],"pool_volume":39.2,"steps":[{"title":"Remove products","message":"Remove any products (granules, tablets...) that may still be being dissolved. Do not add anymore."},{"title":"Wait","message":"Wait until the ORP level is back to normal."}],"user_action":"Measure","poststeps":[{"title":"Resume usual treatment","message":"Once the ORP level is back to normal, resume usual treatment."}],"chemicalPackId":"riiot_generic","swp_range":{"ok_min":550,"ok_max":650,"warning_high":900,"warning_low":400,"ideal":600},"action_title":"Restore the ORP level","issue_title":"ORP is too high","info":[]},"status":"COMPUTED","buy_process":"none","bottom_links":[],"swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606","lang":"en"},"vpc_sharing":{"sharing_status":"not_shared"}},
[2021-04-11 12:54:31+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/lastMeasurements, with body: {"data":[]},
[2021-04-11 12:54:31+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/weather?lang=, with body: {"swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606","data":{"timestamp":"2021-04-11T12:54:31.000Z","temperature_current":2,"wind_speed_current":3.58,"wind_direction_current":58,"weather_current_icon_code":"13d","weather_current_description":"snow","weather_current_code":601,"uv_current":0.6,"temperature_min":2,"temperature_max":5,"weather_future_icon_code":"13d","weather_future_timestamp":"2021-04-11T16:00:00.000Z","weather_future_temp":2,"weather_future_timeframe_one_icon_code":"04d","weather_future_timeframe_one_timestamp":"2021-04-11T15:00:00.000Z","weather_future_timeframe_two_icon_code":"13d","weather_future_timeframe_two_timestamp":"2021-04-11T16:00:00.000Z"},"lang":"en"},
[2021-04-11 12:54:31+00:00 WRN] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] There were 3 consecutive updates without new data for 'HiBerry Pool', setting next run to be 04/11/2021 13:03:31, waiting 00:09:00,
[2021-04-11 12:54:31+00:00 INF] [MBW.HassMQTT.HassMqttManager] Pushed 17 discovery documents, 0 values and 5 attribute changes,
[2021-04-11 13:03:32+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/blue, with body: {"data":[{"created":"2020-05-05T10:32:40.701Z","blue_device":{"contract_servicePlan":"plus","sleep_state":"awake","fw_version_psoc":"v2.1.2","last_measure_message_gateway_seq_number":170,"hw_bundle_extender":false,"gateway_id":"BLEX-CC:50:E3:85:B0:A8","contract_isGo":false,"last_measure_message_gateway":"2021-04-11T12:54:00.000Z","hw_region":"eu","contract_isBasic":false,"sf_rc":"rc1","wake_period":4320,"SN":"32192651024","last_measure_message_ble":"2021-03-22T17:10:06.539Z","sf_rc_country":"SE","hw_type":"plus","fw_version_history":[{"timestamp":"2020-05-05T11:11:32.115Z","fw_version_psoc":"v2.1.2"}],"fs_beacon_enabled":true,"contract_isSwaUs":false,"last_measure_message_sigfox":"2020-05-08T10:59:03.000Z","hw_generation":2,"hw_color":"blue","last_measure_message":"2021-04-11T12:54:00.000Z","production_datetime":"2019-07-04T00:00:00.000Z","serial":"00304680","fs_sigfox_enabled":true,"contract_isVpcEligible":true,"location":{"support":"fit50","location":"pipe"},"battery_low":false,"sigfox_geoloc":{"country_name":"Sweden","country":"752","country_code_iso":"SE","timestamp":"2020-05-08T10:59:03.000Z"}},"user_id":"eu-west-1:cb8906b8-211b-4b48-9c7f-ff93ab1594e0","blue_device_serial":"00304680","role":"IS_OWNER","swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606"}]},
[2021-04-11 13:03:32+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/blue/00304680/lastMeasurements?mode=blue_and_strip, with body: {"status":"OK","last_blue_measure_timestamp":"2021-04-11T12:54:00.000Z","blue_device_serial":"00304680","swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606","data":[{"name":"temperature","priority":10,"timestamp":"2021-04-11T12:54:00.000Z","expired":false,"value":10.8,"trend":"stable","ok_min":20,"ok_max":40,"warning_high":50,"warning_low":5,"gauge_max":50,"gauge_min":0,"issuer":"gateway"},{"name":"ph","priority":20,"timestamp":"2021-04-11T12:54:00.000Z","expired":false,"value":7.6,"trend":"increase","ok_min":7.2,"ok_max":7.6,"warning_high":8.4,"warning_low":6.6,"gauge_max":10,"gauge_min":5,"issuer":"gateway"},{"name":"orp","priority":30,"timestamp":"2021-04-11T12:54:00.000Z","expired":false,"value":850,"trend":"decrease","ok_min":550,"ok_max":650,"warning_high":900,"warning_low":400,"gauge_max":1000,"gauge_min":300,"issuer":"gateway"},{"name":"conductivity","priority":40,"timestamp":"2021-04-11T12:54:00.000Z","expired":false,"value":191,"trend":"stable","ok_min":300,"ok_max":10000,"warning_high":12000,"warning_low":200,"gauge_max":20000,"gauge_min":0,"issuer":"gateway"}]},
[2021-04-11 13:03:33+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/guidance?lang=&mode=interactive_v03, with body: {"guidance":{"swp_global_status":"SP_NOT_OK","chemicalPackId":"riiot_generic","issue_to_fix":{"task_identifier":"ORP_HIGH","current_value":850,"ideal_value":600,"products":[],"pool_volume":39.2,"steps":[{"title":"Remove products","message":"Remove any products (granules, tablets...) that may still be being dissolved. Do not add anymore."},{"title":"Wait","message":"Wait until the ORP level is back to normal."}],"user_action":"Measure","poststeps":[{"title":"Resume usual treatment","message":"Once the ORP level is back to normal, resume usual treatment."}],"chemicalPackId":"riiot_generic","swp_range":{"ok_min":550,"ok_max":650,"warning_high":900,"warning_low":400,"ideal":600},"action_title":"Restore the ORP level","issue_title":"ORP is too high","info":[]},"status":"COMPUTED","buy_process":"none","bottom_links":[],"swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606","lang":"en"},"vpc_sharing":{"sharing_status":"not_shared"}},
[2021-04-11 13:03:33+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/lastMeasurements, with body: {"data":[]},
[2021-04-11 13:03:34+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/weather?lang=, with body: {"swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606","data":{"timestamp":"2021-04-11T13:03:34.000Z","temperature_current":2,"wind_speed_current":1.34,"wind_direction_current":49,"weather_current_icon_code":"13d","weather_current_description":"snow","weather_current_code":601,"uv_current":0.6,"temperature_min":2,"temperature_max":5,"weather_future_icon_code":"13d","weather_future_timestamp":"2021-04-11T16:00:00.000Z","weather_future_temp":2,"weather_future_timeframe_one_icon_code":"04d","weather_future_timeframe_one_timestamp":"2021-04-11T15:00:00.000Z","weather_future_timeframe_two_icon_code":"13d","weather_future_timeframe_two_timestamp":"2021-04-11T16:00:00.000Z"},"lang":"en"},
[2021-04-11 13:03:34+00:00 WRN] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] There were 4 consecutive updates without new data for 'HiBerry Pool', setting next run to be 04/11/2021 13:19:34, waiting 00:16:00,
[2021-04-11 13:03:34+00:00 INF] [MBW.HassMQTT.HassMqttManager] Pushed 17 discovery documents, 6 values and 13 attribute changes,
[2021-04-11 13:19:34+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/blue, with body: {"data":[{"created":"2020-05-05T10:32:40.701Z","blue_device":{"contract_servicePlan":"plus","sleep_state":"awake","fw_version_psoc":"v2.1.2","last_measure_message_gateway_seq_number":170,"hw_bundle_extender":false,"gateway_id":"BLEX-CC:50:E3:85:B0:A8","contract_isGo":false,"last_measure_message_gateway":"2021-04-11T12:54:00.000Z","hw_region":"eu","contract_isBasic":false,"sf_rc":"rc1","wake_period":4320,"SN":"32192651024","last_measure_message_ble":"2021-03-22T17:10:06.539Z","sf_rc_country":"SE","hw_type":"plus","fw_version_history":[{"timestamp":"2020-05-05T11:11:32.115Z","fw_version_psoc":"v2.1.2"}],"fs_beacon_enabled":true,"contract_isSwaUs":false,"last_measure_message_sigfox":"2020-05-08T10:59:03.000Z","hw_generation":2,"hw_color":"blue","last_measure_message":"2021-04-11T12:54:00.000Z","production_datetime":"2019-07-04T00:00:00.000Z","serial":"00304680","fs_sigfox_enabled":true,"contract_isVpcEligible":true,"location":{"support":"fit50","location":"pipe"},"battery_low":false,"sigfox_geoloc":{"country_name":"Sweden","country":"752","country_code_iso":"SE","timestamp":"2020-05-08T10:59:03.000Z"}},"user_id":"eu-west-1:cb8906b8-211b-4b48-9c7f-ff93ab1594e0","blue_device_serial":"00304680","role":"IS_OWNER","swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606"}]},
[2021-04-11 13:19:35+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/blue/00304680/lastMeasurements?mode=blue_and_strip, with body: {"status":"OK","last_blue_measure_timestamp":"2021-04-11T12:54:00.000Z","blue_device_serial":"00304680","swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606","data":[{"name":"temperature","priority":10,"timestamp":"2021-04-11T12:54:00.000Z","expired":false,"value":10.8,"trend":"stable","ok_min":20,"ok_max":40,"warning_high":50,"warning_low":5,"gauge_max":50,"gauge_min":0,"issuer":"gateway"},{"name":"ph","priority":20,"timestamp":"2021-04-11T12:54:00.000Z","expired":false,"value":7.6,"trend":"increase","ok_min":7.2,"ok_max":7.6,"warning_high":8.4,"warning_low":6.6,"gauge_max":10,"gauge_min":5,"issuer":"gateway"},{"name":"orp","priority":30,"timestamp":"2021-04-11T12:54:00.000Z","expired":false,"value":850,"trend":"decrease","ok_min":550,"ok_max":650,"warning_high":900,"warning_low":400,"gauge_max":1000,"gauge_min":300,"issuer":"gateway"},{"name":"conductivity","priority":40,"timestamp":"2021-04-11T12:54:00.000Z","expired":false,"value":191,"trend":"stable","ok_min":300,"ok_max":10000,"warning_high":12000,"warning_low":200,"gauge_max":20000,"gauge_min":0,"issuer":"gateway"}]},
[2021-04-11 13:19:35+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/guidance?lang=&mode=interactive_v03, with body: {"guidance":{"swp_global_status":"SP_NOT_OK","chemicalPackId":"riiot_generic","issue_to_fix":{"task_identifier":"ORP_HIGH","current_value":850,"ideal_value":600,"products":[],"pool_volume":39.2,"steps":[{"title":"Remove products","message":"Remove any products (granules, tablets...) that may still be being dissolved. Do not add anymore."},{"title":"Wait","message":"Wait until the ORP level is back to normal."}],"user_action":"Measure","poststeps":[{"title":"Resume usual treatment","message":"Once the ORP level is back to normal, resume usual treatment."}],"chemicalPackId":"riiot_generic","swp_range":{"ok_min":550,"ok_max":650,"warning_high":900,"warning_low":400,"ideal":600},"action_title":"Restore the ORP level","issue_title":"ORP is too high","info":[]},"status":"COMPUTED","buy_process":"none","bottom_links":[],"swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606","lang":"en"},"vpc_sharing":{"sharing_status":"not_shared"}},
[2021-04-11 13:19:36+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/lastMeasurements, with body: {"data":[]},
[2021-04-11 13:19:36+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/weather?lang=, with body: {"swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606","data":{"timestamp":"2021-04-11T13:19:36.000Z","temperature_current":2,"wind_speed_current":4.47,"wind_direction_current":42,"weather_current_icon_code":"13d","weather_current_description":"snow","weather_current_code":601,"uv_current":0.6,"temperature_min":2,"temperature_max":5,"weather_future_icon_code":"13d","weather_future_timestamp":"2021-04-11T16:00:00.000Z","weather_future_temp":2,"weather_future_timeframe_one_icon_code":"04d","weather_future_timeframe_one_timestamp":"2021-04-11T15:00:00.000Z","weather_future_timeframe_two_icon_code":"13d","weather_future_timeframe_two_timestamp":"2021-04-11T16:00:00.000Z"},"lang":"en"},
[2021-04-11 13:19:36+00:00 WRN] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] There were 5 consecutive updates without new data for 'HiBerry Pool', setting next run to be 04/11/2021 13:44:36, waiting 00:25:00,
[2021-04-11 13:19:36+00:00 INF] [MBW.HassMQTT.HassMqttManager] Pushed 17 discovery documents, 0 values and 5 attribute changes,
[2021-04-11 13:44:37+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/blue, with body: {"data":[{"created":"2020-05-05T10:32:40.701Z","blue_device":{"contract_servicePlan":"plus","sleep_state":"awake","fw_version_psoc":"v2.1.2","last_measure_message_gateway_seq_number":170,"hw_bundle_extender":false,"gateway_id":"BLEX-CC:50:E3:85:B0:A8","contract_isGo":false,"last_measure_message_gateway":"2021-04-11T12:54:00.000Z","hw_region":"eu","contract_isBasic":false,"sf_rc":"rc1","wake_period":4320,"SN":"32192651024","last_measure_message_ble":"2021-03-22T17:10:06.539Z","sf_rc_country":"SE","hw_type":"plus","fw_version_history":[{"timestamp":"2020-05-05T11:11:32.115Z","fw_version_psoc":"v2.1.2"}],"fs_beacon_enabled":true,"contract_isSwaUs":false,"last_measure_message_sigfox":"2020-05-08T10:59:03.000Z","hw_generation":2,"hw_color":"blue","last_measure_message":"2021-04-11T12:54:00.000Z","production_datetime":"2019-07-04T00:00:00.000Z","serial":"00304680","fs_sigfox_enabled":true,"contract_isVpcEligible":true,"location":{"support":"fit50","location":"pipe"},"battery_low":false,"sigfox_geoloc":{"country_name":"Sweden","country":"752","country_code_iso":"SE","timestamp":"2020-05-08T10:59:03.000Z"}},"user_id":"eu-west-1:cb8906b8-211b-4b48-9c7f-ff93ab1594e0","blue_device_serial":"00304680","role":"IS_OWNER","swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606"}]},
[2021-04-11 13:44:38+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/blue/00304680/lastMeasurements?mode=blue_and_strip, with body: {"status":"OK","last_blue_measure_timestamp":"2021-04-11T12:54:00.000Z","blue_device_serial":"00304680","swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606","data":[{"name":"temperature","priority":10,"timestamp":"2021-04-11T12:54:00.000Z","expired":false,"value":10.8,"trend":"stable","ok_min":20,"ok_max":40,"warning_high":50,"warning_low":5,"gauge_max":50,"gauge_min":0,"issuer":"gateway"},{"name":"ph","priority":20,"timestamp":"2021-04-11T12:54:00.000Z","expired":false,"value":7.6,"trend":"increase","ok_min":7.2,"ok_max":7.6,"warning_high":8.4,"warning_low":6.6,"gauge_max":10,"gauge_min":5,"issuer":"gateway"},{"name":"orp","priority":30,"timestamp":"2021-04-11T12:54:00.000Z","expired":false,"value":850,"trend":"decrease","ok_min":550,"ok_max":650,"warning_high":900,"warning_low":400,"gauge_max":1000,"gauge_min":300,"issuer":"gateway"},{"name":"conductivity","priority":40,"timestamp":"2021-04-11T12:54:00.000Z","expired":false,"value":191,"trend":"stable","ok_min":300,"ok_max":10000,"warning_high":12000,"warning_low":200,"gauge_max":20000,"gauge_min":0,"issuer":"gateway"}]},
[2021-04-11 13:44:38+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/guidance?lang=&mode=interactive_v03, with body: {"guidance":{"swp_global_status":"SP_NOT_OK","chemicalPackId":"riiot_generic","issue_to_fix":{"task_identifier":"ORP_HIGH","current_value":850,"ideal_value":600,"products":[],"pool_volume":39.2,"steps":[{"title":"Remove products","message":"Remove any products (granules, tablets...) that may still be being dissolved. Do not add anymore."},{"title":"Wait","message":"Wait until the ORP level is back to normal."}],"user_action":"Measure","poststeps":[{"title":"Resume usual treatment","message":"Once the ORP level is back to normal, resume usual treatment."}],"chemicalPackId":"riiot_generic","swp_range":{"ok_min":550,"ok_max":650,"warning_high":900,"warning_low":400,"ideal":600},"action_title":"Restore the ORP level","issue_title":"ORP is too high","info":[]},"status":"COMPUTED","buy_process":"none","bottom_links":[],"swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606","lang":"en"},"vpc_sharing":{"sharing_status":"not_shared"}},
[2021-04-11 13:44:39+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/lastMeasurements, with body: {"data":[]},
[2021-04-11 13:44:39+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/weather?lang=, with body: {"swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606","data":{"timestamp":"2021-04-11T13:44:39.000Z","temperature_current":2,"wind_speed_current":2.24,"wind_direction_current":40,"weather_current_icon_code":"13d","weather_current_description":"snow","weather_current_code":601,"uv_current":0.4,"temperature_min":2,"temperature_max":5,"weather_future_icon_code":"13d","weather_future_timestamp":"2021-04-11T17:00:00.000Z","weather_future_temp":2,"weather_future_timeframe_one_icon_code":"10d","weather_future_timeframe_one_timestamp":"2021-04-11T16:00:00.000Z","weather_future_timeframe_two_icon_code":"13d","weather_future_timeframe_two_timestamp":"2021-04-11T17:00:00.000Z"},"lang":"en"},
[2021-04-11 13:44:39+00:00 WRN] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] There were 6 consecutive updates without new data for 'HiBerry Pool', setting next run to be 04/11/2021 14:20:39, waiting 00:36:00,
[2021-04-11 13:44:39+00:00 INF] [MBW.HassMQTT.HassMqttManager] Pushed 17 discovery documents, 1 values and 5 attribute changes,
[2021-04-11 14:20:39+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/blue, with body: {"data":[{"created":"2020-05-05T10:32:40.701Z","blue_device":{"contract_servicePlan":"plus","sleep_state":"awake","fw_version_psoc":"v2.1.2","last_measure_message_gateway_seq_number":171,"hw_bundle_extender":false,"gateway_id":"BLEX-CC:50:E3:85:B0:A8","contract_isGo":false,"last_measure_message_gateway":"2021-04-11T14:06:00.000Z","hw_region":"eu","contract_isBasic":false,"sf_rc":"rc1","wake_period":4320,"SN":"32192651024","last_measure_message_ble":"2021-03-22T17:10:06.539Z","sf_rc_country":"SE","hw_type":"plus","fw_version_history":[{"timestamp":"2020-05-05T11:11:32.115Z","fw_version_psoc":"v2.1.2"}],"fs_beacon_enabled":true,"contract_isSwaUs":false,"last_measure_message_sigfox":"2020-05-08T10:59:03.000Z","hw_generation":2,"hw_color":"blue","last_measure_message":"2021-04-11T14:06:00.000Z","production_datetime":"2019-07-04T00:00:00.000Z","serial":"00304680","fs_sigfox_enabled":true,"contract_isVpcEligible":true,"location":{"support":"fit50","location":"pipe"},"battery_low":false,"sigfox_geoloc":{"country_name":"Sweden","country":"752","country_code_iso":"SE","timestamp":"2020-05-08T10:59:03.000Z"}},"user_id":"eu-west-1:cb8906b8-211b-4b48-9c7f-ff93ab1594e0","blue_device_serial":"00304680","role":"IS_OWNER","swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606"}]},
[2021-04-11 14:20:40+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/blue/00304680/lastMeasurements?mode=blue_and_strip, with body: {"status":"OK","last_blue_measure_timestamp":"2021-04-11T14:06:00.000Z","blue_device_serial":"00304680","swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606","data":[{"name":"temperature","priority":10,"timestamp":"2021-04-11T14:06:00.000Z","expired":false,"value":10.8,"trend":"undefined","ok_min":20,"ok_max":40,"warning_high":50,"warning_low":5,"gauge_max":50,"gauge_min":0,"issuer":"gateway"},{"name":"ph","priority":20,"timestamp":"2021-04-11T14:06:00.000Z","expired":false,"value":7.6,"trend":"undefined","ok_min":7.2,"ok_max":7.6,"warning_high":8.4,"warning_low":6.6,"gauge_max":10,"gauge_min":5,"issuer":"gateway"},{"name":"orp","priority":30,"timestamp":"2021-04-11T14:06:00.000Z","expired":false,"value":849,"trend":"stable","ok_min":550,"ok_max":650,"warning_high":900,"warning_low":400,"gauge_max":1000,"gauge_min":300,"issuer":"gateway"},{"name":"conductivity","priority":40,"timestamp":"2021-04-11T14:06:00.000Z","expired":false,"value":192,"trend":"increase","ok_min":300,"ok_max":10000,"warning_high":12000,"warning_low":200,"gauge_max":20000,"gauge_min":0,"issuer":"gateway"}]},
[2021-04-11 14:20:41+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/guidance?lang=&mode=interactive_v03, with body: {"guidance":{"swp_global_status":"SP_NOT_OK","chemicalPackId":"riiot_generic","issue_to_fix":{"task_identifier":"ORP_HIGH","current_value":849,"ideal_value":600,"products":[],"pool_volume":39.2,"steps":[{"title":"Remove products","message":"Remove any products (granules, tablets...) that may still be being dissolved. Do not add anymore."},{"title":"Wait","message":"Wait until the ORP level is back to normal."}],"user_action":"Measure","poststeps":[{"title":"Resume usual treatment","message":"Once the ORP level is back to normal, resume usual treatment."}],"chemicalPackId":"riiot_generic","swp_range":{"ok_min":550,"ok_max":650,"warning_high":900,"warning_low":400,"ideal":600},"action_title":"Restore the ORP level","issue_title":"ORP is too high","info":[]},"status":"COMPUTED","buy_process":"none","bottom_links":[],"swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606","lang":"en"},"vpc_sharing":{"sharing_status":"not_shared"}},
[2021-04-11 14:20:41+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/lastMeasurements, with body: {"data":[]},
[2021-04-11 14:20:41+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/weather?lang=, with body: {"swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606","data":{"timestamp":"2021-04-11T14:20:41.000Z","temperature_current":2,"wind_speed_current":4.02,"wind_direction_current":46,"weather_current_icon_code":"13d","weather_current_description":"light snow","weather_current_code":600,"uv_current":0.4,"temperature_min":2,"temperature_max":5,"weather_future_icon_code":"13d","weather_future_timestamp":"2021-04-11T17:00:00.000Z","weather_future_temp":2,"weather_future_timeframe_one_icon_code":"10d","weather_future_timeframe_one_timestamp":"2021-04-11T16:00:00.000Z","weather_future_timeframe_two_icon_code":"13d","weather_future_timeframe_two_timestamp":"2021-04-11T17:00:00.000Z"},"lang":"en"},
[2021-04-11 14:20:41+00:00 WRN] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] There were 7 consecutive updates without new data for 'HiBerry Pool', setting next run to be 04/11/2021 15:09:41, waiting 00:49:00,
[2021-04-11 14:20:41+00:00 INF] [MBW.HassMQTT.HassMqttManager] Pushed 17 discovery documents, 5 values and 13 attribute changes,
[2021-04-11 15:09:42+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/blue, with body: {"data":[{"created":"2020-05-05T10:32:40.701Z","blue_device":{"contract_servicePlan":"plus","sleep_state":"awake","fw_version_psoc":"v2.1.2","last_measure_message_gateway_seq_number":171,"hw_bundle_extender":false,"gateway_id":"BLEX-CC:50:E3:85:B0:A8","contract_isGo":false,"last_measure_message_gateway":"2021-04-11T14:06:00.000Z","hw_region":"eu","contract_isBasic":false,"sf_rc":"rc1","wake_period":4320,"SN":"32192651024","last_measure_message_ble":"2021-03-22T17:10:06.539Z","sf_rc_country":"SE","hw_type":"plus","fw_version_history":[{"timestamp":"2020-05-05T11:11:32.115Z","fw_version_psoc":"v2.1.2"}],"fs_beacon_enabled":true,"contract_isSwaUs":false,"last_measure_message_sigfox":"2020-05-08T10:59:03.000Z","hw_generation":2,"hw_color":"blue","last_measure_message":"2021-04-11T14:06:00.000Z","production_datetime":"2019-07-04T00:00:00.000Z","serial":"00304680","fs_sigfox_enabled":true,"contract_isVpcEligible":true,"location":{"support":"fit50","location":"pipe"},"battery_low":false,"sigfox_geoloc":{"country_name":"Sweden","country":"752","country_code_iso":"SE","timestamp":"2020-05-08T10:59:03.000Z"}},"user_id":"eu-west-1:cb8906b8-211b-4b48-9c7f-ff93ab1594e0","blue_device_serial":"00304680","role":"IS_OWNER","swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606"}]},
[2021-04-11 15:09:43+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/blue/00304680/lastMeasurements?mode=blue_and_strip, with body: {"status":"OK","last_blue_measure_timestamp":"2021-04-11T14:06:00.000Z","blue_device_serial":"00304680","swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606","data":[{"name":"temperature","priority":10,"timestamp":"2021-04-11T14:06:00.000Z","expired":false,"value":10.8,"trend":"undefined","ok_min":20,"ok_max":40,"warning_high":50,"warning_low":5,"gauge_max":50,"gauge_min":0,"issuer":"gateway"},{"name":"ph","priority":20,"timestamp":"2021-04-11T14:06:00.000Z","expired":false,"value":7.6,"trend":"undefined","ok_min":7.2,"ok_max":7.6,"warning_high":8.4,"warning_low":6.6,"gauge_max":10,"gauge_min":5,"issuer":"gateway"},{"name":"orp","priority":30,"timestamp":"2021-04-11T14:06:00.000Z","expired":false,"value":849,"trend":"stable","ok_min":550,"ok_max":650,"warning_high":900,"warning_low":400,"gauge_max":1000,"gauge_min":300,"issuer":"gateway"},{"name":"conductivity","priority":40,"timestamp":"2021-04-11T14:06:00.000Z","expired":false,"value":192,"trend":"increase","ok_min":300,"ok_max":10000,"warning_high":12000,"warning_low":200,"gauge_max":20000,"gauge_min":0,"issuer":"gateway"}]},
[2021-04-11 15:09:43+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/guidance?lang=&mode=interactive_v03, with body: {"guidance":{"swp_global_status":"SP_NOT_OK","chemicalPackId":"riiot_generic","issue_to_fix":{"task_identifier":"ORP_HIGH","current_value":849,"ideal_value":600,"products":[],"pool_volume":39.2,"steps":[{"title":"Remove products","message":"Remove any products (granules, tablets...) that may still be being dissolved. Do not add anymore."},{"title":"Wait","message":"Wait until the ORP level is back to normal."}],"user_action":"Measure","poststeps":[{"title":"Resume usual treatment","message":"Once the ORP level is back to normal, resume usual treatment."}],"chemicalPackId":"riiot_generic","swp_range":{"ok_min":550,"ok_max":650,"warning_high":900,"warning_low":400,"ideal":600},"action_title":"Restore the ORP level","issue_title":"ORP is too high","info":[]},"status":"COMPUTED","buy_process":"none","bottom_links":[],"swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606","lang":"en"},"vpc_sharing":{"sharing_status":"not_shared"}},
[2021-04-11 15:09:44+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/lastMeasurements, with body: {"data":[]},
[2021-04-11 15:09:44+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/weather?lang=, with body: {"swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606","data":{"timestamp":"2021-04-11T15:09:44.000Z","temperature_current":2,"wind_speed_current":4.92,"wind_direction_current":68,"weather_current_icon_code":"04d","weather_current_description":"overcast clouds","weather_current_code":804,"uv_current":0.3,"temperature_min":2,"temperature_max":5,"weather_future_icon_code":"10d","weather_future_timestamp":"2021-04-11T18:00:00.000Z","weather_future_temp":2,"weather_future_timeframe_one_icon_code":"10d","weather_future_timeframe_one_timestamp":"2021-04-11T17:00:00.000Z","weather_future_timeframe_two_icon_code":"10d","weather_future_timeframe_two_timestamp":"2021-04-11T18:00:00.000Z"},"lang":"en"},
[2021-04-11 15:09:44+00:00 WRN] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] There were 8 consecutive updates without new data for 'HiBerry Pool', setting next run to be 04/11/2021 16:13:44, waiting 01:04:00,
[2021-04-11 15:09:44+00:00 INF] [MBW.HassMQTT.HassMqttManager] Pushed 17 discovery documents, 2 values and 5 attribute changes,
dodg3r commented 3 years ago

Now it did an update.

But why is it still saying without new data?

[2021-04-11 16:13:45+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/blue, with body: {"data":[{"created":"2020-05-05T10:32:40.701Z","blue_device":{"contract_servicePlan":"plus","sleep_state":"awake","fw_version_psoc":"v2.1.2","last_measure_message_gateway_seq_number":172,"hw_bundle_extender":false,"gateway_id":"BLEX-CC:50:E3:85:B0:A8","contract_isGo":false,"last_measure_message_gateway":"2021-04-11T15:18:00.000Z","hw_region":"eu","contract_isBasic":false,"sf_rc":"rc1","wake_period":4320,"SN":"32192651024","last_measure_message_ble":"2021-03-22T17:10:06.539Z","sf_rc_country":"SE","hw_type":"plus","fw_version_history":[{"timestamp":"2020-05-05T11:11:32.115Z","fw_version_psoc":"v2.1.2"}],"fs_beacon_enabled":true,"contract_isSwaUs":false,"last_measure_message_sigfox":"2020-05-08T10:59:03.000Z","hw_generation":2,"hw_color":"blue","last_measure_message":"2021-04-11T15:18:00.000Z","production_datetime":"2019-07-04T00:00:00.000Z","serial":"00304680","fs_sigfox_enabled":true,"contract_isVpcEligible":true,"location":{"support":"fit50","location":"pipe"},"battery_low":false,"sigfox_geoloc":{"country_name":"Sweden","country":"752","country_code_iso":"SE","timestamp":"2020-05-08T10:59:03.000Z"}},"user_id":"eu-west-1:cb8906b8-211b-4b48-9c7f-ff93ab1594e0","blue_device_serial":"00304680","role":"IS_OWNER","swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606"}]},
[2021-04-11 16:13:45+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/blue/00304680/lastMeasurements?mode=blue_and_strip, with body: {"status":"OK","last_blue_measure_timestamp":"2021-04-11T15:18:00.000Z","blue_device_serial":"00304680","swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606","data":[{"name":"temperature","priority":10,"timestamp":"2021-04-11T15:18:00.000Z","expired":false,"value":10.8,"trend":"undefined","ok_min":20,"ok_max":40,"warning_high":50,"warning_low":5,"gauge_max":50,"gauge_min":0,"issuer":"gateway"},{"name":"ph","priority":20,"timestamp":"2021-04-11T15:18:00.000Z","expired":false,"value":7.6,"trend":"undefined","ok_min":7.2,"ok_max":7.6,"warning_high":8.4,"warning_low":6.6,"gauge_max":10,"gauge_min":5,"issuer":"gateway"},{"name":"orp","priority":30,"timestamp":"2021-04-11T15:18:00.000Z","expired":false,"value":847,"trend":"stable","ok_min":550,"ok_max":650,"warning_high":900,"warning_low":400,"gauge_max":1000,"gauge_min":300,"issuer":"gateway"},{"name":"conductivity","priority":40,"timestamp":"2021-04-11T15:18:00.000Z","expired":false,"value":192,"trend":"increase","ok_min":300,"ok_max":10000,"warning_high":12000,"warning_low":200,"gauge_max":20000,"gauge_min":0,"issuer":"gateway"}]},
[2021-04-11 16:13:46+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/guidance?lang=&mode=interactive_v03, with body: {"guidance":{"swp_global_status":"SP_NOT_OK","chemicalPackId":"riiot_generic","issue_to_fix":{"task_identifier":"ORP_HIGH","current_value":847,"ideal_value":600,"products":[],"pool_volume":39.2,"steps":[{"title":"Remove products","message":"Remove any products (granules, tablets...) that may still be being dissolved. Do not add anymore."},{"title":"Wait","message":"Wait until the ORP level is back to normal."}],"user_action":"Measure","poststeps":[{"title":"Resume usual treatment","message":"Once the ORP level is back to normal, resume usual treatment."}],"chemicalPackId":"riiot_generic","swp_range":{"ok_min":550,"ok_max":650,"warning_high":900,"warning_low":400,"ideal":600},"action_title":"Restore the ORP level","issue_title":"ORP is too high","info":[]},"status":"COMPUTED","buy_process":"none","bottom_links":[],"swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606","lang":"en"},"vpc_sharing":{"sharing_status":"not_shared"}},
[2021-04-11 16:13:46+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/lastMeasurements, with body: {"data":[]},
[2021-04-11 16:13:47+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool/1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606/weather?lang=, with body: {"swimming_pool_id":"1c47f0a1-89ad-4ee9-89c4-f20cc7fbd606","data":{"timestamp":"2021-04-11T16:13:47.000Z","temperature_current":2,"wind_speed_current":4.47,"wind_direction_current":62,"weather_current_icon_code":"10d","weather_current_description":"light rain","weather_current_code":500,"uv_current":0.2,"temperature_min":2,"temperature_max":5,"weather_future_icon_code":"13n","weather_future_timestamp":"2021-04-11T19:00:00.000Z","weather_future_temp":2,"weather_future_timeframe_one_icon_code":"13d","weather_future_timeframe_one_timestamp":"2021-04-11T18:00:00.000Z","weather_future_timeframe_two_icon_code":"13n","weather_future_timeframe_two_timestamp":"2021-04-11T19:00:00.000Z"},"lang":"en"},
[2021-04-11 16:13:47+00:00 WRN] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] There were 9 consecutive updates without new data for 'HiBerry Pool', setting next run to be 04/11/2021 17:34:47, waiting 01:21:00,
[2021-04-11 16:13:47+00:00 INF] [MBW.HassMQTT.HassMqttManager] Pushed 17 discovery documents, 5 values and 13 attribute changes,
LordMike commented 3 years ago

Aha!

last_measure_message_gateway is the field I think I need.

LordMike commented 3 years ago

But - last_measure_message should cover it.. I wonder why it doesn't work... Hmm..

I'll look at this later. Thanks for the logs! :)

olivierjag2 commented 3 years ago

I find issue for me. I forget to add my mtqq user and password

LordMike commented 3 years ago

@dodg3r I think I got it. My code wasn't counting your gateway updates as "automatic updates", which basically controls when I'll expect the next measurement. So the code always saw the last measurement as being in 2020.

I'll have something soon. The debug logs helped! :)

dodg3r commented 3 years ago

Great. Good finding.

Thanks for your work.

LordMike commented 3 years ago

@dodg3r could you try the latest :dev and let me know if it works out?

olivierjag2 commented 3 years ago

how to put dev in hassos?

LordMike commented 3 years ago

I think @dodg3r will test it soon - and if it works, I'll push a versioned image. That's easier to get into HassOS.

I'm still waiting to hear back on the HASS forums on how best to do betas in add-ons.

dodg3r commented 3 years ago

Hi.

It works :) :)

LordMike commented 3 years ago

Woop!

I'll push a versioned image.

0.12.0 is up.

dodg3r commented 3 years ago

Great!!

olivierjag2 commented 3 years ago

i have this error with version 12

[09:54:10 INF] Loading extra config file at /data/options.json [2021-04-13 09:54:10+00:00 INF] [MqttNet.ManagedMqttClient] Started [2021-04-13 09:54:11+00:00 INF] [MqttNet.MqttClient] Connected. [2021-04-13 09:54:11+00:00 INF] [Microsoft.Hosting.Lifetime] Application started. Press Ctrl+C to shut down. [2021-04-13 09:54:11+00:00 INF] [Microsoft.Hosting.Lifetime] Hosting environment: Production [2021-04-13 09:54:11+00:00 INF] [Microsoft.Hosting.Lifetime] Content root path: /app [2021-04-13 09:54:12+00:00 ERR] [MBW.BlueRiiot2MQTT.Service.BlueRiiotMqttService] An error occurred while performing the update System.InvalidCastException: Unable to cast object of type 'System.String' to type 'System.Nullable1[System.DateTime]'. at MBW.Client.BlueRiiotApi.Converters.TimeSpanDatedConverter.ReadJson(JsonReader reader, Type objectType, TimeSpan existingValue, Boolean hasExistingValue, JsonSerializer serializer) at Newtonsoft.Json.JsonConverter1.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader reader, Type objectType) at Newtonsoft.Json.Linq.JToken.ToObject(Type objectType, JsonSerializer jsonSerializer) at Newtonsoft.Json.Linq.JToken.ToObject(Type objectType) at Newtonsoft.Json.Linq.JToken.ToObject[T]() at MBW.Client.BlueRiiotApi.BlueClient.PerformHttp[TRequest,TResponse](String path, HttpMethod method, TRequest requestBody, CancellationToken token) at MBW.Client.BlueRiiotApi.BlueClient.GetSwimmingPools(Boolean deleted, CancellationToken token) at MBW.BlueRiiot2MQTT.Service.BlueRiiotMqttService.PerformUpdate(CancellationToken stoppingToken) in /src/MBW.BlueRiiot2MQTT/Service/BlueRiiotMqttService.cs:line 130 at MBW.BlueRiiot2MQTT.Service.BlueRiiotMqttService.ExecuteAsync(CancellationToken stoppingToken) in /src/MBW.BlueRiiot2MQTT/Service/BlueRiiotMqttService.cs:line 75