Hardware: raspberry pi 3
OS: openhabianpi-raspbian-201804031720-gitdba76f6-crc9e93c3eb.img.xz
java: openjdk version “1.8.0_152”
openHAB version: 2.4.0-1
sitemap
sitemap default label=“My first sitemap”
{
Frame label=“Kitchen” {
Switch item=Kitchen_Light label=“Kitchen Lamp”
}
}
items
Switch Kitchen_Light “Kitchen Light” { channel=“mqtt:topic:4e88d0c8:kitchen_lamp” }
Generic MQTT Thing
Channel
Kitchen Lamp
mqtt:topic:4e88d0c8:kitchen_lamp
Switch
mqtt.cnf
mosquitto.url=tcp://192.168.0.101:1883
mosquitto.clientId=myhome
mosquitto.qos=1
mosquitto.retain=true
mosquitto.async=false
mosquitto.user=openhabian
mosquitto.pwd=pass
When I try to send topic message from terminal to my test Kitchen Light topic nothing is happened in basigUI and Paper UI
When try to change my Kitchen_Switch from basicui i recieved events log in openhab event log
2019-03-06 22:42:14.594 [ome.event.ItemCommandEvent] - Item ‘Kitchen_Light’ received command ON
2019-03-06 22:42:14.608 [nt.ItemStatePredictedEvent] - Kitchen_Light predicted to become ON
2019-03-06 22:42:14.617 [vent.ItemStateChangedEvent] - Kitchen_Light changed from OFF to ON
And my question is: How can i send command (message topic) from outside - terminal in linux, my own android app or other raspberry pi or arduino nano or D1 mini