Jishar13 / pvbeancounter

Automatically exported from code.google.com/p/pvbeancounter
1 stars 0 forks source link

PVBC does not call SunnyExplorer correctly? #79

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Starting PVBC service
2.
3.

What is the expected output? What do you see instead?
.csv files should be generated but are not

What version of the product are you using (e.g. 1.4.1.9 32bit)?
1.5.0.6

What Operating system (XP, Vista, Windows 7 - 32bit or 64bit)?
XP 32bit

Which Database Type (MySQL, MS Access, SQLite - If Access, 32bit or 64bit)? MS 
Access

Are there any unusual messages in PVService.log? (upload a copy to this
issue if there are) No log entries related to SunnyExplorer even with Trace 
enabled

Please upload your settings.xml file with the issue. This answers many
questions I would otherwise need to ask.

Please provide any additional information below.

I can execute the SunnyExplorer program manually via batch file successfully, 
it creates .csv files which are accepted by PVBC and uploaded to PVoutput.org.

However PVBC seems to execute sunnyexplorer (sunnyexplorer appears in Task 
manager periodically) but does not produce a .csv file.  I've also tried 
changing the run options on the PVBC service to local service with no change.

I've attached the following files: settings.xml, log file and test batch files 
used.

thanks,

Pete B

Original issue reported on code.google.com by Pbart...@gmail.com on 17 Jul 2011 at 10:26

GoogleCodeExporter commented 8 years ago
Please read Issue 72 and try the solution suggested there. This looks like the 
same problem.

Original comment by DennisMackayFisher on 18 Jul 2011 at 8:58

GoogleCodeExporter commented 8 years ago
Dennis,

I read issue 72 before I submitted a new issue.  the log in issue 72 has 
entries for SunnyExplorer such as:

11/07/2011 6:19:03 AM :T7 InverterManager :SunnyExplorerExtractCSV: Starting 
SunnyExplorer: "C:\PVRecords\SunnyExplorer.sx2" -userlevel user -password 
"0000" -exportdir "C:\PVRecords" -exportrange "20110702-20110711" -export 
energy5min

My log has no such entries, indicating that SunnyExplorer is not executing 
properly.  It does execute if I use the batchfile.  I've checked all the boxes 
under the log to log everything.

thanks,

Pete B

Original comment by Pbart...@gmail.com on 18 Jul 2011 at 1:04

GoogleCodeExporter commented 8 years ago
There are no detail entries in your uploaded log file. This indicates that the 
Service was not reading the request for Trace log entries.

Ensure that the settings have been saved after choosing the log settings.

When this is done, please upload a PVService.log file with at least 30 minutes 
of processing.

I notice that you have moved the Default Directory to the F: drive. To ensure 
that the service is reading the correct settings.xml file:

Change F:\PVService to some other existing directory and save settings

Change it back to F:\PVService and save settings again.

This ensures that the registry entry used by the service to find the 
settings.xml file is pointing to the correct location. This could be the reason 
your log requests are not working. It also would explain why you are not 
reading inverter output.

Dennis M-F

Original comment by DennisMackayFisher on 18 Jul 2011 at 9:06

GoogleCodeExporter commented 8 years ago
Dennis,

I've made the changes you suggested to the directory and resaved.  I also found 
out why my log files are so sparse.  The log check boxes in PVBC were all solid 
green, I assumed this was on.  Looking into the settings file I discovered that 
apparently there are three settings: empty (off), solid green (null) and green 
check (on).  Is this what you intended?

It is night here now so the inverter is shut down.  I'll turn the service back 
on in the morning for 30 minutes and then send you the log file.

Thanks for you help

Pete B

Original comment by Pbart...@gmail.com on 19 Jul 2011 at 1:02

GoogleCodeExporter commented 8 years ago
The green square is the standard (Microsoft) representation of unset. This 
means let PVBC decide.

Dennis

Original comment by DennisMackayFisher on 19 Jul 2011 at 9:23

GoogleCodeExporter commented 8 years ago
I ran PVBC this morning and received a large log file which is attached.  Looks 
like Sunny Explorer is not connecting to the plant.  I'll have to investigate 
why.

thanks,

Pete B

Original comment by Pbart...@gmail.com on 19 Jul 2011 at 11:34

GoogleCodeExporter commented 8 years ago
Now that the logs are working, I was able to get SunnyExplorer working.  Turns 
out it was the same problem as Issue 56.  My Azio bluetooth uses the Toshiba 
stack which doesn't allow services to execute.  Switching drivers to the ones 
at http://bluetoothinstaller.com/ did the trick.

Everything is working now.

Thanks for your software and support, I really appreciate it,

Pete B

Original comment by Pbart...@gmail.com on 20 Jul 2011 at 12:30

GoogleCodeExporter commented 8 years ago

Original comment by DennisMackayFisher on 20 Jul 2011 at 9:29