Hello! Iām successfully using Blynk with a HTU21D-F temperature and humidity sensor thatās connected to my Arduino Uno via USB to a Raspberry Pi 3 B.
I can review the historical data, check out real-time monitoring, and overall the app is totally awesome!!!
The problem is that typically after a week or so, when I open the Blynk app, it says thereās no data to display. When I remote to the Pi and look to see whatās going on, I see the following:
Connecting: FILE:/dev/ttyACM0,raw,echo=0,clocal=1,cs8,nonblock=1,b9600 <-> openssl-connect:blynk-cloud.com:8441,cafile=/home/pi/sketchbook/libraries/blynk/scripts/certs/server.crt,nodelay
2017/05/07 09:15:29 socat[30739] N opening character device "/dev/ttyACM0" for reading and writing
2017/05/07 09:15:29 socat[30739] N opening connection to AF=2 45.55.96.146:8441
2017/05/07 09:15:29 socat[30739] N successfully connected from local address AF=2 192.168.1.13:57470
2017/05/07 09:15:29 socat[30739] N SSL connection using ECDHE-RSA-AES128-GCM-SHA256
2017/05/07 09:15:29 socat[30739] N SSL connection compression "none"
2017/05/07 09:15:29 socat[30739] N SSL connection expansion "none"
2017/05/07 09:15:29 socat[30739] N starting data transfer loop with FDs [5,5] and [6,6]
2017/05/07 12:08:39 socat[30739] N socket 2 (fd 6) is at EOF
2017/05/07 12:08:40 socat[30739] N socket 2 (fd 6) is at EOF
2017/05/07 12:08:40 socat[30739] N socket 2 (fd 6) is at EOF
2017/05/07 12:08:40 socat[30739] N socket 2 (fd 6) is at EOF
2017/05/07 12:08:40 socat[30739] N socket 2 (fd 6) is at EOF
2017/05/07 12:08:40 socat[30739] N socket 2 (fd 6) is at EOF
2017/05/07 12:08:40 socat[30739] N socket 2 (fd 6) is at EOF
2017/05/07 12:08:40 socat[30739] N socket 2 (fd 6) is at EOF
2017/05/07 12:08:40 socat[30739] N socket 2 (fd 6) is at EOF
2017/05/07 12:08:40 socat[30739] N socket 2 (fd 6) is at EOF
2017/05/07 12:08:40 socat[30739] N socket 2 (fd 6) is at EOF
2017/05/07 12:08:40 socat[30739] N socket 2 (fd 6) is at EOF
2017/05/07 12:08:40 socat[30739] N socket 2 (fd 6) is at EOF
2017/05/07 12:08:40 socat[30739] N socket 2 (fd 6) is at EOF
2017/05/07 12:08:40 socat[30739] N socket 2 (fd 6) is at EOF
2017/05/07 12:08:40 socat[30739] N socket 2 (fd 6) is at EOF
2017/05/07 12:08:40 socat[30739] N socket 2 (fd 6) is at EOF
2017/05/07 12:08:40 socat[30739] N socket 2 (fd 6) is at EOF
2017/05/07 12:08:40 socat[30739] N socket 2 (fd 6) is at EOF
2017/05/07 12:08:40 socat[30739] N exiting with status 0
Reconnecting in 3s...
Connecting: FILE:/dev/ttyACM0,raw,echo=0,clocal=1,cs8,nonblock=1,b9600 <-> openssl-connect:blynk-cloud.com:8441,cafile=/home/pi/sketchbook/libraries/blynk/scripts/certs/server.crt,nodelay
2017/05/07 12:08:43 socat[31329] N opening character device "/dev/ttyACM0" for reading and writing
Interestingly, when I try to control-C the terminal window, it wonāt respond. I looked at the processes running on the pi via the ātopā command but I donāt see the blynk server process; when I try to restart the blynk server, I see on the app that it still is not posting data despite the āstarting data transfer loopā and normal messages that I typically see when running blynk server. However, when I restart the pi and run the blynk server again, it posts the data and everything works fine.
Can anyone help? Thanks so much in advance!