This is a demo for use with Crouton.mybluemix.net IOT dashboard.
Minimum hardware - D1 Mini (ESP8266) and D1 Mini Relay shield.
The D1 Mini creates a push button dash board on Crouton, which is used to turn the
relay on and off. A D1 Mini Pushbutton shield can also be used for local control
of the relay.
Add the ESP8266 devices to the Arduino IDE:
https://github.com/esp8266/Arduino
WifiManager.h - https://github.com/tzapu/WiFiManager
PubSubClient.h - https://github.com/knolleary/pubsubclient
(Requres PubSubClient.h file to be changed: MQTT_MAX_PACKET_SIZE to 512)
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
If you find this or any of my projects useful or enjoyable please support me.
Anything I do get goes to buy more parts and make more/better projects.
https://www.patreon.com/kd8bxp
https://ko-fi.com/lfmiller
https://www.youtube.com/channel/UCP6Vh4hfyJF288MTaRAF36w
https://kd8bxp.blogspot.com/
Copyright (c) 2018 LeRoy Miller
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses>