Other than the default MQTT template not working for actuators (OpenHUB protocol)
Posted: 07 Mar 2016, 11:20
If I have:
Subscribe Template: myhome/firstfloor/office/%sysname%/#
Publish Template: myhome/firstfloor/office/%sysname%/%tskname%/%valname%
Published data can be performed properly.
But when attempting to use actuator. Message arrives to ESP, but nothing happens.
And whether it's the actuator is configured or not.
If I send: mosquitto_pub -t "myhome/firstfloor/office/wemosd1r2/pwm/15" -m "48"
serial console show:
MQTT : Topic: myhome/firstfloor/office/wemosd1r2/pwm/15
MQTT : Payload: 48
I do some mistake somewhere?
Subscribe Template: myhome/firstfloor/office/%sysname%/#
Publish Template: myhome/firstfloor/office/%sysname%/%tskname%/%valname%
Published data can be performed properly.
But when attempting to use actuator. Message arrives to ESP, but nothing happens.
And whether it's the actuator is configured or not.
If I send: mosquitto_pub -t "myhome/firstfloor/office/wemosd1r2/pwm/15" -m "48"
serial console show:
MQTT : Topic: myhome/firstfloor/office/wemosd1r2/pwm/15
MQTT : Payload: 48
I do some mistake somewhere?