nD-enerserve Forums

Full Version: /var/tmp/smartpi/values stops updating after a whil
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
My system works for a while (maybe up to an hour) then freezes.  The /var/tmp/smartpi/values file updates while the system is working then this file no longer updates.  I2cdetect shows that the smartpi is still connected to the raspberry pi and the data in address 38 is still being updated when I check using i2cdump after the system freezes.

Steps I have tried:
  • systemctl restart smartpi
  • smartpireadout
  • smartpiserver
The only way I have found to get the system to work again is by reboot.

Can someone help me find my problem?
Thanks,
Jay
Is the smartpireadout running?
It looks like it is running in htop.
When I run smartpireadout from the command line I get:

panic: Error starting HTTP server: listen tcp :9246: bind: address already in use

goroutine 1 [running]:
main.main()
/home/jens/share/Produkte/SmartPi/scr/github.com/nDenderserve/SmartPi/src/readout/main.go:279 +0x2bc
I have commented out the following line from the /etc/cron.d/smartpi file and this seems to help. I do not need the umts functionality. I hope this helps you to find the problem.


MAILTO=""

# SmartPi FTP-Upload
0 0 * * * pi /usr/local/bin/smartpiftpupload
#0/5 * * * * root /usr/local/bin/smartpi_ckeck-umts.sh
I spoke too soon. The smartpi froze on me again today. Please disregard my previous post.
Hi Jens,
Do you have any more suggestions for me? I am anxious to get my system running properly.
Hello,

Maybe if you let my messages be posted to the forum others might be able to help?