DanalEstes / DuetLapse

Time Lapse camera support for Duet based 3D printers
23 stars 16 forks source link

The script doesn't "recognize" the printer at the correct IP address #7

Open thedragonlord71 opened 3 years ago

thedragonlord71 commented 3 years ago

I've installed everything needed with no problems.

When I start the script with ./DuetLapse.py -duet 192.168.1.7 -camera pi it appears the following log: Attempting to connect to printer at 192.168.1.7 http://192.168.1.7 does not appear to be a RRF2 or RRF3 printer Device at 192.168.1.7 either did not respond or is not a Duet V2 or V3 printer.

My board is an original Duet 2 WiFi with the latest official release of RRF3

Am I doing something wrong?

1605703766256-5ded8a86-3b61-4ef3-bbf0-20c2be4a69e2-image 1605703732336-f52d9746-c7c9-4e07-999a-ec90cdf64382-image

JohnOCFII commented 3 years ago

Can you ping the printer IP address from the Raspberry Pi?

What is the IP address of the Raspberry Pi?

Is there a firewall between your Raspberry Pi and the Duet board?

thedragonlord71 commented 3 years ago

Hi, I haven't tried to ping the printer from the PI, I'll give it a try, the PI address is 192.168.1.13, why? And no, I don't think the router has some sort of firewall but I'll check it out...In case the router has some sort of firewall active what setting should I look for that could be the responsible of this lack of comunication between the 2 devices? So in your opinion this problem could be caused only by a netowrk issue or could it be some sort of wrong setting in PI/RRF?

JohnOCFII commented 3 years ago

I see you opened a forum ticket - I'll continue there -- better chance of others seeing the issue and offering help too.

thedragonlord71 commented 3 years ago

I see you opened a forum ticket - I'll continue there -- better chance of others seeing the issue and offering help too.

ok, thanks

maziggy commented 2 years ago

Had the same problem and just looked into the code. It looks like something has changed in the web API. You now have to omit the leading ['result'] for the JSON data.