Project

General

Profile

Actions

Mqtt

Controleur Mqtt

Controller Subscribe:


%sysname%/+/+/set

Controller Publish:


%sysname%/%tskname%/%valname%

Controller LWT Topic:


%sysname%/$state

publication directement par le device

Dans le device cocher la case Send to Controller

publication par les règles en json


On System#Boot do    
 Publish fb/%sysname%/IP,%ip%
  timerSet,1,60      
endon

On Rules#Timer=1 do  
 Publish fb/%sysname%/json,'{"rssi":%rssi%,"temp65CF":[temp65CF#Temperature]}'
  timerSet,1,60       
endon

Updated by Frédéric Blanc almost 5 years ago · 7 revisions