120V wired Sensor for smart lighting

Be great to have a wired smart sensor that would mount to a standard 4" round weatherproof electrical box with AC power wiring to control downstream traditional lighting. For example, here you could place a smart sensor at the house and run AC wire from the sensor to traditional 120V lampposts. Basically, the sensor you have now in your smart flood light without the lights.