Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare Release 2024.10.22 #1341

Merged
merged 217 commits into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
217 commits
Select commit Hold shift + click to select a range
fc1267f
massage file handling
mpw96 Jun 30, 2024
1d92d9e
fix comment
mpw96 Jun 30, 2024
5ee411f
Update patch_apply.py
mpw96 Jul 1, 2024
e4260d3
webapp: Update dependencies
tbnobody Aug 17, 2024
1f3af94
Add serial prefix 1410 to HMS_2CH inverters
tbnobody Aug 28, 2024
b52cd31
Output WiFi disconnect reason in console
tbnobody Sep 2, 2024
7b60c92
Upgrade ESPAsyncWebServer from 3.1.2 to 3.2.0
tbnobody Sep 2, 2024
8529cb0
Upgrade olikraus/U8g2 from 2.35.19 to 2.35.21
tbnobody Sep 2, 2024
e00d831
Upgrade arkhipenko/TaskScheduler from git #testing to 3.8.5
tbnobody Sep 2, 2024
ac5b6f3
webapp: update dependencies
tbnobody Sep 2, 2024
a949776
Feature: Add support for HERF 1 channel inverters
tbnobody Sep 2, 2024
89d9a40
Feature: Support for W5500 ethernet module (#1231)
Gumbagubanga Sep 13, 2024
86cab0f
Feature: ESP heap and temperature details on MQTT and HASS (#1242)
ranma Sep 13, 2024
c96762c
Fix: don't republish MQTT powermeter data to MQTT (#1250)
AndreasBoehm Sep 13, 2024
6318ab4
Feature: DPL: Honor battery-provided discharge power limit (#1198)
ranma Sep 13, 2024
a6e7007
Feature: extend battery discharge limit support (#1245)
AndreasBoehm Sep 13, 2024
3fc4309
Feature: Support for SBS Unipower batteries (#1199)
Snoopy-HSS Sep 16, 2024
3a33fb0
tailor issue templates to OpenDTU-OnBattery
schlimmchen Sep 16, 2024
95dac71
bug report: allow to select non-release GitHub build
schlimmchen Sep 16, 2024
8ff94e7
issue template: asks for firmware variant
schlimmchen Sep 16, 2024
5a1d494
Upgrade ESPAsyncWebServer from 3.2.0 to 3.3.1
tbnobody Sep 16, 2024
c2e50a9
Upgrade olikraus/U8g2 from 2.35.21 to 2.35.27
tbnobody Sep 16, 2024
3e3cf3c
webapp: Update dependencies
tbnobody Sep 16, 2024
d3d92e9
webapp: Upgrade tsconfig node18 to node22
tbnobody Sep 16, 2024
e8b1e7a
webapp: Parse version string event if update search is not allowed
tbnobody Sep 16, 2024
27f5a94
Fix: device profile for OpenDTU Fusion with W5500 (#1259)
vaterlangen Sep 16, 2024
4f56486
webapp documentation moved as well
schlimmchen Sep 20, 2024
789a07e
webapp: use shell=True in autocompile script
schlimmchen Sep 20, 2024
00626b6
issue template: asks for firmware variant
schlimmchen Sep 16, 2024
163abbb
remove test_build.yml: unmaintained and redundant
schlimmchen Sep 20, 2024
59a89e9
changelogs: group webapp-related changes
schlimmchen Sep 20, 2024
ea1592e
actions: consistently use checkout@v4
schlimmchen Sep 20, 2024
0bcbec1
actions: use setup-node@v4 as v3 causes warning
schlimmchen Sep 20, 2024
5128604
actions: fix a typo
schlimmchen Sep 20, 2024
58e01cd
actions: switch to node version 20 for linting
schlimmchen Sep 20, 2024
c3c31e5
actions: run yarn prettier to check web app formatting
schlimmchen Sep 20, 2024
f992650
format BatteryAdminView changes introduced by #1245
schlimmchen Sep 20, 2024
ee3b62d
actions: use setup-node@v4 as v3 causes warning
schlimmchen Sep 20, 2024
2f77b9e
actions: switch to node version 20 for linting
schlimmchen Sep 20, 2024
bd22f00
actions: run yarn prettier to check web app formatting
schlimmchen Sep 20, 2024
1fd09d5
actions: fix a typo
schlimmchen Sep 20, 2024
304b898
changelogs: group webapp-related changes
schlimmchen Sep 20, 2024
0b59a66
Doc: Remove inverter list and add a link to the documentation
tbnobody Sep 20, 2024
d1aad0b
actions: enable corepack to use fixed version of yarn
schlimmchen Sep 20, 2024
e9b5f3e
Upgrade olikraus/U8g2 from 2.35.27 to 2.35.30
tbnobody Sep 20, 2024
0fec55a
webapp: Update dependencies
tbnobody Sep 20, 2024
a204263
webapp: add app.js.gz
tbnobody Sep 20, 2024
43394bc
actions: enable corepack to use fixed version of yarn
schlimmchen Sep 20, 2024
34e1c43
webapp: Fix html error in eventlog
tbnobody Sep 20, 2024
3b3e699
Fix: WebApp was not reloaded after firmware update
tbnobody Sep 20, 2024
2f41f43
Update bblanchon/ArduinoJson from 7.1.0 to 7.2.0
tbnobody Sep 20, 2024
98f4aed
webapp: add app.js.gz
tbnobody Sep 21, 2024
175e575
Github Action: Update node version from 20 to 22
tbnobody Sep 21, 2024
a2092e6
webapp: autocompile script: use portable subprocess
schlimmchen Sep 21, 2024
2f4eef4
webapp: autocompile script needs to run yarn within webapp dir
schlimmchen Sep 21, 2024
503455d
webapp: switch to Node.js v22
schlimmchen Sep 21, 2024
f298fd9
webapp: autocompile script: changes package.json triggers build
schlimmchen Sep 21, 2024
38726b9
Merge remote-tracking branch 'tbnobody/master' into development
schlimmchen Sep 21, 2024
97f95f8
avoid deprecated containsKey() method of ArduinoJson 7.2.0
schlimmchen Sep 21, 2024
fdcbf9d
Publish ESP heap and temperature details on MQTT
ranma Sep 9, 2024
a1fddb4
Merge branch 'pr2293' into dev
tbnobody Sep 22, 2024
0c5e702
Fix: Wrong topic in home assistant auto discovery for maxalloc and mi…
tbnobody Sep 22, 2024
84e5c08
Fix: Saving DTU config values just returned "Values are missing"
tbnobody Sep 22, 2024
1115418
Publish temperature only if its not NAN
tbnobody Sep 22, 2024
a54b19b
Feature: Inverter radio statistics (rx/tx statistics)
tbnobody Sep 22, 2024
c4efda2
Added icon to radio statistics
tbnobody Sep 22, 2024
a3bd6dd
webapp: add app.js.gz
tbnobody Sep 22, 2024
5c460e2
Fix: Unable to CMT transmit power in WebApp
tbnobody Sep 23, 2024
e785904
Fix: Restart was triggered before all website data was sent
tbnobody Sep 23, 2024
e37baed
webapp: Update dependencies
tbnobody Sep 23, 2024
e29ac4f
webapp: Fix data type for all range inputs
tbnobody Sep 23, 2024
00584a0
webapp: add app.js.gz
tbnobody Sep 23, 2024
d6a5fef
Decrease restart delay to 1 second
tbnobody Sep 23, 2024
c16b3aa
Fix: typo in HASS auto-discovery metadata for heap stats (#1274)
ranma Sep 23, 2024
2637e32
Feature: rxen/txen support for RS485 transceiver for SDM power meter …
Adminius Sep 23, 2024
82de98c
Merge remote-tracking branch 'tbnobody/master' into development
schlimmchen Sep 23, 2024
2265992
actions: prevent workflows triggering twice
schlimmchen Sep 23, 2024
93b6e5a
Optimize MQTT subscription handling
tbnobody Sep 23, 2024
0c012bf
Move inverter housekeeping tasks inside the InverterAbstract class
tbnobody Sep 23, 2024
181802a
Feature: Allow reset of radio statistics via mqtt
tbnobody Sep 23, 2024
bef81ee
Feature: Publish Radio statistics to home assistant
tbnobody Sep 23, 2024
8de1f7e
MQTT Hass: Change char* to String&
tbnobody Sep 24, 2024
8e68632
MQTT Hass: Rename caption parameter to name
tbnobody Sep 24, 2024
96e83f3
MQTT Hass: Change parameter order for publishInverterSensor
tbnobody Sep 24, 2024
1c3e7de
MQTT Hass: Change parameter order for publishDtuSensor
tbnobody Sep 24, 2024
57c5b8c
MQTT Hass: Make publish methods static
tbnobody Sep 24, 2024
a7100f2
MQTT Hass: Change parameter order for publishDtuBinarySensor
tbnobody Sep 24, 2024
483c107
MQTT Hass: Change parameter order for publishInverterButton
tbnobody Sep 24, 2024
7aca72b
MQTT Hass: Change parameter order for publishInverterNumber
tbnobody Sep 24, 2024
d899ea7
MQTT Hass: Harmonise parameter names
tbnobody Sep 24, 2024
2791004
MQTT Hass: Remove no more required checks
tbnobody Sep 24, 2024
f46a501
MQTT Hass: Move publishBinarySensor logic into separate method
tbnobody Sep 24, 2024
e5ca0ab
MQTT Hass: Reorder binary sensor methods
tbnobody Sep 24, 2024
239a771
MQTT Hass: Move publishSensor logic into separate method
tbnobody Sep 24, 2024
ac5a960
MQTT Hass: Move yield into the publish method
tbnobody Sep 24, 2024
c699f1b
MQTT Hass: Add device_type and category to publishInverterBinarySensor
tbnobody Sep 24, 2024
9a318d5
MQTT Hass: Reorder defines
tbnobody Sep 24, 2024
2213ad7
MQTT Hass: Move serialization and allocation check into own method
tbnobody Sep 24, 2024
01e4377
MQTT Hass: Append dtu prefix topic for each single sensor
tbnobody Sep 24, 2024
2fb0260
Feature: Publish YieldTotal, YieldDay and Power of all inverters to H…
tbnobody Sep 24, 2024
bb4be0b
MQTT Hass: Implement category as enum instead of String
tbnobody Sep 24, 2024
2230850
MQTT Hass: Implement device class as enum instead of String
tbnobody Sep 24, 2024
d3903d8
MQTT Hass: Implement method to add common metadata to json output
tbnobody Sep 24, 2024
a02ad8b
Remove unnecessary CMT SPI inversions
LennartF22 Jul 3, 2023
ec47e89
Fix cs_ena_posttrans calculation
LennartF22 Sep 21, 2024
992e174
Remove unnecessary delays
LennartF22 Sep 21, 2024
851190d
Implement W5500 support
LennartF22 Jul 21, 2023
9b9c1e2
Add SpiManager library
LennartF22 Sep 21, 2024
4364daf
Optimize CMT FIFO access
LennartF22 Sep 21, 2024
1a583e7
Change cmt_spi3 implementation from C to C++
LennartF22 Sep 21, 2024
ece4520
Add Arduino SPI translation
LennartF22 Sep 21, 2024
5457db2
Use SpiManager for nRF, CMT and W5500
LennartF22 Sep 21, 2024
36da830
Use shared SPI bus for CMT and W5500
LennartF22 Sep 21, 2024
31cf756
Only use a single SPI device for CMT
LennartF22 Sep 21, 2024
191cc80
Feature: parse additional Pylontech CAN protocol fields (#1213)
ranma Sep 25, 2024
9b56559
Feature: Allow reset of radio statistics via WebApp
tbnobody Sep 25, 2024
0847f02
webapp: Update dependencies
tbnobody Sep 25, 2024
155735c
Embed current branch into building process
tbnobody Sep 25, 2024
d69a433
Slight adjustments to github bug_report template
tbnobody Sep 25, 2024
468cbad
Upgrade github actions/checkout to v4
tbnobody Sep 25, 2024
67cae68
GitHub Build Action: Automatically generate littlefs image
tbnobody Sep 26, 2024
8e26ef4
Fix: Only count RF RX packets when packets where sent
tbnobody Sep 26, 2024
8db267b
webapp: Apply auto format
tbnobody Sep 26, 2024
cc71453
webapp: Update dependencies
tbnobody Sep 26, 2024
595b153
Simplify network callback handling
tbnobody Sep 26, 2024
818fdc4
Simplify inverter handling
tbnobody Sep 26, 2024
3559007
webapp: add app.js.gz
tbnobody Sep 26, 2024
326525c
Merge branch 'pr2306' into dev
tbnobody Sep 26, 2024
7746d01
Apply license headers and automatic code formatting to SpiManager
tbnobody Sep 26, 2024
a18e298
Apply automatic code formatting
tbnobody Sep 26, 2024
12b9542
Added device profile for OpenDTU Fusion v2 PoE
tbnobody Sep 26, 2024
f36a3bf
increase chunkSizeWarningLimit for webapp build (#1287)
vaterlangen Sep 26, 2024
d770566
increase chunkSizeWarningLimit for webapp build (#1287)
vaterlangen Sep 26, 2024
411fe7e
issue template: adjust all remaining occurences of "OpenDTU"
schlimmchen Sep 26, 2024
22d96fd
issue template: fix typo
schlimmchen Sep 26, 2024
de171c5
issue template: fix phrasing
schlimmchen Sep 26, 2024
a7dbf0a
issue template: turn environment input into dropdown
schlimmchen Sep 26, 2024
20159f3
Feature: Add syslog logger (#1267)
ranma Sep 26, 2024
b433830
Rename NetworkEventCb to DtuNetworkEventCb to prevent further upgrade…
tbnobody Sep 27, 2024
b85e0ab
Add default values for ethernet pins in case they are not defined for…
tbnobody Sep 27, 2024
8b05bd2
Take care of different signature of ETH.begin method in Arduino Core 3.x
tbnobody Sep 27, 2024
0fcf606
Added required include to work with IDF 5
tbnobody Sep 27, 2024
d758a34
Update espressif32 from 6.8.1 to 6.9.0
tbnobody Sep 27, 2024
5d8bb8f
Merge upstream tag 'v24.9.26' into development
schlimmchen Sep 27, 2024
aa159fd
prevent actions from running twice when pushing to PRs
schlimmchen Sep 27, 2024
759f899
webapp: Update dependencies
tbnobody Sep 27, 2024
b206cee
webapp: add app.js.gz
tbnobody Sep 27, 2024
6f9ded5
issue template: fix typo
schlimmchen Sep 26, 2024
251bb7b
Add connection check for W5500 before full initialization
LennartF22 Sep 26, 2024
b05975b
Prevent warning on GPIO ISR service registration
LennartF22 Sep 26, 2024
cafdb30
Adjust name of OpenDTU Fusion v2 PoE build environment
LennartF22 Sep 28, 2024
69d2727
Add device profiles for OpenDTU Fusion v2 PoE with displays
LennartF22 Sep 28, 2024
3a7295c
Merge branch 'pr2311' into dev
tbnobody Sep 28, 2024
d0ba065
webapp: optimize syslog settings
schlimmchen Sep 28, 2024
ebb225f
Fix: avoid deprecated setAuthentication() to fix memory exhaustion
schlimmchen Sep 30, 2024
d5d1a99
Fix: force websocket clients to authenticate
schlimmchen Sep 30, 2024
aa5087c
Merge branch 'pr2320' into dev
tbnobody Sep 30, 2024
99a37fe
webapp: Update dependencies
tbnobody Sep 30, 2024
a89c1fa
Revert "Fix: device profile for OpenDTU Fusion with W5500 (#1259)"
schlimmchen Sep 30, 2024
0a289bb
Revert "Feature: Support for W5500 ethernet module (#1231)"
schlimmchen Sep 30, 2024
cbad181
Revert "Feature: SPIPortManager allows simultaneous use of CMT2300 an…
schlimmchen Sep 30, 2024
185ac36
Merge upstream tag 'v24.9.30' into development
schlimmchen Sep 30, 2024
1812e6e
Fix: prevent unauthorized access to OnBattery websockets
schlimmchen Sep 30, 2024
2234ac9
Upgrade ESPAsyncWebServer from 3.3.1 to 3.3.7
tbnobody Oct 2, 2024
38b5807
Remove icon because device_class is set
mbo18 Oct 2, 2024
9df3e30
Remove unused DEVICE_CLASS_TEMP
mbo18 Oct 2, 2024
5040636
Merge branch 'pr2322' into dev
tbnobody Oct 2, 2024
6879300
Merge branch 'pr2323' into dev
tbnobody Oct 2, 2024
0c2b6f1
Fix: Add state_class to several Home Assistant sensors
tbnobody Oct 2, 2024
edfe06e
Feature: Show RSSI of last received packet in radio stats
tbnobody Oct 4, 2024
d5abdc6
Upgrade ESPAsyncWebServer from 3.3.7 to 3.3.11
tbnobody Oct 4, 2024
10b97fa
webapp: Update dependencies
tbnobody Oct 4, 2024
7dac968
Rename NetworkEventCbList_t to DtuNetworkEventCbList_t for further up…
tbnobody Oct 4, 2024
8f4b89a
Replace format strings by platform independent macros
tbnobody Oct 4, 2024
2c10e25
webapp: Update dependencies
tbnobody Oct 5, 2024
4cd5d79
webapp: add app.js.gz
tbnobody Oct 5, 2024
d3d96b5
webapp: Fix eslint issues
CommanderRedYT Oct 5, 2024
6d048ae
Remove EMAC related code for devices that don't have one
LennartF22 Oct 3, 2024
2659204
Initialize the last rssi value with -127 instead of 0 to indicate a n…
tbnobody Oct 6, 2024
b5ca2cf
Fix: "Equal brightness" in LED settings does not work correctly
tbnobody Oct 6, 2024
eaa2f07
Merge branch 'pr2333' into dev
tbnobody Oct 6, 2024
90ea73b
Upgrade ESPAsyncWebServer from 3.3.11 to 3.3.12
tbnobody Oct 6, 2024
b7f830f
webapp: add app.js.gz
tbnobody Oct 6, 2024
d9b9e8a
Huawei CAN: use SpiManager to claim SPI bus (#1311)
schlimmchen Oct 6, 2024
b2913f2
Merge upstream tag 'v24.10.6' into development
schlimmchen Oct 6, 2024
ee54beb
webapp: address eslint issues
schlimmchen Oct 6, 2024
d6d5f32
webapp: pin assignment: hide unsupported pins
schlimmchen Oct 6, 2024
da9fb13
webapp: pin assignment: hide unsupported pins
schlimmchen Oct 6, 2024
e2ec384
welcome to hoylabs: update README and URLs
schlimmchen Oct 7, 2024
9de71fe
cpplint: use cpplint version 1.6.1 for now
schlimmchen Oct 7, 2024
e3b66f7
webapp: Update dependencies
tbnobody Oct 8, 2024
f760520
Fix: generic_esp32_8mb firmware did not boot
schlimmchen Oct 8, 2024
c483347
Feature: show task details in system info view
schlimmchen Sep 28, 2024
6297ae3
Don't set TX timeout to 0 anymore for HW/USB CDC
LennartF22 Oct 9, 2024
096a1ba
Feature: show task details in system info view
schlimmchen Sep 28, 2024
4e293d4
Merge branch 'pr2340' into dev
tbnobody Oct 9, 2024
e533320
Merge branch 'pr2115' into dev
tbnobody Oct 9, 2024
9ee947e
Hotfix to not use DMA on SPI3 of ESP32-S2
LennartF22 Oct 10, 2024
c523f06
feature: Add support for native pytes CAN protocol (#1196)
ranma Oct 10, 2024
2454cea
Fix default value for discharge current limit
ranma Sep 28, 2024
28c0c9d
Fix typo in Battery.cpp
ranma Sep 28, 2024
ecef32a
Merge branch 'pr2344' into dev
tbnobody Oct 12, 2024
36f0ed9
Upgrade ESPAsyncWebServer from 3.3.12 to 3.3.13
tbnobody Oct 12, 2024
f8ad1ac
Fix: Correct output of wifi disconnect reason code
tbnobody Oct 12, 2024
0468ccc
webapp: Update dependencies
tbnobody Oct 12, 2024
fcf401d
Upgrade ESPAsyncWebServer from 3.3.13 to 3.3.14
tbnobody Oct 13, 2024
4bdfd65
Fix: conversion from Kelvin to Centigrade (SmartBatterySense)
schlimmchen Oct 13, 2024
844d920
Feature: show "Smart Battery Sense" temperature in web UI (#1292)
SW-Niko Oct 13, 2024
499f872
Upgrade ESPAsyncWebServer from 3.3.14 to 3.3.15
tbnobody Oct 14, 2024
b252296
Upgrade olikraus/U8g2 from 2.35.30 to 2.36.2
tbnobody Oct 14, 2024
1900d78
webapp: Update dependencies
tbnobody Oct 15, 2024
507e86d
Upgrade ESPAsyncWebServer from 3.3.15 to 3.3.16
tbnobody Oct 15, 2024
dc5eb96
webapp: add app.js.gz
tbnobody Oct 15, 2024
28d4f87
Fix: HTTP power meter custom port (#1333)
1-am-r00t Oct 20, 2024
83437b2
webapp: Enable horizontal scrolling for battery view on small screens…
PhilJaro Oct 22, 2024
0fe1dd8
Merge upstream tag 'v24.10.15' into development
schlimmchen Oct 22, 2024
3aa850a
Fix: German translation for Victron MPPT load output
schlimmchen Oct 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 30 additions & 13 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ labels: ["bug"]
body:
- type: markdown
attributes:
value: >
### ⚠️ Please remember: issues are for *bugs*
That is, something you believe affects every single user of OpenDTU, not just you. If you're not sure, start with one of the other options below.
value: |
### ⚠️ Please remember: issues are for *bugs*⚠️
That is, something you believe affects every single user of OpenDTU-OnBattery, not just you. If you're not sure, start with one of the other options below.
- type: markdown
attributes:
value: |
#### Have a question? 👉 [Start a new discussion](https://github.com/tbnobody/OpenDTU/discussions/new) or [ask in chat](https://discord.gg/WzhxEY62mB).
#### Have a question? 👉 [Start a new discussion](https://github.com/helgeerbe/OpenDTU-OnBattery/discussions/new/choose) or [ask in chat](https://discord.gg/WzhxEY62mB).

#### Before opening an issue, please double check:

- [Documentation](https://www.opendtu.solar).
- [The FAQs](https://www.opendtu.solar/firmware/faq/).
- [Existing issues and discussions](https://github.com/tbnobody/OpenDTU/search?q=&type=issues).
- [Documentation](https://opendtu-onbattery.net)
- [The FAQs](https://opendtu-onbattery.net/firmware/faq/)
- [Existing issues and discussions](https://github.com/helgeerbe/OpenDTU-OnBattery/search?q=&type=issues)
- type: textarea
id: what-happened
attributes:
Expand Down Expand Up @@ -45,20 +45,37 @@ body:
id: install_format
attributes:
label: Install Method
description: How did you install OpenDTU?
description: How did you install OpenDTU-OnBattery?
options:
- Pre-Compiled binary from GitHub
- Pre-Compiled binary from GitHub releases
- Pre-Compiled binary from GitHub actions/pull-request
- Self-Compiled
validations:
required: true
- type: input
id: version
attributes:
label: What git-hash/version of OpenDTU?
description: You can find this in by going to Info -> System
label: What git-hash/version of OpenDTU-OnBattery?
description: You can find this in the Web UI at Info -> System.
placeholder: "e.g. 359d513"
validations:
required: true
- type: dropdown
id: environment
attributes:
label: What firmware variant (PIO Environment)?
description: You can find this in the Web UI at Info -> System.
options:
- "generic_esp32s3_usb"
- "generic_esp32s3"
- "generic_esp32_8mb"
- "generic_esp32_4mb_no_ota"
- "generic_esp32"
- "generic"
- "opendtufusionv2"
- "other (tell us in 'Anything else?')"
validations:
required: true
- type: textarea
id: logs
attributes:
Expand All @@ -78,11 +95,11 @@ body:
attributes:
label: Please confirm the following
options:
- label: I believe this issue is a bug that affects all users of OpenDTU, not something specific to my installation.
- label: I believe this issue is a bug that affects all users of OpenDTU-OnBattery, not something specific to my installation.
required: true
- label: I have already searched for relevant existing issues and discussions before opening this report.
required: true
- label: I have updated the title field above with a concise description.
required: true
- label: I have double checked that my inverter does not contain a W in the model name (like HMS-xxxW) as they are not supported
- label: I have double checked that my inverter does not contain a W in the model name (like HMS-xxxW) as they are not supported.
required: true
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ contact_links:
url: https://discord.gg/WzhxEY62mB
about: Discuss with us on Discord
- name: 🤔 Have questions or need support?
url: https://github.com/tbnobody/OpenDTU/discussions
url: https://github.com/helgeerbe/OpenDTU-OnBattery/discussions
about: Use the GitHub Discussions feature
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: ✨ Request a feature
description: Suggest an improvement idea for OpenDTU!
description: Suggest an improvement idea for OpenDTU-OnBattery!
title: "[Request]"
labels: ["enhancement"]
body:
- type: markdown
attributes:
value: >
**Thank you for wanting to request a feature in OpenDTU!**
**Thank you for wanting to request a feature in OpenDTU-OnBattery!**
Before you go ahead with your request, please first consider if it wouldn't be
better suited in a external home automation software like OpenHAB, ioBroker, Home Assistant etc.
Expand Down
19 changes: 14 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
environments: ${{ steps.envs.outputs.environments }}

build:
name: Build Enviornments
name: Build Environments
runs-on: ubuntu-latest
needs: get_default_envs
strategy:
Expand Down Expand Up @@ -93,18 +93,27 @@ jobs:
python -m pip install --upgrade pip
pip install --upgrade platformio setuptools

- name: Enable Corepack
run: |
cd webapp
corepack enable

- name: Setup Node.js and yarn
uses: actions/setup-node@v4
with:
node-version: "20"
node-version: "22"
cache: "yarn"
cache-dependency-path: "webapp/yarn.lock"

- name: Install WebApp dependencies
run: yarn --cwd webapp install --frozen-lockfile
run: |
cd webapp
yarn install --frozen-lockfile

- name: Build WebApp
run: yarn --cwd webapp build
run: |
cd webapp
yarn build

- name: Build firmware
run: pio run -e ${{ matrix.environment }}
Expand All @@ -130,7 +139,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/2')
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Get tags
run: git fetch --force --tags origin
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/config/release-notes-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
"fix"
]
},
{
"title": "## 🌎 Web Application",
"labels": [
"webapp"
]
},
{
"title": "## 📚 Documentation",
"labels": [
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/cpplint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,22 @@ jobs:
build:
runs-on: ubuntu-latest

# prevent push event from triggering if it's part of a local PR, see
# https://github.com/orgs/community/discussions/57827#discussioncomment-6579237
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install cpplint
pip install cpplint==1.6.1
- name: Linting
run: |
cpplint --repository=. --recursive --filter=-build/c++11,-runtime/references,-readability/braces,-whitespace,-legal,-build/include ./src ./include ./lib/Hoymiles ./lib/MqttSubscribeParser ./lib/TimeoutHelper ./lib/ResetReason
cpplint --repository=. --recursive \
--filter=-build/c++11,-runtime/references,-readability/braces,-whitespace,-legal,-build/include \
./src ./include ./lib/Hoymiles ./lib/MqttSubscribeParser ./lib/TimeoutHelper ./lib/ResetReason
103 changes: 0 additions & 103 deletions .github/workflows/test_build.yml

This file was deleted.

20 changes: 15 additions & 5 deletions .github/workflows/yarnlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,27 @@ jobs:
build:
runs-on: ubuntu-latest

# prevent push event from triggering if it's part of a local PR, see
# https://github.com/orgs/community/discussions/57827#discussioncomment-6579237
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name

defaults:
run:
working-directory: webapp

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Enable Corepack
run: corepack enable
- name: Setup Node.js and yarn
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "22"
cache: "yarn"
cache-dependency-path: "webapp/yarn.lock"

- name: Install WebApp dependencies
run: yarn --cwd webapp install --frozen-lockfile
run: yarn install --frozen-lockfile

- name: Linting
run: yarn --cwd webapp lint
run: yarn lint
32 changes: 32 additions & 0 deletions .github/workflows/yarnprettier.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Yarn Prettier

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

# prevent push event from triggering if it's part of a local PR, see
# https://github.com/orgs/community/discussions/57827#discussioncomment-6579237
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name

defaults:
run:
working-directory: webapp

steps:
- uses: actions/checkout@v4
- name: Enable Corepack
run: corepack enable
- name: Setup Node.js and yarn
uses: actions/setup-node@v4
with:
node-version: "22"
cache: "yarn"
cache-dependency-path: "webapp/yarn.lock"

- name: Install WebApp dependencies
run: yarn install --frozen-lockfile

- name: Check Formatting
run: yarn prettier --check src/
Loading
Loading