Compare commits

..

No commits in common. "a16c05287ea3136550fc795fb223f44de173e9f5" and "3eb313e61ae88f1b3baa1085b41b140aae03aca4" have entirely different histories.

4 changed files with 47 additions and 15 deletions

View File

@ -105,20 +105,21 @@ Ich nutze die HSPI default PINs + IRQ und RESET am PN532
- PN532 NFC Modul
- Verbindungskabel
## Schritt-für-Schritt Installation
### Einfache Installation
1. **Gehe auf [FilaMan Installer](https://www.filaman.app/installer.html)**
### Schritt-für-Schritt Installation
## Einfache Installation
1. **Gehe auf https://www.filaman.app/installer.html
2. **Stecke dein ESP an den Rechner und klicke Connect**
2. **Stecke dein ESP an den Rechner und klicke Connect
3. **Wähle dein Device Port und klicke Intall**
3. **Wähle dein Device Port und klicke Intall
4. **Ersteinrichtung:**
- Mit dem "FilaMan" WLAN-Zugangspunkt verbinden.
- WLAN-Einstellungen über das Konfigurationsportal vornehmen.
- Weboberfläche unter `http://filaman.local` oder der IP-Adresse aufrufen.
### Compile by yourself
## Compile by yourself
1. **Repository klonen:**
```bash
git clone https://github.com/ManuelW77/Filaman.git

View File

@ -95,9 +95,9 @@ I use the HSPI default PINs + IRQ and RESET at the PN532
- `Adafruit_SSD1306`: OLED display control
- `HX711`: Load cell communication
### Installation
## Installation
## Prerequisites
### Prerequisites
- **Software:**
- [PlatformIO](https://platformio.org/) in VS Code
- [Spoolman](https://github.com/Donkie/Spoolman) instance
@ -109,20 +109,20 @@ I use the HSPI default PINs + IRQ and RESET at the PN532
- PN532 NFC Module
- Connecting wires
## Step-by-Step Installation
### Easy Installation
1. **Go to [FilaMan Installer](https://www.filaman.app/installer.html)**
### Step-by-Step Installation
## Easy Installation
1. **Go to https://www.filaman.app/installer.html
2. **Plug you device in and push Connect button**
2. **Plug you device in and push Connect button
3. **Select your Device Port and push Intall**
3. **Select your Device Port and push Intall
4. **Initial Setup:**
- Connect to the "FilaMan" WiFi access point.
- Configure WiFi settings through the captive portal.
- Access the web interface at `http://filaman.local` or the IP address.
### Compile by yourself
## Compile by yourself
1. **Clone the Repository:**
```bash
git clone https://github.com/ManuelW77/Filaman.git

View File

@ -218,6 +218,37 @@ bool setBambuSpool(String payload) {
doc.clear();
yield();
}
/*
if (setting_id != "") {
yield();
doc["print"]["sequence_id"] = 0;
doc["print"]["command"] = "ams_filament_setting";
doc["print"]["nozzle_temp_min"] = minTemp;
doc["print"]["nozzle_temp_max"] = maxTemp;
doc["print"]["setting_id"] = setting_id;
doc["print"]["tray_color"] = color.length() == 8 ? color : color+"FF";
doc["print"]["ams_id"] = amsId < 200 ? amsId : 255;
doc["print"]["tray_id"] = trayId < 200 ? trayId : 254;
doc["print"]["tray_info_idx"] = tray_info_idx;
doc["print"]["tray_type"] = type;
// Serialize the JSON
String output;
serializeJson(doc, output);
if (sendMqttMessage(output)) {
Serial.println("Filament Setting successfully set");
}
else
{
Serial.println("Failed to set Filament setting");
return false;
}
doc.clear();
yield();
}
*/
return true;
}

View File

@ -122,7 +122,7 @@ void loop() {
// Ausgabe der Waage auf Display
if (pauseMainTask == 0 && weight != lastWeight && hasReadRfidTag == 0)
{
(weight < 2) ? oledShowMessage("0") : oledShowWeight(weight);
(weight < 0) ? oledShowMessage("!! -1") : oledShowWeight(weight);
}