dnavarrom / aws_mqtt_arduino_uno Goto Github PK
View Code? Open in Web Editor NEWAWS IOT Bridge Client for Arduino Uno / Mega with Ethernet Shield
License: MIT License
AWS IOT Bridge Client for Arduino Uno / Mega with Ethernet Shield
License: MIT License
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.