Closed i-B4se closed 10 months ago
Yep same thing here. This isn't anything to do with this integration, it's something in the Bambu side. My printer is reporting the same IP address in the rtsp section
I get intermittent access,. It seems to work for a little bit after reconfiguring the integration with a new static IP, though eventually breaks.
I get intermittent access,. It seems to work for a little bit after reconfiguring the integration with a new static IP, though eventually breaks.
Try quitting from Bambu Studio and see if the stream reinstates itself, and if not restart the integration and see. I've seen if I've streamed the camera from within studio the HA integration camera doesn't show so it would seem you can't steam in studio and in HA at the same time.
Update: I just tried this myself when the stream stopped working in HA and quitting Bambu Studio didn't help and neither did reloading the Bambu integration. I see this in the logs:
2023-11-23 16:56:55.017 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.bambu_lab_x1_carbon_printer_camera] Error from stream worker: Error opening stream (ERRORTYPE_5, I/O error) rtsps://:@192.168.1.243/streaming/live/1
And I have a static IP address assigned to the printer and is shown correctly in the above extract.
My experience is that the camera feed breaks permanently at the end of the first print. You have to restart the printer to get it working again... for exactly one print.
And I have a static IP address assigned to the printer and is shown correctly in the above extract.
My printer also has a static IP.
I have reinstalled the integration several times and then restarted the printer, but I always get the error message with the wrong IP
It looks like the official Bambu Studio code that handles this ignores the address returned from the rtsp_url
field (it only uses the protocol information):
and then manually constructs a URL using the actual device IP:
Looks like this was fixed once before, and then reverted: https://github.com/greghesp/ha-bambulab/commit/cf6a360b39cce96a281594b14f38940dff8d0765
Re-applied that fix with #299
Closing this specific issue. We have another one tracking general unreliability of the rtsp feed - that is, unfortunately, entirely on the Bambu side.
Describe the bug
Hello, i added this Integration in Home Assistant, but I can not see the Camera of my X1C and getting the following Error:
Error from stream worker: Error opening stream (ERRORTYPE_101, Network unreachable) rtsps://:@192.168.234.100/streaming/live/1
But this is not my IP range. I have 192.168.178.XXX Other options/entitis appear normally.
I have the LAN Mode Liveview on.
Thank you in advance
To Reproduce
I have reinstalled it several times and also tested the cloud version
Expected Behaviour
I think he recognizes the wrong IP but i don't know the reason
What device are you using?
X1C
Diagnostic Output
Log Extracts
No response
Other Information
No response