Logic Machine Forum
222.100 datatype on 6 bytes - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Gateway (https://forum.logicmachine.net/forumdisplay.php?fid=10)
+--- Thread: 222.100 datatype on 6 bytes (/showthread.php?tid=1017)

Pages: 1 2


RE: 222.100 datatype on 6 bytes - Erwin van der Zwart - 02.10.2017

Hi,

You can batch create them by running this script:
Code:
for i = 0, 49, 1 do
  address = grp.create({
      datatype = dt.text,
      address = '32/0/' .. i,
      name = 'Thermostat ' .. (i + 1),
      comment = 'This object is used as a 6 byte object with DPT 222.100',
      units = '',
      tags = {'KNXtoBAC'},
  })
end
script.disable(_SCRIPTNAME)

BR,

Erwin


RE: 222.100 datatype on 6 bytes - domotiqa - 03.10.2017

Is there a way to use http://openrb.com/knxproj/

But don't know what to do with JSON


RE: 222.100 datatype on 6 bytes - admin - 03.10.2017

Use Erwin's solution. JSON can be imported to LM running latest firmware.


RE: 222.100 datatype on 6 bytes - domotiqa - 03.10.2017

ok thank you