76 Commits

Author SHA1 Message Date
Gunnar Skjold
ca4cef5233
Fixed empty timestamp in Home-Assistant JSON (#1105)
* Nullable timestamps for HA JSON

* Nullable timestamps for MQTT JSON
2025-12-30 10:05:39 +01:00
Gunnar Skjold
f323c5a4f6
Fixed building without remote debug (#1084) 2025-12-09 12:19:00 +01:00
Gunnar Skjold
8438020dbd
Feature: Dump hex data from meter to MQTT (#1071)
* Send raw data debug to MQTT

* Publish hexdump to /data

* Sensor for /data, but it doesnt work
2025-12-01 14:02:07 +01:00
Gunnar Skjold
9252a810df
Improve power stability when using MQTT (#1070)
* Changes to improve MQTT and power stability

* Re-added the memory leak fix

* Re-added the memory leak fix

* Stop client before deleting

* Fixed potential nullpointer
2025-12-01 10:01:20 +01:00
Gunnar Skjold
c0c696a55c
Fixed default MQTT subscription (#1065) 2025-11-27 09:37:06 +01:00
Gunnar Skjold
c648546b61
Added support for 15 minute price resolution (#1031)
* 15min prices WIP

* WIP more changes for 15min prices

* More work on 15min pricing

* Fixed some errors

* Some changes after testing

* Graphical changes for 15min pricing

* Adjustments on MQTT handlers after switching to 15min prices

* Reverted some MQTT changes

* Adapted HA integration for 15min pricing

* Adapted JSON payload for 15min

* Adjustments during testing

* Set default price interval

* Fixed refresh of price graph when data changes

* Bugfixes

* Fixed some issues with raw payload

* Adjustments for meter timestamp from Kamstrup

* Updated readme

* Added detailed breakdown of payloads coming from Norwegian meters

* Minor changes relating to price

* Fixed byte alignment on price config

* Changes to support RC upgraders
2025-11-13 15:10:54 +01:00
Gunnar Skjold
ffd8d46f2e
Automatic reboot when MQTT is lost (#1058)
* Fixing board type overwrite, zmartcharge default issues and disabling entsoe

* Fixed Zmartcharge configuration issue

* Option to auto reboot if MQTT connection is lost
2025-11-06 18:26:40 +01:00
Gunnar Skjold
c307103605
Added unique ID to HA firmware upgrade entity (#1027) 2025-10-02 13:23:36 +02:00
Gunnar Skjold
d9ec111458
Fixed duplicate deviceuid in HA when using ethernet (#1025) 2025-10-02 13:13:16 +02:00
Gunnar Skjold
6668258b66 Support for update entity in HA 2025-02-03 17:51:36 +01:00
Gunnar Skjold
4ad2921132 Fixed config reload for HA and Domoticz if changed 2025-01-12 12:01:16 +01:00
Gunnar Skjold
0c3eea8d37 Added timestamp sensors to HA 2025-01-12 09:57:29 +01:00
Gunnar Skjold
0947d335ce Fixed unprocessable characters in json 2024-12-05 14:20:12 +01:00
Gunnar Skjold
2c95f036ba Fixed power factor sensors in HA 2024-08-15 19:44:24 +02:00
Gunnar Skjold
59bf0ce066 Build option to disable remote debug 2024-06-07 18:48:26 +02:00
Gunnar Skjold
93e55f457a Tariff thresholds on MQTT 2024-06-06 21:38:03 +02:00
Gunnar Skjold
1db0082103 Added export price sensor to HA payload 2024-06-06 18:09:33 +02:00
Gunnar Skjold
da6328c246 Fixed HA hostname ESP8266 build issue 2024-06-06 17:17:59 +02:00
Gunnar Skjold
eeaaf088ac Fixed issues with HA sensors 2024-06-06 15:41:21 +02:00
Gunnar Skjold
3f1861deda MQTT on interval 2024-04-21 10:21:39 +02:00
Gunnar Skjold
fec6cc7612 Updated HA state class on realtime sensors 2024-04-19 08:48:57 +02:00
Gunnar Skjold
dc3cea80b6 Fixed HA state class on realtime sensors 2024-04-15 19:54:40 +02:00
Gunnar Skjold
89015191de Improved MQTT stability and changed some defaults 2024-04-09 17:16:12 +02:00
Arthur van Dorp
fb410ecfef
Use correct home assistant device class for uptime 2024-04-06 21:43:06 +02:00
Gunnar Skjold
b85d11b1f3 Merge branch 'main' into dev-v2.3 2024-04-04 13:38:14 +02:00
Gunnar Skjold
71abe188ca MQTT JSON classic/multi topic/flat 2024-03-23 11:20:39 +01:00
Gunnar Skjold
f2e7879974 Optimized some JSONs 2024-03-21 08:57:56 +01:00
Arthur van Dorp
73ed4f87e4
Add uptime to system sensors for home assistant
Uptime is already part of the MQTT messages, but not sensors indicated to home assistant. Useful for troubleshooting purposes.
2024-03-01 18:41:38 +01:00
Gunnar Skjold
183cb1e2b1 Adjustments after changing type of phase power 2024-01-07 11:04:43 +01:00
Gunnar Skjold
fe3f100edb Merge branch 'main' into dev-v2.3 2024-01-06 20:12:27 +01:00
Gunnar Skjold
8a59fcb89a Adaptations for new sensors 2024-01-06 20:10:33 +01:00
Gunnar Skjold
fffd95dcf2 Price config 2023-12-25 14:47:28 +01:00
Gunnar Skjold
fa87cfaa61 Fixed build errors 2023-12-25 07:44:42 +01:00
Gunnar Skjold
50de5abf93 Merge branch 'main' into dev-v2.3 2023-12-25 07:41:01 +01:00
Gunnar Skjold
1775d0abce Fixed bug 2023-12-24 06:30:36 +01:00
Gunnar Skjold
8e65f1fe14 Fixed bug 2023-12-24 06:27:24 +01:00
Gunnar Skjold
6e3a6f71e2 Fixed buffer issues and ESP8266 HA reboot issue" 2023-12-23 18:32:27 +01:00
Gunnar Skjold
d7ca741c92 Some changes for HA 2023-12-21 14:12:46 +01:00
Gunnar Skjold
d49753ed33 Resend sensors to HA if online status received 2023-12-15 20:37:25 +01:00
Gunnar Skjold
2ae15ac13a Expire time on HA sensors 2023-12-15 20:19:49 +01:00
Gunnar Skjold
00278659f8 Resend sensors to HA if online status received 2023-12-15 20:03:24 +01:00
Gunnar Skjold
194905237b Added ESP32S3 2023-12-10 17:27:16 +01:00
Gunnar Skjold
afa013ca03 Renamed EntsoeApi to PriceService 2023-11-25 10:04:21 +01:00
Gunnar Skjold
ae82914795 Initial changes for v2.3 2023-11-16 18:21:56 +01:00
Gunnar Skjold
d6af7374c2 Merge branch 'master' into mqtt_changes 2023-11-03 19:57:17 +01:00
Gunnar Skjold
a6d8857655 Fixed number of decimal points on MQTT payload 2023-10-28 08:20:39 +02:00
Gunnar Skjold
7b025ddb01 Moved MQTT connection into handler 2023-10-14 08:07:56 +02:00
Gunnar Skjold
b76efc42db Fixed peak sensor for HA 2023-09-11 08:27:41 +02:00
Gunnar Skjold
6b0ea0abc0 Store current price in HA LTS 2023-09-05 10:54:31 +02:00
david-beinder
a6ae86abb8
Remove redundant 'typedef'
'typedef' is not needed in C++ and generates a warning
2023-05-02 10:48:54 +02:00