this post was submitted on 17 Oct 2025
17 points (100.0% liked)

homeassistant

16655 readers
113 users here now

Home Assistant is open source home automation that puts local control and privacy first.
Powered by a worldwide community of tinkerers and DIY enthusiasts.

Home Assistant can be self-installed on ProxMox, Raspberry Pi, or even purchased pre-installed: Home Assistant: Installation

Discussion of Home-Assistant adjacent topics is absolutely fine, within reason.
If you're not sure, DM @GreatAlbatross@feddit.uk

founded 2 years ago
MODERATORS
 

I'm just bought an Airgradient air quality sensor (actually two, an indoor and an outdoor).

I want to mount the outdoor one but it needs a USB-C power supply. I can run a cable but power isn't exactly close. Do I somehow find a 10m USB-C cable and run it through the roof to the sensor that I mount on the side of the house? What's a normal way of getting USB-C power to an area far away from the closest power point?

you are viewing a single comment's thread
view the rest of the comments
[–] viking@infosec.pub 2 points 1 week ago* (last edited 1 week ago) (1 children)

I have a 15m long USB-C cable that's just about sufficient to power a surveillance camera, but due to the length it only delivers 0.1-0.15A. Depending on the needs that might just be enough though.

Edit: Measured with Ampere (Android app), I simply plugged my phone in to test.

[–] Dave@lemmy.nz 2 points 1 week ago (1 children)

I wasn't able to find peak power draw info but it says it should be plugged into a 2A 5V USB plug. I'm surprised how much your power drops over the length. Maybe the POE solution would be better.

[–] viking@infosec.pub 2 points 1 week ago (1 children)

I really doubt the device really needs 2A, that sounds more like the definition of a generic phone charger than functional requirement. But yeah POE or simply a regular extension cord where you plug in a short cable at the end would be a safe bet.

[–] Dave@lemmy.nz 1 points 1 week ago

I've bit the bullet and ordered a POE to USB adapter, which seems like the best plan. I'd rather that then running another 240v cable through the roof anyway.