This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

222.100 datatype on 6 bytes
#2
Maybe I can use something like this with dstraw:

Code:
require('genohm-scada.eibdgm')

local dpt = datatypes[ event.dstraw ]
if dpt then
     local value = knxdatatype.decode(event.datahex, dpt)
end

then put decoded 6 byte value to 3 different 2 bytes value (in new varaible) and to check export for bacnet.
However, how can I do from bacnet, then reencode to 6 bytes....
-----------
FRANCE SMARTHOME & SMARTBUILDING INTEGRATION
SE ECO EXPERT
Reply


Messages In This Thread
222.100 datatype on 6 bytes - by domotiqa - 27.09.2017, 10:15
RE: 222.100 datatype on 6 bytes - by domotiqa - 27.09.2017, 13:32
RE: 222.100 datatype on 6 bytes - by domotiqa - 28.09.2017, 10:36
RE: 222.100 datatype on 6 bytes - by domotiqa - 28.09.2017, 11:20
RE: 222.100 datatype on 6 bytes - by domotiqa - 28.09.2017, 18:09
RE: 222.100 datatype on 6 bytes - by admin - 28.09.2017, 18:12
RE: 222.100 datatype on 6 bytes - by domotiqa - 29.09.2017, 04:47
RE: 222.100 datatype on 6 bytes - by admin - 29.09.2017, 06:48
RE: 222.100 datatype on 6 bytes - by domotiqa - 29.09.2017, 14:32
RE: 222.100 datatype on 6 bytes - by admin - 29.09.2017, 16:46
RE: 222.100 datatype on 6 bytes - by domotiqa - 29.09.2017, 17:04
RE: 222.100 datatype on 6 bytes - by admin - 29.09.2017, 17:34
RE: 222.100 datatype on 6 bytes - by domotiqa - 29.09.2017, 17:39
RE: 222.100 datatype on 6 bytes - by domotiqa - 02.10.2017, 07:10
RE: 222.100 datatype on 6 bytes - by domotiqa - 02.10.2017, 13:46
RE: 222.100 datatype on 6 bytes - by domotiqa - 03.10.2017, 09:24
RE: 222.100 datatype on 6 bytes - by admin - 03.10.2017, 10:29
RE: 222.100 datatype on 6 bytes - by domotiqa - 03.10.2017, 12:22

Forum Jump: