Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • If the authentication fails or the HW fails to respond to the authentication request then the GBTT server ignores all data on this socket (but does not explicitly close it).

  • Any events/topics published without first authenticating will be responded with an errorevent on the info topic (see INFO). Note no other subscribe or publish is allowed during the authentication handshake or the auth will fail, so it’s important not to send anything else until this is completed.

  • All topic subscriptions (other than authenticate) will be rejected until the auth sequence is completed.

Hardware Registration

Status
titleUpdated 8/15/2023

This occurs whenever the initial connection is made to the MQTT cloud server after authentication, this contains the device capabilities only. To obtain actual property states readable topics can be polled.

...

Code Block
{
  "hardwareId": ##,
  "peripheral": "lamp", 
  "property": "power",
  "order": ##,
  "numProperties": ##,
  "type": "xxxxx",
  "length": 1,
  "settable": true,
  "gettable": true,
  "hidehidden": true,
  "info":"Mouse Over Text"
}

...