Live data from Hacker News

Hacking a $30 IoT camera to do more than it’s worth

hackernoon.com

1–10 of 77 posts

Re: Hacking a $30 IoT camera to do more than it’s worth

#3
post #2

I wonder how he got the root password. I see he found it but not a description of how. Does anyone know how can this be done?

The trick for most device is to get a serial console and set uboot "flashargs" or using the init=bin/sh trick, grab the root hash, shove it through hashcat.

Re: Hacking a $30 IoT camera to do more than it’s worth

#5
post #4

Speaking about cheap cameras. I'm planning to setup some cameras at home. Anyone have any recommendations for devices that are cheap, can see moderately good in the dark, can be connected to a raspberry and doesn't force you to connect to some cloud service?

I have a Wyze cam that I installed OpenIPC on. Very simple process if you’ve ever flashed a firmware before. OpenIPC lets you turn off the cloud stuff and I have mine pushing video over my local network to MotionEye on a Raspberry Pi. The Wyze has IR night vision but the IR can’t see through windows at night so be aware of that.

It was like $25 on Amazon, pretty good deal I think.

Re: Hacking a $30 IoT camera to do more than it’s worth

#6
post #4

Speaking about cheap cameras. I'm planning to setup some cameras at home. Anyone have any recommendations for devices that are cheap, can see moderately good in the dark, can be connected to a raspberry and doesn't force you to connect to some cloud service?

The linked article is a guide to "hacking" a $30 Xiaomi Dafang IP camera. This camera is an "indoor motorized WiFi camera capable of 1080P resolution and decent night-vision, its price is cheap".

If you bought one, all the "hacking" required is inserting a MicroSD card with a custom firmware on it and pressing and holding the camera's reset button to flash the custom firmware. From then on, the camera has the ability to boot from your MicroSD which can contain services that allow the camera to stream to local clients, among other things. More detailed instructions in the article.

Re: Hacking a $30 IoT camera to do more than it’s worth

#7
post #2

I wonder how he got the root password. I see he found it but not a description of how. Does anyone know how can this be done?

The trick for most device is to get a serial console and set uboot "flashargs" or using the init=bin/sh trick, grab the root hash, shove it through hashcat.

You are exactly correct.

https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks/blob/mas...

Re: Hacking a $30 IoT camera to do more than it’s worth

#8
post #4

Speaking about cheap cameras. I'm planning to setup some cameras at home. Anyone have any recommendations for devices that are cheap, can see moderately good in the dark, can be connected to a raspberry and doesn't force you to connect to some cloud service?

I have a Wyze cam that I installed OpenIPC on. Very simple process if you’ve ever flashed a firmware before. OpenIPC lets you turn off the cloud stuff and I have mine pushing video over my local network to MotionEye on a Raspberry Pi. The Wyze has IR night vision but the IR can’t see through windows at night so be aware of that. It was like $25 on Amazon, pretty good deal I think.

Looks great and I was started to look into it, but seems it's just within US (and even with that, probably only provide the power adapter for US plugs). I should have been more clear and indicated I live in the magical world of Europe (Spain specifically).

Re: Hacking a $30 IoT camera to do more than it’s worth

#9
post #4

Speaking about cheap cameras. I'm planning to setup some cameras at home. Anyone have any recommendations for devices that are cheap, can see moderately good in the dark, can be connected to a raspberry and doesn't force you to connect to some cloud service?

I have a Wyze cam that I installed OpenIPC on. Very simple process if you’ve ever flashed a firmware before. OpenIPC lets you turn off the cloud stuff and I have mine pushing video over my local network to MotionEye on a Raspberry Pi. The Wyze has IR night vision but the IR can’t see through windows at night so be aware of that. It was like $25 on Amazon, pretty good deal I think.

I've got the same thing going at home, tough to beat ~7 of these cameras flashed with OpenIPC for the cost of a single drop cam.

Got the rtsp stream connected up to smartthings and blue iris and have had zero trouble with them.

They're only $20 if you order from wyze.com

Re: Hacking a $30 IoT camera to do more than it’s worth

#10
post #4

Speaking about cheap cameras. I'm planning to setup some cameras at home. Anyone have any recommendations for devices that are cheap, can see moderately good in the dark, can be connected to a raspberry and doesn't force you to connect to some cloud service?

The linked article is a guide to "hacking" a $30 Xiaomi Dafang IP camera. This camera is an "indoor motorized WiFi camera capable of 1080P resolution and decent night-vision, its price is cheap". If you bought one, all the "hacking" required is inserting a MicroSD card with a custom firmware on it and pressing and holding the camera's reset button to flash the custom firmware. From then on, the camera has the ability…

Thanks, I saw said article as I'm commenting in it's thread :) But I wanted to avoid the hacking and just buy something that I don't have to force into doing what I want but rather come in a clean slate.
Post reply on HN