Hey everyone, I wanted to share my recent success in integrating public city cameras into my Home Assistant setup. It’s been a fun project that combines live video feeds with some automation magic. Here’s how I did it and what I learned along the way. The Setup I’ve always been fascinated by the idea of monitoring public spaces from the comfort of my home. Whether it’s checking out the bustling streets of New York or keeping an eye on the beach in Tel Aviv, having these live feeds integrated into HA adds a whole new layer of connectivity. I started by researching publicly available camera APIs and stumbled upon some great resources like earthcam.com and webcams.travel. These platforms offer a variety of live streams that are perfect for integration. The Configuration Setting this up was a mix of excitement and trial-and-error. I used the ffmpeg and generic camera platforms in HA to pull in the streams. For static images, I relied on sensors to fetch the latest snapshot URLs. Here’s a quick breakdown of what worked for me: - NYC Cameras: I used ffmpeg to stream live video from iconic locations like Times Square and Broadway. - Tel Aviv Beach: A generic camera setup with a dynamic URL pulled from a sensor gave me real-time beach views. - Jerusalem Wall: Another ffmpeg stream provided a live feed of this historic site. I also set up an automation to take daily snapshots of key locations, which I store in a dedicated folder. This way, I can revisit these moments anytime I want. Challenges and Tips While the setup was mostly smooth, there were a few hurdles: - Bandwidth Usage: Live video streams can be bandwidth-intensive. I made sure to configure ffmpeg with lower bitrate settings to keep things stable. - API Stability: Some camera feeds were less reliable than others. I recommend sticking to well-known platforms for better uptime. - HA Performance: Running multiple ffmpeg streams on a Raspberry Pi 3 was manageable, but I kept an eye on resource usage to avoid any slowdowns. Resources and Recommendations If you’re interested in trying this out, here are some resources to get you started: - Check out the HA camera documentation for platform-specific details. - Experiment with different ffmpeg settings to optimize performance. - Explore public camera APIs and ensure you’re abiding by their usage policies. Final Thoughts Integrating public city cameras into HA has been a fantastic project. It’s not just about the live feeds—it’s about the stories these feeds tell and the connections they help me make. Whether it’s spotting a familiar face or just enjoying the view, this setup adds a unique touch to my smart home. If anyone has questions or wants to share their own camera integration experiences, I’d love to hear from you! Let’s keep the creativity flowing! ![]()