Local App v 0.3.51

Started by Resthome, February 19, 2014, 01:22:08 PM

Previous topic - Next topic

Resthome

 :o  Another stealth update for the Local App?? Maybe I missed it but didn't see anything about it in the forums. It would be great to have the changes for each revision documented in a readme file with the download such as done with the Classic firmware updates. Since we went from v 0.3.43 to v 0.3.51 I would guess some changes and/or fixes have taken place. The reason I ask is the MidNite manuals are way out of date and a simple readme would help loads.  ;)
John

10 x Kyocera KC140, Classic 150 w/WBJr, Link10 Battery Monitor, 850 AH @ 12v Solar One 2v cells, Xantrex PROwatt SW2000
Off Grid on Houseboat Lake Don Pedro, CA

Halfcrazy

Yeah we are really bad at documentation

Basically what has been added is all the little things and some bug fixes. As best we can tell we are pretty well wrapped up with the local app. It now has "Set time and Date" it does all the SOC% stuff and what not. Mike will eventually get the Logging to log SOC and WBjr amps etc.

Ryan
Changing the way wind turbines operate one smoke filled box at a time

Resthome

Quote from: Halfcrazy on February 19, 2014, 01:31:53 PM
Yeah we are really bad at documentation

Basically what has been added is all the little things and some bug fixes. As best we can tell we are pretty well wrapped up with the local app. It now has "Set time and Date" it does all the SOC% stuff and what not. Mike will eventually get the Logging to log SOC and WBjr amps etc.

Ryan
Thanks Ryan,

Yeah I know programmers hate to document!  Definitely want to see the SOC and WBjr amps being logged. Not all of us have access to the internet for MyMidNite.

Will try to look at 0.3.51 this weekend if I make the trip up to the lake. Need to go while there is still water, it's down 100 ft and predicted to go down another 100 ft by November 2014.  :(
John

10 x Kyocera KC140, Classic 150 w/WBJr, Link10 Battery Monitor, 850 AH @ 12v Solar One 2v cells, Xantrex PROwatt SW2000
Off Grid on Houseboat Lake Don Pedro, CA

ClassicCrazy

#3
I am trying to figure out what the DB is on the status info screen

Absorb Time:03:00:00
Equalize Time:01:30:00
Last Voc:8.4
DB1: 0x0    DB2: 0x0
DB3: 0x0    DB4: 0x0

And USB Dump - do we connect up with terminal program to view the dump ?

system 1
Classic 150 , 5s3p  Kyocera 135watt , 12s Soneil 2v 540amp lead crystal for 24v pack , Outback 3524 inverter
system 2
 5s 135w Kyocero , 3s3p 270w Kyocera  to Classic 150 ,   8s Kyocera 225w to Hawkes Bay Jakiper 48v 15kwh LiFePO4 , Outback VFX 3648 inverter
system 3
KID / Brat portable

atop8918

Hi,
The DB registers are Debug Registers to help us figure out lingering issues on the Classic. We may bug you guys from time to time to give us the values in those registers if things go awry with your Classics.

I'm not sure how to get the USB info on the Classic. I think you do need to connect the USB to a terminal program. I think the Classic shows up as Comm port 8 by default. boB will have to weigh in on the specifics.

Thanks!
-A

TomW

#5
Quote from: atop8918 on February 22, 2014, 06:41:25 AM


I'm not sure how to get the USB info on the Classic. I think you do need to connect the USB to a terminal program. I think the Classic shows up as Comm port 8 by default. boB will have to weigh in on the specifics.

Thanks!
-A

-A;

Well, on Linux I just use "cat /dev/ttyACM0" where "0" is the port your system sees when the Classic is spitting out data over USB. First I enabled serial communications on the Classic under the "Comms" menu on the MNGP. It has several modes that I attempted to document some time ago on this forum when I was using that method as a work around to a lack of simple Modbus support under Linux. The modes dump different streams of raw data and there is one interactive mode at least. Once you enable USB data in the Comms menu your system should see it as a serial device like any other device. I don't do Windows so cannot help get that working. It actually worked pretty well but there were some issues with my Raspberry Pi garbling the data due to no error correction on the stream and the Pi having a lot going on with USB drives, ethernet and USB serial data all on the same chip internally.

I made a thread on this some months ago.

That thread is over here:

http://midniteforum.com/index.php?topic=898.msg5988;topicseen#msg5988


Good luck with it.

Tom

Editted the Linux command line to reflect the facts and added the link to the post with info on the modes.


Do NOT mistake me for any kind of "expert".

( ͡° ͜ʖ ͡°)


24 Trina 310 watt modules, SMA SunnyBoy 7.7 KW Grid Tie inverter.

I thought that they were angels, but much to my surprise, We climbed aboard their starship and headed for the skies

atop8918

Aha,
Thanks, Tom.
That's the easy way to do it -- just use Linux.

For windows users you will need:
- A USB cable
- A terminal program such as putty or Poderosa, (or hyper.....ugh.....term....)
- A chicken
- Two goats
- 12 dipped paraffin candles
- white chalk
- an idol of Bill Gates fashioned from Brass or Iron, DO NOT USE TIN or BRONZE!!!!!

Procedure: (Do NOT deviate from this procedure in any way including stopping at any point. Once you have sacrificed the chicken you must complete the ceremon...procedure to its conclusion otherwise you risk damaging your hard-drive)

- With the chalk, draw a 5-pointed star approx 1 cubit in diameter.
- Join the ends of the tops of the stars to form a pentagram.
It is NORMAL for the lights to flicker and for there to be the ominous sound of thunder even if it is daytime and there is no rain in sight.
- place one (1) candle at each point of the star including the internal-facing points. You should have 2 candles remaining.
- Place the idol at the center of the pentagram and position it between the two remaining candles in the EXACT center of the diagram. It should face directly NORTH (geographic)
- repeat the following words as you sacrifice the chicken:
"Klatu barata niktu" <emphasis on the NIK in NIKtu>
- Now attach the USB cable between your computer and the Classic and fire up your terminal program.
- Configuration of the terminal program is beyond the scope of this procedure.
- The goats are there for fun. Have some.
- Under no circumstances should you blow out the candles.

I'll add this to the manual someplace and sometime....
Thanks!


Halfcrazy

But what do I do with the Damn chicken??? I just brought the goats in and was ready to try this.
Changing the way wind turbines operate one smoke filled box at a time

TomW

Ryan;

Cheesey chicken enchilada dip of course.

Found that link for the modes info it is here:

http://midniteforum.com/index.php?topic=898.msg5988;topicseen#msg5988


And I lied about the command line in the original comment on this in this thread, it should be:

cat /dev/ttyACM0.

Just to keep it accurate.

Tom
Do NOT mistake me for any kind of "expert".

( ͡° ͜ʖ ͡°)


24 Trina 310 watt modules, SMA SunnyBoy 7.7 KW Grid Tie inverter.

I thought that they were angels, but much to my surprise, We climbed aboard their starship and headed for the skies

ClassicCrazy

Actually it was way too simple - as soon as I plugged into the USB and started Terraterm terminal program on serial port 8 with default 9600 baud settings it was spitting out data. I used Local Status to change to Modbus dump and it spit out that . Here is sample of the two
105.5,   89.6,   29.7,   27.3,    7.5,   814
105.5,   89.6,   29.7,   27.2,    7.5,   813
105.5,   89.6,   29.7,   27.1,    7.5,   812
105.5,   89.6,   29.7,   27.3,    7.5,   810
105.4,   89.6,   29.7,   27.3,    7.6,   812
105.5,   89.6,   29.7,   27.3,    7.5,   812
105.4,   89.6,   29.7,   27.4,    7.6,   813
105.4,   89.6,   29.7,   27.3,    7.5,   812
105.5,   89.6,   29.7,   27.2,    7.5,   812
105.4,   89.6,   29.7,   27.3,    7.5,   812 4389,      0
4390,   1194
4391,   1233
4392,  12397
4393,    123
4394,      0
4395,      0
4396,      0
4101,   1174
4102,   2014
4103,    532
4104,     11
4105,      0
4106,   2066
4107,  53248
4108,   1567
4109,  65492
4110,  65535
4111,  19674
4112,  52967
4113,      0
4114,      1
4115,    297
4116,   1054
4117,    270
4118,      0

system 1
Classic 150 , 5s3p  Kyocera 135watt , 12s Soneil 2v 540amp lead crystal for 24v pack , Outback 3524 inverter
system 2
 5s 135w Kyocero , 3s3p 270w Kyocera  to Classic 150 ,   8s Kyocera 225w to Hawkes Bay Jakiper 48v 15kwh LiFePO4 , Outback VFX 3648 inverter
system 3
KID / Brat portable

ClassicCrazy

#10
Is the Bully Menu  Reboot option in the Basic Config the same as a VMM reset ?

That would be great if it was so I wouldn't have to get someone to go outside and flip the Classic power breaker while someone else is holding in the left and right arrows on the MNGP which is inside . 

well I guess I can try it and see - here goes ! 

It seems like it reset something but didn't ever make the MNGP display go off - and it made the Local App reconnect.  None of the config settings changed 
system 1
Classic 150 , 5s3p  Kyocera 135watt , 12s Soneil 2v 540amp lead crystal for 24v pack , Outback 3524 inverter
system 2
 5s 135w Kyocero , 3s3p 270w Kyocera  to Classic 150 ,   8s Kyocera 225w to Hawkes Bay Jakiper 48v 15kwh LiFePO4 , Outback VFX 3648 inverter
system 3
KID / Brat portable

zoneblue

I got the impression it is soft reset, ie akin to turning off then on again.
6x300W CSUN, ground mount, CL150Lite, 2V/400AhToyo AGM,  Outback VFX3024E, Steca Solarix PL1100
http://www.zoneblue.org/cms/page.php?view=off-grid-solar

atop8918

Yeah -- it is a soft reboot, not a VMM.


cybermaus

Quote from: atop8918 on February 22, 2014, 10:45:26 AM

- repeat the following words as you sacrifice the chicken:
"Klatu barata niktu" <emphasis on the NIK in NIKtu>


WARNING to all users: critical misspellings: Should be double A in 'Klaatu'; 'barada' is with a D; 'nikto' is with an O
Really atop8918, you need to show responsibility in these matters.

atop8918

Cybermaus!
Careful there, make sure to use Bruce Campbell's poorly enunciated version of the magic words, not Klaatu's instructions for Gort. Remember we are exorcising demons, not giving logic instructions to logical machines here. This is Windows.