ESPHome hardware double bluetooth connections capabilities

Hi,

I need to keep alive 2x Bluetooth connections in order to manage:

  • a pump (speed management)
  • a lamp (color selection and power management)

Ideally:
deploying a single device for this double purpose
that would be powered on ethernet (PoE)

Would you recommand some hardware please? or guidance?

Thanks in advance,

Doesn’t ESP-Home have 3 active connections by default.
Do you have any code that is currently working with one or the other?

There are plenty of esp32 POE boards around, that could fit here. Prefer one with PSRAM.

1 Like

I don’t know. That’s why I asked. So that I won’t make a wrong buy.
Currently, I’ve got no hardware to test expected open source code available on github.

You can search this thread for PoE.

I take it we’re talking BLE here?

Before rushing to buy hardware, make a quick search for bluetooth protocol of your devices. If you need to reverse engineer them without previous experience of BLE, the task might offer you fun for some time…

1 Like

Got one already for the lamp.

Regarding the pump, DAVEY SilensorPro, I didn’t find yet.
Are there some hints / repositories (github?)

Not that i can quikly find…
Nrf Connect app is likely giving you point to start.

1 Like

If your pump has another port for interfacing like a rj45 that would probably be way easier than dealing with Bluetooth. Noting higher voltage control logic would need handling.

https://cdn.intelligencebank.com/au/share/BnKJ1e/JnpjZ/ovJly/original/SilensorPro_BT_IM

1 Like

With bluetooth I though about capturing an replaying data flow, software oriented/tool oriented. With physical voltage handling, even digital, it’s more hardware!

Depends a bit on your Bluetooth/programming experience a bit I reckon.

I have little and the times I looked into Bluetooth reverse engineering it was very involved and like a whole skill-set. Especially as it looks like there is a pairing process and so possibly encryption.

It’s also not clear to me if it’s BLE or traditional Bluetooth. Only the former is possible with an esp32.

Worth looking at but keep an eye on alternatives. I don’t think the extra hardware would be worth that much.

1 Like

On esphome…

With that comment I was thinking that esp8266 don’t have bluetooth at all and esp32 just BLE if I recall correctly?

Or were you hinting at something else there?

Normal Esp32 aka wroom32 is totally capable for classic bluetooth.
Esphome has only native BLE though.

1 Like

Vendor feedback: they aren’t aware of any initiative to connect the pump using bluetooth except the official mobile apps, and also suggest to use RJ45 port…

Take this as a grain of salt as I am a protocol and reverse engineering rookie and speculating, but it could be that the pump uses rs485 modbus for onboard communication (two way half duplex?).

The onboard Bluetooth module might convert to this when a bluetooth command is sent/received. The same protocol might be available on the rj45 rs485 wires.

I’ve never used modbus so wouldn’t know how to confirm.

It would be interesting to see the mainboard and where the Bluetooth module is. You might be able to intecept something.

If it uses modbus, it’s pretty straightforward. It would be weird if they give wiring scheme but not communication parameters…

From a skim, they only describe controlling pump speed via the analogue and digital inputs.

There is no information on what is available over the RS485 comms, where other data or controls (e.g. errors, schedules, priming speed) may exist.

My assumption is that features exposed in the app are likely also available on this port.

It wouldn’t ask too much effort to try with modbus approach. With RS485-USB converter and freeware modbus scanner it would be job of minutes…

1 Like