Compare commits
2 Commits
v1.5.2
...
6dc26ca51f
Author | SHA1 | Date | |
---|---|---|---|
6dc26ca51f | |||
0becae7ed6 |
@@ -54,7 +54,7 @@ Discord Server: [https://discord.gg/my7Gvaxj2v](https://discord.gg/my7Gvaxj2v)
|
|||||||
|
|
||||||
## Hardware-Anforderungen
|
## Hardware-Anforderungen
|
||||||
|
|
||||||
### Komponenten
|
### Komponenten (Affiliate Links)
|
||||||
- **ESP32 Development Board:** Any ESP32 variant.
|
- **ESP32 Development Board:** Any ESP32 variant.
|
||||||
[Amazon Link](https://amzn.to/3FHea6D)
|
[Amazon Link](https://amzn.to/3FHea6D)
|
||||||
- **HX711 5kg Load Cell Amplifier:** For weight measurement.
|
- **HX711 5kg Load Cell Amplifier:** For weight measurement.
|
||||||
|
@@ -58,7 +58,7 @@ Discord Server: [https://discord.gg/my7Gvaxj2v](https://discord.gg/my7Gvaxj2v)
|
|||||||
|
|
||||||
## Hardware Requirements
|
## Hardware Requirements
|
||||||
|
|
||||||
### Components
|
### Components (Affiliate Links)
|
||||||
- **ESP32 Development Board:** Any ESP32 variant.
|
- **ESP32 Development Board:** Any ESP32 variant.
|
||||||
[Amazon Link](https://amzn.to/3FHea6D)
|
[Amazon Link](https://amzn.to/3FHea6D)
|
||||||
- **HX711 5kg Load Cell Amplifier:** For weight measurement.
|
- **HX711 5kg Load Cell Amplifier:** For weight measurement.
|
||||||
|
@@ -167,7 +167,6 @@ bool updateSpoolTagId(String uidString, const char* payload) {
|
|||||||
// Update Payload erstellen
|
// Update Payload erstellen
|
||||||
JsonDocument updateDoc;
|
JsonDocument updateDoc;
|
||||||
updateDoc["extra"]["nfc_id"] = "\""+uidString+"\"";
|
updateDoc["extra"]["nfc_id"] = "\""+uidString+"\"";
|
||||||
if (weight > 10) updateDoc["weight"] = weight;
|
|
||||||
|
|
||||||
String updatePayload;
|
String updatePayload;
|
||||||
serializeJson(updateDoc, updatePayload);
|
serializeJson(updateDoc, updatePayload);
|
||||||
@@ -195,6 +194,9 @@ bool updateSpoolTagId(String uidString, const char* payload) {
|
|||||||
|
|
||||||
updateDoc.clear();
|
updateDoc.clear();
|
||||||
|
|
||||||
|
// Update Spool weight
|
||||||
|
if (weight > 10) updateSpoolWeight(doc["sm_id"].as<String>(), weight);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user