raphaelthurnherr / algobot_onionOmega

1 stars 0 forks source link

Manage Stream from Command #13

Closed YannCaron closed 6 years ago

YannCaron commented 6 years ago

Par défaut les Stream doivent être arrêtés. Une commande doit permettre de les activer et de donnée la frequence (en milliseconds)

raphaelthurnherr commented 6 years ago

Function available

{
   "MsgID":0,
   "MsgTo":"algo_98f8",
   "MsgFrom":"MQTTFX",
   "MsgData":{
      "MsgType":"command",
      "MsgParam":"config",
      "MsgValue":[
         {
            "stream":{
               "state":"off",
               "time":2500,
               "onEvent":"off"
            }
         }
      ]
   }
}

For more information, please see: http://algobot.electool.ch/doku.php?id=communication:mqttmessage#configuration_du_system