I have a device set up as shown in the two images below. I want this to be used as a way of sending commands to an OpenMQTTGateway. I have configured the device as shown below as well. I thought setting the publish payload topic to
Payload Apparently Sent
Device Settings
{"cmd":"$$STATUS:"}
would send JSON with the Status set when the button is pressed. In the case of device value 2, I expect to send a payload of{"cmd":"status"}
but instead I am seeing the payload as the Label, or{"cmd":"get status"}
Am I expecting the correct payload and have something odd going on? This is a Virtual Device created using jon00's utility to create virtual devices. It is only intended for use to send commands to the gateway. I would like to have the HomeSeer button labeled with "get status" but the published topic needs to have just "status" in the payload JSON. Since I am hoping for one device to be used to send multiple commands, using something from the device's settings is desired.Payload Apparently Sent
Device Settings
Comment