27.01.2021, 13:05
Hi.
Is it anyone who knows how to read from RS232 and send forward to a KNX group adress.
i will receive 4 different values that should call for a scene on the KNX side....
0/r, 1/r, 2/r and 3/r, i have seen some script examples but how do i make it send to the KNX group adress
require('serial')
port = serial.open('/dev/RS232', {
baudrate = 38400,
databits = 8,
stopbits = 1,
parity = 'none',
duplex = 'full'
})
This must be to open the port, but the rest i don`t know how, i think it must be some "port:read" and "write to"
Best regards
Is it anyone who knows how to read from RS232 and send forward to a KNX group adress.
i will receive 4 different values that should call for a scene on the KNX side....
0/r, 1/r, 2/r and 3/r, i have seen some script examples but how do i make it send to the KNX group adress
require('serial')
port = serial.open('/dev/RS232', {
baudrate = 38400,
databits = 8,
stopbits = 1,
parity = 'none',
duplex = 'full'
})
This must be to open the port, but the rest i don`t know how, i think it must be some "port:read" and "write to"
Best regards