Skip to content

Latest commit

 

History

History
 
 

Firmware_images

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Firmware images for P1P2MQTT bridge

The P1P2MQTT bridge (previously P1P2-ESP-interface) has 2 CPUs:

  • ATmega328P running P1P2Monitor
  • ESP8266 running P1P2MQTT-bridge (previously P1P2-bridge-esp8266)

A full upgrade involves flashing both CPUs.

P1P2Monitor firmware for ATmega328

These images are for the P1P2MQTT bridge (previously called P1P2-ESP-interface). These images do not work on the Arduino Uno.

Minimal recommended upgrade is v0.9.46 for P1P2Monitor; older versions do not work with P1P2MQTT-bridge >=v0.9.46.

P1P2Monitor v0.9.53 does not yet add buffered commands, but a future version will.

P1P2Monitor auxiliary control is currently only usable for Daikin E-series, and FDY/FDYQ/FXMQ F-series. Monitoring is also available for certain F-series models (using the generic F-series firmware).

P1P2Monitor v0.9.54 for Daikin E-series

P1P2Monitor v0.9.53 for Daikin F-series (model selectable with M command or via HA)

P1P2Monitor v0.9.53 (experimental for Hitachi models)

P1P2Monitor v0.9.53 (experimental for Mitsubishi Heavy Industries (MHI) models)

P1P2Monitor v0.9.53 (experimental for Toshiba models)

To flash this image OTA (Linux CLI):

avrdude -c avrisp -p atmega328p  -P net:<IPv4>:328 -e -Uflash:w:<hex-file>:i

If you are running P1P2-bridge-esp8266 v0.9.42 or later and are on a local network segment, you may use P1P2MQTT_bridge0.local instead of <IPv4>.

To flash this image OTA (Windows CLI, using avrdude 7.0 for Windows):

avrdude.exe -c avrisp -p m328p  -P net:<IPv4>:328 -e -Uflash:w:<hex-file>:i

If you have trouble installing avrdude, you may prefer to wait for a later P1P2-bridge-esp8266 version which will support P1P2Monitor updates via a webserver running on the ESP.

P1P2MQTT-bridge firmware for ESP8266

Minimal recommended upgrade is v0.9.53 for P1P2MQTT-bridge.

P1P2MQTT-bridge v0.9.53 for Daikin E-series

P1P2MQTT-bridge v0.9.53 for Daikin F-series

P1P2MQTT-bridge v0.9.53 for Hitachi models (experimental)

P1P2MQTT-bridge v0.9.53 for Mitsubishi Heavy Industries (MHI) models (experimental)

(for Toshiba, use Hitachi code for now).

Note to users of the original v1.0 version: please do not erase the flash memory of the ESP8266 when flashing these images; if you do, you will need to reset the hardware identifier back to 0 using the 'P31 0' command (or you will not be able to flash the ATmega328P).

To flash this image OTA (browser):

As of v0.9.41: browse to the webserver on the ESP: http://<IPv4>/update (note: https not supported) and upload and install the new firmware image.

As of v0.9.42: browse to the webserver on the ESP: http://P1P2MQTT_bridge0.local/update (note: https not supported) and upload and install the new firmware image.

To flash this image OTA (Linux CLI):

~/.arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3 -I ~/.arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/espota.py -i <IPv4> -p 8266 --auth=P1P2MQTT -f <bin-file>

If you bricked the ESP, you can still flash a new image with the ESP01 USB programmer (Linux CLI):

~/.arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3 -I ~/.arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/upload.py --chip esp8266 --port /dev/ttyUSB0 --baud 115200 --before default_reset --after hard_reset write_flash 0x0 <bin-file>

To flash OTA from Windows with espota.py from here:

yourpath\Arduino-master\tools\espota.py -i <IPv4> -p 8266 --auth=P1P2MQTT -f <bin-file>
yourpath\Arduino-master\tools\espota.py -i <IPv4> -p 8266 --auth=P1P2MQTT -f <bin-file>

P1P2MQTT-HomeWizard

To provide electricity meter data from an HomeWizards WiFi-enabled MID meter, via MQTT, to the P1P2MQTT bridge, a separate ESP8266 is required. Any ESP8266 with 1MB memory will do, like an ESP01S (using the USB programmer for power), or a WeMos module.

P1P2MQTT-HomeWizard-kWh-bridge-v0.9.52.ino.bin

FOSS notice

These images are built with Arduino BSPs and libraries, for which source code and license information is made available here.