voed / esphome_prana_ble

ESPHome component for Prana recuperators
15 stars 3 forks source link

Wifi instead of bluetooth #31

Open Gruffuss opened 22 hours ago

Gruffuss commented 22 hours ago

Do you think you can make this work via wifi instead of bluetooth at some point?

voed commented 19 hours ago

Hi. My recuperator does not have a wifi and i am not planning to buy a new one in near future.

brazoayeye commented 17 hours ago

I read on https://github.com/zauan/hassio-prana (i think) that the wifi connection is encrypted and can't be reversed engeneered. I asked many times to info@prana24.com to develop an integration for esp home or, at least, to open a local web server (or socket server) to handle local requests.

Maybe more people harassing prana service could give us more possibilities

Gruffuss commented 17 hours ago

Then i should start doing that i just got 2 of them installed today, both are WiFi enabled.

voed commented 15 hours ago

Why don't just use bluetooth? Or they are wifi only?

Gruffuss commented 14 hours ago

No, they are not WiFi only and i am going to use bluetooth for now, but frankly... I sadly don't have the available sockets to plug esp32s close to the prana devices

mario-tux commented 2 hours ago

No, they are not WiFi only and i am going to use bluetooth for now, but frankly... I sadly don't have the available sockets to plug esp32s close to the prana devices

I got 3 units with bluetooth+wifi and will disable wifi when all the local setup using the esphome+HA will work fine. I don't see the point in keeping enabled it. I will never update the firmware after such switch: it could just break the bluetooth compatibility.

The plug for the esp32 can stay even at 6-10 meters away from the Prana unit. Don't worry!

brazoayeye commented 1 hour ago

Wifi range is longer than ble one. If they could open something over wifi it's meaningless to develope it using espHome

mario-tux commented 58 minutes ago

I investigated about the wifi implementation. The unit periodically pushes data on a remote MQTT server and pulls command requests. This means that it is cloud based and you need WAN connection to make it work. All these details are unofficial and a potential implementation could break in any moment. I would not spend too much time on the wifi-side if you are interested in a HA integration. IMHO