Smart-Home am Beispiel der Präsenzerkennung im Raum Projektarbeit Lennart Heimbs, Johannes Krug, Sebastian Dohle und Kevin Holzschuh bei Prof. Oliver Hofmann SS2019
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # Arduino Client for MQTT
  2. This library provides a client for doing simple publish/subscribe messaging with
  3. a server that supports MQTT.
  4. ## Examples
  5. The library comes with a number of example sketches. See File > Examples > PubSubClient
  6. within the Arduino application.
  7. Full API documentation is available here: https://pubsubclient.knolleary.net
  8. ## Limitations
  9. - It can only publish QoS 0 messages. It can subscribe at QoS 0 or QoS 1.
  10. - The maximum message size, including header, is **128 bytes** by default. This
  11. is configurable via `MQTT_MAX_PACKET_SIZE` in `PubSubClient.h`.
  12. - The keepalive interval is set to 15 seconds by default. This is configurable
  13. via `MQTT_KEEPALIVE` in `PubSubClient.h`.
  14. - The client uses MQTT 3.1.1 by default. It can be changed to use MQTT 3.1 by
  15. changing value of `MQTT_VERSION` in `PubSubClient.h`.
  16. ## Compatible Hardware
  17. The library uses the Arduino Ethernet Client api for interacting with the
  18. underlying network hardware. This means it Just Works with a growing number of
  19. boards and shields, including:
  20. - Arduino Ethernet
  21. - Arduino Ethernet Shield
  22. - Arduino YUN – use the included `YunClient` in place of `EthernetClient`, and
  23. be sure to do a `Bridge.begin()` first
  24. - Arduino WiFi Shield - if you want to send packets > 90 bytes with this shield,
  25. enable the `MQTT_MAX_TRANSFER_SIZE` define in `PubSubClient.h`.
  26. - Sparkfun WiFly Shield – [library](https://github.com/dpslwk/WiFly)
  27. - TI CC3000 WiFi - [library](https://github.com/sparkfun/SFE_CC3000_Library)
  28. - Intel Galileo/Edison
  29. - ESP8266
  30. - ESP32
  31. The library cannot currently be used with hardware based on the ENC28J60 chip –
  32. such as the Nanode or the Nuelectronics Ethernet Shield. For those, there is an
  33. [alternative library](https://github.com/njh/NanodeMQTT) available.
  34. ## License
  35. This code is released under the MIT License.