xperiments-in / xtouch

Other
570 stars 54 forks source link

Missing config.json and DS18B20 Temp Sensor Issue #129

Closed oculardynamic closed 2 weeks ago

oculardynamic commented 2 weeks ago

Describe the bug XTouch updated properly OTA, but upon reboot i get error "Missing config.json"

To Reproduce On boot up

Expected behavior Should boot up

XTOUCH (please complete the following information): Newest Version

Printers (please complete the following information): For P1P

I also noticed once I was able to remedy the missing config file detailed in the next post for anyone else looking for help that my DS18B20 chamber temp sensors are no longer working. They are stuck on "5", wondering if the update perhaps broke communication to sensor?

oculardynamic commented 2 weeks ago

To Remedy Missing config.json see below.

Create a Configuration File:

Use the online configuration TOOL to generate a config.json file. Place it on the root directory of the SD card. Your SD card is now properly initialized with the required configuration. This configuration will enable the xtouch screen to connect to your WiFi network and BambuLab servers during the installation process.

EnergySaversAi commented 2 weeks ago

I have the same issue with chamber temperature stuck on 5

oculardynamic commented 2 weeks ago

I have the same issue with chamber temperature stuck on 5

Good to know it was the update that broke the temp sensor. Hopefully we can get that fixed

wi1k1n commented 2 weeks ago

I have the same setup, but instead of OTA I flashed firmware using online flashing tool. No issues with DS18B20 🤔

EnergySaversAi commented 2 weeks ago

I also flashed by firmware.bin no temp sensor always 5

oculardynamic commented 2 weeks ago

I think i read on facebook you have to reformat the sdcard if you do the OTA

xperiments commented 2 weeks ago

All of you, can say what printer model. I am unable to reproduce it in P1P

puckshaw commented 2 weeks ago

My chamber temp sensor is stuck on 5 also. P1S. OTA update and created new config file.

xperiments commented 2 weeks ago

And formatted SD?

xperiments commented 2 weeks ago

Could also you post in zip the contents of xtouch folder

xperiments commented 2 weeks ago

I am closing it, as I have tested and retested and the only logic here to fail is that you have not formatted the SD card

Please

Format your SD card Copy config.json to it Reboot screen Setup touch etc

Please reopen if them does not work and also come to Discord where is more easy to help in this things Also provide the contents of xtouch folder

THX!!

xperiments commented 2 weeks ago

OK reopened as I have found the bug...

Working on it...

xperiments commented 2 weeks ago

Fixed in v0.9.104.

Install. Set chamber on another time Reboot

oculardynamic commented 2 weeks ago

Fixed in v0.9.104.

Install. Set chamber on another time Reboot

OTA Installed, chamber still showing 5, but i'm not exactly what "Set Chamber on another time" means? I still dont see it listed in the settings on the device to turn on/off. Should i set the chamberTempDiff sensor to "1" in the settings file as its shows set to "0." This is for an xtouch connected to a P1P and another to a P1S. xtouch contents is printer.json, printer-ips.json, printer-pair.json, settings,json, touch.json

xperiments commented 2 weeks ago

Have y formated the SD?

Moe555 commented 1 week ago

I had the same issue. I can confirm that after formatting SD, copying config.json, reinstalling via USB and setting the chamber temp to on afterwards it's working fine again.