.

Average: 0
Rating Count: 0

Development status: Released, Release: 1.0.0
Information status: Updated
Repository: https://gitlab.com/s2innovation-partners/device-services/mqtt
Contact:



Class Description


MQTTAccess is a simple device server which provides MQTT topics data via Sub method and allows to publish via Pub method.

Families: Communication

Key words:

Platform: All Platforms

Language: PythonHL

License: Custom

Contact:

Hardware


Manufacturer: S2Innovation

Class interface


Attributes:

Commands:

Name Description
SubInput: DevVoid
Name of MQTT topic
Output: DevVoid
Empty string if not subscribed yet or last message from topic
PubInput: DevVoid
Array of two elements. First one, name of MQTT topic. Second one, message that will be send
Output: DevVoid
ConnectInput: DevVoid
Output: DevVoid
DisconnectInput: DevVoid
Output: DevVoid

Pipes:

Properties:

Name Description
HostDevString tango host
PortDevLong tango port
MQTTHostDevString
MQTTPortDevLong 1883 standard port. 8883 port with encryption
MQTTKeepaliveDevLong maximum period in seconds allowed between communications with the broker
UserDevString username
PasswordDevString password
CaCertDevString path to ca cert
ClientCertDevString path to client cert
ClientKeyDevString path to client key
TokenDevString auth token


Please log in to comment.

README

b'# MQTTAccess\nMQTTAccess is a simple device server which provides MQTT topics data via Sub method and allows to publish via Pub method.\n### Commands:\n\n Sub(topic)\n * Parameters: \n topic (String) - Topic name e.g. "home/temperature/t1"\n * Returns:\n String - last msg on topic.\n\n\n Pub(args)\n * Parameters:\n args (List of 2 String):\n topic \n message \n\n'

10 Sep 2020,
Updated:
The device class has been updated.
You can see previous version here .



1 Sep 2020,
Created:
The device class has been added to catalogue.
Added by:user67 on:1 Sep 2020, 7:50 a.m.