(FHEM) 00 MQTT2 CLIENT.pm
MQTT2_CLIENT ist eine Reinraumimplementierung eines MQTT-Clients (der eine Verbindung zu einem externen Server wie mosquitto herstellt) ohne Perl-Bibliotheken. Es dient als IODev für MQTT2_DEVICES..
Define
define <name> MQTT2_CLIENT <host>:<port>
Set
publish -r topic value password <password> value connect disconnect
Get
Readings
Attributes
autocreate [no|simple|complex] binaryTopicRegexp <regular-expression> clientId <name> clientOrder [MQTT2_DEVICE] [MQTT_GENERIC_BRIDGE] connectTimeout <seconds> disable disabledForIntervals disconnectAfter <seconds> keepaliveTimeout <seconds;> lwtRetain mqttVersion 3.1,3.1.1 msgAfterConnect [-r] topic message msgBeforeDisconnect [-r] topic message qosMaxQueueLength <number> rawEvents <topic-regexp> subscriptions <subscriptions> SSL sslargs username <username>