EliasKotlyar / Xiaomi-Dafang-Hacks

4.18k stars 1k forks source link

USB to Ethernet - One Cable #1758

Closed SomebodySysop closed 2 years ago

SomebodySysop commented 3 years ago

This is an issue tracking system only. If you have general questions or are a newbie, please ask for help in our chat channel.

To make sure your issue can be resolved as quickly as possible please state your

Description

I enabled USB to Ethernet connection plugging this device https://www.amazon.com/dp/B00MYT481C?psc=1&smid=AKXVBT49GGF3B&ref_=chk_typ_imgToDp into the 2nd USB port and checking "Enable USB Ethernet (Disables Wifi)". Very nice work.

I was wondering if it is possible to run this with just one cable instead of two (POE)? The camera will be located outside and running one wire to it would be preferable if possible.

What did you do to debug the issue

I have not tried to do this myself. I ordered a female to female usb coupler and my plan is to connect power cable from camera to usb-to-ethernet adapter and connect the ethernet cable to a POE hub. But, I thought I would ask just the same to see if anyone has tried it.

Evidence

Kind of pieced together the process from these posts:

https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks/issues/1176 https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks/issues/1378

20210711_013308 20210711_013314

Contribute Back

If your issue was resolved, please consider contributing back to the project by creating a pull request to improve the code or documentation in order to avoid that this issue arises again for other people.

rgon commented 3 years ago

Just get a 5v POE PD extractor (POE -> Ethernet & Micro USB), they cost about 4 dollars in AliExpress IIRC. Search for "Micro USB POE" and you'll find a ton. You might want a short (10cm+) MicroUSB extension cable to tidy the cables up. On the dafang, you can just tape the USB-Eth converter to the back.

dafang_xiaofang_poe

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.