No description or website provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
Adafruit_BME280.cpp
Adafruit_BME280.h
Adafruit_Sensor.h
Event.cpp
Event.h
PubSubClient.cpp
PubSubClient.h
README.md
Timer.cpp
Timer.h
config.example.h
mqtt_sensor_demo.ino
vcc.cpp
vcc.h

README.md

MQTT sensor demo

Donate

It's a sample te demonstrate how to send sensor datas from Arduino to MQTT broker and controll LED over MQTT topic.

You must set some variables in config.h:

#define SENSOR_NAME "sensor_name"
#define MQTT_BROKER_ADDRESS "ip or hostname"
#define MQTT_BROKER_PORT 1883
const char *sta_ssid = "your wifi ssid";
const char *sta_password = "your wifi password";

Donations

  • PayPal: https://paypal.me/gyengus
  • Bitcoin: 1QJzLBK9uQP4RthmKJRQwy3v5sd4XS4S7P
  • Bitcoin Cash: qp04tazu4fe7lv6zr99suu40swqqp747nsm0kcfckv
  • Ethereum: 0x2bD68120A56acBf6Dbd11da2060228b8912C1e3C