We have moved at community.getvera.com

Author Topic: New dataMine graphing and logging plugin  (Read 290500 times)

Offline mikee123

  • Hero Member
  • *****
  • Posts: 1521
  • Karma: +18/-11
Re: New dataMine graphing and logging plugin
« Reply #705 on: October 30, 2013, 03:09:19 pm »
Here is the log:


50   10/30/13 18:57:31.926   luup_log:327: dataMine: D[177] S[urn:upnp-org:serviceId:WindSensor1] V[GustSpeed] newVal on startup is 7 was 3 __LEAK__ this:65536 start:3473408 to 0x1c4b000 <0x2bc1f680>
50   10/30/13 18:57:31.938   luup_log:327: dataMine: Watching: D[177] S[urn:upnp-org:serviceId:WindSensor1] V[GustSpeed] <0x2bc1f680>
06   10/30/13 18:57:31.938   Device_Variable::m_szValue_set device: 327 service: urn:cd-jackson-com:serviceId:DataMine1 variable: ChannelCnt was: 0 now: 18 #hooks: 0 upnp: 0 v:0x11fac98/NONE duplicate:0 <0x2bc1f680>
06   10/30/13 18:57:31.939   Device_Variable::m_szValue_set device: 327 service: urn:cd-jackson-com:serviceId:DataMine1 variable: ChannelRec was: 0 now: 18 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2bc1f680>
06   10/30/13 18:57:31.991   Device_Variable::m_szValue_set device: 327 service: urn:cd-jackson-com:serviceId:DataMine1 variable: ChannelCnt was: 18 now: 18 #hooks: 0 upnp: 0 v:0x11fac98/NONE duplicate:1 <0x2bc1f680>
06   10/30/13 18:57:31.992   Device_Variable::m_szValue_set device: 327 service: urn:cd-jackson-com:serviceId:DataMine1 variable: ChannelRec was: 18 now: 18 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2bc1f680>
50   10/30/13 18:57:31.992   luup_log:327: dataMine: Startup complete <0x2bc1f680>
50   10/30/13 18:57:46.321   luup_log:327: dataMine: Delete backups complete - deleted 0 of 79 files <0x2ee1f680>
06   10/30/13 18:57:46.345   Device_Variable::m_szValue_set device: 327 service: urn:cd-jackson-com:serviceId:DataMine1 variable: diskTotal was: 518692 now: 518692 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2ee1f680>
06   10/30/13 18:57:46.346   Device_Variable::m_szValue_set device: 327 service: urn:cd-jackson-com:serviceId:DataMine1 variable: diskUsed was: 24504 now: 25212 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2ee1f680>
06   10/30/13 18:57:46.346   Device_Variable::m_szValue_set device: 327 service: urn:cd-jackson-com:serviceId:DataMine1 variable: diskFree was: 467840 now: 467132 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2ee1f680>
06   10/30/13 18:57:46.347   Device_Variable::m_szValue_set device: 327 service: urn:cd-jackson-com:serviceId:DataMine1 variable: diskUsedPcnt was: 5 now: 5 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2ee1f680>
06   10/30/13 19:02:11.963   Device_Variable::m_szValue_set device: 327 service: urn:cd-jackson-com:serviceId:DataMine1 variable: ChannelCnt was: 18 now: 18 #hooks: 0 upnp: 0 v:0x11fac98/NONE duplicate:1 <0x2ee1f680>
06   10/30/13 19:02:11.964   Device_Variable::m_szValue_set device: 327 service: urn:cd-jackson-com:serviceId:DataMine1 variable: ChannelRec was: 18 now: 18 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2ee1f680>
-2-===========================================================================
/dev/sdb1: LABEL="MiOS" UUID="95981ad4-7111-4e4b-992a-95144dfcbd00"
/dev/sda1: LABEL="MiOS" UUID="8f78a627-ef78-4774-8f2a-69d8cab03d92"
-3-===========================================================================
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,noatime)
sysfs on /sys type sysfs (rw,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /dev type tmpfs (rw,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,noatime,mode=600)
/dev/mtdblock7 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlayfs (rw,noatime,lowerdir=/,upperdir=/overlay)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
/dev/sda1 on /tmp/log/cmh type ext3 (rw,noatime,nodiratime,errors=continue,barrier=0,data=ordered)
/dev/mtdblock8 on /mios type squashfs (ro,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
/dev/sda1 on /dataMine type ext3 (rw,relatime,errors=continue,barrier=0,data=ordered)
-4-===========================================================================

Disk /dev/mtdblock0: 0 MB, 524288 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/mtdblock0 doesn't contain a valid partition table

Disk /dev/sda: 8119 MB, 8119648256 bytes
250 heads, 62 sectors/track, 1023 cylinders
Units = cylinders of 15500 * 512 = 7936000 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1   *           1          68      526999+ 83 Linux
/dev/sda2              69        1023     7401250  83 Linux

Disk /dev/sdb: 4026 MB, 4026531840 bytes
31 heads, 30 sectors/track, 8456 cylinders
Units = cylinders of 930 * 512 = 476160 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sdb1               1        8457     3932032   b Win95 FAT32
-5-===========================================================================
SetDataDirectory-/dataMine/
SetMountUUID    -64F1-A2B1
SetMountPoint   -/dev/sda1
SetManualMount  -0
-6-===========================================================================
{"Version":"0.980","dbVersion":2,"Events":{"count":7586,"last":1383159724},"guiConfig":[],"Variables":[{"Ghost":false,"Service":"urn:dcineco-com:serviceId:MSwitch1","LastRec":1383158135,"DrowsyError":0,"LastHistory":1104516000,"FilterMaximum":0,"Units":0,"Type":0,"FirstRec":0,"LastVal":1,"Device":256,"FilterMinimum":0,"Id":1,"DrowsyWarning":0,"DataType":0,"DataOffset":0,"Name":"MikeHome","FilterEnable":0,"Logging":1,"Variable":"Status8","historyState":0},{"Ghost":false,"Service":"urn:dcineco-com:serviceId:MSwitch1","LastRec":1383158135,"DrowsyError":0,"LastHistory":1104516000,"FilterMaximum":0,"Units":0,"Type":0,"FirstRec":0,"LastVal":0,"Device":256,"FilterMinimum":0,"Id":2,"DrowsyWarning":0,"DataType":0,"DataOffset":0,"Name":"MikeAway","FilterEnable":0,"Logging":1,"Variable":"Status7","historyState":0},{"Ghost":false,"Service":"urn:dcineco-com:serviceId:MSwitch1","LastRec":1383146476,"DrowsyError":0,"LastHistory":1104516000,"FilterMaximum":0,"Units":0,"Type":0,"FirstRec":0,"LastVal":1,"Device":256,"FilterMinimum":0,"Id":3,"DrowsyWarning":0,"DataType":0,"DataOffset":0,"Name":"AutoHome","FilterEnable":0,"Logging":1,"Variable":"Status6","historyState":0},{"Ghost":false,"Service":"urn:dcineco-com:serviceId:MSwitch1","LastRec":1383146476,"DrowsyError":0,"LastHistory":1104516000,"FilterMaximum":0,"Units":0,"Type":0,"FirstRec":0,"LastVal":0,"Device":256,"FilterMinimum":0,"Id":4,"DrowsyWarning":0,"DataType":0,"DataOffset":0,"Name":"AutoAway","FilterEnable":0,"Logging":1,"Variable":"Status5","historyState":0},{"Ghost":false,"Service":"urn:dcineco-com:serviceId:MSwitch1","LastRec":1383146502,"DrowsyError":0,"LastHistory":1104516000,"FilterMaximum":0,"Units":0,"Type":0,"FirstRec":0,"LastVal":0,"Device":256,"FilterMinimum":0,"Id":5,"DrowsyWarning":0,"DataType":0,"DataOffset":0,"Name":"JustNear","FilterEnable":0,"Logging":1,"Variable":"Status4","historyState":0},{"Ghost":false,"Service":"urn:dcineco-com:serviceId:MSwitch1","LastRec":1383072862,"DrowsyError":0,"LastHistory":1104516000,"FilterMaximum":0,"Units":0,"Type":0,"FirstRec":0,"LastVal":0,"Device":256,"FilterMinimum":0,"Id":6,"DrowsyWarning":0,"DataType":0,"DataOffset":0,"Name":"MikeNear","FilterEnable":0,"Logging":1,"Variable":"Status3","historyState":0},{"Ghost":false,"Service":"urn:dcineco-com:serviceId:MSwitch1","LastRec":1383146502,"DrowsyError":0,"LastHistory":1104516000,"FilterMaximum":0,"Units":0,"Type":0,"FirstRec":0,"LastVal":1,"Device":256,"FilterMinimum":0,"Id":7,"DrowsyWarning":0,"DataType":0,"DataOffset":0,"Name":"JustHome","FilterEnable":0,"Logging":1,"Variable":"Status2","historyState":0},{"Ghost":false,"Service":"urn:dcineco-com:serviceId:MSwitch1","LastRec":1383146502,"DrowsyError":0,"LastHistory":1104516000,"FilterMaximum":0,"Units":0,"Type":0,"FirstRec":0,"LastVal":0,"Device":256,"FilterMinimum":0,"Id":8,"DrowsyWarning":0,"DataType":0,"DataOffset":0,"Name":"MikeHome","FilterEnable":0,"Logging":1,"Variable":"Status1","historyState":0},{"Ghost":false,"Service":"urn:upnp-org:serviceId:TemperatureSetpoint1_Heat","LastRec":1383146476,"DrowsyError":0,"FilterMaximum":0,"DataType":7,"Type":0,"DrowsyWarning":0,"FirstRec":0,"Device":246,"FilterMinimum":0,"LastVal":20,"LastHistory":1104516000,"Id":9,"DataOffset":0,"Name":"Heating Setpoint","FilterEnable":0,"Logging":1,"Variable":"CurrentSetpoint","historyState":0,"Lookup":{"Setpoint":0}},{"Ghost":false,"Service":"urn:upnp-org:serviceId:TemperatureSensor1","LastRec":1383119195,"DrowsyError":0,"FilterMaximum":0,"DataType":1,"Type":0,"DrowsyWarning":0,"FirstRec":0,"Device":246,"FilterMinimum":0,"LastVal":20,"LastHistory":1104516000,"Id":10,"DataOffset":0,"Name":"Heating current temp","FilterEnable":0,"Logging":1,"Variable":"CurrentTemperature","historyState":0,"Lookup":{"Current temp":0}},{"Ghost":false,"Service":"urn:micasaverde-com:serviceId:SecuritySensor1","LastRec":1383146202,"DrowsyError":0,"FilterMaximum":0,"DataType":6,"Type":0,"DrowsyWarning":0,"FirstRec":0,"Device":148,"FilterMinimum":0,"LastVal":0,"LastHistory":1104516000,"Id":11,"DataOffset":0,"Name":"Porch door tripped","FilterEnable":0,"Logging":1,"Variable":"Tripped","historyState":0},{"Ghost":false,"Service":"urn:upnp-org:serviceId:TemperatureSensor1","LastRec":1383159886,"DrowsyError":0,"FilterMaximum":0,"DataType":1,"Type":0,"DrowsyWarning":0,"FirstRec":0,"Device":178,"FilterMinimum":0,"LastVal":11.7,"LastHistory":1104516000,"Id":12,"DataOffset":0,"Name":"Outside temp","FilterEnable":0,"Logging":1,"Variable":"CurrentTemperature","historyState":0},{"Ghost":false,"Service":"urn:upnp-org:serviceId:SwitchPower1","LastRec":1383118689,"DrowsyError":0,"FilterMaximum":0,"DataType":3,"Type":0,"DrowsyWarning":0,"FirstRec":0,"Device":297,"FilterMinimum":0,"LastVal":0,"LastHistory":1104516000,"Id":13,"DataOffset":0,"Name":"Front door lights","FilterEnable":0,"Logging":1,"Variable":"Status","historyState":0},{"Ghost":false,"Service":"urn:upnp-org:serviceId:SwitchPower1","LastRec":1383072976,"DrowsyError":0,"FilterMaximum":0,"DataType":3,"Type":0,"DrowsyWarning":0,"FirstRec":0,"Device":296,"FilterMinimum":0,"LastVal":0,"LastHistory":1104516000,"Id":14,"DataOffset":0,"Name":"Porch light","FilterEnable":0,"Logging":1,"Variable":"Status","historyState":0,"Lookup":{"On":0}},{"Ghost":false,"Service":"urn:upnp-org:serviceId:IPhoneLocator1","DrowsyError":0,"LastRec":1383158136,"LastHistory":1104516000,"FilterMaximum":0,"DrowsyWarning":0,"Type":0,"Logging":1,"FilterEnable":0,"Id":15,"FilterMinimum":0,"Device":317,"Units":0,"DataType":0,"DataOffset":0,"Name":"Mike present","LastVal":1,"FirstRec":0,"Variable":"Present","historyState":0},{"Ghost":false,"Service":"urn:upnp-org:serviceId:IPhoneLocator1","DrowsyError":0,"LastRec":1383158804,"LastHistory":1104516000,"FilterMaximum":0,"DrowsyWarning":0,"Type":0,"Logging":1,"FilterEnable":0,"Id":16,"FilterMinimum":0,"Device":318,"Units":0,"DataType":0,"DataOffset":0,"Name":"Justine present","LastVal":1,"FirstRec":0,"Variable":"Present","historyState":0},{"Ghost":false,"Service":"urn:upnp-org:serviceId:WindSensor1","DrowsyError":0,"LastRec":1383159955,"LastHistory":1104516000,"FilterMaximum":0,"DrowsyWarning":0,"Type":0,"Logging":1,"FilterEnable":0,"Id":17,"FilterMinimum":0,"Device":177,"Units":0,"DataType":0,"DataOffset":0,"Name":"Windspeed","LastVal":4,"FirstRec":0,"Variable":"AvgSpeed","historyState":0,"Lookup":{"Windspeed":0}},{"Ghost":false,"Service":"urn:upnp-org:serviceId:WindSensor1","DrowsyError":0,"LastRec":1383159955,"LastHistory":1104516000,"FilterMaximum":0,"DrowsyWarning":0,"Type":0,"Logging":1,"FilterEnable":0,"Id":18,"FilterMinimum":0,"Device":177,"Units":0,"DataType":0,"DataOffset":0,"Name":"Wind gust speed","LastVal":5,"FirstRec":0,"Variable":"GustSpeed","historyState":0,"Lookup":{"Gust speed":0}}],"Graphs":[],"LastWrite":1383159731,"nextId":19}
-7-===========================================================================

Offline mikee123

  • Hero Member
  • *****
  • Posts: 1521
  • Karma: +18/-11
Re: New dataMine graphing and logging plugin
« Reply #706 on: October 30, 2013, 03:10:36 pm »
I could not post the whole log as it exceeds maximun characters, i hope you can see what you need to see

thanks

Offline a-lurker

  • Hero Member
  • *****
  • Posts: 872
  • Karma: +66/-8
Re: New dataMine graphing and logging plugin
« Reply #707 on: October 30, 2013, 03:34:38 pm »
Looks perfectly OK.

Offline mikee123

  • Hero Member
  • *****
  • Posts: 1521
  • Karma: +18/-11
Re: New dataMine graphing and logging plugin
« Reply #708 on: October 30, 2013, 03:44:43 pm »
Great. thanks. I have a few strange things happening so needed to rule out memory problems.

Offline Peter

  • Jr. Member
  • **
  • Posts: 95
  • Karma: +0/-0
Re: New dataMine graphing and logging plugin
« Reply #709 on: October 31, 2013, 02:15:35 pm »
How do I change the quantity of gas per day in a given year chart instead of total consumption which become increasingly increment

sample

day 1 - 3 cubic meters of gas
day 2 - 5 cubic meters of gas
etc.

Offline skropko

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-1
Re: New dataMine graphing and logging plugin
« Reply #710 on: November 01, 2013, 05:18:25 pm »
Need some help...

The plugin has worked very well for the last year or so...  I noticed the other day all 20 of my channels were gone and it just said Channels: 0.  Have been trying to troubleshoot.  Uninstalled plugin, formatted USB stick, reinstalled plugin but no luck.  Here is the log...

-1-===========================================================================
02   11/01/13 17:08:39.195   JobHandler_LuaUPnP::FetchMissingFiles need to download D_DataMine1.json <0x2b272000>
02   11/01/13 17:08:39.195   JobHandler_LuaUPnP::m_sMissingFile_set D_DataMine1.json <0x2b272000>
01   11/01/13 17:08:39.277   Device_LuaUPnP::LoadDeviceDoc can't load /etc/cmh-lu//D_DataMine1.xml <0x2b272000>
02   11/01/13 17:08:39.277   JobHandler_LuaUPnP::m_sMissingFile_set /etc/cmh-lu//D_DataMine1.xml <0x2b272000>
01   11/01/13 17:08:39.277   JobHandler_LuaUPnP::CreateDevice_LuaUPnP failed to load 55/D_DataMine1.xml so device 55 is offline <0x2b272000>
09   11/01/13 17:08:45.275   JobHandler_LuaUPnP::Run device 55  room 0 type urn:schemas-cd-jackson-com:device:DataMine:1 id  parent 0/0xabc328 upnp: 0 <0x2b272000>
03   11/01/13 17:08:45.290   JobHandler_LuaUPnP::Run ready 30 devices installation 35002358 missing /etc/cmh-lu//D_DataMine1.xml version *1.5.622*  allow_evt: 1 allow_ud: 1 upnp 0 netpnp: 1 reprovision: 0 tz:18000 tnow:1383340125 dst: 1 gmt:-14400 tz:EST / EDT changed: 0 pMem 0xd28000 start 10428416 diff: 3366912 <0x2b272000>
09   11/01/13 17:09:00.469   JobHandler_LuaUPnP::Run device 55 dataMine graphing and logging room 0 type urn:schemas-cd-jackson-com:device:DataMine:1 id  parent 0/0xe0d280 upnp: 0 <0x2b067000>
50   11/01/13 17:09:07.870   luup_log:55: dataMine: Initialising dataMine System (0.980) <0x2b99b680>
06   11/01/13 17:09:07.870   Device_Variable::m_szValue_set device: 55 service: urn:cd-jackson-com:serviceId:DataMine1 variable: errorStatus was: EMPTY now: false #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b99b680>
06   11/01/13 17:09:07.871   Device_Variable::m_szValue_set device: 55 service: urn:cd-jackson-com:serviceId:DataMine1 variable: SetDataDirectory was: EMPTY now: /dataMine/ #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b99b680>
06   11/01/13 17:09:07.872   Device_Variable::m_szValue_set device: 55 service: urn:cd-jackson-com:serviceId:DataMine1 variable: SetMountUUID was: EMPTY now:  #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b99b680>
06   11/01/13 17:09:07.872   Device_Variable::m_szValue_set device: 55 service: urn:cd-jackson-com:serviceId:DataMine1 variable: SetMountPoint was: EMPTY now:  #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b99b680>
06   11/01/13 17:09:07.873   Device_Variable::m_szValue_set device: 55 service: urn:cd-jackson-com:serviceId:DataMine1 variable: SetMountOptions was: EMPTY now:  #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b99b680>
06   11/01/13 17:09:07.873   Device_Variable::m_szValue_set device: 55 service: urn:cd-jackson-com:serviceId:DataMine1 variable: SetManualMount was: EMPTY now: 0 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b99b680>
06   11/01/13 17:09:07.874   Device_Variable::m_szValue_set device: 55 service: urn:cd-jackson-com:serviceId:DataMine1 variable: SetTimeoutPeriod was: EMPTY now: 12 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b99b680>
06   11/01/13 17:09:07.875   Device_Variable::m_szValue_set device: 55 service: urn:cd-jackson-com:serviceId:DataMine1 variable: SetHistoryEnable was: EMPTY now: 1 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b99b680>
06   11/01/13 17:09:07.875   Device_Variable::m_szValue_set device: 55 service: urn:cd-jackson-com:serviceId:DataMine1 variable: SetUseBackup was: EMPTY now: 1 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b99b680>
06   11/01/13 17:09:07.876   Device_Variable::m_szValue_set device: 55 service: urn:cd-jackson-com:serviceId:DataMine1 variable: SetEventsEnable was: EMPTY now: 1 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b99b680>
06   11/01/13 17:09:07.877   Device_Variable::m_szValue_set device: 55 service: urn:cd-jackson-com:serviceId:DataMine1 variable: ChannelCnt was: EMPTY now: 0 #hooks: 0 upnp: 0 v:0xf29150/NONE duplicate:0 <0x2b99b680>
06   11/01/13 17:09:07.878   Device_Variable::m_szValue_set device: 55 service: urn:cd-jackson-com:serviceId:DataMine1 variable: ChannelRec was: EMPTY now: 0 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b99b680>
50   11/01/13 17:09:07.879   luup_log:55: dataMine: Installing update of dataMine web application <0x2b99b680>
50   11/01/13 17:09:13.170   luup_log:55: dataMine: ERROR: Startup state is 'uninitialised'! <0x2b99b680>
06   11/01/13 17:09:13.170   Device_Variable::m_szValue_set device: 55 service: urn:cd-jackson-com:serviceId:DataMine1 variable: ChannelCnt was: 0 now: 0 #hooks: 0 upnp: 0 v:0xf29150/NONE duplicate:1 <0x2b99b680>
06   11/01/13 17:09:13.170   Device_Variable::m_szValue_set device: 55 service: urn:cd-jackson-com:serviceId:DataMine1 variable: ChannelRec was: 0 now: 0 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b99b680>
50   11/01/13 17:09:13.171   luup_log:55: dataMine: Reinitialising configuration structure <0x2b99b680>
50   11/01/13 17:09:13.172   luup_log:55: dataMine: Startup complete <0x2b99b680>
50   11/01/13 17:09:28.169   luup_log:55: dataMine: Delete backups complete - No files found <0x2cb9b680>
50   11/01/13 17:09:28.187   luup_log:55: dataMine: Error reading tmpfile during spacecheck <0x2cb9b680>
06   11/01/13 17:13:01.799   Device_Variable::m_szValue_set device: 55 service: urn:cd-jackson-com:serviceId:DataMine1 variable: SetMountUUID was:  now: 0445-251E #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2e3c8680>
09   11/01/13 17:13:18.853   JobHandler_LuaUPnP::Run device 55 dataMine graphing and logging room 0 type urn:schemas-cd-jackson-com:device:DataMine:1 id  parent 0/0xa487b8 upnp: 0 <0x2b092000>
50   11/01/13 17:13:25.273   luup_log:55: dataMine: Initialising dataMine System (0.980) <0x2b7c5680>
06   11/01/13 17:13:25.274   Device_Variable::m_szValue_set device: 55 service: urn:cd-jackson-com:serviceId:DataMine1 variable: errorStatus was: false now: false #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b7c5680>
06   11/01/13 17:13:25.274   Device_Variable::m_szValue_set device: 55 service: urn:cd-jackson-com:serviceId:DataMine1 variable: ChannelCnt was: 0 now: 0 #hooks: 0 upnp: 0 v:0xb64520/NONE duplicate:1 <0x2b7c5680>
06   11/01/13 17:13:25.275   Device_Variable::m_szValue_set device: 55 service: urn:cd-jackson-com:serviceId:DataMine1 variable: ChannelRec was: 0 now: 0 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b7c5680>
50   11/01/13 17:13:25.275   luup_log:55: dataMine: Mounting to UUID '0445-251E' <0x2b7c5680>
50   11/01/13 17:13:25.720   luup_log:55: dataMine: UUID = /dev/sda1: LABEL="MIOSDM" UUID="0445-251E" <0x2b7c5680>
50   11/01/13 17:13:25.747   luup_log:55: dataMine: Found UUID '0445-251E' at '/dev/sda1' <0x2b7c5680>
50   11/01/13 17:13:25.775   luup_log:55: dataMine: Error reading tmpfile during mountcheck <0x2b7c5680>
06   11/01/13 17:13:25.776   Device_Variable::m_szValue_set device: 55 service: urn:cd-jackson-com:serviceId:DataMine1 variable: mountLocation was: EMPTY now:  #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b7c5680>
06   11/01/13 17:13:25.777   Device_Variable::m_szValue_set device: 55 service: urn:cd-jackson-com:serviceId:DataMine1 variable: mountType was: EMPTY now:  #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b7c5680>
50   11/01/13 17:13:25.795   luup_log:55: dataMine: Mounting dataMine storage (/dev/sda1) to (/dataMine/) <0x2b7c5680>
50   11/01/13 17:13:25.852   luup_log:55: dataMine: Error reading tmpfile during mountcheck <0x2b7c5680>
06   11/01/13 17:13:25.852   Device_Variable::m_szValue_set device: 55 service: urn:cd-jackson-com:serviceId:DataMine1 variable: mountLocation was:  now:  #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b7c5680>
06   11/01/13 17:13:25.853   Device_Variable::m_szValue_set device: 55 service: urn:cd-jackson-com:serviceId:DataMine1 variable: mountType was:  now:  #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b7c5680>
50   11/01/13 17:13:25.871   luup_log:55: dataMine: Mount point error: ::/dev/sda1 <0x2b7c5680>
06   11/01/13 17:13:25.871   Device_Variable::m_szValue_set device: 55 service: urn:cd-jackson-com:serviceId:DataMine1 variable: errorStatus was: false now: true #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b7c5680>
50   11/01/13 17:13:25.883   luup_log:55: dataMine: ERROR: Startup state is 'uninitialised'! <0x2b7c5680>
06   11/01/13 17:13:25.884   Device_Variable::m_szValue_set device: 55 service: urn:cd-jackson-com:serviceId:DataMine1 variable: ChannelCnt was: 0 now: 0 #hooks: 0 upnp: 0 v:0xb64520/NONE duplicate:1 <0x2b7c5680>
06   11/01/13 17:13:25.884   Device_Variable::m_szValue_set device: 55 service: urn:cd-jackson-com:serviceId:DataMine1 variable: ChannelRec was: 0 now: 0 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2b7c5680>
50   11/01/13 17:13:25.885   luup_log:55: dataMine: Reinitialising configuration structure <0x2b7c5680>
50   11/01/13 17:13:25.886   luup_log:55: dataMine: Startup complete <0x2b7c5680>
50   11/01/13 17:13:40.168   luup_log:55: dataMine: Delete backups complete - No files found <0x2cbc5680>
50   11/01/13 17:13:40.186   luup_log:55: dataMine: Error reading tmpfile during spacecheck <0x2cbc5680>
-2-===========================================================================
/dev/sda1: LABEL="MIOSDM" UUID="0445-251E"
-3-===========================================================================
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,noatime)
sysfs on /sys type sysfs (rw,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /dev type tmpfs (rw,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,noatime,mode=600)
/dev/mtdblock7 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlayfs (rw,noatime,lowerdir=/,upperdir=/overlay)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
/dev/mtdblock8 on /mios type squashfs (ro,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
-4-===========================================================================

Disk /dev/mtdblock0: 0 MB, 524288 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/mtdblock0 doesn't contain a valid partition table

Disk /dev/sda: 1998 MB, 1998585344 bytes
255 heads, 63 sectors/track, 242 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1               1         243     1949696   b Win95 FAT32
Partition 1 has different physical/logical endings:
     phys=(241, 254, 63) logical=(242, 187, 9)
-5-===========================================================================
SetDataDirectory-/dataMine/
SetMountUUID    -0445-251E
SetMountPoint   -
SetManualMount  -0
-6-===========================================================================
{"dbVersion":2,"Events":{"count":0,"last":0},"Version":"0.980","Variables":[],"Graphs":[],"guiConfig":[],"nextId":1}
-7-===========================================================================

Offline a-lurker

  • Hero Member
  • *****
  • Posts: 872
  • Karma: +66/-8
Re: New dataMine graphing and logging plugin
« Reply #711 on: November 01, 2013, 05:46:15 pm »
This may be another case of a missing 'dataMine directory' - as indicated by "Error reading tmpfile during mountcheck"

http://forum.micasaverde.com/index.php/topic,16975.msg131509.html#msg131509


Use SCP to see if there is a "dataMine" directory under the root directory. If there isn't I would suggest:
  • turn of Vera's power
  • unplug USB stick
  • turn power back on
  • use SCP to create a "dataMine" directory under root and noting the capitalization. This becomes the "Mount Point"
  • power off
  • insert stick
  • turn power back on - stick gets mounted to the mount point

There may be another way to do this but that's just my suggestion. I am currently of the belief that all new installs of the current dataMine plugin (0.980) will fail.
« Last Edit: November 22, 2013, 10:02:31 pm by a-lurker »

Offline skropko

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-1
Re: New dataMine graphing and logging plugin
« Reply #712 on: November 01, 2013, 08:32:52 pm »
Thanks... that seems to be related to the problem...

I ended up doing the following....

1. Removed plugin and USB stick.
2. Powered off
3. Inserted USB stick
4. Powered on
5. Manually created dataMine folder in root directory
6. Installed plugin
7. Launched GUI and set UUID

Because I actually backed up the contents of the USB stick before all of the troubleshooting, I copied back the config and 1 year of associated data.  After completing step 7 above, the 20 channels are back!

Either way, it looks like something related to the dataMine directory.  Manually creating it before installing seemed to do the trick on my end.

Thanks for the help.

Offline LightsOn

  • Hero Member
  • *****
  • Posts: 754
  • Karma: +4/-3
Re: New dataMine graphing and logging plugin
« Reply #713 on: December 01, 2013, 10:56:33 am »
Hi all,

Using rfx kit on sdA1 and have a hub plugged into sdB1 with 2x usb sticks in it. one labelled 'datamine' and one labelled 'veralogs'.

I have datamine working fine.

How do I check vera is logging to the other usb stick and not the same as datamine? I have ssh "mount" but I cant see specifics on each usb on the hub?  any thoughts?

-LightsOn

Offline bucko

  • Hero Member
  • *****
  • Posts: 659
  • Karma: +27/-9
Re: New dataMine graphing and logging plugin
« Reply #714 on: December 01, 2013, 10:23:48 pm »
If you have the Vera logging to a USB drive and have another USB drive for Datamine, the problems begin.

All works fine UNTIL you do a Vera reboot. Then Vera logging will first re format the Datamine USB, and then discover your logging USB drive and continue logging to the correct USB logging USB drive. But the damage has been done. Datamine USB drive is no longer usable.

This happens at every Vera reboot. I tried changing USB slots, manually setting up the Datamine mount. Nothing helps. In the end I had to stop using Vera logging.
Vera support claims it is a Datamine issue, not Vera logging. I don't believe this. Upon reboot, Vera should know to go directly back to the correct USB drive.
Vera 3, 40+ Fibaro relays & dimmers, IPUX cams, Elk M1 Gold, M1XEP, M1SP, XVOR, M1RB, Elk124, Monoprice HDMI matrix & 6 zone amp, Denon AVR, Panasonic A8000, BI DV,On Controls

Offline bubaleta

  • Full Member
  • ***
  • Posts: 111
  • Karma: +1/-0
Re: New dataMine graphing and logging plugin
« Reply #715 on: December 02, 2013, 03:30:05 am »
I had the same problem until I installed datamine loging to a NAS.
Everything has been working flawlessly since.
Vera loging to usb and datamine to NAS.
The only precaution is to start NAS before vera.

I have a synology NAS with crashplan installed, so it backs up the data every day.

Offline LightsOn

  • Hero Member
  • *****
  • Posts: 754
  • Karma: +4/-3
Re: New dataMine graphing and logging plugin
« Reply #716 on: December 02, 2013, 03:51:38 am »
Hi,

Thank you for the help.

NAS seems the way forward then, does it have to be naz or could it just be a shared folder on a network on a windows 7 machine?

What settings have you added for NAS logging?

Thank you.

Sent from my HTC HD2 using Tapatalk 2


Offline bubaleta

  • Full Member
  • ***
  • Posts: 111
  • Karma: +1/-0
Re: New dataMine graphing and logging plugin
« Reply #717 on: December 02, 2013, 05:32:26 am »
Hello,

You can read about it on this post

http://forum.micasaverde.com/index.php/topic,14910.0.html

A NAS is basically a network drive, so I don't see why a shared folder from a computer wouldn't work (as long as it is always on).


Offline DeltaNu1142

  • Hero Member
  • *****
  • Posts: 1153
  • Karma: +40/-67
Re: New dataMine graphing and logging plugin
« Reply #718 on: December 02, 2013, 07:58:11 am »
I had the same problem until I installed datamine loging to a NAS.
Everything has been working flawlessly since.
Vera loging to usb and datamine to NAS.
The only precaution is to start NAS before vera.
I have a synology NAS with crashplan installed, so it backs up the data every day.
I'll be working on configuring this next month.  I might ping you for help.  I run a Synology NAS that is on 100% of the time, and I have a feeling logging to USB could really improve performance.  My Vera 2 has been limping along lately.
Vera 3 @ UI5 | HomeWave | PLEG

Offline LightsOn

  • Hero Member
  • *****
  • Posts: 754
  • Karma: +4/-3
Re: New dataMine graphing and logging plugin
« Reply #719 on: December 02, 2013, 09:38:47 am »
Hi @bubaleta
Thank you for this ? I have read the entire thread and I agree this ?should? work but no one has explicitly done what I seek but worth a go.  This is very helpful thank you.  I see Chris has looked at creating a path, user name; password field in the app and when this arrives this would be supper useful to avoid having to do the other bits but for now I too think this is a workable solution.

@DeltaNu1142 ? I will let you know how I get on when I have a go at this.  Success rate seems high so far so hopefully you and I can join a working solution 