Bernhard Kirchen
a89c1fa45a
Revert "Fix: device profile for OpenDTU Fusion with W5500 ( #1259 )"
...
This reverts commit 27f5a943f6 .
2024-09-30 20:56:57 +02:00
Bernhard Kirchen
d0ba065f70
webapp: optimize syslog settings
...
* avoid duplicate id for hostname input
* hide server and port inputs if syslog disabled
2024-09-28 21:36:31 +02:00
Bernhard Kirchen
aa159fd8ee
prevent actions from running twice when pushing to PRs
2024-09-27 20:45:04 +02:00
Bernhard Kirchen
5d8bb8f810
Merge upstream tag 'v24.9.26' into development
2024-09-27 20:07:53 +02:00
ranma
20159f341e
Feature: Add syslog logger ( #1267 )
...
This implements RFC5424 version of the protocol.
Don't use https://github.com/arcao/Syslog since the protocol itself
is trivial and most of the libraries functionality is not needed here.
The library also doesn't support setting the PROCID field, which is set
to a random id to indicate a reboot here.
Add UI for syslog configuration to network admin view.
2024-09-26 23:01:06 +02:00
Bernhard Kirchen
a7dbf0a12e
issue template: turn environment input into dropdown
2024-09-26 22:08:53 +02:00
Bernhard Kirchen
de171c5bcc
issue template: fix phrasing
2024-09-26 22:08:53 +02:00
Bernhard Kirchen
22d96fd8a5
issue template: fix typo
2024-09-26 22:08:53 +02:00
Bernhard Kirchen
411fe7e383
issue template: adjust all remaining occurences of "OpenDTU"
2024-09-26 22:08:53 +02:00
vaterlangen
f36a3bf359
increase chunkSizeWarningLimit for webapp build ( #1287 )
...
increase from 500k (default) to 1024k in order to get rid of the warning messages.
2024-09-26 21:22:08 +02:00
Thomas Basler
355900743d
webapp: add app.js.gz
2024-09-26 18:21:16 +02:00
Thomas Basler
818fdc42c9
Simplify inverter handling
2024-09-26 18:17:11 +02:00
Thomas Basler
595b153bbf
Simplify network callback handling
2024-09-26 18:08:48 +02:00
Thomas Basler
cc7145361e
webapp: Update dependencies
2024-09-26 18:01:59 +02:00
Thomas Basler
8db267b21a
webapp: Apply auto format
2024-09-26 18:00:30 +02:00
Thomas Basler
8e26ef4e2e
Fix: Only count RF RX packets when packets where sent
...
This mainly occours after a reset of the statistics that receive count is higher then transmit count
2024-09-26 17:45:34 +02:00
Thomas Basler
67cae68e83
GitHub Build Action: Automatically generate littlefs image
...
If a data directory exists, the content of this directory will be placed in the littlefs image and embedded into the factory.bin file
2024-09-26 17:43:07 +02:00
Thomas Basler
468cbad4f3
Upgrade github actions/checkout to v4
2024-09-25 21:53:30 +02:00
Thomas Basler
d69a43373e
Slight adjustments to github bug_report template
2024-09-25 21:49:38 +02:00
Thomas Basler
155735c828
Embed current branch into building process
2024-09-25 21:46:38 +02:00
Thomas Basler
0847f021f1
webapp: Update dependencies
2024-09-25 20:21:24 +02:00
Thomas Basler
9b565596d5
Feature: Allow reset of radio statistics via WebApp
2024-09-25 20:18:36 +02:00
ranma
191cc8007d
Feature: parse additional Pylontech CAN protocol fields ( #1213 )
...
I noticed that these are missing while looking at dissassembly of the
Pytes implementation of the protocol. I also found Pylontech sample
CAN messages] which match the Pytes implementation [1]:
```
CAN ID – followed by 2 to 8 bytes of data:
0x351 – 14 02 74 0E 74 0E CC 01 – Battery voltage + current limits
^^^^^ discharge cutoff voltage 46.0V
0x355 – 1A 00 64 00 – State of Health (SOH) / State of Charge (SOC)
0x356 – 4e 13 02 03 04 05 – Voltage / Current / Temp
0x359 – 00 00 00 00 0A 50 4E – Protection & Alarm flags
^^^^^ always 0x50 0x59 in Pytes implementation
^^ module count (matches the blog article image)
0x35C – C0 00 – Battery charge request flags
^^ two possible additional flags (bit 3 and bit 4)
0x35E – 50 59 4C 4F 4E 20 20 20 – Manufacturer name (“PYLON “)
^^^^^^^^^^^^^^ Note: Pytes sends a 5-byte message "PYTES" instead
padding with spaces
```
The extra charge request flag is "bit4: SOC low" (Seems to be SoC < 10%
threshold for Pytes), I haven't bothered adding that as it provides
little value.
[1] https://www.setfirelabs.com/green-energy/pylontech-can-reading-can-replication
2024-09-25 14:45:52 +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
57c5b8c97e
MQTT Hass: Make publish methods static
2024-09-24 19:22:05 +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
8de1f7e70f
MQTT Hass: Change char* to String&
2024-09-24 18:15:38 +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
0c012bf62a
Move inverter housekeeping tasks inside the InverterAbstract class
2024-09-23 22:08:53 +02:00
Thomas Basler
93b6e5a885
Optimize MQTT subscription handling
2024-09-23 21:59:43 +02:00
Bernhard Kirchen
2265992836
actions: prevent workflows triggering twice
...
the workflows running unconditionally for each push and each PR are run
twice when pushing to a branch that is to be merged by a PR and if that
branch is a branch local to the repo (rather than in a fork).
2024-09-23 21:53:33 +02:00