Thomas Basler
edfe06e31e
Feature: Show RSSI of last received packet in radio stats
...
The value is also published via MQTT
2024-10-04 17:36:17 +02:00
Thomas Basler
0c2b6f1a61
Fix: Add state_class to several Home Assistant sensors
...
state_class was added to yieldtotal, yieldday ac power and temperature for the whole dtu
closes : #2324
2024-10-02 18:13:12 +02:00
mbo18
38b5807ef7
Remove icon because device_class is set
2024-10-02 10:44:43 +02:00
Thomas Basler
d3903d8602
MQTT Hass: Implement method to add common metadata to json output
2024-09-24 23:23:08 +02:00
Thomas Basler
2230850201
MQTT Hass: Implement device class as enum instead of String
2024-09-24 22:55:18 +02:00
Thomas Basler
bb4be0bbf7
MQTT Hass: Implement category as enum instead of String
2024-09-24 22:38:52 +02:00
Thomas Basler
2fb026074a
Feature: Publish YieldTotal, YieldDay and Power of all inverters to Home Assistant
2024-09-24 22:16:17 +02:00
Thomas Basler
01e43777d2
MQTT Hass: Append dtu prefix topic for each single sensor
2024-09-24 22:04:07 +02:00
Thomas Basler
2213ad7bce
MQTT Hass: Move serialization and allocation check into own method
2024-09-24 21:47:56 +02:00
Thomas Basler
9a318d5170
MQTT Hass: Reorder defines
2024-09-24 20:47:43 +02:00
Thomas Basler
c699f1b487
MQTT Hass: Add device_type and category to publishInverterBinarySensor
2024-09-24 20:45:55 +02:00
Thomas Basler
ac5a960581
MQTT Hass: Move yield into the publish method
2024-09-24 20:42:38 +02:00
Thomas Basler
239a77198d
MQTT Hass: Move publishSensor logic into separate method
2024-09-24 20:38:12 +02:00
Thomas Basler
e5ca0ab784
MQTT Hass: Reorder binary sensor methods
2024-09-24 20:06:45 +02:00
Thomas Basler
f46a5017c7
MQTT Hass: Move publishBinarySensor logic into separate method
2024-09-24 20:03:42 +02:00
Thomas Basler
27910042ea
MQTT Hass: Remove no more required checks
2024-09-24 19:47:23 +02:00
Thomas Basler
d899ea7364
MQTT Hass: Harmonise parameter names
2024-09-24 19:44:58 +02:00
Thomas Basler
7aca72b8fd
MQTT Hass: Change parameter order for publishInverterNumber
2024-09-24 19:39:14 +02:00
Thomas Basler
483c10785b
MQTT Hass: Change parameter order for publishInverterButton
2024-09-24 19:30:21 +02:00
Thomas Basler
a7100f238b
MQTT Hass: Change parameter order for publishDtuBinarySensor
2024-09-24 19:23:04 +02:00
Thomas Basler
1c3e7de390
MQTT Hass: Change parameter order for publishDtuSensor
2024-09-24 19:21:06 +02:00
Thomas Basler
96e83f3d37
MQTT Hass: Change parameter order for publishInverterSensor
2024-09-24 19:18:56 +02:00
Thomas Basler
8e68632ed9
MQTT Hass: Rename caption parameter to name
2024-09-24 18:17:42 +02:00
Thomas Basler
bef81eed45
Feature: Publish Radio statistics to home assistant
2024-09-23 23:13:23 +02:00
Thomas Basler
181802a76b
Feature: Allow reset of radio statistics via mqtt
2024-09-23 22:46:23 +02:00
Thomas Basler
0c5e702a28
Fix: Wrong topic in home assistant auto discovery for maxalloc and minfree
2024-09-22 13:01:34 +02:00
Tobias Diedrich
fdcbf9de95
Publish ESP heap and temperature details on MQTT
...
I noticed that some useful ESP stats are missing on the MQTT feed, so this adds:
- ESP temperature
- ESP heap stats (size, free, minFree, maxAlloc)
2024-09-21 22:39:48 +02:00
Thomas Basler
70dacb5ea6
Merge branch 'pr2168' into dev
2024-08-01 17:53:53 +02:00
Stefan Oberhumer
97800434c4
Prevent compiling the whole project on each commit.
...
Putting the git information into a generated sourcefile prevents
recompiling the whole project after each commit.
2024-04-18 09:02:57 +02:00
Thomas Basler
2e3125fe8d
Feature: Migrated ArduinoJson 6 to 7
2024-04-05 19:14:56 +02:00
Thomas Basler
e1564780d6
BREAKING CHANGE: Web API Endpoint /api/livedata/status and /api/prometheus/metrics
...
Power DC was moved from the AC section to the INV section
2024-01-30 22:29:25 +01:00
Thomas Basler
7bc1a17fac
Move task initialization from init method to constructor
...
This saves flash
2024-01-20 11:24:57 +01:00
Thomas Basler
dcc157261e
Don't perform redundant conversions
2024-01-20 00:32:13 +01:00
Thomas Basler
ca18d2c841
Prevent empty HASS auto discovery topics if memory allocation fails
2024-01-04 14:09:58 +01:00
Thomas Basler
84248ec9b6
Feature: Add DTU to Home Assistant Auto Discovery
...
This is based on PR 1365 from @CFenner with several fixes and optimizations
2023-12-17 14:40:04 +01:00
Thomas Basler
b4ead9d6ec
Feature: Allow setting of an inverter limit of 0% and 0W
...
Thanks to @madmartin in #1270
2023-12-13 22:15:49 +01:00
Thomas Basler
e95afbf2cc
Use references instead of pointers whenver possible
2023-12-12 13:26:07 +01:00
Thomas Basler
d6494fa791
Add const keyword to method parameters
2023-12-12 00:21:14 +01:00
Thomas Basler
47e905bcfc
Add const statement to several variables
2023-12-11 19:54:57 +01:00
Thomas Basler
48a27fbfad
Migrate MqttHandleHass to TaskScheduler
2023-11-23 22:35:05 +01:00
Thomas Basler
b85c53f476
Split config struct into different sub structs
2023-11-19 14:53:26 +01:00
Thomas Basler
71d1b3b846
BREAKING CHANGE: Home Assistant Auto Discovery to new naming scheme
...
Please Upgrade to HASS 2023.8 or greater.
Thanks to @LennartF22 for the first implementation
2023-11-07 19:37:28 +01:00
Thomas Basler
1cf41426de
Replace char array by String buffer
2023-09-16 02:21:25 +02:00
Thomas Basler
555b6c6750
Fix: HASS exp_aft should be based on reachable threshold and poll interval
2023-09-11 19:53:05 +02:00
Thomas Basler
3e1b778565
Change max power limit from 1500W to 2250W to support HMS/HMT inverters
2023-04-15 10:55:47 +02:00
Thomas Basler
de2b7ab2d2
Check that all RF modules as in idle mode before sending mqtt packages
2023-04-15 10:55:47 +02:00
Thomas Basler
8404dd57a7
Add a HoymilesRadio base class
...
This enables to have multiple radio implementations while the inverter classes just refere to the base class
2023-04-15 10:55:47 +02:00
Thomas Basler
d6028cbd50
Remove not required F() macro. Frees ~20kb flash.
2023-04-04 18:51:18 +02:00
Thomas Basler
6a6165e8c5
Fix #589 : MQTT channel assignment in homeassistant config [unique_id and name] was wrong
2023-02-15 19:04:58 +01:00
Thomas Basler
d4c838a16e
BREAKING CHANGE: Prometheus API!
...
Added additional field to the prometheus api which identifies a channel by it's type. That means that e.g. channel 0 exists for type AC and DC.
This commit also introduces a additional field in the statistics byte assignment table. This field identifies whether a channel is on the AC or DC side. MQTT and WebAPI is still compatible with the previous design.
2023-02-06 19:51:10 +01:00