Documentation
¶
Overview ¶
Package valloxrs485 implements Vallox RS485 protocol
Index ¶
Constants ¶
View Source
const ( DeviceMulticast = 0x10 DeviceMain = 0x11 RemoteClientMulticast = 0x20 )
View Source
const ( // Reading and writing fan speed FanSpeed byte = 0x29 // Registers Vallox is broadcasting temperatures TempIncomingOutside byte = 0x58 TempOutgoingInside byte = 0x5a TempIncomingInside byte = 0x5b TempOutgoingOutside byte = 0x5c // Registers for newer protocol TempIncomingOutsideNew byte = 0x32 TempOutgoingInsideNew byte = 0x34 TempIncomingInsideNew byte = 0x35 TempOutgoingOutsideNew byte = 0x33 RhHighest byte = 0x2a Co2HighestHighByte byte = 0x2b Co2HighestLowByte byte = 0x2c Rh1 byte = 0x2f Rh2 byte = 0x30 )
Some known registers
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// Device file for rs485 device
Device string
// RemoteClientId is the id for this device in Vallox rs485 bus
RemoteClientId byte
// Enable writing to Vallox regisers, default false
EnableWrite bool
// Logge for debug, default no logging
LogDebug *log.Logger
}
Config foo
Click to show internal directories.
Click to hide internal directories.