Skip to content

Bot Doc

mschmit edited this page Oct 26, 2022 · 3 revisions

Topics

Vacuum bot subscribe to

iot/p2p/+/+/+/+/${bot_id}/${bot_class}/${bot_resource}/q/+/+

to listen request

iot/cfg/${bot_id}/${bot_class}/${bot_resource}/+/+

for config, to receive a setting object ({"setting2":{"cfg":{"video":{"version":"35.02","isAccept":true},"improve":{"version":"56.04","isAccept":true}}}})

iot/dtcfg/${bot_id}/${bot_class}/${bot_resource}/+/+

for deebotconfig, never received a message on it so far.

iot/dtgcfg/${bot_id}/${bot_class}/${bot_resource}/+/+

for deebot(general?)config, to receive a Base64 encoded Lua script who define some ALC function, and the same setting2 object than on cfg.

Vacuum bot will send messages to

iot/p2p/${command}/${bot_id}/${bot_class}/${bot_resource}/${requester_name}/${env /*'ecosys'*/)/${4_char_id} /*'1234'*//p /*for resPonse*//${request_id}/${j /* for Json */}

to answer to requests.

iot/atr/${command}/${bot_id}/${bot_class}/${bot_resource}/${request_id}/${j /* for Json */}

to send status update.

Messages

commands and responses

TODO

status messages

TODO

Events

Error Events