This repository contains soft- and hardware files to send Luxembourg smart meter readings via WiFi to an MQTT server.
More information on this device and the P1 port, which is an open interface for meter readings:
Request from Creos ([email protected]) or your local grid provider your P1 encryption key by stating your address and smart meter number
Checkout the project and modify config.h
to your needs.
Then make sure to build for increased MQTT package size (Using -DMQTT_MAX_PACKET_SIZE=2048
or directly editing the PubSubClient.h). Otherwise packages will be truncated.
Example output of JSON send to MQTT server:
{
"frame":{
"1-3:0.2.8":"B",
"0-0:1.0.0":"190709224829S",
"0-0:42.0.0":"SAGXXXXXXXXXXXXX",
"1-0:1.8.0":"001372.072",
"1-0:2.8.0":"000000.322",
"1-0:3.8.0":"000330.655",
"1-0:4.8.0":"000115.695",
"1-0:1.7.0":"00.248",
"1-0:2.7.0":"00.000",
"1-0:3.7.0":"00.097",
"1-0:4.7.0":"00.038",
"0-0:17.0.0":"77.376",
"0-0:96.3.10":"1",
"0-0:96.7.21":"00010",
"1-0:32.32.0":"00002",
"1-0:52.32.0":"00002",
"1-0:72.32.0":"00002",
"1-0:32.36.0":"00000",
"1-0:52.36.0":"00000",
"1-0:72.36.0":"00000",
"0-0:96.13.0":"",
"0-0:96.13.2":"",
"0-0:96.13.3":"",
"0-0:96.13.4":"",
"0-0:96.13.5":"",
"1-0:31.7.0":"000",
"1-0:51.7.0":"001",
"1-0:71.7.0":"000"
},
"deviceId":"",
"uptime":341331246,
"vcc":2945,
"frame_number":82539,
"frame_errors":0
}
(tbd) Fritzing files
Copyright (c) B. Wilbertz. All rights reserved.
Licensed under the MIT license.