LibreSolar / esp32-edge-firmware

Firmware for CAN/UART to WiFi/BLE gateway using ESP32
Apache License 2.0
26 stars 12 forks source link

Esp config #25

Closed Gretel5X closed 3 years ago

Gretel5X commented 3 years ago

Added complete new configuration capabilities. You will have to run idf.py erase_flash to before flashing the device. Important to test:

The PR is large, pay close attention to formatting ;) Until the pipeline can run with espressif framework version 4.3, the CI will fail

Gretel5X commented 3 years ago

I'm getting this after the first start: image

It's also not possible to select the actual device anymore. At the top I can see the list with "self" and "BMS 15S80 IC", but I can't select the BMS.

Any hints what I might be doing wrong?

Run npm run build to build the fresh frontend files prior to flashing the esp

martinjaeger commented 3 years ago

Finally found time to play around with it. Looks really nice!

With the BMS that is currently attached I can't access any device-internal data anymore. Not sure if that's because of the BMS itself. But the data nodes layout is very similar to that of the MPPT, so that should not be the issue. I will try to find out the reason.

image

Publishing received data via MQTT works very well.

Gretel5X commented 3 years ago

Finally found time to play around with it. Looks really nice!

With the BMS that is currently attached I can't access any device-internal data anymore. Not sure if that's because of the BMS itself. But the data nodes layout is very similar to that of the MPPT, so that should not be the issue. I will try to find out the reason.

image

Publishing received data via MQTT works very well.

This has to do with the way the info.json is used and was not introduced with these changes, the same problem is on main already. I would suggest we merge this PR and then fix it