reinhard-brandstaedter / solarflow-bt-manager

A tool to connect to Zendure's Solarflow hub to retrieve telemetry data
45 stars 9 forks source link

no mqtt connect after revert to zendure cloud #5

Closed ahimue closed 7 months ago

ahimue commented 7 months ago

Hello, I've used your tool for test purposes. 1st: it works and i got data to a local MQTT-Server. For some rasons I want to go back to the Zendure MQTT. The script says: everything is done, but I get no data over Zendure Cloud now. Seems the device is not connccted there. Bevor tested your script I've been conencted to the german Zendure server (not to global) and everything was fine. Now, if i call the REST API to obtain the client configuration like described on https://github.com/Zendure/developer-device-data-report i get an error response: {"code":400,"success":false,"data":{},"msg":"Please bind the device first"}

I remove solarflow device from teh app and add it again to golabal and to geman server, but every time I got the same error.

Using tcpdum on an OpenWRT Router I can see communication between soalrflow and ec2-18-167-223-5.ap-east-1.compute.amazonaws.com.1883 which is mq.zen-iot.com (from your script). I don't analyze the traffic right now. I only see that there is communication.

Maybe you have any idea? Kind regards Andreas

ahimue commented 7 months ago

O.k. I found my error. Was Pebcac (Problem exists between computer and chair) :-)

I use teh Zendure App with 2 accounts. 1 on my mobile phone, 1 on my iPad. And I used the Device with the wrong account to add the solarflow to the zendure cloud again :-(

Maybee it helps somebody in the future.