Blue Connect pool measurements

Hi!

Be sure to search for entities that are named the same as your pool. The sensors for temp etc are not named “blue riiot” or anything like that.

I haven’t maintained a changelog - I’ve not gotten to that point in my dev career yet :stuck_out_tongue:

For other questions, do ask on the issue tracker.

Mike.

1 Like

The region is the region that BlueRiiot uses for their service. Just leave it as is.

I already did that, looked for name of pool, blueriiot, bluconnect, etc. I also checked under the Blueriiot2MQTT device, but I only see 3 disabled entities. I’ll open an issue on the github tracker.

For those still using IFTTT method and having more than one blue connect this may be of interest.

I have two blue connects. One for a pool and one for a reef tank aquarium.

You need to specify the ‘pool’ in the Blue Connect IFTTT. There is only one IFTT webhook integration available.

You can still support two devices by passing in the ‘pool’ identifier and using its value to branch the automation actions in HA.

For example in the json of the webhook add:

"pool":"{{SwimmingPoolName}}"

Then use that value to decide which input_numbers to update. For example:

Hi Michael,

since a couple of days I see this in the log:

[2021-05-29 19:31:24+00:00 ERR] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] An error occurred while performing the update for pool eb743aeb-f698-4383-bacb-57b510aa773e
System.Exception: API responded with an error: Cannot read property 'current' of undefined. Path: 'swimming_pool/eb743aeb-f698-4383-bacb-57b510aa773e/weather?lang=en'.
   at MBW.Client.BlueRiiotApi.BlueClient.PerformHttp[TRequest,TResponse](String path, HttpMethod method, TRequest requestBody, CancellationToken token)
   at MBW.Client.BlueRiiotApi.BlueClient.GetSwimmingPoolWeather(String poolId, String lang, CancellationToken token)
   at MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater.PerformUpdate(CancellationToken stoppingToken) in /src/MBW.BlueRiiot2MQTT/Service/PoolUpdater/SingleBlueRiiotPoolUpdater.cs:line 220
   at MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater.Run() in /src/MBW.BlueRiiot2MQTT/Service/PoolUpdater/SingleBlueRiiotPoolUpdater.cs:line 83
[2021-05-29 19:31:24+00:00 INF] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] Delaying till next check on pool 'Piscina', at 05/29/2021 20:31:24, waiting 01:00:21.9999332
[2021-05-29 19:31:24+00:00 INF] [MBW.HassMQTT.HassMqttManager] Pushed 14 discovery documents, 0 values and 3 attribute changes
[2021-05-29 20:31:49+00:00 ERR] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] An error occurred while performing the update for pool eb743aeb-f698-4383-bacb-57b510aa773e
System.Exception: API responded with an error: Cannot read property 'current' of undefined. Path: 'swimming_pool/eb743aeb-f698-4383-bacb-57b510aa773e/weather?lang=en'.
   at MBW.Client.BlueRiiotApi.BlueClient.PerformHttp[TRequest,TResponse](String path, HttpMethod method, TRequest requestBody, CancellationToken token)
   at MBW.Client.BlueRiiotApi.BlueClient.GetSwimmingPoolWeather(String poolId, String lang, CancellationToken token)
   at MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater.PerformUpdate(CancellationToken stoppingToken) in /src/MBW.BlueRiiot2MQTT/Service/PoolUpdater/SingleBlueRiiotPoolUpdater.cs:line 220
   at MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater.Run() in /src/MBW.BlueRiiot2MQTT/Service/PoolUpdater/SingleBlueRiiotPoolUpdater.cs:line 83
[2021-05-29 20:31:49+00:00 INF] [MBW.BlueRiiot2MQTT.Service.PoolUpdater.SingleBlueRiiotPoolUpdater] Delaying till next check on pool 'Piscina', at 05/29/2021 21:31:49, waiting 01:00:25.9999502
[2021-05-29 20:31:49+00:00 INF] [MBW.HassMQTT.HassMqttManager] Pushed 14 discovery documents, 5 values and 10 attribute changes

@LordMike This may have already been answered but I don’t see it doing a quick search of the thread. Does BR2MQTT communicate with the device locally (I’m assuming the WiFi hub is needed?) or does it pull the data from their cloud server?

I’ve been looking at the Atlas WiFi Pool kit but this device seems so much simpler, could work in both the pool and the hot tub, and doesn’t have an annual fee like the pHin system.

Hi @MRobi. No, this is cloud polling unfortunately. I do not know of any successful attempts at communicating with the Blue Riiot over Bluetooth, outside of the official apps.

Check GitHub: GitHub - LordMike/MBW.BlueRiiot2MQTT: Utility to map between Blue Riiots pool API, and Home Assistant MQTT

This is a proxy application to translate the status of a Blue Riiot pool manager, to Home Assistant using MQTT. You can run this application in docker, and it will periodically poll the Blue Riiot API for updates.

3 Likes

Damn, it’s tough spending a grand (I’d need 2) on something they could block at any point.

someone have this working? works fine?

Judge yourself.

2 Likes

great! thanks a lot for the info.
I bought a bluerriot this week and try it this weekend.

one question. you have the blueriiot premium? or obtain the data without this premium service?
thanks

I bought the Blue Connect Plus Salt: Amazon.it
This includes all the premium stuff, unlimited data included, sigfox, etc.

I also recommend buying the extender: https://www.amazon.it/Fluidra-Extender-dispositivo-connessione-Connect/dp/B07DXZ2ZJJ/

I contacted them and they would set this up for me. In the meantime I developed the integration. It’s now a month later and I haven’t received any data yet, so I contacted them again. They didn’t set up the webhook because they don’t offer this service anymore. (Thanks for letting me know Blueriiot :angry:)

Carlos from Blueriiot:

The team of developers is working on the alternative solution to provide an adequate and efficient service. In the meantime, IFTTT is still active. We do not expect to have news on this matter during this year.

I’ve already made the integration, so instead of throwing it in the trash, I’ll modify it to work with IFTTT.
I will make the custom integration available in the coming weeks and make a post here.

Hi @LordMike,
I have your cloud polling/mqtt integration set up and working well - thanks very much for writing it!
I have been tracking the “measurement delay” - the time between the reading being taken, and then showing up in MQTT / HA. On the whole it is less than 2 minute which is great, but occasionally it takes MUCH MUCH longer…


My guess is that the integration has polled just before the reading is taken, and then doesn’t retry again for quite some time?
Is there some change that I could make to have this retry much sooner if there isn’t any updated value?
Thanks
Dan

Do post this in the issue tracker for the project.

Those delays look like a missed update.

how can we setup mqqt configs on Blue Connect?

you don’t configure mqtt on blueconnect. this component pulls data from blueriiot and makes it available through MQTT.

Hi, I’ve bought also the Bluerioot Blue Connect GO with the Wifi Gateway. Installed the MBW.BlueRiiot2MQTT. Everything seems working. I got the sensors inside HA, but it only shows me a old measurement from 12 hours ago…I thought that it will poll regulary the Device and update the sensors?
Is there something that I didn’t get? Sorry for noob question!

This is a interesting question.
I have the blue connect GO and I pay for the suscription. The measurements are regular, 5 or 6 at day (maybe more).

the GO model not have the life time suscription and you must add this suscription and pay for it monthly.

my question is. With the wifi gateway the measurements are automatically? or you must push the button in the app phone to take a measurement?.
if you have the GO model and no pay for the suscription, you must push the button and force the measurement.
maybe the problem is that the wifi gateway have the same problem. you must push the button in the phone app ? :frowning: