Documentation ¶
Index ¶
- type Message
- type Nibe
- func (n *Nibe) Connect(p string)
- func (n *Nibe) Describe(reg uint16) (*Parameter, error)
- func (n *Nibe) LoadDefinitions(statikFS http.FileSystem, filename string) error
- func (n *Nibe) OnUpdate(cb func(reg uint16, value int16))
- func (n *Nibe) Read(reg uint16) (uint16, error)
- func (n *Nibe) Stop()
- func (n *Nibe) Worker()
- func (n *Nibe) Write(reg uint16, value int16) (uint16, error)
- type Parameter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Nibe ¶
func (*Nibe) LoadDefinitions ¶
func (n *Nibe) LoadDefinitions(statikFS http.FileSystem, filename string) error
type Parameter ¶
type Parameter struct { Register string `json:"register"` Factor int `json:"factor"` Size string `json:"size"` Mode string `json:"mode"` Title string `json:"titel"` Info string `json:"info"` Unit string `json:"unit"` Min string `json:"min"` Max string `json:"max"` Map map[string]string `json:"map"` }
Click to show internal directories.
Click to hide internal directories.