IoT with AME: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
What would I like to write about? | What would I like to write about? | ||
* MQTT | * [[MQTT]] | ||
** finite state machine of the protocol | ** finite state machine of the protocol | ||
** most simple application (QoS 0) | ** most simple application (QoS 0) | ||
Line 17: | Line 17: | ||
** HW problems (current spikes, general unreliability of the ESP) | ** HW problems (current spikes, general unreliability of the ESP) | ||
* Naming and | * Tools | ||
** [[AC.programmer]] (SPI programming, freed-up serial interface, 2k more flash mem, logging via I2C) | |||
** Monitoring MQTT publications with [https://github.com/kamilfb/mqtt-spy MQTT-Spy] | |||
** [[MoquetteMon]] - Add-on to the Java OpenSource MQTT Broker [https://github.com/andsel/moquette Moquette] (shows IP, QoS, subscribed-to and published topics etc.) | |||
* [[Naming and Behavioral Conventions]] | |||
** MQTT-ID | ** MQTT-ID | ||
** devices | ** devices | ||
** capabilities (reporting) | ** capabilities (reporting) | ||
** topics | ** topics | ||
* [[Pitfalls]] | * [[Pitfalls]] |
Revision as of 15:23, 1 July 2017
IoT with AME - The Internet of things, with Arduino, MQTT, and ESP8266
Planned content
What would I like to write about?
- MQTT
- finite state machine of the protocol
- most simple application (QoS 0)
- encoding and decoding
- more sophistication (QoS 1, 2), limits of the Arduino environment (like, conversational state)
- The Stacks
- HW stack: Arduino, ESP8266, additional hardware
- SW stack: PubSubClient, Client -adapter, ESP8266 or, alternatively, AC_MQTT & AC_ESP8266
- SW problems (SoftwareSerial, memory use, bugs)
- HW problems (current spikes, general unreliability of the ESP)
- Tools
- AC.programmer (SPI programming, freed-up serial interface, 2k more flash mem, logging via I2C)
- Monitoring MQTT publications with MQTT-Spy
- MoquetteMon - Add-on to the Java OpenSource MQTT Broker Moquette (shows IP, QoS, subscribed-to and published topics etc.)
- Naming and Behavioral Conventions
- MQTT-ID
- devices
- capabilities (reporting)
- topics
- Pitfalls
- Fun with power LAN adapters (don't plug in your fridge)
- Returning pointers to method-scope variables
- Challenges
- Updating device configuration (ie, MQTT/ WLAN)
- Updating device code