@sweetpi my DB is about 60 MB, i just tried with a new empty DB there is no problem
Here is the error message
12:44:59.488 [pimatic] deleteing expired logged values
12:45:35.436 [pimatic-homeduino] Couldn't connect (operation timed out after 5000 ms), retrying...
TypeError: Cannot read property 'length' of undefined
at Function.Buffer.concat (buffer.js:491:20)
at afterRead (/root/pimatic-git/node_modules/pimatic-homeduino/node_modules/homeduino/node_modules/serialport/serialport.js:323:36)
at /root/pimatic-git/node_modules/pimatic-homeduino/node_modules/homeduino/node_modules/serialport/serialport.js:342:9
at Object.wrapper [as oncomplete] (fs.js:454:17)
EDIT, i think (due to the error message) this is the continuation of the story here:
https://github.com/pimatic/pimatic/issues/443
except that now:
-pimatic is NOT stable when running (crash after some minutes or very few hours)
-pimatic crash *even if the raspberry has been freshly rebooted…