Current height doesn't change

What is the problem?

Started a print this morning and for the first 4 layers, OctoPrint reported the current height as 0.3mm. It was only when it got to layer 5 did it change to showing the correct height.

What did you already try to solve it?

Refreshing the browser

Have you tried running in safe mode?

No

Did running in safe mode solve the problem?

WRITE HERE

Systeminfo Bundle

browser.user_agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/111.0
connectivity.connection_check: 1.1.1.1:53
connectivity.connection_ok: True
connectivity.enabled: True
connectivity.online: True
connectivity.resolution_check: octoprint.org
connectivity.resolution_ok: True
env.hardware.cores: 4
env.hardware.freq: 1400.0
env.hardware.ram: 914006016
env.os.bits: 32
env.os.id: linux
env.os.platform: linux
env.plugins.pi_support.model: Raspberry Pi 3 Model B Plus Rev 1.3
env.plugins.pi_support.octopi_version: 0.18.0
env.plugins.pi_support.octopiuptodate_build: 0.18.0-1.8.4-20220927151125
env.plugins.pi_support.throttle_check_enabled: True
env.plugins.pi_support.throttle_check_functional: True
env.plugins.pi_support.throttle_state: 0x80000
env.python.pip: 20.3.3
env.python.version: 3.7.3
env.python.virtualenv: True
octoprint.last_safe_mode.date: 2022-11-12T23:56:01Z
octoprint.last_safe_mode.reason: incomplete_startup
octoprint.safe_mode: False
octoprint.version: 1.8.6
printer.firmware: Marlin 2.0.6.0 (Jul 28 2021 10:39:52)
systeminfo.generated: 2023-02-26T08:19:21Z
systeminfo.generator: zipapi

Additional information about your setup

OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible

OctoPrint 1.8.6. Creality Ender 2 Pro.
For all of these layers it was reporting the height as 0.3mm
octoprint.plugins.crealityprinter - INFO - tb_send_attributes:{'curPosition': 'X:84.36 Y:76.93 Z:0.2'}
octoprint.plugins.crealityprinter - INFO - tb_send_attributes:{'curPosition': 'X:78.69 Y:77.83 Z:0.4'}
octoprint.plugins.crealityprinter - INFO - tb_send_attributes:{'curPosition': 'X:78.69 Y:78.03 Z:0.6'}
octoprint.plugins.crealityprinter - INFO - tb_send_attributes:{'curPosition': 'X:78.69 Y:78.22 Z:0.8'}
Until this layer when it changed to correctly reporting the height.
octoprint.plugins.crealityprinter - INFO - tb_send_attributes:{'curPosition': 'X:78.69 Y:78.41 Z:1.0'}

Please do so.

Your Pi seems to get quite hot.

And please attach the systeminfo bundle to your next post.

The temperature of the Raspberry Pi is 51.0°C
octoprint-systeminfo-20230226081921.zip (58.0 KB)

Anyhow, the Pi reports Soft temperature limit has occurred

There are issues with Obico:

2023-02-25 16:47:40,914 - octoprint.plugins.obico - ERROR - Exception
Traceback (most recent call last):
  File "/home/pi/oprint/lib/python3.7/site-packages/picamera/camera.py", line 1888, in capture_continuous
    encoder.start(output)
  File "/home/pi/oprint/lib/python3.7/site-packages/picamera/encoders.py", line 1136, in start
    self._add_exif_tag(tag, self.exif_tags.get(tag, timestamp))
  File "/home/pi/oprint/lib/python3.7/site-packages/picamera/encoders.py", line 1124, in _add_exif_tag
    self.output_port.params[mmal.MMAL_PARAMETER_EXIF] = mp[0]
AttributeError: 'NoneType' object has no attribute 'params'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/oprint/lib/python3.7/site-packages/octoprint_obico/webcam_stream.py", line 527, in capture_forever
    for foo in self.pi_camera.capture_continuous(bio, format='jpeg', use_video_port=True):
  File "/home/pi/oprint/lib/python3.7/site-packages/picamera/camera.py", line 1900, in capture_continuous
    del self._encoders[splitter_port]
KeyError: 0

You are running Obico and OctoEverwhere side by side.
For functionality, only one is necessary.

And please avoid restarting the Pi by pulling the plug:

2023-02-25 16:47:45,557 - octoprint.plugins.obico - WARNING - Server WS ERROR: Not connected to websocket server after 5s
2023-02-25 16:47:48,310 - octoprint.startup - INFO - ******************************************************************************
2023-02-25 16:47:48,315 - octoprint.startup - INFO - Starting OctoPrint 1.8.6
2023-02-25 16:47:48,317 - octoprint.startup - INFO - ******************************************************************************

This can lead to corrupted a file structure on the SD card in the Pi.

I haven't unplugged the Pi:
pi@octopi:~ $ uptime
10:04:50 up 24 days, 2:15, 1 user, load average: 0.38, 0.30, 0.34

This might've been when one of the plug-ins had an update yesterday.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.