add missing api endpionts and examples

- add apis missing that were causing errors
- add bot / wifi config should work now on ecovacshome app
This commit is contained in:
Brian Martin 2020-01-05 09:29:53 -05:00
parent e4141e0a5c
commit f23c9bf4fe
7 changed files with 2886 additions and 4 deletions

View file

@ -69,6 +69,11 @@ class portal_api_iot(plugins.ConfServerApp):
body = {"ret": "ok", "unRead": False}
return web.json_response(body)
if json_body["td"] == "PreWifiConfig": # EcoVacs Home
body = {"ret":"ok"}
return web.json_response(body)
except Exception as e:
logging.exception("{}".format(e))