Platform information:
Hardware: Raspberry Pi 3 B
OS: Habian
openHAB version: 2.5 SNAPSHOT
As I’m new (but already spent a lot of time trying to understand), I decided to go with latest version. Mqqt broker + generic mqqt thing with item link to channel.
I can see and change item value (Number) thru HABPanel or Mqqt Action.
In Node Red, I try to configure Mqqt node to be able to communicate and change value, is working inside Node Red but is not changing anything into Openhab, I’m pretty sure something wrong with ClientID or Topic definition.
Great thanks both of you, I’m sure It might seems stupid mistake for you, but I’ve been stuck on this for the last 4 days looking and trying differents configurations…
Do you think it will be usefull for others if I put screenshots of working configuration ?
My mistake here was mainly due to I was thinking I had to define full path into topic Node red configuration, but in fact you only have to put what you define into you channel configuration
MQTT state topic & MQTT command topic (ie “State” is only for testing, I guess when you have multiple channels you need to be more organized and specific) in my case both has to be identical (I tried for instance State and Set but could not make it work in Node Red)