Farmbot JS updateMcu

Hallo,

trying to use the Farmbot JS method
farmbot.updateMcu({movement_keep_active_x: 0})

i have the error in js console:
farmbot_single_file.js:299 Uncaught (in promise) Error: Problem sending RPC command: ConfigUpdate failed: "config_update for Arduino Firmware is depricated."

How to solve this?

Thank you very much!

ok, everytime i post here, after 30 minutes i find the solution :grinning::grinning:

i used the method PATCH /api/firmware_config of the api.

hmm the answer is a little short for others…for me it seems like a promise-problem?

to me it seems that configUpdate is deprecated on mqtt and now you have to use the REST API firmware_config to make changes to the bot configs.