News for hackers. Stuff that matters.
Re:Ask HN: IP cameras that don't require an app or internet by fabioyy on Friday June 23, 2023 @01:03PM (#36449548)
A little off topic, i don´t know your use case, but you can use an old phone as webcam, they will be better in quality than any IP camera.

A little example using my old galaxy s11. ( its connected to a pc using usb, airplane mode, no internet )

https://www.youtube.com/watch?v=2CDE7PsLwzk

Re:Ask HN: IP cameras that don't require an app or internet by disposition2 on Friday June 23, 2023 @01:28PM (#36449846)
Be careful when doing this. If left unchecked this could very easily start a fire. I did this with an old Nexus 5 and it only took a couple of days before I had a spicy pillow.

Although, this probably works well for a device with a removable battery and that can be powered by USB alone.

Re:Ask HN: IP cameras that don't require an app or internet by freedomben on Friday June 23, 2023 @01:46PM (#36450062)
Yes, this is solid advice. If you are going to leave it plugged in all the time, check on the battery regularly to make sure it isn't swelling.
Re:Ask HN: IP cameras that don't require an app or internet by bobbean on Friday June 23, 2023 @02:45PM (#36450729)
Would it be possible to use the phone without a battery?
Re:Ask HN: IP cameras that don't require an app or internet by megous on Friday June 23, 2023 @03:15PM (#36451044)
If the hardware and software are designed and tested for it, then yes.

Otherwise you may run into various issues caused by phone self-limiting power it takes from USB port. Some kind of negotiation needs to happen before the phone can safely raise the input power limits. If it needs more than currently allowed, it will just poweroff immediately, instead of satisfying the excess need from the battery.

Re:Ask HN: IP cameras that don't require an app or internet by blobcode on Friday June 23, 2023 @03:10PM (#36450987)
There are a good number of androids that can run without a battery as long as they are plugged in, though that varies by model and manufacturer.
Re:Ask HN: IP cameras that don't require an app or internet by davchana on Friday June 23, 2023 @03:26PM (#36451153)
Or a timer switch. Christmas lights 6 hours on 18 off power timer switch. Or a smart switch. Also make sure there is no cushy things like pillow or clothes or stuff around phone.
Re:Ask HN: IP cameras that don't require an app or internet by Reubachi on Friday June 23, 2023 @03:49PM (#36451425)
How does this comment come up whenever IP cameras or dash cams are mentioned? You certainly "can use a old phone as a webcam" and it will be "better quality". That's because it's a device designed to view commercial media, text, etc from your hand while mobile, connected to a network 24/7.

As an analogy, you have a 40 year old Ferrari in pristine condition that really doesn't have much work value, but still a fast classic car. also you daily drive a 5 year old cheap truck. if your daily breaks down, would you replace it with your Ferrari which is certainly "faster" and better quality?

Re:Ask HN: IP cameras that don't require an app or internet by stragies on Friday June 23, 2023 @06:47PM (#36453254)
For this scenario I'd like to buy a device powered by POE, with USB-Eth, some free USB-Ports with PPPC, and some contraption, that goes through a hole in the back of the phone to the battery connector inside.

I had assembled something like that for my old SGS2 alarm clock out of a POE-5V splitter, an USB otg adapter, an Uhubctl-compatible USB-HUB powered by the POE-Splitter, and assorted cabling including a lead to the internal battery terminal with the top bar of an old battery (It contains some electronics). UGLY. Does anybody know a pre-made device like that?