Closed capsel22 closed 7 months ago
I have the same issue. 1 week ago everything works well, but now the camera feed is not working anymore. I use the X1e. Thanks for your support.
I just got this installed and both of my X1C's show "Camera Unavailable" even though camera works fine.
See https://github.com/greghesp/ha-bambulab/discussions/453 for suggestions how to make the extremely unreliable rtsp feed off the X1 somewhat reliable for use.
I switched 5 times my Bambulab on/off. Now it works, I dont know how long.....
For me, I think that Bambu Studio are messing the the "LAN mode LiveView" setting under Settings - General. I have found it to be ticked off several times. Might be a bug in firmware? I am using the latest X1C FW. Anyhow - The camera works great for me, after enabling the LAN Mode LiveView toggle. Ive made a PR to update the documentation with this instruction. I missed it and had to tinker quite a bit until I found that this setting needs to enabled for the video stream to be presented to the LAN.
Indeed, enabling LAN mode LiveView in the printer settings made the camera work
What I found best to get the camera working for X1C is:
Since following this steps the Camera is rock solid on my HA.
What I found best to get the camera working for X1C is:
- Enable Lan Mode View
- Reset the Access Code
- Add HA Integration via cloud and add your Printer's IP and Access code after selecting connect to printer localy
- Restart Printer
Since following this steps the Camera is rock solid on my HA.
@polysa If I'm understanding this correctly, this means the camera in HA will not work unless LAN mode is enabled, is this correct? Meaning you can't follow your steps and re-enable LAN mode and have the camera working?
I'm also a little confused by LAN mode (will research this on my own) as it stated the printer will be disconnected from Bambu Studio and Bambu Handy app. I don't quite understand how the printer would be useful anymore without this.
In my testing (admittedly a while back now), there was no difference in stability of the feed in lan mode. The very first rtsp connection is far more stable - but restarting your home assistant will drop that and request a new one and that's very likely (but not guaranteed) to fail until you restart the printer.
My setup is listed here: https://github.com/greghesp/ha-bambulab/discussions/453
I'm currently working on a way to turn off HA connecting to the RTSP feed since in the webrtc configuration I have above I don't any additional connections to the printer that could destabilize the video feed access due to the implementation fragility.
Describe the bug
I've received new X1C and I am having issues with the camera feed. It's almost never working. Sometimes it works for 2-3sec and gets forever stuck, sometimes it just shows black screen. Reboot of the printer rarely fixes it. I have tried toggling the live view off/on and regenerating the access code and re-adding the integration.
I also have P1S and the camera feed is bullet-proof. Bambu handy and studio work as intended.
the debug log is flooded with ERROR (stream_worker) [homeassistant.components.stream.stream.camera.x1c_00m09a372901852_camera] Error from stream worker: Error opening stream (ERRORTYPE_5, I/O error) rtsps://:@192.168.1.125:322/streaming/live/1
To Reproduce
Expected Behaviour
Hopefully to work and show the feed.
What device are you using?
X1C
Diagnostic Output
Log Extracts
No response
Other Information