A Forum run by Enthusiasts of MidNite Solar

MidNite Solar Monitoring software and hardware => Local App software => Topic started by: Westbranch on April 27, 2014, 01:45:03 AM

Title: problem loading Local App on W7 netbook
Post by: Westbranch on April 27, 2014, 01:45:03 AM
Ok I first loaded Adobe Air , rebooted as I tried loading LA and all I got was a page full of Stars and ? marks etc.

Rebooted and still get the hieroglyphics.

so I tried the alternative method , still the same???

right mouse clicked, still the same...

I use Mozilla Firefox not IE...
Help?
Title: Re: problem loading Local App on W7 netbook
Post by: atop8918 on April 27, 2014, 04:57:11 AM
For some reason some browsers interpret the Local App as just a file and try to display it. If you don't have Adobe Flash plugin installed for your version of Firefox it will probably not run the downloader correctly.

You should be able to right-click the direct link (below the loader icon in blue) and say "save as" and then run the file locally.
Title: Re: problem loading Local App on W7 netbook
Post by: Westbranch on April 27, 2014, 12:11:41 PM
thanks Andrew I had to use that IE beast, man I really don't like it now... had to do the air thing twice and finally it caught but IE kept giving an error message that the site had caused a problem...???

Title: Re: problem loading Local App on W7 netbook
Post by: Westbranch on April 29, 2014, 09:50:05 PM
Hi Andrew, well I was out west and hooked up to my 'healthy ' Classic to test the LA and the Netbook would not tel me there was new hardware connected...?? any suggestions?
Title: Re: problem loading Local App on W7 netbook
Post by: atop8918 on April 30, 2014, 02:22:06 AM
WB, When you say "hooked up" did you connect Ethernet straight to the PC or through a router?


Title: Re: problem loading Local App on W7 netbook
Post by: Westbranch on April 30, 2014, 10:37:47 AM
USB straight to PC.  Off Grid, No Inet connection available ...
Title: Re: problem loading Local App on W7 netbook
Post by: atop8918 on April 30, 2014, 04:30:29 PM
Sorry, LA only works over Ethernet. USB won't work, I'm afraid.

Title: Re: problem loading Local App on W7 netbook
Post by: Westbranch on April 30, 2014, 04:53:24 PM
Thanks Andrew,

OK, I will open the cover and connect an Ethernet wire...  what should I expect? ie re port 503 or? 
does it auto-detect?

So the USB is for MyMidnite only? or can it be used for something else?

Title: Re: problem loading Local App on W7 netbook
Post by: TomW on April 30, 2014, 05:14:38 PM
Quote from: Westbranch on April 30, 2014, 04:53:24 PM
Thanks Andrew,

OK, I will open the cover and connect an Ethernet wire...  what should I expect? ie re port 503 or? 
does it auto-detect?

So the USB is for MyMidnite only? or can it be used for something else?

The USB cable is for updates to firmware and some data can be gathered over it.

The default port is 502 but the Local App auto detects the Classc(s)

Hope that helps.

Tom
Title: Re: problem loading Local App on W7 netbook
Post by: Westbranch on April 30, 2014, 05:18:13 PM
tom, shouldn't my Netbook have indicated that 'new device' was found then?
That is the strange part at this point.
FW upgrade is needed too, so I will need the USB to work  also. right?
Title: Re: problem loading Local App on W7 netbook
Post by: TomW on April 30, 2014, 07:07:32 PM
Quote from: Westbranch on April 30, 2014, 05:18:13 PM
tom, shouldn't my Netbook have indicated that 'new device' was found then?
That is the strange part at this point.
FW upgrade is needed too, so I will need the USB to work  also. right?

Sorry, I don't do Windows so not sure what it could or should do.

Ubuntu Linux recognizes the Classic as a serial device with no problems. Usually  /dev/ttyACM0 for those wondering.

Windows does weird things with ports and I think the Midnite stuff expects #8 ?

Sorry I can't be more helpful.

Tom


Title: Re: problem loading Local App on W7 netbook
Post by: tecnodave on May 29, 2014, 04:11:33 PM
WB,

In my attempts windows 7 and 8 do recognize Classic or kid on USB port when plugged in. The Classic is recognized as serial and the kid as a removable hard drive. Unplugging and reconnecting should cause icon to be removed then restored when cc is plugged in.  To upgrade Classic firmware you need to install a com8 driver for the USB. with that driver installed copy the firmware file to the Classic.

ASFIK. The USB port is only for firmware upgrade and data out. The Ethernet port is used for programming and data logs, local control panel and MyMidNite and other control processes.

That said, I hate windows.......love my iPad

td

AHA! The light just flashed on!    Win7 does not recognize Classic until com8 driver is installed.......normally in a windows setup com ports are not redirected to USB so MidNite wrote the com8 driver to accomplish this!   And I am trying to unprogram my brain from winders.

td

<edit:spelling>. I thought I was a horrible speller but Apple has out done me on that one
Title: Re: problem loading Local App on W7 netbook
Post by: Westbranch on June 22, 2014, 11:31:33 PM
Today I tried to connect again to my 2 classics.
#4592 connected up like  a dream, .... other than the ~ 2minute wait for it to handshake with my Netbook and then show on the screen.

#647 was a different beast.  No  luck connecting though the Netbook LApp 'saw' the Address but not able to connect.
So i reset the IP address the same as #4792 and had to restart the Netbook to finally get the LA to report on #647. 

I did find that the BTS connection on the Classic was not making contact all the time. I had to push the cable into the socket hard and not move it to maintain the Temp to show on the LA.

Is there a way to fix this issue, easily ?
Title: Re: problem loading Local App on W7 netbook
Post by: dgd on June 23, 2014, 03:55:39 AM
Quote from: Westbranch on June 22, 2014, 11:31:33 PM
#647 was a different beast.  No  luck connecting though the Netbook LApp 'saw' the Address but not able to connect...

You are not having much luck with this  :D
Are you sure the app actually did see the #647 ?  If you have the static ip address for this Classic defined in the App's configuration list then the App will try to connect to that ip number even if #647 itself is not connecting.

Try this..
Remove any static ip address you have defined in the local app connection list.
Tick the box to automatically find Classics.
Make sure the actual IP addresses in Classics only have the last numbers different.
eg  192.168.1.115  for Classic #647
      192.168.1.116  for Classic #4792
your laptop should be in the same network but a different last number
eg  192.168.1.100

mask in both Classics should be 255.255.255.0, also in laptop.
Leave the dns numbers empty.

Check cables from Classics to hub are good and hub to laptop is good.

Start local app and wait until App finds the two Classics at different IP numbers.
If one is not found then wiring is dud or hub port is dud or loose connection.

Sorry if this has stated the obvious but thought it may be worth repeating.

dgd
Title: Re: problem loading Local App on W7 netbook
Post by: Westbranch on June 23, 2014, 12:07:01 PM
thanks DGD, I will try some of that.  I have been thinking it is some remnant in memory (somewhere) that is the cause since I was able to connect if I renamed #647 to #4592 's address.

Will also total shutdown each time, not just LA

No HUB in system , I don't have one so it is direct connect to one or the other.
Each Classic is on a separate bank. Will swap cables to be sure.

ps Yes Addresses were unique 22 and 33. 
Laptop is 192.168.1.100 coincidentally,
mask is 255.255.255.0,
No DNS
Title: Re: problem loading Local App on W7 netbook
Post by: dgd on June 23, 2014, 06:48:34 PM
Quote from: Westbranch on June 23, 2014, 12:07:01 PM
thanks DGD, I will try some of that.  I have been thinking it is some remnant in memory (somewhere) that is the cause since I was able to connect if I renamed #647 to #4592 's address.

So it appears you are just replugging the ethernet cable from one Classic to the other. Won't work when you do this as the ethernet already expects the first ip number from that port and just changing cable to a different ip addressed device does not mean the new ip address is automatically recognised.
This is proved by the fact you need to change the ip number to original to get new Classic to be recognised.

Really simple solution is to get a low cost 4 port ethernet hub and plug laptop and both Classics' ethernets into it.

dgd

Title: Re: problem loading Local App on W7 netbook
Post by: Westbranch on June 23, 2014, 07:06:13 PM
thanks for making me think outside the box [_] I might have a solution...just have to use the Honda 1000W i genset for AC...  inverter not in play as yet.

If an old (replaced) Netgear wifi router with 4 slots will work I have a solution... 

OOPs I'll need a longer Cat5 for one of them as the Classics are ~ 8 feet apart...

will advise
Title: Re: problem loading Local App on W7 netbook
Post by: tecnodave on June 23, 2014, 07:40:18 PM
WB,

Netgear wi-fi router will work as will netgear 4port switch, these really run on 12 volts so a 5mm connector to cigarette lighter plug is all that is needed  I use Chinese buck converters to supply power to router and hub from 24 volts,flea power,no inverter needed

td
Title: Re: problem loading Local App on W7 netbook
Post by: Westbranch on July 03, 2014, 04:56:36 PM
YaHoo! Success  ;D ;D  at last...  Using the NetGear router, hard wired, I was able to see both Classics using the Local App.
 
I unplugged and went wireless and it worked upstairs with no apparent loss of  signal as I moved around, mainly just wood in the floor and walls... so no problems expected.

Only one hiccup... >:(    since both Classics are set to STATIC, something changed on the laptop settings(?) and when I went to connect to the net via a different router. I could not connect.  :'(
Had to 'Problem Solve' and turned out to be a reset to DCHP was needed...  works now.

Next is to find a lower power consuming router if I plan to leave it set up long term (or a switch if just checking randomly.)
Title: Re: problem loading Local App on W7 netbook
Post by: Westbranch on July 03, 2014, 05:00:24 PM
Quote from: tecnodave on June 23, 2014, 07:40:18 PM
WB,
Netgear wi-fi router will work as will netgear 4port switch, these really run on 12 volts so a 5mm connector to cigarette lighter plug is all that is needed 
td

TD, are you saying these units will not get fried if I send 12V to them? 

Mine uses a brick that outputs 5 VDC
Title: Re: problem loading Local App on W7 netbook
Post by: tecnodave on July 03, 2014, 05:27:24 PM
WB,

All of my netgear routers are 12 volt DC with 5mm coax power connector with center pin +12 volt,
If yours say 5 volts DC in that is what it uses. The cheap way to deal with this is small buck converter, there are some on Amazon for $3. Or so that can do 12 volt to 5 volt conversion. These are universal and have trim pots on the board to set the output voltage level. I use one of these on each of my low voltage devices running of my 24 volt battery set.

The advantage to using buck converters are that they are way more efficient than an inverter and wall wart. Buck converters are approx. 92-95% efficiency compared to 92% for a good inverter at 2/3 to 3/4 of full load and much less than that when lightly loaded plus the inefficiency of the wall wart.
#2 advantage is very well regulated output voltage

Search Amazon for.   http://www.amazon.com/Retailstore-LM2596-Adjustable-Supply-Converter/dp/B009HPB1OI/ref=sr_1_1?ie=UTF8&qid=1404422403&sr=8-1&keywords=Buck+converter

From Amazon,

Product Description
Color: 2PCS-LM2596 Module
*Condition:100% Brand New with High Quality
* Module property:Non-isolation buck
* Rectification mode:Non-synchronous rectification
* Size:Approx48*23*14mm (Length*Width*Height)
* Type: LM2596 Adjustable Power Supply Module
* Input Voltage:DC 4V-35V
* Output Voltage:DC 1.23V-30V
* Output Current:3A(Maximum)
* Conversion Efficiency:92%(Highest)
* Output Ripple:30mv(Maximum)
* Switching Frequency:150KHz
* Load regulation:±0.5%
* Voltage regulation:±2.5%
* Work temperature:-40â,,ƒ- +85â,,ƒ
* Quantity:2pcs as A Set

* Note:Please make sure all of the "IN-" "IN+" "OUT-" "OUT+" marks are inserted Rightly,otherwise the modole will be damaged.

Package:
2pcs LM2596 Adjustable Power Module

<end of Amazon specs>

Cheap and easy and efficient!

td
Title: Re: problem loading Local App on W7 netbook
Post by: Westbranch on July 03, 2014, 06:05:58 PM
Thanks TD,

found a close deal on Amazon.CA, 5 units for $20Cdn and free (=slow) shipping.

they look identical from the picture...
Title: Re: problem loading Local App on W7 netbook
Post by: zoneblue on July 03, 2014, 06:18:27 PM
Thats how i do it too. Routers vary, many have a regulator inside, so will accept higher voltages, but better safe than sorry. For $2.

My setup is


laptops )))))                        (((( ))))
                                         |
classic----switch---------//---------wifi router-----WAN
             |                           |
blackbox-----+                  server---+----desktop



The switch is only needed because its 15m odd from there to the router.
Title: Re: problem loading Local App on W7 netbook
Post by: Westbranch on July 07, 2014, 07:40:02 PM
also ordered up a switch off ebay, so when it gets here I will give it a go rather than the router

DGD, I would need a 60 foot plus CAT5 cable to be able to hard wire the hub in so for now I will let things ride and just do a hard wire peak at the classics with the LApp... we are still in the building stage... full time 120V AC is getting closer
Title: Re: problem loading Local App on W7 netbook
Post by: dgd on July 07, 2014, 08:17:41 PM
Quote from: Westbranch on July 07, 2014, 07:40:02 PM

DGD, I would need a 60 foot plus CAT5 cable to be able to hard wire the hub in so for now I will let things ride and just do a hard wire peak at the classics with the LApp... we are still in the building stage... full time 120V AC is getting closer

Wb,

Exactly the same problem I had  :)  the Classics are 15+ metres (as the wire goes) away from the router.
Solution is to use a wifi bridge such as the Linksys WET54G (google it).
NOTE:  Bridge and NOT router  :D
Then wire it and two classics to a hub (I would not bother using  a switch as its not needed and a much cheaper hub will be perfect and lower cost)
Your router then communicates to the Classics using its wifi via wifi in the Bridge.

dgd
Title: Re: problem loading Local App on W7 netbook
Post by: Westbranch on July 27, 2014, 01:05:22 PM
well, another small step forward...    got my 5 slot Switch and it is USB powered so will have to check  how many Amps it can draw max...  Plugged it in and voila up came both  Classics...  Yippee!!!

Now waiting  for  reasonable price on  Bridge to come up on Ebay... within Canada, not USA.
Title: Re: problem loading Local App on W7 netbook
Post by: Westbranch on August 27, 2014, 06:53:44 PM
RYAN NOTE PLEASE, 2 time outs while attempting to post this...

UPDATE:

Well the used Linksys bridge came and I attempted to get it going asap.

NOTE, It took a lot of snooping around to find out hoe to access it via my browser as the caned installer is a bunch of junk.  Finally got into it and modified settings as needed.

Tried Connecting with my laptop and was pleasantly surprised that, with the laptop powering the switch via USB and the WET54G plugged into the genny, I was able to snoop the Local  APP wirelessly.. 

So I went upstairs to test laptop2...???what gives?  Nada !

The only difference was my laptop was set to PUBLIC network and the other laptop was set to HOME Network...

So, foolishly , I set mine to Home as well and VOILA, no connection and now I am unable to retrieve a   connection.

Any  suggestions

Vexed or is it Hexed??? a weekend of hair pulling  in the mid week....
Title: Re: problem loading Local App on W7 netbook
Post by: Westbranch on August 27, 2014, 09:39:56 PM
Further investigation shows I can access one Classic if I remove the switch and direct plug it into the bridge.
When I do this I can individually view that single Classic on either laptop , one at a time but not both simultaneously...  Should  I  not be able to view from both at the same time?
Title: Re: problem loading Local App on W7 netbook
Post by: TomW on August 28, 2014, 07:05:05 AM
Quote from: Westbranch on August 27, 2014, 09:39:56 PM
Further investigation shows I can access one Classic if I remove the switch and direct plug it into the bridge.
When I do this I can individually view that single Classic on either laptop , one at a time but not both simultaneously...  Should  I  not be able to view from both at the same time?

Local App:

The Local App should see all classics on a network. There is some limit but only Ryan has that many installed in one location. :o

You can only view a Classic with one device at a time with the Local App

Network issues:

Try powering off everything on the local network and then power it all up.

I avoid "cheap" switches as they can be problematic if you move stuff / dual boot etc.

I suspect the switch has become confused and rebooting it may help.

Just an idea.

Tom
Title: Re: problem loading Local App on W7 netbook
Post by: Westbranch on August 28, 2014, 02:03:45 PM
Try powering off everything on the local network and then power it all up.

Well the overnight shut down did just that I guess...should have thought of that simple cure. Thanks Tom..

when I powered everything up,with both laptops set to HOME Network, I was able to use the LA...on ONE PC at a time.  That is the only "drats" I now have.

thanks guys
Title: Re: problem loading Local App on W7 netbook
Post by: zoneblue on August 31, 2014, 12:35:35 AM
One pc at a time. Yup, thats how it works. Now you have arrived as they say at the place where you  need a blackbox. But , hey well give you a while to catch your breath. Networking...joy.