I would like to Publish (refresh) all devices status to controller with an event or command.
As far as I know the simplest way is to create an event in a rule and publish any single device value (i.e)
Code: Select all
on sendDeviceUpdate do
Publish /%sysname%/Device1/Name,[Device1#Name]
Publish /%sysname%/Device2/Name,[Device2#Name]
Publish /%sysname%/Device3/Name,[Device3#Name]
...and so on
endon
Is it possible? Any idea?
Regards
Lorenzo