Remote ssh scripting the CLI

User avatar
nwcon
Member
 
Posts: 6
Joined: Thu May 14, 2015 5:45 pm
Location: Canon City, CO
Has thanked: 1 time
Been thanked: 0 time

Remote ssh scripting the CLI

Thu Dec 17, 2015 8:46 pm

Hello,

While I've been a member of this forum for some time, this is my first post, since I have yet to find and answer to my dliemma.

Currently, we utilize pure sine wave inverters to power our AC Netonix switches at our solar tower sites....haven't been able to get my hands on a DC unit yet.

What I would like to accomplish is to monitor our solar towers' battery bank voltage (done), and when the battery bank voltage reaches a low point, I want to turn off our high-power-consumption radios (airFibers) to conserve power...we build redundant links whenever possible, so we can turn off high-capacity radios and run with low capacity radios during cold/cloudy/snowy times. Currently, we are using Tycon TPDIN-Monitor-Web devices quite successfully to monitor battery bank voltage, solar and wind amps collected, etc. What I'm trying to do is to script the process of collecting data from our Tycon monitoring unit, and when our battery bank is running low, shutoff our airFibers powered through our Netonix switches.

The problem is I've tried running CLI commands remotely through SSH, but this doesn't appear to be a supported feature. In particular, when I run <ssh admin@netonix-switch "config interface port 1 poe Off">, I receive an error: "ash: config: not found".

My Question: Is remote ssh scripting to the Netonix CLI possible? OR, if we were to use DC Netonix switches, it would be an awesome feature to be able to enable/disable POE on ports based on DC input voltages.

Does anyone have any concrete information regarding remote scripting the CLI in a Netonix switch? Is my idea a pipe dream?

Regards,

Mike Kimmick
Cityless Internet Services, LLC

User avatar
sirhc
Employee
Employee
 
Posts: 7421
Joined: Tue Apr 08, 2014 3:48 pm
Location: Lancaster, PA
Has thanked: 1609 times
Been thanked: 1326 times

Re: Remote ssh scripting the CLI

Thu Dec 17, 2015 9:14 pm

nwcon wrote:
if we were to use DC Netonix switches, it would be an awesome feature to be able to enable/disable POE on ports based on DC input voltages.


The WS-12-250-DC unit does all this for you in the UI and more:
The WS-12-250-DC unit accepts 9-60V input and still allows you to power 24V and 48V devices even with 9V input.

You can program the switch to turn OFF and ON ports based on battery input voltages and time conditions.

You can program the depth of discharge you would like the switch to take your batter bank down to.

Say you have a 48V battery bank, you can tell it all these things and MORE:
Turn OFF Port 1 when battery bank voltage drops below 46V and notify me via SMTP alert

Turn ON Port 1 when battery bank voltage exceeds 47V and notify me via SMTP alert.

Warn me via SMTP alert when battery bank voltage drops below 43V. This gives you time to log into the switch and lower the shut down voltage in an emergency to as low as 9V to keep the site up. WARNING: if you completely discharge a battery bank in an emergency your batteries may require a 10A charge to recover, see your battery specs.

Warn me that battery bank voltage drops below 42V and then shut the tower down and go into hibernation mode using less than 1W so the tower can come back up when charging resumes and batteries recover.

Send me a message when battery bank voltage recovers above 43V and bring the tower back up.

Shut down Port 2 (AF24) at 1AM causing tower to fail over to Port 3 airMAX backup link and power Port 2 (AF24) back up at 6AM and traffic will go back to primary link.

Everything you want is in the WS-12-250-DC which is designed for DC sites. All these features have been discussed on the forums and you can see them in the YouTube video advertised on our web site main page: https://www.youtube.com/watch?v=8JvBEAD4MFM
Support is handled on the Forums not in Emails and PMs.
Before you ask a question use the Search function to see it has been answered before.
To do an Advanced Search click the magnifying glass in the Search Box.
To upload pictures click the Upload attachment link below the BLUE SUBMIT BUTTON.

User avatar
nwcon
Member
 
Posts: 6
Joined: Thu May 14, 2015 5:45 pm
Location: Canon City, CO
Has thanked: 1 time
Been thanked: 0 time

Re: Remote ssh scripting the CLI

Fri Dec 18, 2015 9:05 pm

That's amazing news for all of us! Not sure how I missed the video/info, but keep up the great work and products!

Thank you very much for the information, and we'll certainly be buying DC units as soon as they become available!

Regards,

Mike Kimmick

User avatar
sirhc
Employee
Employee
 
Posts: 7421
Joined: Tue Apr 08, 2014 3:48 pm
Location: Lancaster, PA
Has thanked: 1609 times
Been thanked: 1326 times

Re: Remote ssh scripting the CLI

Fri Dec 18, 2015 9:09 pm

nwcon wrote:That's amazing news for all of us! Not sure how I missed the video/info, but keep up the great work and products!

Thank you very much for the information, and we'll certainly be buying DC units as soon as they become available!

Regards,

Mike Kimmick


They are in stock on our web store and many other Distributors?
Support is handled on the Forums not in Emails and PMs.
Before you ask a question use the Search function to see it has been answered before.
To do an Advanced Search click the magnifying glass in the Search Box.
To upload pictures click the Upload attachment link below the BLUE SUBMIT BUTTON.

User avatar
nwcon
Member
 
Posts: 6
Joined: Thu May 14, 2015 5:45 pm
Location: Canon City, CO
Has thanked: 1 time
Been thanked: 0 time

Re: Remote ssh scripting the CLI

Mon Dec 21, 2015 5:57 pm

Excellent!

One last question. Does the DC unit have temperature compensation for monitoring battery bank voltage?

Regards,

Mike Kimmick

User avatar
sirhc
Employee
Employee
 
Posts: 7421
Joined: Tue Apr 08, 2014 3:48 pm
Location: Lancaster, PA
Has thanked: 1609 times
Been thanked: 1326 times

Re: Remote ssh scripting the CLI

Mon Dec 21, 2015 6:14 pm

nwcon wrote:Excellent!

One last question. Does the DC unit have temperature compensation for monitoring battery bank voltage?

Regards,

Mike Kimmick


The switch reports V DC in, battery temperature is not considered.
Support is handled on the Forums not in Emails and PMs.
Before you ask a question use the Search function to see it has been answered before.
To do an Advanced Search click the magnifying glass in the Search Box.
To upload pictures click the Upload attachment link below the BLUE SUBMIT BUTTON.

User avatar
nwcon
Member
 
Posts: 6
Joined: Thu May 14, 2015 5:45 pm
Location: Canon City, CO
Has thanked: 1 time
Been thanked: 0 time

Re: Remote ssh scripting the CLI

Mon Dec 21, 2015 6:43 pm

Okay, Thanks.

If the DC units were to have temperature compensation capabilities, they would be a direct replacement (albeit with a whole lot more features) than a standard solar load controller. Might be a thought for your advertising to maybe add a blurb about the DC units having "load controller" and "low-voltage disconnect" functionality.

My brain doesn't normally consider networking electronics as solar components, and vice versa. But considering the features the DC units have, they most certainly cross over into the solar load controller realm. If I would have been able to key in on "load controller" or "low-voltage disconnect" when researching your switches, I most likely would have realized their potential much sooner.

Anyway, many thanks for your contribution to our industry!


Mike Kimmick

Return to General Discussion

Who is online

Users browsing this forum: Google [Bot] and 115 guests