Linux Based Wago Controllers offer an REST:API to read/write different settings of WBM. you'll find the API description on your contoller at: http://your IP/openapi/wda.openapi.html#section/REST-API-Overview
in this Repo you'll also find two examples to interact with the API via NodeRed and Python.