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.

Tulikivi sauna heater relay board
#1
Hello

Could somebody help me with Tulikivi relay board for the sauna heater, trying to read sauna temperature with CMD 11, but the result always 0. When I connecting my touch panel, then pannel starts asking for data from the relay board and a log is showing some values. So the connection is established, but the request is wrong.
Code:
require('serial')
port, err = serial.open('/dev/RS485', {
  baudrate = 9600,
  databits = 8,
  stopbits = 1,
  parity = 'none',
  duplex = 'half'
})
port:flush()

port:write(0xB)

data = port:read(2,3)

byte = string.byte(data)

log(string.format("%o, %x, %d", byte,byte,byte))

port:close()

protocol attached

Thank you

Attached Files
.pdf   softa mat.pdf (Size: 91.39 KB / Downloads: 10)
Reply


Messages In This Thread
Tulikivi sauna heater relay board - by MikeBrignate - 10.06.2021, 20:43

Forum Jump: