Giter VIP home page Giter VIP logo

aws_mqtt_arduino_uno's People

Contributors

coderade avatar dnavarrom avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

aws_mqtt_arduino_uno's Issues

Step 4: can't send a message to AWS Console

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.