jhtype

package module
v0.5.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2024 License: MIT Imports: 1 Imported by: 0

README

jhtypes

openhab.go contains types to use with goOpenhab.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generalvars

type Generalvars struct {
	Pers       *cache.Cache
	Telegram   chan string
	Tbtoken    string
	Chatid     int64
	Mqttmsg    chan Mqttparms
	Mqttbroker string
	Resturl    string
	Resttoken  string
	Getin      chan Requestin
	Getout     chan string
	Putin      chan Requestin
}

type Mqttparms added in v0.5.1

type Mqttparms struct {
	Topic   string
	Message string
}

type Msginfo

type Msginfo struct {
	Msgdate     string
	Msgtime     string
	Msgevent    string
	Msgobjtype  string
	Msgobject   string
	Msgoldstat  string
	Msgnewstate string
}

type Msgwarn

type Msgwarn struct {
	Msgdate  string
	Msgtime  string
	Msgevent string
	Msgtext  string
}

type Requestin added in v0.5.2

type Requestin struct {
	Node  string
	Item  string
	Value string
	Data  string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL