odwdinc / DWIN_T5UIC1_LCD

Python class for the Ender 3 V2 LCD
GNU General Public License v3.0
176 stars 73 forks source link

error connecting with remote RPI0 #22

Open floflobal opened 8 months ago

floflobal commented 8 months ago

hi, I'm trying to connect a raspberry pi 0 (which the screen is connected) to an Android box where Klipper/moonracker/octoprint are installed. The screen lights up with the logo but run.py returns the message "DWIN OK. Unable to connect socket /home/florian/printer_data/comms/klippy.sock [2,ENOENT]" I changed the IP 127.0.0.1 to the IP of the box (192.168.X.X) on line 256 of "printerinterface.py". The API key is good. But it does not work. My question: how to connect remotely? Thks

MarcCUCULIERE commented 7 months ago

Hi Florian, if you are working with socks it is "better" to stay with the localhost. is the socks file present ?