Compare commits

...

4 Commits

4 changed files with 15 additions and 47 deletions

View File

@ -105,21 +105,20 @@ Ich nutze die HSPI default PINs + IRQ und RESET am PN532
- PN532 NFC Modul - PN532 NFC Modul
- Verbindungskabel - Verbindungskabel
### Schritt-für-Schritt Installation ## Schritt-für-Schritt Installation
## Einfache Installation ### Einfache Installation
1. **Gehe auf https://www.filaman.app/installer.html 1. **Gehe auf [FilaMan Installer](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:** 4. **Ersteinrichtung:**
- Mit dem "FilaMan" WLAN-Zugangspunkt verbinden. - Mit dem "FilaMan" WLAN-Zugangspunkt verbinden.
- WLAN-Einstellungen über das Konfigurationsportal vornehmen. - WLAN-Einstellungen über das Konfigurationsportal vornehmen.
- Weboberfläche unter `http://filaman.local` oder der IP-Adresse aufrufen. - Weboberfläche unter `http://filaman.local` oder der IP-Adresse aufrufen.
## Compile by yourself ### Compile by yourself
1. **Repository klonen:** 1. **Repository klonen:**
```bash ```bash
git clone https://github.com/ManuelW77/Filaman.git 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 - `Adafruit_SSD1306`: OLED display control
- `HX711`: Load cell communication - `HX711`: Load cell communication
## Installation ### Installation
### Prerequisites ## Prerequisites
- **Software:** - **Software:**
- [PlatformIO](https://platformio.org/) in VS Code - [PlatformIO](https://platformio.org/) in VS Code
- [Spoolman](https://github.com/Donkie/Spoolman) instance - [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 - PN532 NFC Module
- Connecting wires - Connecting wires
### Step-by-Step Installation ## Step-by-Step Installation
## Easy Installation ### Easy Installation
1. **Go to https://www.filaman.app/installer.html 1. **Go to [FilaMan Installer](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:** 4. **Initial Setup:**
- Connect to the "FilaMan" WiFi access point. - Connect to the "FilaMan" WiFi access point.
- Configure WiFi settings through the captive portal. - Configure WiFi settings through the captive portal.
- Access the web interface at `http://filaman.local` or the IP address. - Access the web interface at `http://filaman.local` or the IP address.
## Compile by yourself ### Compile by yourself
1. **Clone the Repository:** 1. **Clone the Repository:**
```bash ```bash
git clone https://github.com/ManuelW77/Filaman.git git clone https://github.com/ManuelW77/Filaman.git

View File

@ -218,37 +218,6 @@ bool setBambuSpool(String payload) {
doc.clear(); doc.clear();
yield(); 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; return true;
} }

View File

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