Harvesting energy from a truck
Yes the trailer must have power for the lights...
they wont be on when it is parked but maybe you can tap into that circuit (tail lights) and use it to charge a battery to supply your device.