Hi all,
As most of my home automation code gets written and debugged when I’m not home… I don’t like to mess around remotely with an actual 3D printer.
I figured I could install octoprint on a VirtualBox setup and link that to hassio. I tried adding the basic setup which had already worked for my JGAurora octopi.
# Printer 1: Virtual Printer
- name: VirtualPrinter
host: !secret secret_octopi_virtual_host
api_key: !secret secret_octopi_virtual_api
port: 5000
ssl: false
bed: true
number_of_tools: 1
sensors:
monitored_conditions:
- "Current State"
- "Job Percentage"
binary_sensors:
monitored_conditions:
- "Printing"
- "Printing Error"
# Printer 2: JGAurora A5
- name: JGAurora
host: !secret secret_octopi_host
api_key: !secret secret_octopi_api
ssl: false
sensors:
monitored_conditions:
- "Current State"
- "Job Percentage"
binary_sensors:
monitored_conditions:
- "Printing"
- "Printing Error"
However if I use the virtualprinter function at the octiprint gui and start “printing” it still shows as “printer off”.
Anyone knows whether this is spec and I can’t debug using the virtual printer setup? Or could someone give me a push in the right direction pls?
Thanks a lot!
Just some extra info regarding OctoPrint on VirtualBox but accessing it from host system.
You have to set a second network adapter and set it to “Host-Only Adapter”. This way you get it in the same IP range of the host computer. Checking the IP settings allows you to access it from host over port 5000.
And for those of dirty minds such as mine: the handcuffs print was to keep my 3 & 4yo’s from actually locking my hands