• VoidWhisperer 13 hours ago

    > "At first, I was presented with an endless spinner, as I hadn’t configured things properly. The documentation on Github is enough, but frustratingly, the failure mode I ran into was the video just… not loading. However, I eventually got it nailed down, and now I have a new camera in Protect."

    ------------------------

    It is unfortunate that they decided to omit how they fixed the last issue they mentioned. That could've been useful knowledge for others

    • nodesocket 11 hours ago

      I also thought this strange to leave out the exact details and information that people would actually be interested to learn about.

      • jakeydus 12 hours ago

        Honestly, I saw this and was very interested to learn how they actually solved the problem. Cool that OP did it! Bummed that they weren't willing to share how they did it.

        • gerdesj 11 hours ago

          "The documentation on Github is enough, but frustratingly, the failure mode I ran into was the video just… not loading. However, I eventually got it nailed down, and now I have a new camera in Protect."

          Are you sure you want to go down this route: "Turn device into IP Camera"? - https://apps.apple.com/us/app/ip-camera-lite/id1013455241

          Anyway - this is likely the Github mentioned: https://github.com/p10tyr/rtsp-to-onvif

          ... its a proxy that takes a RTSP stream and makes it look all lovely and ONVIF (ie discoverable). The particular fix that OP mentions will be in that Github repo/wiki/issues but given I don't anything Apple, I can't be arsed to search

          I think that Frigate has recently had a proxy or proxy handling recently added. Zoneminder would also work with this approach.

          Please, whatever you do, put your cameras on their own VLAN, with no access to the internet. Especially if names like Reolink (int al) are involved. I own quite a few Reos and they live on a VLAN called SEWER!

        • DrNosferatu 36 minutes ago

          Any list of cool uses for decommissioned iPhones?

          I would be actually quite interested in using my 6S as a tv box / HDMI dongle for streaming and emulation.

          • treesknees 9 hours ago

            From some research, Unifi Protect doesn’t support live audio or audio playback for third-party cameras. It also lacks support for people and vehicle detections.

            I would likely consider using this setup for some inexpensive auxiliary cameras to enhance coverage. I’ve also had the desire to add a cheap remote camera while I’m staying in an Airbnb. However, I wouldn’t use this system for any serious surveillance around the house.

            • Mashimo 8 minutes ago

              > It also lacks support for people and vehicle detections.

              I think they sell hardware to add that to 3rd party cameras. For the low price of 200 :)))) https://store.ui.com/us/en/products/up-ai-port

              • varenc 8 hours ago

                If can support detection events on 3rd party ONVIF cameras, but you have to buy a seperate ubiquiti hardware product to run the detections. Either an AI Port or an AI Key.

                • gregoriol 2 hours ago

                  You could also use the ZoneMinder (open-source), it supports many video/image streams from cameras and provides detections/alerting

              • thisislife2 13 hours ago

                I have heard the camera modules get hot and degrade as they weren't created to be always ON in smartphones?

                • high_priest 11 hours ago

                  And the answer is as always, it depends. Mostly on the chip & sensor combo and if there is additional heat absorbing mass designed for the SoC.

                • xp84 13 hours ago

                  Casey, this is the most Casey thing I've ever heard, using an iPhone + some hackery when even cheap Amazon no-name PTZ cameras ($30-40 usually) natively support onvif! I'm happy it worked for you though.

                  • lgfr3000 8 hours ago

                    Who the hell is Casey? ;)

                    • catgirlinspace 8 hours ago

                      The author of the article.

                  • thelastgallon 5 hours ago

                    Wondering if there is any way to run a webserver on old iphone?

                  • Havoc 13 hours ago

                    Disappointed to see no discussion on battery. That's what is keeping me from implementing this. My old iphones are at 2+ years battery life. i.e. at the point where they're at risk of becoming spicy pillows and I'd love to not have a lithium fire in my apartment. In that context spending 50 bucks on amazon for a camera suddenly seems sound

                    • xp84 13 hours ago

                      Can confirm that sticking an old iPhone, say, connected to power in your garage to serve as a kiosk device 24/7 will 100% result in the battery swelling up. I had it happen. Now, in my case it didn't cause any harm and I was even able to replace that 5S's battery. But tbh I would not trust an Apple device in a permanently-powered situation for this reason.

                      Especially since Apple, in their benevolence, software-restricts the technology of the "only charge to 80%" option to only their newest devices (14 series and up, only) so anything older than that will be torturing its battery if left on a charger long-term.

                      • bigiain 9 hours ago

                        A long time ago, I used to work at a place that decided to stick iPads onto meeting room doorways to display who had the room booked (because people are the worst). These'd last 7 or 8 months before the battery puffed up enough to be noticed, or in a few cases to crack the screens. I grabbed a few power point timer switches, and set them to only over up the charger for a hour a day. Never had another battery puffing failure - at last not in the next 2 or 3 years before I left. (As the iPads got old, charging for 1 hour per day wasn't always enough to keep them running 24x7, but I'd set them to start charging at 6am so worst case was someone needed to power up the iPad and start the room booking webapp on it in the morning. If a particular iPad got its battery into a state where that was happening regularly, we just adjusted the power point timer to charge twice a day, morning and evening.)

                        • radicaldreamer 12 hours ago

                          Apple itself supports using an old iPhone as a camera for Apple TV Facetime and karaoke use, so while this is a risk, it doesn't seem to be something the company is concerned about.

                          https://support.apple.com/guide/tv/use-your-iphone-or-ipad-a...

                        • password4321 12 hours ago

                          This is a product category ("battery health protection device"): https://chargie.org | https://hn.algolia.com/?query=chargie&sort=byDate&type=comme...

                          • CameronBanga 13 hours ago

                            I've not personally tried it, but there have been people who have had success removing their iPhone batteries and getting old devices to power via Lightning.

                            https://www.reddit.com/r/androidafterlife/comments/zpya9p/i_...

                            • Havoc 13 hours ago

                              oh that's fun. I had assumed ifruits would just decide nope if they can't see the battery

                              edit: that's a rather old v6 in link...think they started with their authenticating components after that

                            • thebruce87m 13 hours ago

                              > 2+ years battery life

                              Is this considered old? I own countless devices with batteries older than this.

                              • gregoriol 2 hours ago

                                Depends on how you use it, but with intensive use like 2+ charge cycles a day 7 days a week, and long times connected to charger makes 2+ years quite old.

                                • bigiain 9 hours ago

                                  I'm currently using an iPhone 13 from late 2021, so almost 4 years old. It's showing 79% Maximum Capacity in Battery Health, and I only occasionally use more then 75% of battery over a days use.

                                  I still have the iPhone XR I upgraded from, so a 7 year old 2018 phone, that still holds a whole day's charge too (but doesn't get much use, and doesn't have a SIM in it right now so I'd guess it's powered down the cellular radios?)

                                  I have an iPod Touch from a bit before Covid, so 6 years old from 2019-ish - it stopped getting daily use when Covid and WFH hit, so it's battery is old, but still in reasonable condition. (Pity newer iOS won't run on it...)

                                  • Havoc 12 hours ago

                                    Not an expert on this but my understanding is that at 2+ risk starts to increase, especially that have seen high use and fast charging.

                                    My layman understand is that dendrites accumulate over time so risk is incremental over use...and for phones use and time is basically same thing. Low use items I'd totally run for many more years.

                                    • bongodongobob 12 hours ago

                                      No. We have a couple hundred phones at work that are 5-9 years old. Does failure rate increase with time? Of course. Until you hit 5 years, the phone is perfectly fine.

                                      • bigiain 9 hours ago

                                        I think it's charge/discharge cycles more than time that gets to batteries. I've heard that a decent rule of thumb for LiPo batteries is that they'll drop to around 80% of "new capacity" in around 1000 cycles. So around 3 years to drop to 80% capacity if they're fully charged/discharged daily, or around 5 years if they're only discharged to 30-40% and topped up daily. If you only charge them once every week or month (like my Kindle), the battery will probably still be fine after 20 years. And on the other hand if you're the sort of person who talks on your ophoine for several hours a day (like my boss) or streams YouTube all day - and need to recharge your phone in the middle of the day, you'r battery could drop below 80% in a yeah and a half.

                                  • yapyap 11 hours ago

                                    UniFi people are like the vegans of tech

                                    • protocolture 7 hours ago

                                      No this is false. Vegans have a point. UniFi enthusiasts are damaged without any underlying technical or moral reasoning.

                                      UBNT has this weird market slice where their kit falls into being either dogshit with long term support or almost great with terrible support.

                                      Seeing the same people complaining that they have to move to a new portal every few years, deploying customer facing Unifi OLTs gives me this incredible belly laugh.

                                      • Mashimo 3 minutes ago

                                        As someone who might move into a house soon and wants wifi + a few cameras with on prem AI, what are the alternatives? Needs to be easy to setup.

                                        Why are UniFi enthusiasts without moral reasoning?

                                        • jwr 3 hours ago

                                          Show me an alternative, then. Requirements are:

                                          * flawless wi-fi

                                          * tiny managed PoE switches

                                          * networking UI that lets you document things (name ports and devices, etc)

                                          * security cameras

                                          * storage/playback for security video

                                          * quick setup

                                          * zero fiddling required

                                          All this needs to be integrated and must not require fussing around too much, I currently have three networks/setups and my life is too short for manually messing around with infrastructure.

                                          I guess you would classify me as a "damaged unifi enthusiast", while I'm just practical: this stuff works for me (has worked for the last several years). I'm open to other solutions, but they need to be more than just "possible" and have more advantages than "not being unifi".

                                        • gerdesj 11 hours ago

                                          Sorry?

                                          I run an IT company and a lot of my customers have Unifi APs (we sold them). Our in house controller has a lot of sites on it and it must be a good 10 years old now. Its certainly gone through at least three Ubuntu LTSs.

                                          I eat vegans for lunch.

                                          • mmastrac 10 hours ago

                                            The joke for those who missed it:

                                            "How do you know somebody loves Unifi?"

                                            "Don't worry they'll tell you"

                                            Disclaimer: I do like unifi.

                                            • nodesocket 11 hours ago

                                              It is really good though. Network has come a long way, and really is powerful, intuitive, and can support most advanced use cases. Protect is awesome, no cloud storage tomfoolery. AI features like license plate and facial recognition, and partner it with access and you can do some awesome integrations such as automatically open up your front gate, door, etc based on your car or face.

                                              • aspenmayer 9 hours ago

                                                Have they had a third party audit since a disgruntled employee did whatever they did? They had an insider threat situation a couple years back I think. I didn’t follow the story closely at the time, but I’ve supported end users and installs for Ubiquiti/Unifi stuff, and since that happened, I haven’t really been sure how much I should trust them.

                                            • tucnak 5 hours ago

                                              The only bit of Ubiquiti gear I can tolerate is the many years out-of-date EdgeRouter 8 Pro, and only because OpenWrt supports it, and it runs dual-core octeon (2 GB DDR3 which is huge for a router) with decent hardware flow offloading.