Skip to content

Commit 7f53ee8

Browse files
committed
Merge branch 'rpipicow' of https://github.com/agreenbhm/OpenSpool into rpipicow
2 parents 93bb6c1 + 7d2cc8c commit 7f53ee8

15 files changed

+42
-39
lines changed

.github/workflows/esphome.yaml

+4-2
Original file line numberDiff line numberDiff line change
@@ -74,18 +74,20 @@ jobs:
7474
cat firmware/conf.d/version.yaml
7575
7676
- name: Build OpenSpool-Mini firmware
77-
uses: esphome/build-action@v4.0.2
77+
uses: esphome/build-action@v6.0.0
7878
with:
7979
yaml-file: ${{ github.workspace }}/firmware/lolin_s2_mini.yaml
80+
version: 2024.12.4
8081
release-summary: ${{ env.RELEASE_SUMMARY }}
8182
release-url: https://openspool.io/firmware
8283
complete-manifest: false
8384
if: matrix.target == 'esp32s2'
8485

8586
- name: Build OpenSpool-AMS firmware
86-
uses: esphome/build-action@v4.0.2
87+
uses: esphome/build-action@v6.0.0
8788
with:
8889
yaml-file: ${{ github.workspace }}/firmware/lolin_s3_mini.yaml
90+
version: 2024.12.4
8991
release-summary: ${{ env.RELEASE_SUMMARY }}
9092
release-url: https://openspool.io/firmware
9193
complete-manifest: false

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# OpenSpool
88
**Your filament wants to be free**
99

