Closed wurststulle closed 4 years ago
Hi, I see (only one )problem.
works as expected, thanks for the clarification.
Good to hear that it’s working. Have to write a clarification on this topic as it is a fundamental mechanism for homie to work. One of the big strength of homie is using mqtt retained messages as build in persistence ability - but not clearly explained, especially the implementation in mqtt in relation to qos and limitations of some libraries for microcontrollers.
hey, i am trying this module with config based on the example from homieiot.github.io. it seems, as the node is not parsed correctly, or i am using it wrong. maybe someone can give some advice whats wrong here. `mosquitto_pub -h 192.168.x.x -t "homie/switch-controller/$homie" -m "4.0" mosquitto_pub -h 192.168.x.x -t "homie/switch-controller/$name" -m "SwitchController" mosquitto_pub -h 192.168.x.x -t "homie/switch-controller/$nodes" -m "switch-sensor" mosquitto_pub -h 192.168.x.x -t "homie/switch-controller/$state" -m "ready"
mosquitto_pub -h 192.168.x.x -t "homie/switch-controller/switch-sensor/$name" -m "SwitchSensor1" mosquitto_pub -h 192.168.x.x -t "homie/switch-controller/switch-sensor/$properties" -m "sw0"
mosquitto_pub -h 192.168.x.x -t "homie/switch-controller/switch-sensor/sw0" -m "off" mosquitto_pub -h 192.168.x.x -t "homie/switch-controller/switch-sensor/sw0/$name" -m "state" mosquitto_pub -h 192.168.x.x -t "homie/switch-controller/switch-sensor/sw0/$datatype" -m "enum" mosquitto_pub -h 192.168.x.x -t "homie/switch-controller/switch-sensor/sw0/$format" -m "on,off"`
the node switch-sensor is not shown in node dropdown.