Tied a couple of changes to the container, but not much progress, but "always check the logs"...
2021-07-22 02:31:58,675 - octoprint.plugins.EasyServo - INFO - The libraryUsed is pigpio
2021-07-22 02:31:58,675 - octoprint.plugins.EasyServo - INFO - Initializing pigpio
2021-07-22 02:31:58,725 - octoprint.plugins.EasyServo - INFO - <pipio.pi host=localhost port=8888>
2021-07-22 02:31:58,725 - octoprint.plugins.EasyServo - INFO - There was an error initializing pigpio
and then:
2021-07-22 02:33:59,188 - octoprint.server.api - ERROR - Error while executing SimpleApiPlugin EasyServo
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/octoprint/server/api/__init__.py", line 158, in pluginCommand
response = api_plugin.on_api_command(command, data)
File "/usr/local/lib/python3.8/site-packages/octoprint/util/__init__.py", line 1941, in wrapper
return f(*args, **kwargs)
File "/octoprint/plugins/lib/python3.8/site-packages/EasyServo/__init__.py", line 668, in on_api_command
currentX = self.width_to_angle(self.pi.get_servo_pulsewidth(self._settings.get_int(["GPIOX"])))
File "/octoprint/plugins/lib/python3.8/site-packages/pigpio.py", line 1699, in get_servo_pulsewidth
return _u2i(_pigpio_command(self.sl, _PI_CMD_GPW, user_gpio, 0))
File "/octoprint/plugins/lib/python3.8/site-packages/pigpio.py", line 1025, in _pigpio_command
sl.s.send(struct.pack('IIII', cmd, p1, p2, 0))
AttributeError: 'NoneType' object has no attribute 'send'
2021-07-22 02:33:59,724 - octoprint.server.api - ERROR - Error while executing SimpleApiPlugin EasyServo
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/octoprint/server/api/__init__.py", line 158, in pluginCommand
response = api_plugin.on_api_command(command, data)
File "/usr/local/lib/python3.8/site-packages/octoprint/util/__init__.py", line 1941, in wrapper
return f(*args, **kwargs)
File "/octoprint/plugins/lib/python3.8/site-packages/EasyServo/__init__.py", line 668, in on_api_command
currentX = self.width_to_angle(self.pi.get_servo_pulsewidth(self._settings.get_int(["GPIOX"])))
File "/octoprint/plugins/lib/python3.8/site-packages/pigpio.py", line 1699, in get_servo_pulsewidth
return _u2i(_pigpio_command(self.sl, _PI_CMD_GPW, user_gpio, 0))
File "/octoprint/plugins/lib/python3.8/site-packages/pigpio.py", line 1025, in _pigpio_command
sl.s.send(struct.pack('IIII', cmd, p1, p2, 0))
AttributeError: 'NoneType' object has no attribute 'send'
And finally on shutdown:
2021-07-22 02:38:30,523 - octoprint.server - INFO - Shutting down...
2021-07-22 02:38:30,975 - octoprint.server - INFO - Calling on_shutdown on plugins
2021-07-22 02:38:30,979 - octoprint.events - INFO - Processing shutdown event, this will be our last event
2021-07-22 02:38:30,986 - octoprint.events - INFO - Event loop shut down
2021-07-22 02:38:31,927 - octoprint.plugins.tracking - INFO - Sent tracking event shutdown, payload: {}
2021-07-22 02:38:31,928 - octoprint.plugins.EasyServo - INFO - There was an error on shutdown pigpio not connected
2021-07-22 02:38:32,936 - octoprint.server - INFO - Goodbye!
I guess the EasyServo is failing to access pigpiod outside the container, or trying to fire it's own copy? beyond my paygrade...