10-
![](https://img.shields.io/badge/openspool-1.18.0-magenta)
10+
![](https://img.shields.io/badge/openspool-1.19.1-magenta)
1111
[![Discord](https://img.shields.io/discord/1298381115706576907?logo=discord)](https://discord.gg/4EaXHu9CEj) [![Reddit](https://img.shields.io/badge/reddit-join-orange?logo=reddit)](https://www.reddit.com/r/openspool)
1212

1313
---

docs/firmware/manifest.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "OpenSpool",
3-
"version": "1.18.0",
3+
"version": "1.19.1",
44
"builds": [
55
{
66
"chipFamily": "ESP32-S2",
77
"ota": {
88
"path": "openspool-esp32s2.ota.bin",
9-
"md5": "0617f2d5931811bbb77810a2b794cc72",
10-
"summary": "Add PETG HF",
9+
"md5": "7fb01acd9baa67eaded2ad43b291416e",
10+
"summary": "Pin esphome version",
1111
"release_url": "https://openspool.io/firmware"
1212
},
1313
"parts": [
@@ -21,8 +21,8 @@
2121
"chipFamily": "ESP32-S3",
2222
"ota": {
2323
"path": "openspool-esp32s3.ota.bin",
24-
"md5": "f4c66702ce689e97cf06d19ab8598708",
25-
"summary": "Add PETG HF",
24+
"md5": "ce2e7bda63b8f1dc7147363c7da5bd6f",
25+
"summary": "Pin esphome version",
2626
"release_url": "https://openspool.io/firmware"
2727
},
2828
"parts": [
16 Bytes
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
da7abc6cd8c84931da289920727ed40a
1+
ff62443682a1aa96da63465ece35f693
16 Bytes
Binary file not shown.
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0617f2d5931811bbb77810a2b794cc72
1+
7fb01acd9baa67eaded2ad43b291416e
32 Bytes
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
c4314d9845f9fe14b4f367305e21f3fc
1+
2ddf258822a514fc62d5c0caa3278e96
32 Bytes
Binary file not shown.
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
f4c66702ce689e97cf06d19ab8598708
1+
ce2e7bda63b8f1dc7147363c7da5bd6f

docs/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ nav_order: 1
66

77
# 📟 OpenSpool Firmware Installation
88

9-
![](https://img.shields.io/badge/openspool-1.18.0-magenta)
9+
![](https://img.shields.io/badge/openspool-1.19.1-magenta)
1010

1111
<div class="install-container">
1212
<script type="module" src="https://unpkg.com/[email protected]/dist/web/install-button.js"></script>

firmware/bambu.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ namespace bambulabs
4040

4141
// Special cases for brand-specific codes
4242
const std::unordered_map<std::string, std::unordered_map<std::string, std::string>> brand_specific_codes = {
43-
{"PLA", {{"Bambu", "GFA00"}, {"PolyTerra", "GFL01"}, {"PolyLite", "GFL00"}}},
43+
{"PLA", {{"Bambu", "GFA00"}, {"PolyTerra", "GFL01"}, {"PolyLite", "GFL00"}, {"Sunlu", "SNL02"}}},
4444
{"PLA Aero", {{"Bambu", "GFG01"}}},
4545
{"TPU", {{"Bambu", "GFU01"}}},
4646
{"ABS", {{"Bambu", "GFB00"}, {"PolyLite", "GFB60"}}},
@@ -50,7 +50,7 @@ namespace bambulabs
5050
{"PET-CF", {{"Bambu", "GFT00"}}},
5151
{"PETG HF", {{"Bambu", "GFG02"}}},
5252
{"PETG Translucent", {{"Bambu", "GFG01"}}},
53-
{"PETG", {{"Bambu", "GFG00"}, {"PolyLite", "GFG60"}}}};
53+
{"PETG", {{"Bambu", "GFG00"}, {"PolyLite", "GFG60"}, {"Sunlu", "SNL08"}}}};
5454

5555
// Function with two parameters
5656
inline std::string get_bambu_code(const std::string &type, const std::string &brand = "")

firmware/conf.d/filament.yaml

+24-23
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ select:
8181
- Overture
8282
- PolyTerra
8383
- PolyLite
84+
- Sunlu
8485
on_value:
8586
then:
8687
- script.execute: generate_filament_brand_code
@@ -184,29 +185,29 @@ select:
184185
}
185186
- script.execute: preview_rfid_data
186187
switch:
187-
- platform: template
188-
name: "Include alpha value in filament color"
189-
id: filament_include_alpha
190-
state_topic:
191-
icon: "mdi:palette-outline"
192-
optimistic: true
193-
web_server:
194-
sorting_group_id: sorting_group_filament_settings
195-
sorting_weight: 70
196-
turn_on_action:
197-
then:
198-
- lambda: |-
199-
id(filament_include_alpha).publish_state(true);
200-
char hexStr[3];
201-
sprintf(hexStr, "%02X", (int)id(filament_alpha_int).state);
202-
id(filament_alpha).publish_state(hexStr);
203-
- script.execute: preview_rfid_data
204-
turn_off_action:
205-
then:
206-
- lambda: |-
207-
id(filament_include_alpha).publish_state(false);
208-
id(filament_alpha).publish_state("");
209-
- script.execute: preview_rfid_data
188+
- platform: template
189+
name: "Include alpha value in filament color"
190+
id: filament_include_alpha
191+
state_topic:
192+
icon: "mdi:palette-outline"
193+
optimistic: true
194+
web_server:
195+
sorting_group_id: sorting_group_filament_settings
196+
sorting_weight: 70
197+
turn_on_action:
198+
then:
199+
- lambda: |-
200+
id(filament_include_alpha).publish_state(true);
201+
char hexStr[3];
202+
sprintf(hexStr, "%02X", (int)id(filament_alpha_int).state);
203+
id(filament_alpha).publish_state(hexStr);
204+
- script.execute: preview_rfid_data
205+
turn_off_action:
206+
then:
207+
- lambda: |-
208+
id(filament_include_alpha).publish_state(false);
209+
id(filament_alpha).publish_state("");
210+
- script.execute: preview_rfid_data
210211
number:
211212
- platform: template
212213
name: "Filament Min Temp"

firmware/conf.d/version.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
# Do not modify, github actions will update the number on each new release
33
substitutions:
4-
version: "1.18.0"
4+
version: "1.19.1"

0 commit comments

Comments
 (0)