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?
Other than the default MQTT template not working for actuators (OpenHUB protocol)
Moderators: grovkillen, Stuntteam, TD-er
Re: Other than the default MQTT template not working for actuators (OpenHUB protocol)
wich firmware version (R078..) are u using?
Re: Other than the default MQTT template not working for actuators (OpenHUB protocol)
I use github version, now R83
Re: Other than the default MQTT template not working for actuators (OpenHUB protocol)
dont know exactly how to help, but maybe you want to have a look here for inspiration?
http://www.esp8266.nu/forum/viewtopic.php?f=4&t=808
http://www.esp8266.nu/forum/viewtopic.php?f=4&t=808
Re: Other than the default MQTT template not working for actuators (OpenHUB protocol)
Bug confirmed. Current openhab MQTT version only works with the default template.
Will be fixed in R84
Will be fixed in R84
Re: Other than the default MQTT template not working for actuators (OpenHUB protocol)
Hello Martinus.
Thanks for the quick fix. Everything works as it should.
Just one observation:
If the switch is set to:
myhome/firstfloor/office/esp01/mcpgpio/3
Sends status only when first using the switch.
When I change it to:
myhome/firstfloor/office/esp01/mcpgpio/state
everything is alright
thanks again
Thanks for the quick fix. Everything works as it should.
Just one observation:
If the switch is set to:
myhome/firstfloor/office/esp01/mcpgpio/3
Sends status only when first using the switch.
When I change it to:
myhome/firstfloor/office/esp01/mcpgpio/state
everything is alright
thanks again
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 12 guests