Extend power from outdoor frontyard lamp with a modified smart outdoor plug?
It would be a code violation to use a cord for permanent wiring according to the NEC.
It is not UL listed so it is not made for use in the US. Many devices found online have not passed safety evaluation.