reinhard-brandstaedter / solarflow-statuspage

A simple statuspage with live-data from Zendure's Solarflow Hub for those who do not want to use the App
24 stars 6 forks source link

Mqtt/REST commands feature #25

Open tobit6795 opened 1 year ago

tobit6795 commented 1 year ago

Would be awesome if the statuspage could also listen for a specific topic on a local broker so we can add properties like output limit , switches etc. in Homeassistant as entities. Alternatively REST would work, too.

reinhard-brandstaedter commented 1 year ago

I'm already working on a HA integration via auto-configuration. The configuration via inputs on a solarflow device is one part of that integration.

reinhard-brandstaedter commented 1 year ago

Btw. @tobit6795 you can already today publish to the topic iot/73bkTV/<your device id>/properties/write and the statuspage will forward it to to the Zendure MQTT to set properties of the hub. e.g. to set the outputLimit to 600W you can publish this payload:

{"properties": { "outputLimit": 600 }}
tobit6795 commented 1 year ago

works perfectly, thank you!

z-master42 commented 1 year ago

Is there an overview of what telemetry data is published through the broker?

Does Zendure only use this one hardcoded user with the one password to connect the hub to the Zendure server?

And the topic always starts with iot/73bkTV?

reinhard-brandstaedter commented 11 months ago

No, every hub uses it’s own userid (device id) and password. The topic always starts with iot/73bkTV (that is the Productcatregory id)

thhoppst commented 4 months ago

Is the value "output limit" save to the EEPROM or is this a temp. value? I want to use this for zero feed-in.

z-master42 commented 4 months ago

It is the same as if you set the limit in the app.

reinhard-brandstaedter commented 4 months ago

Is the value "output limit" save to the EEPROM or is this a temp. value? I want to use this for zero feed-in.

@thhoppst you are probably more interested in solarflow-control then…