/Aquarea-H-prometheus-exporter

A prometheus.io exporter for the Panasonic Aquarea H-generation heatpump, for a NodeMCU/ESP8266 connected to the CN-CNT port

Primary LanguageLuaGNU General Public License v3.0GPL-3.0

Aquarea H-generation Prometheus exporter

A prometheus.io exporter for the Panasonic Aquarea H-generation heatpump, for a NodeMCU/ESP8266 connected to the CN-CNT port.

Dependencies

NodeMCU master branch with file, net, node, struct, timer, UART and WiFi modules. You can use the NodeMCU custom build service to build a firmware.

Setup

  1. Add a file credentials.lua with the following contents:
SSID=""
WIFI_PASSWORD=""
NTP_SERVER=""
  1. Upload these files to an ESP8266 running the NodeMCU firmware
  2. Refer to Egyras' work for wiring

Security

Please take note that application.lua exposes a Lua interpreter over telnet (see telnet_init()). This is intended behaviour while reverse engineering the serial protocol, but might not be what you want in your network.