Hi, great thank you for this again.
I set up Arduino sketch and succeeded to write.
Now I can see my Arduino Serial Console:
<SETUP"> : Board IP = 192.168.11.26
<SETUP"> : Connected to broker
<SETUP"> : End Config..
<CheckConnection"> : Connected!!
<CheckConnection"> : Connected!!
(please ignore " )
But I can't see any message in AWS Console.
I can only see the message as a result of your Step 2:
{
"key": "helloFromLocalGateway"
}
The Arduino sketch seems to publish the string "ok" to the topic "localgateway_to_awsiot".
Should I see "ok" anywhere?
If not, how can I publish other messages?
(I'd like to publish the temperature from my Arduino thermister).
My Docker Log shows like below:
1553278751: mosquitto version 1.4.15 (build date 2018-03-04 15:19:39+0000) starting
1553278751: Config loaded from /mosquitto/config/mosquitto.conf.
1553278751: Opening ipv4 listen socket on port 1883.
1553278751: Opening ipv6 listen socket on port 1883.
1553278751: Bridge local.bridgeawsiot doing local SUBSCRIBE on topic localgateway_to_awsiot
1553278751: Bridge local.bridgeawsiot doing local SUBSCRIBE on topic both_directions
1553278751: Connecting bridge awsiot (****.iot.ap-northeast-1.amazonaws.com:8883)
1553278751: Bridge bridgeawsiot sending CONNECT
1553278751: Received CONNACK on connection local.bridgeawsiot.
1553278751: Bridge local.bridgeawsiot sending SUBSCRIBE (Mid: 1, Topic: awsiot_to_localgateway, QoS: 1)
1553278751: Bridge local.bridgeawsiot sending UNSUBSCRIBE (Mid: 2, Topic: localgateway_to_awsiot)
1553278751: Bridge local.bridgeawsiot sending SUBSCRIBE (Mid: 3, Topic: both_directions, QoS: 1)
1553278751: Received UNSUBACK from local.bridgeawsiot
1553278751: Received SUBACK from local.bridgeawsiot
1553278751: Received SUBACK from local.bridgeawsiot
1553278751: New connection from 172.17.0.1 on port 1883.
1553278751: New client connected from 172.17.0.1 as arduinoClient (c1, k15).
1553278751: Sending CONNACK to arduinoClient (0, 0)
1553278751: Received SUBSCRIBE from arduinoClient
1553278751: awsiot_to_localgateway (QoS 0)
1553278751: arduinoClient 0 awsiot_to_localgateway
1553278751: Sending SUBACK to arduinoClient
1553278766: Received PINGREQ from arduinoClient
1553278766: Sending PINGRESP to arduinoClient
1553278781: Received PINGREQ from arduinoClient
1553278781: Sending PINGRESP to arduinoClient
1553278796: Received PINGREQ from arduinoClient
1553278796: Sending PINGRESP to arduinoClient
1553278811: Sending PINGREQ to local.bridgeawsiot
1553278811: Received PINGRESP from local.bridgeawsiot
Hi, great thank you for this again. I set up Arduino sketch and succeeded to write. Now I can see my Arduino Serial Console:
(please ignore " )
But I can't see any message in AWS Console. I can only see the message as a result of your Step 2:
The Arduino sketch seems to publish the string "ok" to the topic "localgateway_to_awsiot". Should I see "ok" anywhere? If not, how can I publish other messages? (I'd like to publish the temperature from my Arduino thermister).
My Docker Log shows like below: