Copyright 2020 Bedrock Media Productions Pty Ltd www.bedrockmediaproductions.com.au
ARDUINO SCRIPT FOR RECEIVING BUTTON INPUTS OVER I2C AND PUBLISHING VIA MQTT
- Single Arduino to read 96 inputs from MCP23017 IO expanders and publish events to MQTT.
- Sends MQTT payloads as JSON formatted string for easy parsing within your favourite automation software.
- Simple config.h file to edit your network and mqtt details, with main code ready to go without modification.
- Configured to allow for multiple controllers.
{event: reconnected, ip: ###.###.###.###, controller: #}
{controller: #, button: #}
{event: status, ip: ###.###.###.###, controller: #}
- PubSubClient https://github.com/knolleary/pubsubclient
- Adafruit_MCP23017 https://github.com/adafruit/Adafruit-MCP23017-Arduino-Library
Written by
- Jon Oxer - Copyright 2015-2017 SuperHouse Automation Pty Ltd info@superhouse.tv
- James Kennewell - Copyright 2019-2020 Bedrock Media Productions Pty Ltd james@bedrockmediaproductions.com.au
- Chris Aitken @aitken85 - SuperHouse Automation Discord Server | github.com/caitken-com
- Lusa @lusa - SuperHouse Automation Discord Server
The specific terms of distribution of this project are governed by the license referenced below.
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/.