yes! (for now?)
EDIT: NO!
1500719565: New connection from 127.0.0.1 on port 1883.
1500719565: New client connected from 127.0.0.1 as openHAB2 (c1, k60).
1500720088: New connection from 127.0.0.1 on port 1883.
1500720088: New client connected from 127.0.0.1 as mosqsub|7105-openHABian (c1, k60).
1500720244: New connection from 192.168.178.160 on port 1883.
still no communication with openHAB2 ?
[12:34:38] openhabian@openHABianPi:~$ mosquitto_sub -v -t 'tele/#' -t 'stat/#'
tele/sonoff/LWT Online
stat/sonoff/RESULT {"POWER":"OFF"}
stat/sonoff/POWER OFF
tele/sonoff/STATE {"Time":"2017-07-22T11:43:00", "Uptime":3, "Vcc":3.204, "POWER":"OFF", "Wifi":{"AP":1, "SSID":"NETGEAR47", "RSSI":32, "APMac":"80:2A:A8:4A:C7:AC"}}
thoughts: if the TOPIC is “sonoff1”, my item should be:
Switch Sonoff_TH16A "Sonoff Test" <light>
{ mqtt=">[broker:cmnd/sonoff1/POWER:command:*:default],
<[broker:stat/sonoff1/POWER:state:default]" }
right?
'til now i have used the client id of the sonoff device…
changing (correcting) the item doesn’t help, still no signs in openhab.log…