Hi,
I installed SBFspot last summer on rpi and worked perfectly. On the same rpi is running domoticz too. Two weeks ago I bought a smappee device and wanted to connect it to domoticz. After following these instruction https://www.domoticz.com/wiki/Smappee I noticed that SBFspot.sh was running properly but not the upload daemon. I tried to reinstall both SBFspot and upload daemon but did not work as well, so I restored a SD backup. Yesterday I tried again to partial instruction for smappee (not all); in particular:
1. I run these commands:
1.1 sudo apt-get update
1.2 sudo apt-get upgrade
1.3 sudo reboot
1.4 sudo apt-get install lua5.2 git-core
2. I downloaded these two files from http://www.domoticz.com/forum/viewtopic.php?f=21&t=7279:
2.1 usrlocalsharelua52.tar.gz
2.2 usrlocalliblua52.tar.gz
3. I run these commands:
3.1 sudo mkdir -p /usr/local/share/lua/5.2/
3.2 cd /usr/local/share/lua/5.2/
3.3 sudo tar -xvf ~/temp/usrlocalsharelua52.tar.gz
3.4 sudo mkdir -p /usr/local/lib/lua/5.2/
3.5 cd /usr/local/lib/lua/5.2/
3.6 sudo tar -xvf ~/temp/usrlocalliblua52.tar.gz
I think the above didn't interfere with SBFspot at all;
4. then I applied below commands (as stated here http://www.domoticz.com/wiki/Setting_up_a_RAM_drive_on_Raspberry_Pi):
4.1 sudo nano /etc/fstab
4.2 tmpfs /var/tmp tmpfs nodev,nosuid,size=1M 0 0
4.3 sudo mount -a
4.4 df
then I stopped here and again the SBFspot (download from inverter) worked properly but upload daemon not.
Has anyone idea what's wrong?
thanks and ciao,
gabriele
Comments: no, cause daemon is not working; now the log still: [09:17:27] INFO: Starting SBFspotUploadDeamon Version 1.0.1 [09:17:27] INFO: Starting Daemon... [09:18:26] INFO: Stopping Daemon... [09:18:26] INFO: Stopping Daemon... [09:18:33] INFO: Starting SBFspotUploadDeamon Version 1.0.1 [09:18:33] INFO: Starting Daemon... [09:19:52] INFO: Stopping Daemon... [09:20:00] INFO: Starting SBFspotUploadDeamon Version 1.0.1 [09:20:01] INFO: Starting Daemon... so, it hasn't uploaded today (real-time) records as well as past records of last days (please notice that in the past when I had troubles, the daemon uploaded all the records not you uploaded to pvpoutput); here follow logs folder content: -rw-rw-rw- 1 root root 7612 Dec 13 16:19 SBFspotUpload20151213.log -rw-rw-rw- 1 root root 6823 Dec 14 16:13 SBFspotUpload20151214.log -rw-rw-rw- 1 root root 7426 Dec 15 22:12 SBFspotUpload20151215.log -rw-rw-rw- 1 root root 6617 Dec 16 15:44 SBFspotUpload20151216.log -rw-r--r-- 1 pi pi 396 Dec 24 09:20 SBFspotUpload20151224.log
I installed SBFspot last summer on rpi and worked perfectly. On the same rpi is running domoticz too. Two weeks ago I bought a smappee device and wanted to connect it to domoticz. After following these instruction https://www.domoticz.com/wiki/Smappee I noticed that SBFspot.sh was running properly but not the upload daemon. I tried to reinstall both SBFspot and upload daemon but did not work as well, so I restored a SD backup. Yesterday I tried again to partial instruction for smappee (not all); in particular:
1. I run these commands:
1.1 sudo apt-get update
1.2 sudo apt-get upgrade
1.3 sudo reboot
1.4 sudo apt-get install lua5.2 git-core
2. I downloaded these two files from http://www.domoticz.com/forum/viewtopic.php?f=21&t=7279:
2.1 usrlocalsharelua52.tar.gz
2.2 usrlocalliblua52.tar.gz
3. I run these commands:
3.1 sudo mkdir -p /usr/local/share/lua/5.2/
3.2 cd /usr/local/share/lua/5.2/
3.3 sudo tar -xvf ~/temp/usrlocalsharelua52.tar.gz
3.4 sudo mkdir -p /usr/local/lib/lua/5.2/
3.5 cd /usr/local/lib/lua/5.2/
3.6 sudo tar -xvf ~/temp/usrlocalliblua52.tar.gz
I think the above didn't interfere with SBFspot at all;
4. then I applied below commands (as stated here http://www.domoticz.com/wiki/Setting_up_a_RAM_drive_on_Raspberry_Pi):
4.1 sudo nano /etc/fstab
4.2 tmpfs /var/tmp tmpfs nodev,nosuid,size=1M 0 0
4.3 sudo mount -a
4.4 df
then I stopped here and again the SBFspot (download from inverter) worked properly but upload daemon not.
Has anyone idea what's wrong?
thanks and ciao,
gabriele
Comments: no, cause daemon is not working; now the log still: [09:17:27] INFO: Starting SBFspotUploadDeamon Version 1.0.1 [09:17:27] INFO: Starting Daemon... [09:18:26] INFO: Stopping Daemon... [09:18:26] INFO: Stopping Daemon... [09:18:33] INFO: Starting SBFspotUploadDeamon Version 1.0.1 [09:18:33] INFO: Starting Daemon... [09:19:52] INFO: Stopping Daemon... [09:20:00] INFO: Starting SBFspotUploadDeamon Version 1.0.1 [09:20:01] INFO: Starting Daemon... so, it hasn't uploaded today (real-time) records as well as past records of last days (please notice that in the past when I had troubles, the daemon uploaded all the records not you uploaded to pvpoutput); here follow logs folder content: -rw-rw-rw- 1 root root 7612 Dec 13 16:19 SBFspotUpload20151213.log -rw-rw-rw- 1 root root 6823 Dec 14 16:13 SBFspotUpload20151214.log -rw-rw-rw- 1 root root 7426 Dec 15 22:12 SBFspotUpload20151215.log -rw-rw-rw- 1 root root 6617 Dec 16 15:44 SBFspotUpload20151216.log -rw-r--r-- 1 pi pi 396 Dec 24 09:20 SBFspotUpload20151224.log