MQTT support

Dima shared this question 19 months ago
Need Answer

Hi all

Help is needed

I connected my Zipatile to Mqtt

Here are my settings

{

"link": "networks/XXXXXXX-0b51-437e-9db0-76a198a5080c",

"actions": [],

"config": { "className": "com.zipato.network.mqtt.MqttNetwork",

"password": "XXXXXXX",

"clientId": "Zipatile",

"qos": 2,

"topicPrefix": null,

"name": "MQTT",

"broker": "tcp://.XXXXXX:11883",

"uuid": "fb77beae-0b51-437e-9db0-XXXXXXXXXX",

"topicBase": null,

"username": "XXXXXXX",

"tags": null,

"order": null },

"devices": [],

"icon": null,

"showIcon": null,

"templateId": null,

"userIcon": null,

"uuid": "fb77beae-XXXXXXXXX-76a198a5080c" }

All connected and displayed to the MQTT server



/Zipatile/attributes/5600f166-4ca4-45f8-bf7d-XXXXXXXXXX/value
{"timestamp":"2023-04-14T18:22:51Z","value":false}
What commands should I give
To turn on, off and to take value ?

I have already tried all the options

Does not work


Replies (4)

photo
1

Appreciative for sharing such mind blowing information.

photo
1

Based on the information provided, it seems that you are trying to control and retrieve values from your Zipatile device connected to an MQTT server. Here are some commands you can try:

To turn on:
Publish the following command to the MQTT topic:
Topic: /Zipatile/commands/5600f166-4ca4-45f8-bf7d-XXXXXXXXXX/set
Payload: {"value": true}

To turn off:
Publish the following command to the MQTT topic:
Topic: /Zipatile/commands/5600f166-4ca4-45f8-bf7d-XXXXXXXXXX/set
Payload: {"value": false}

To retrieve the value:
Subscribe to the MQTT topic:
Topic: /Zipatile/attributes/5600f166-4ca4-45f8-bf7d-XXXXXXXXXX/value

Make sure you replace the "XXXXXXXXXX" with the appropriate values for your setup. Additionally, ensure that your MQTT server is properly configured and accessible.

If these commands do not work, there might be an issue with the configuration or compatibility between your Zipatile device and the MQTT server. In that case, you may need to consult the documentation or support resources provided by Zipato or the MQTT server for further assistance. PaybyPlateMa

photo
1

It seems like you're trying to control your Zipatile device via MQTT but facing issues with commands. To control it via MQTT, ensure your topic structure and commands align with the device's capabilities.

For instance, turning it on might involve sending a specific payload to the designated topic:

vbnetCopy code

Topic: /Zipatile/commands/5600f166-4ca4-45f8-bf7d-XXXXXXXXXX Payload to turn on: {"command":"turn_on"}

Likewise, turning it off:

vbnetCopy code

Topic: /Zipatile/commands/5600f166-4ca4-45f8-bf7d-XXXXXXXXXX Payload to turn off: {"command":"turn_off"}

Fetching the current value might involve subscribing to a specific topic:

bashCopy code

Topic to subscribe for value: /Zipatile/attributes/5600f166-4ca4-45f8-bf7d-XXXXXXXXXX/value

Ensure the topics, payloads, and formatting align precisely with the Zipatile's MQTT capabilities. Double-check the device's documentation for any specific requirements or nuances in MQTT command structures. paybyplatema

photo
1

It seems like you're trying to control your Zipatile device via MQTT but facing issues with commands. To control it via MQTT, ensure your topic structure and commands align with the device's capabilities.

For instance, turning it on might involve sending a specific payload to the designated topic:

vbnetCopy code

Topic: /Zipatile/commands/5600f166-4ca4-45f8-bf7d-XXXXXXXXXX Payload to turn on: {"command":"turn_on"}

Likewise, turning it off:

vbnetCopy code

Topic: /Zipatile/commands/5600f166-4ca4-45f8-bf7d-XXXXXXXXXX Payload to turn off: {"command":"turn_off"}

Fetching the current value might involve subscribing to a specific topic:

bashCopy code

Topic to subscribe for value: /Zipatile/attributes/5600f166-4ca4-45f8-bf7d-XXXXXXXXXX/value

Ensure the topics, payloads, and formatting align precisely with the Zipatile's MQTT capabilities. Double-check the device's documentation for any specific requirements or nuances in MQTT command structures. ninjavantracking

Replies have been locked on this page!