The button on the page does not work

Hi.
The button on the page does not work.
The button on the page does not change state. It’s still spinning.
Przechwytywanie

Here are the logs from MQTT.fx
2019-09-24 15:05:02,212 INFO — SubscribeController : onSubscribe
2019-09-24 15:05:02,349 INFO — MqttFX ClientModel : rebuildMessagesList()
2019-09-24 15:05:02,350 INFO — MqttFX ClientModel : attempt to addRecentSubscriptionTopic
2019-09-24 15:05:02,351 INFO — MqttFX ClientModel : addRecentSubscriptionTopic : de.jensd.mqttfx.entities.Topic@1573d13
2019-09-24 15:05:02,352 INFO — MqttFX ClientModel : attempt to add PublishTopic
2019-09-24 15:05:02,379 INFO — MqttFX ClientModel : sucessfully subscribed to topic v1/ca327f20-db7e-11e9-b49d-5f4b6757b1bf/things/d40a7c50-db7e-11e9-ba7c-716e7f5ba423/cmd/1 (QoS 0)
2019-09-24 15:05:11,703 INFO — MqttFX ClientModel : messageArrived() with topic: v1/ca327f20-db7e-11e9-b49d-5f4b6757b1bf/things/d40a7c50-db7e-11e9-ba7c-716e7f5ba423/cmd/1
2019-09-24 15:05:11,708 INFO — MqttFX ClientModel : messageArrived() added: message #1 to topic ‘v1/ca327f20-db7e-11e9-b49d-5f4b6757b1bf/things/d40a7c50-db7e-11e9-ba7c-716e7f5ba423/cmd/1’
2019-09-24 15:05:30,827 INFO — PublishController : publish
2019-09-24 15:05:30,828 INFO — MqttFX ClientModel : attempt to add PublishTopic
2019-09-24 15:05:30,829 INFO — MqttFX ClientModel : sucessfully published message 1 to topic v1/ca327f20-db7e-11e9-b49d-5f4b6757b1bf/things/d40a7c50-db7e-11e9-ba7c-716e7f5ba423/data/1 (QoS 0, Retained: false)
2019-09-24 15:05:58,628 INFO — PublishController : publish
2019-09-24 15:05:58,629 INFO — MqttFX ClientModel : attempt to add PublishTopic
2019-09-24 15:05:58,629 INFO — MqttFX ClientModel : sucessfully published message ok,CxJq4DJozs6IznM to topic v1/ca327f20-db7e-11e9-b49d-5f4b6757b1bf/things/d40a7c50-db7e-11e9-ba7c-716e7f5ba423/data/1 (QoS 0, Retained: false)

Are you publishing back the received data to cayenne?

Yes. I send orders in this order. I send commands manually from MQTT.fx. Maybe I send orders slowly? When should I send “response”?

    v1/ca327f20-db7e-11e9-b49d-5f4b6757b1bf/things/d40a7c50-db7e-11e9-ba7c-716e7f5ba423/cmd/1

    v1/ca327f20-db7e-11e9-b49d-5f4b6757b1bf/things/d40a7c50-db7e-11e9-ba7c-716e7f5ba423/data/1
    1

    v1/ca327f20-db7e-11e9-b49d-5f4b6757b1bf/things/d40a7c50-db7e-11e9-ba7c-716e7f5ba423/response 
    ok,oMnyp9MwELrzsLx

checking into this issue, i was able to reproduce it at my end. will update it once fixed.

Is your button working properly?

it is not working at my end.

I understand. I will be waiting for information.

1 Like

When will there be a fix?

will take some time for this fix. will inform you when it is done.

Hello. Is there already a fix for the error described?

Hi,

Late addition to this topic but it might be useful to someone. I’ve found a clunky workaround for this on the app on Android.

If I “swipe up” to kill the app and then launch the app again the button works while the app has focus. It will turn on and off as many times as required while the app has focus.

Obviously a fix for the bug would be preferred.

Cheers,

Paul

1 Like

thanks for the workaround.
The issue with publishing response is only with MQTT.fx