@daddycool
I uiinstalled the mqtt plugin and delete the mqtt folder in pimatic-app/node_modules/mqtt
then I reinstalled mqtt and it works.