-
Notifications
You must be signed in to change notification settings - Fork 16
Description
Hi,
first of all big thanks for making this available.
I previously used Octopi and timelabs was always on my wish list since I moved fully to Duet.
My setup runs a duetwifi on release 3 firmware. I have a Raspberry pi running with RPi Cam Control as my web cam and it is linked to the duet wifi web interface (webcam page) via a simple URL (http://192.168.2.95/html/cam_pic_new.php) and working fine.
I installed your script and ensured dependencies are available (python, FFmpeg) and tried to get the script to run but so far without luck. I tried just the script and the IP address of the duet as well as script plus the web URL etc.
When running it I get the following error:
./DuetLapse.py -duet 192.168.2.98 Traceback (most recent call last):
File "./DuetLapse.py", line 21, in <module>
import DuetWebAPI as DWA
File "/home/pi/DuetLapse/DuetWebAPI.py", line 27
URL=(f'{self._base_url}'+'/rr_status?type=1')
^
SyntaxError: invalid syntax
I assume that something with the communication between the script and the duet board does not work. Is there something that needs to be enabled on the Deut side on top? Or an API key provided in the script etc?
Thanks !