I’ve installed local server on my raspberry pi as per instructions. All working OK.
I’ve installed the sql database as per instructions. Tables appear to be created as expected.
my server.properties has been changed (copy of segment from file):
#specifies maximum period of time when hardware socket could be idle. After which #socket will be closed due to non activity. In seconds. Default value 10 if not provided. #leave it empty for infinity timeout hard.socket.idle.timeout=10 #enable DB enable.db=true enable.raw.db.data.store=true #size of async logger ring buffer. should be increased for loads >2-3k req/sec async.logger.ring.buffer.size=2048
i’m not seeing the entry in the postgres log file as indicated in the blynk instructions:
2017-03-02 16:17:18.367 - DB url : jdbc:postgresql://localhost:5432/blynk?tcpKeepAlive=true&socketTimeout=150 2017-03-02 16:17:18.367 - DB user : test 2017-03-02 16:17:18.367 - Connecting to DB... 2017-03-02 16:17:18.455 - Connected to database successfully.
Instead i am seeing:
06:48:12.504 - Separate DB storage disabled. 06:48:12.509 - Separate DB storage disabled. 07:00:37.786 - Separate DB storage disabled. 07:00:37.790 - Separate DB storage disabled.
This appears to be the message instigated when I reboot the raspberry pi
Also on my super chart I’m just seeing live data. No history. Is this also an indication that raw data is not being stored?
Any ideas? Thanks.