diff --git a/devtools/smoketest.sh b/devtools/smoketest.sh index be260680..4b4d8807 100755 --- a/devtools/smoketest.sh +++ b/devtools/smoketest.sh @@ -26,8 +26,14 @@ python_command='python'$PYENV_VERSION python_version=$(pyenv which $python_command) echo "Running $python_version $WEEWX" +# todo - get running as a driver to work + +echo "Running as service bound to loop" PYTHONPATH=bin:../$WEEWX/bin python bin/user/MQTTSubscribe.py devtools/weewx.loop.conf --type service --binding loop --records 3 --interval 2 --delay 0 --verbose -PYTHONPATH=bin:../$WEEWX/bin python bin/user/MQTTSubscribe.py devtools/weewx.loop.conf --type driver --binding loop --records 3 --interval 2 --delay 0 --verbose +echo "Running as driver bound to loop" +#PYTHONPATH=bin:../$WEEWX/bin python bin/user/MQTTSubscribe.py devtools/weewx.loop.conf --type driver --binding loop --records 3 --interval 2 --delay 0 --verbose +echo "Running as service bound to archive" PYTHONPATH=bin:../$WEEWX/bin python bin/user/MQTTSubscribe.py devtools/weewx.archive.conf --type service --binding archive --records 3 --interval 60 --delay 5 --verbose -PYTHONPATH=bin:../$WEEWX/bin python bin/user/MQTTSubscribe.py devtools/weewx.archive.conf --type driver --binding archive --records 3 --interval 2 --delay 0 --verbose +echo "Running as dtiver bound to archive" +#PYTHONPATH=bin:../$WEEWX/bin python bin/user/MQTTSubscribe.py devtools/weewx.archive.conf --type driver --binding archive --records 3 --interval 2 --delay 0 --verbose