Hi, I guess it depends on what your 'plugin' does and how it works with weeWX, but the weeWX simulator is easily modified to feed weeWX with loop packets containing whatever fields and values you want. The simulator code is in bin/weewx/drivers/simulator.py.
Gary