#include <InputMQTT.h>
◆ c_InputMQTT()
◆ ~c_InputMQTT()
c_InputMQTT::~c_InputMQTT |
( |
| ) |
|
|
virtual |
◆ Begin()
void c_InputMQTT::Begin |
( |
| ) |
|
|
virtual |
set up the operating environment based on the current config (or defaults)
Implements c_InputCommon.
◆ connectToMqtt()
void c_InputMQTT::connectToMqtt |
( |
| ) |
|
|
private |
◆ disconnectFromMqtt()
void c_InputMQTT::disconnectFromMqtt |
( |
| ) |
|
|
private |
◆ GetConfig()
void c_InputMQTT::GetConfig |
( |
JsonObject & | jsonConfig | ) |
|
Get the current config used by the driver.
◆ GetDriverName()
void c_InputMQTT::GetDriverName |
( |
String & | sDriverName | ) |
|
|
inlinevirtual |
get the name for the instantiated driver
Implements c_InputCommon.
◆ GetEffectList()
void c_InputMQTT::GetEffectList |
( |
JsonObject & | JsonConfig | ) |
|
|
private |
◆ GetEngineConfig()
void c_InputMQTT::GetEngineConfig |
( |
JsonObject & | JsonConfig | ) |
|
|
private |
◆ GetStatus()
void c_InputMQTT::GetStatus |
( |
JsonObject & | jsonStatus | ) |
|
|
virtual |
◆ load()
void c_InputMQTT::load |
( |
| ) |
|
|
private |
Load configuration from File System.
◆ NetworkStateChanged() [1/2]
void c_InputMQTT::NetworkStateChanged |
( |
bool | IsConnected | ) |
|
|
virtual |
◆ NetworkStateChanged() [2/2]
void c_InputMQTT::NetworkStateChanged |
( |
bool | IsConnected, |
|
|
bool | RebootAllowed ) |
|
private |
◆ onMqttConnect()
void c_InputMQTT::onMqttConnect |
( |
bool | sessionPresent | ) |
|
|
private |
◆ onMqttDisconnect()
void c_InputMQTT::onMqttDisconnect |
( |
AsyncMqttClientDisconnectReason | reason | ) |
|
|
private |
◆ onMqttMessage()
void c_InputMQTT::onMqttMessage |
( |
char * | topic, |
|
|
char * | payload, |
|
|
AsyncMqttClientMessageProperties | properties, |
|
|
uint32_t | len, |
|
|
uint32_t | index, |
|
|
uint32_t | total ) |
|
private |
◆ onNetworkConnect()
void c_InputMQTT::onNetworkConnect |
( |
| ) |
|
|
private |
Call from onWifiConnect()
◆ onNetworkDisconnect()
void c_InputMQTT::onNetworkDisconnect |
( |
| ) |
|
|
private |
Call from onWiFiDisconnect()
◆ PlayEffect()
void c_InputMQTT::PlayEffect |
( |
JsonObject & | JsonConfig | ) |
|
|
private |
◆ PlayFseq()
void c_InputMQTT::PlayFseq |
( |
JsonObject & | JsonConfig | ) |
|
|
private |
◆ Process()
void c_InputMQTT::Process |
( |
| ) |
|
|
virtual |
◆ publishHA()
void c_InputMQTT::publishHA |
( |
| ) |
|
|
private |
◆ publishState()
void c_InputMQTT::publishState |
( |
| ) |
|
|
private |
◆ save()
void c_InputMQTT::save |
( |
| ) |
|
|
private |
Save configuration to File System.
◆ SetBufferInfo()
void c_InputMQTT::SetBufferInfo |
( |
uint32_t | BufferSize | ) |
|
|
virtual |
◆ SetConfig()
bool c_InputMQTT::SetConfig |
( |
JsonObject & | jsonConfig | ) |
|
Set a new config in the driver.
◆ setup()
void c_InputMQTT::setup |
( |
| ) |
|
|
private |
◆ StopPlayFileEngine()
void c_InputMQTT::StopPlayFileEngine |
( |
| ) |
|
|
private |
◆ UpdateEffectConfiguration()
void c_InputMQTT::UpdateEffectConfiguration |
( |
JsonObject & | JsonConfig | ) |
|
|
private |
◆ validate()
void c_InputMQTT::validate |
( |
| ) |
|
|
private |
◆ validateConfiguration()
void c_InputMQTT::validateConfiguration |
( |
| ) |
|
|
private |
◆ CleanSessionRequired
bool c_InputMQTT::CleanSessionRequired = false |
|
private |
◆ effectConfig
◆ hadisco
bool c_InputMQTT::hadisco = true |
|
private |
◆ haprefix
String c_InputMQTT::haprefix = "homeassistant" |
|
private |
◆ ip
◆ LWT_OFFLINE
const char* c_InputMQTT::LWT_OFFLINE = "offline" |
|
private |
◆ LWT_ONLINE
const char* c_InputMQTT::LWT_ONLINE = "online" |
|
private |
◆ lwtTopic
String c_InputMQTT::lwtTopic |
|
private |
◆ mqtt
AsyncMqttClient c_InputMQTT::mqtt |
|
private |
◆ mqttTicker
Ticker c_InputMQTT::mqttTicker |
|
private |
◆ OFF
const char* c_InputMQTT::OFF = "OFF" |
|
private |
◆ ON
const char* c_InputMQTT::ON = "ON" |
|
private |
◆ password
String c_InputMQTT::password |
|
private |
◆ pEffectsEngine
◆ port
◆ pPlayFileEngine
◆ stateOn
bool c_InputMQTT::stateOn = false |
|
private |
◆ topic
String c_InputMQTT::topic |
|
private |
◆ user
The documentation for this class was generated from the following files: