10. OK4E Manager

Preface

OK4E inverters are fairly old, they were used in large quantities 10 years ago when the first solar panels were commercially sold in Europe. One OK4E inverter ( 100Wp max  ) was attached to one solar panel right on the back of the panel itself. Because of extreme temperature conditions loads of these inverters failed prematurely and it was adviced to move all the inverters inside.

The OK4E inverter uses a RS485 bus to communicate with a server. Using a special OK485 serial interface. The OK4E manager software is written in C by Ron Hoekstra. The software was written for older versions of Windows but also works on Windows XP, Vista and Windows 7.

Serial to USB cable

90% of the computers sold today doesn’t have a serial port anymore. An easy solution is to obtain a USB to serial converter. In my case I have tested 6 different USB to serial converters and there is only one that recognizes my inverter and can obtain the data from the inverters. The best solution is to use a RS485 to USB converter directly. This saves one step in the process and gives a stable interface with the OK4E inverters.

Setup OK4E manager

This tutorial assumes you have already found your OK4E inverters and you see them in the main screen.

In the setup screen press the log button, see the screenshot below.

ok4e_log_button

You will now see the screen with log information. See below:

ok4e_log_screen

Make sure all your inverters are selected that you want to log. Some other important notes:

  • select “Multiple inverter in file”
  • select “Use daily file”
  • select all logging items ( use the “All” item )
  • use a “Log time interval” of 1 minute.

And most important!

  • your log files must end with .log! in the “Log file/directory” section.

Notes

Serial

Please write down the serialnumber of your inverter. You need this value when configuring your inverter in inverters.conf. The serial can be obtained from the OK4E main screen. In the case below the inverter serial is 46091.

ok4e

 

Example

Below you will find an example of a configured OK4E manager entry in inverters.conf. You can use this as a template for your own system.

inverter.1.mandatory.invertername=OK4E
inverter.1.mandatory.wattpeak=93
inverter.1.mandatory.kwhkwp=550
inverter.1.mandatory.invertertype=10
inverter.1.mandatory.inputdirectory=C:/temp/js_input/ok4e
inverter.1.mandatory.barcolor=0,180,0
inverter.1.mandatory.linecolor=0,180,0
inverter.1.mandatory.fromdate=01-01-2015
inverter.1.optional.comparelinecolor=51,255,51
inverter.1.optional.correctionfactor=1.00
inverter.1.optional.inclination=36
inverter.1.optional.orientation=183
inverter.1.optional.tilldate=
## Additional info: 
## Locate the correct serialnumber in the logfiles and use it here.
inverter.1.mandatory.serialnumber=46091

¬†Multiple OK4E’s

If you have multiple OK4E’s they will be logged to the same logfiles. But every entry written can be identified by its serialnumber mentioned earlier. If you have multiple OK4E’s and want to log them individually with jSunnyreports then simply do the following.

  1. Add one inverter with the first serial number to your inverters.conf
  2. Copy the block you have just added, modify the inverter number for every line you just copied.
  3. Change the invertername to a unique name.
  4. do NOT change the logfile directory, in other words, you are going to read the same file again but now with a different serial number!
  5. Modify the serialnumber to another OK4E you have in your set.
  6. Goto 2 until you have added all your inverters.

Example

inverter.1.mandatory.invertername=OK4E_1
inverter.1.mandatory.wattpeak=93
inverter.1.mandatory.kwhkwp=550
inverter.1.mandatory.invertertype=10
inverter.1.mandatory.inputdirectory=C:/temp/js_input/ok4e
inverter.1.mandatory.barcolor=0,180,0
inverter.1.mandatory.linecolor=0,180,0
inverter.1.mandatory.fromdate=01-01-2015
inverter.1.optional.comparelinecolor=51,255,51
inverter.1.optional.correctionfactor=1.00
inverter.1.optional.inclination=36
inverter.1.optional.orientation=183
inverter.1.optional.tilldate=
## Additional info: 
## Locate the correct serialnumber in the logfiles and use it here.
inverter.1.mandatory.serialnumber=46091

inverter.2.mandatory.invertername=OK4E
inverter.2.mandatory.wattpeak=93
inverter.2.mandatory.kwhkwp=550
inverter.2.mandatory.invertertype=10
inverter.2.mandatory.inputdirectory=C:/temp/js_input/ok4e
inverter.2.mandatory.barcolor=0,180,0
inverter.2.mandatory.linecolor=0,180,0
inverter.2.mandatory.fromdate=01-01-2015
inverter.2.optional.comparelinecolor=51,255,51
inverter.2.optional.correctionfactor=1.00
inverter.2.optional.inclination=36
inverter.2.optional.orientation=183
inverter.2.optional.tilldate=
## Additional info: 
## Locate the correct serialnumber in the logfiles and use it here.
inverter.2.mandatory.serialnumber=46100