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?

  • viking@infosec.pub
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    2 days ago

    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.nzOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      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
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 days ago

        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.nzOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 days 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.