Appearance
Home > resol-vbus-core-toolbox-scripts > mqttPublisher > MqttPublisher
mqttPublisher.MqttPublisher class
Publishes VBus values using MQTT.
Signature:
typescript
export declare class MqttPublisher
Constructors
Constructor | Modifiers | Description |
---|---|---|
Create a new MQTT publisher. |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
mqtt.MqttClient | undefined | The MQTT client connection. | ||
The shared set of packets. | |||
number | The interval in milliseconds in which VBus values should be published. | ||
mqtt.IClientOptions | undefined | The options to pass to the | ||
string[] | null | Optional list of VBus packet field IDs to consider publishing. | ||
Map<string, bigint | null> | The map of VBus packet field IDs to their last known value. | ||
Specification | undefined | The VBus specification to use. | ||
utils.StartGate | The | ||
TimestampInterval | undefined | The | ||
string | The URL of the MQTT broker. | ||
boolean | Whether only changes VBus values should be published. | ||
string | The MQTT topic pattern, using |
Methods
Method | Modifiers | Description |
---|---|---|
Handle a tick from the | ||
Start the MQTT publisher. |