tolwi / hassio-ecoflow-cloud

EcoFlow Cloud Integration for Home Assistant
341 stars 56 forks source link

Local MQTT server #261

Open bswan opened 1 month ago

bswan commented 1 month ago

Hey, I know it is not strictly this addon related topic, but I think it is best place to ask.

I am relatively new to MQTT but I think I get general idea of it. So I am trying to make my Ecoflow devices to talk to local EMQX MQTT server and redirecting mqqt-e.ecoflow.com seem to do the trick - ecoflow devices connect to my instance on MQTT and publishing and subscribing to topics. But then they sit silently. Not sending any messages to topics they published. So I wonder, is there something Ecoflow MQTT server sends to battery units to make them respond with messages and is there a way to findout what and replicate it?

foxthefox commented 1 month ago

Usually there are telegrams which are sent by the APP after opening. These are request for "latestQuotas" and the devices answers usually mostly by a complete status update followed by the cyclic telegrams. The app or the integration should already now that and theintercepting MQTT should forward it accordingly.

But how did you manage to setup the intercepting MQTT server using self signed certificates? Usually the clients are not accepting it.