cant publish with mqtt to zipabox
Hi,
I have created a virtual switch which i want to control using mqtt.
If i subscribe to its topic i receive the change of states (true/false) so its working as it should.
but when i try to publish to the device nothing happens.
im using bevywise mqttroute as broker and i can see that the broker sends the message to the zipabox in the webui.
according to mqttroute my zipabox is subscribing to /boxserial/request/#
i have tried the following syntax.
/boxserial/request/attributes/uuid/textValue -> true
/boxserial/request/attributes/uuid/value-> {"value":true}
request/attributes/uuid/value-> {"value":true}
request/attributes/uuid/textValue -> true
also tried to replace true and false with 1 and 0
im using mqtt.fx when im subscribing and try to publish. i can publish to all my other topics except the for the zipabox.
// Thanks
Very easy.
Install MQTT
For a switch (receive status and set value):
- platform: mqtt
name: 'room 1'
state_topic: "/**zipabox ID **/attributes/** switch UUID**/value"
command_topic: "/**zipabox ID **/request/attributes/** switch UUID**/value"
value_template: "{{ value_json.value }}"
payload_on: '{"value":true}'
payload_off: '{"value":false}'
state_on: true
state_off: false
Sensor:
- platform: mqtt
name: "Temp Freezer"
state_topic: "/**zipabox ID **/attributes/** sensor UUID**/value"
unit_of_measurement: '°'
value_template: "{{ value_json.value }}"
hope that help.
A.
Very easy.
Install MQTT
For a switch (receive status and set value):
- platform: mqtt
name: 'room 1'
state_topic: "/**zipabox ID **/attributes/** switch UUID**/value"
command_topic: "/**zipabox ID **/request/attributes/** switch UUID**/value"
value_template: "{{ value_json.value }}"
payload_on: '{"value":true}'
payload_off: '{"value":false}'
state_on: true
state_off: false
Sensor:
- platform: mqtt
name: "Temp Freezer"
state_topic: "/**zipabox ID **/attributes/** sensor UUID**/value"
unit_of_measurement: '°'
value_template: "{{ value_json.value }}"
hope that help.
A.
Hi,
I have the same issue, for example when i use cloudMQTT. On change status of virtual, i see on the console:
/zipato/attributes/XXXXX/value{"value":true,"timestamp":"2018-02-26T13:06:34Z"}
But if i tried to publish with this syntax:
request/attributes/0ded8ce4-XXXX2b5b473f/Valuetrue (or json ssyntax)
Nothing appened......
I do not help but it shows that there is little concern
Hi,
I have the same issue, for example when i use cloudMQTT. On change status of virtual, i see on the console:
/zipato/attributes/XXXXX/value{"value":true,"timestamp":"2018-02-26T13:06:34Z"}
But if i tried to publish with this syntax:
request/attributes/0ded8ce4-XXXX2b5b473f/Valuetrue (or json ssyntax)
Nothing appened......
I do not help but it shows that there is little concern
I have the exact same issue, I've been trying 1.3.13 beta firmware today with no success.It used to work in firmware 1.2.29 released one hear ago (......), where you could publish to topics such as request/attributes/uuid/value to have the value updated. In versions after that sadly it's been broken.
In versions after 1.2.29 it seems that they have added the topicBase and topicPrefix to the request topic as it subscribes to the pattern topicBase/topicPrefix/request/# (which I think is more correct). However, just like you I've tried to publish all sorts of topic combinations with no success, but I know for a fact that it used to work before.
I have the exact same issue, I've been trying 1.3.13 beta firmware today with no success.It used to work in firmware 1.2.29 released one hear ago (......), where you could publish to topics such as request/attributes/uuid/value to have the value updated. In versions after that sadly it's been broken.
In versions after 1.2.29 it seems that they have added the topicBase and topicPrefix to the request topic as it subscribes to the pattern topicBase/topicPrefix/request/# (which I think is more correct). However, just like you I've tried to publish all sorts of topic combinations with no success, but I know for a fact that it used to work before.
I've just been trying to set up MQTT today. I had firmware 1.3.13, which indeed doesn't work. Rather than trying to roll back - having seen comments suggesting that you need to get in touch with support and ask them to roll back to a firmware version on which MQTT worked properly - I updated to the latest beta firmware 1.3.44. I've only tried setting values on switches, but that now works well on 1.3.44, having not worked on 1.3.13.
I've just been trying to set up MQTT today. I had firmware 1.3.13, which indeed doesn't work. Rather than trying to roll back - having seen comments suggesting that you need to get in touch with support and ask them to roll back to a firmware version on which MQTT worked properly - I updated to the latest beta firmware 1.3.44. I've only tried setting values on switches, but that now works well on 1.3.44, having not worked on 1.3.13.
That's great news! Could you please share experience with 1.3.44 version in one week or so? Maybe it's good way to go, however with unstable version it's hard to tell...
That's great news! Could you please share experience with 1.3.44 version in one week or so? Maybe it's good way to go, however with unstable version it's hard to tell...
HI,
so can you please advise what is the latest firmware that MQTT is working correctly on?
and what endpoint syntax to use?
Thanx,
D
HI,
so can you please advise what is the latest firmware that MQTT is working correctly on?
and what endpoint syntax to use?
Thanx,
D
For me firmware 1.3.61 works on zipabox1. Just to confirm.
For me firmware 1.3.61 works on zipabox1. Just to confirm.
Replies have been locked on this page!