Hello everyone!
I just use *.things file to config an Bridge, but it seem like i can’t create and MQTT Broker
Here my config
Bridge mqtt:broker:hivemqbroker [ host=“localhost”, secure=false ]
{
Thing topic nodemcu
{
Channels:
Type switch : fan [stateTopic=“fan/state”, on=“ON”, off=“OFF”, commandTopic=“fan/command”, on=“ON”, off=“OFF”]
Type dimmer : slide3 [ stateTopic=“pressure/state”, on=“enable”, off=“disable”, commandTopic=“pressure/command”, on=“enable”, off=“disable”]
Type number : temperature3 [ stateTopic=“temperature/state” ]
}
}
I have already created a Thing and a Broker, but its status is OFFLINE
In events.log, i got:
2020-03-24 15:37:51.739 [hingStatusInfoChangedEvent] - ‘mqtt:broker:hivemqbroker’ changed from OFFLINE to OFFLINE (COMMUNICATION_ERROR): io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: localhost/127.0.0.1:1883
2020-03-24 15:38:49.737 [hingStatusInfoChangedEvent] - ‘mqtt:broker:hivemqbroker’ changed from OFFLINE (COMMUNICATION_ERROR): io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: localhost/127.0.0.1:1883 to OFFLINE
2020-03-24 15:38:51.747 [hingStatusInfoChangedEvent] - ‘mqtt:broker:hivemqbroker’ changed from OFFLINE to OFFLINE (COMMUNICATION_ERROR): io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: localhost/127.0.0.1:1883
2020-03-24 15:39:49.746 [hingStatusInfoChangedEvent] - ‘mqtt:broker:hivemqbroker’ changed from OFFLINE (COMMUNICATION_ERROR): io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: localhost/127.0.0.1:1883 to OFFLINE
2020-03-24 15:39:51.756 [hingStatusInfoChangedEvent] - ‘mqtt:broker:hivemqbroker’ changed from OFFLINE to OFFLINE (COMMUNICATION_ERROR): io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: localhost/127.0.0.1:1883
I have read all topic, but still can’t find the solution
Someone help me please