Multiscrape - please help with scraping Bayrol site

hi there,
worked on the bayrol this weekend.
you will find something interesting here
https://github.com/harb70/bayrolas5-nodered
An Excel file, with all the codes i’ve found.
The first digit of a message is related to the type of objects for the application to read
4.XX is a number (for the metrics you need)
5.XX is an enum (for status etc)
6.XX is a string (not already in the excel file, will be soon, you will find IP of the bayrol, etc)
7.XX is related to embedded code in the bayrol, not useful for us
10.XX are mesages on the UI
11.XX are conditions, not actually sure of usage
13.XX are GUI functions
14.XX events (i’m sure it will be useful:) )

Reminder : when you need a value, send a message in the “g” topic d02/ASEXX-XXXX/g/4.78" will ask to send the actual value of pH
no need to send message to /v/ topics it’s only to receive data.
I’m working to use /s/ messages to turn on/off ph regulation for exemple, with no luck for now, but i’m sure i will find the solution (i’m pretty close)
stay tuned

1 Like

thanks for this!
i tried to configure an MQTT bridge, but Mosquitto does not support Websockets as a bridge connection so i also took the route of the nodeRed integration.

edit - its working as expected! thanks @harb70

I’m wondering if it’s possible to use NanoMQ to read the websockets data:
https://nanomq.io/docs/en/latest/config-description/listener.html#mqtt-secure-websocket-listener-8084
Has anyone played around with this?

Hi, @harb70 and @Duntch144
any News with /s/ topics to set?

Hi,
I tried to connect to my Bayrol Automatic pH/Cl via MQTT Explorer, but I can’t get it to work. I extracted the user name via the dev tools in my browser. I get a user name which looks like this “user_*******” with digits and letters. However, when I try to connect via MQTT Explorer, I only get a “Connection refused: Not authorized” message. Does anyone know what the problem could be?

Thanks!

Hi,

I have developed an integration for Bayrol receiving the real-time data directly through their MQTT interface.

So far I have tested it with BAYROL Automatic Salt 5 but happy to integrate other models as well.

I submitted this integration for HACS pending approval. But you could install it as custom repository in the meantime.

Please let me know if you have any questions.

Dirk

The integration is now part of HACS which makes it much easier to install.

Pool Manager 5 (PM5) and Automatic Cl-pH are also supported.

1 Like