The ESP32 is a better choice for local MPP devices with more I/O pins (digital and analog), more RAM and a bigger flash, and lower power consumption.
This is a release of the Mpp32 library with two samples: Mpp32Library.ino/.bin (a setup device) and Mpp32Device.ino/.bin (showing how a button and relay could be implemented). Also provided is MQTT4IoT.bin for the ESP32 that is an MQTT broker plus an MppHub.
There's a version for the ESP8266 built on the latest platform also support MQTT.
Communication with AM is using the MPP REST interface or over MQTT now. There are still web pages to check device status, properties, files, and update firmware, hit the device's home page. MppArduino v7+ works with Mpp32, allowing the device to be managed over USB and over TCP remotely like before. AM can still be used to update properties.
Binaries:
Mpp324IoT - an MQTT broker for the ESP32 for use with Tasomota and MPP devices. Also provides MppHub function
Mpp32Library - a simple MppSetup device for getting started and testing your board
Mpp32Device - MppMomentary (relay), MppSensor (button) for a simple switch
Mpp32Hub - caches sleeper/battery device status and passes reported events to the AM Server
Mpp8266Device - MppMomentary (relay), MppSensor (button) , MppAnalog (VCC) for testing
Mpp8266Sensor - simple MppSensor monitoring a single pin
Mpp8266Relay - simple MppMomentary relay device with a toggle button
Mpp8266Router - for managing routers, does power cycling on loss of wifi or internet
Mpp8266Temperature - for DHT and DS18B20 temperature monitoring
The MPP MQTT broker (MQTT324IOT) runs on the ESP32 supporting MQTT V3.1.1 (aka v4). It also works as an MppHub for MPP battery (sleeper) devices that will still be wifi / TCP only by caching their state and reporting to AM over MQTT as well. Point AM and your Mpp32 devices at the broker IP to run as MQTT clients. AM and the broker also supports Tasmota devices (ESP32 or ESP8266 based). The broker's home page has a menu to show broker status: topics, clients and subscriptions.
You can set users/passwords for MQTT and they will be checked/enforced if enabled in Mqtt432Iot by adding users. Be aware that the implementation is not secure/encrypted! Do NOT use the broker outside of your protected network!
Building/binaries:
ESP8266 on platform 3.1.2 sdk 3.0.5 : EEPROM, ESP8266WebServer,ESP8266WiFi
MppESP8266Temperature needs DS18B20, OneWire
Binaries built with 1M flash no SPIFFS
Mpp8266Device - example with a relay, button, analog VCC sensor
Mpp8266Relay - relay control with optional button
Mpp8266Router - specialized for managing power to a router
Mpp8266Sensor - sensor, e.g. motion, door contact
Mpp8266Temeperature - for DS18B20,DHT11,DHT22,Si7021,AM2302
ESP32 on platform 3.1.1: FS, Network, SPIFFS, Update, WebServer, WiFi
Binaries built with 4M flash, minimal SPIFFS
Mpp32Library - sample setup device
Mpp32Device - example with relay and button
Mpp32Hub - hub for use with MppReporter (battery wifi) sensors
MQTT324IoT - mqtt broker for use with MPP and Tasmota