3dprinter:octoprint
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
3dprinter:octoprint [2023/05/15 02:03] – Wulf Rajek | 3dprinter:octoprint [2023/05/29 11:55] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 168: | Line 168: | ||
# Optional: Keep socket open for multiple commands | # Optional: Keep socket open for multiple commands | ||
d.set_socketPersistent(True) | d.set_socketPersistent(True) | ||
- | d.set_socketNODELAY(True) | + | #d.set_socketNODELAY(True) |
- | d.set_sendWait(0) | + | #d.set_sendWait(0) |
# Get Status as dictionary | # Get Status as dictionary | ||
Line 185: | Line 185: | ||
for key, value in olddps.items(): | for key, value in olddps.items(): | ||
# print(' | # print(' | ||
+ | if key == 1: | ||
+ | continue | ||
d.set_value(key, | d.set_value(key, | ||
+ | d.set_value(1, | ||
# ' | # ' | ||
# Wulf Default: | # Wulf Default: | ||
- | d.set_value(1, | ||
d.set_value(2, | d.set_value(2, | ||
d.set_value(3, | d.set_value(3, | ||
Line 199: | Line 201: | ||
d.set_value(9, | d.set_value(9, | ||
d.set_value(10, | d.set_value(10, | ||
+ | d.set_mode(mode=' | ||
+ | d.set_value(1, | ||
time.sleep(10) | time.sleep(10) | ||
Line 219: | Line 223: | ||
====== motion webcam ====== | ====== motion webcam ====== | ||
+ | |||
+ | https:// | ||
+ | https:// | ||
< | < |
3dprinter/octoprint.1684112632.txt.gz · Last modified: 2023/05/29 11:53 (external edit)