nD-enerserve Forums
/var/tmp/smartpi/values stops updating after a whil - Printable Version

+- nD-enerserve Forums (https://forum.enerserve.eu)
+-- Forum: SmartPi (https://forum.enerserve.eu/forumdisplay.php?fid=1)
+--- Forum: SmartPi - English (https://forum.enerserve.eu/forumdisplay.php?fid=2)
+--- Thread: /var/tmp/smartpi/values stops updating after a whil (/showthread.php?tid=1327)



/var/tmp/smartpi/values stops updating after a whil - Farymann43F - 28.01.2019

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


RE: /var/tmp/smartpi/values stops updating after a whil - jens - 28.01.2019

Is the smartpireadout running?


RE: /var/tmp/smartpi/values stops updating after a whil - Farymann43F - 28.01.2019

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


RE: /var/tmp/smartpi/values stops updating after a whil - Farymann43F - 29.01.2019

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


RE: /var/tmp/smartpi/values stops updating after a whil - Farymann43F - 29.01.2019

I spoke too soon. The smartpi froze on me again today. Please disregard my previous post.


RE: /var/tmp/smartpi/values stops updating after a whil - Farymann43F - 18.02.2019

Hi Jens,
Do you have any more suggestions for me? I am anxious to get my system running properly.


RE: /var/tmp/smartpi/values stops updating after a whil - Farymann43F - 21.02.2019

Hello,

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


RE: /var/tmp/smartpi/values stops updating after a whil - Farymann43F - 18.07.2019

My problem seems to be solved with the latest smartpi update.