Tinkerforge / esp32-firmware

Firmwares for ESP32 Brick and ESP32 Ethernet Brick (including firmwares for WARP/WARP2 Charger, WARP Energy Manager)
https://www.tinkerforge.com/en/doc/Hardware/Bricks/ESP32_Ethernet_Brick.html
22 stars 20 forks source link

API: remove raw commands. #339

Open rtrbt opened 2 months ago

rtrbt commented 2 months ago

There is only raw command in all firmwares: users/modify. We use a raw command there to be able to see which JSON entries were set to null and only modify the other entries of a user configuration. Change this to a command and initialize the config with obvious fake values. Write those fake values back at the end of the command callback.