Plugin for Aviosys IP9258 IP power switch now available

Posted on
Wed Aug 24, 2016 8:42 pm
wibbly offline
Posts: 6
Joined: Aug 24, 2016

Re: Plugin for Aviosys IP9258 IP power switch now available

Nick,

Sorry to communicate via this comment section, but I couldn’t find an email address anywhere.

I would like to distribute an Indigo plugin based on your IP9258 work, but I see you’ve reserved rights everywhere inside the code … so thought I should ask.

It’s a plugin for another board they made years ago called the IP9202. It was sold barebones for inclusion in other devices. I have one in a box that I use for some outlets.

Thanks in advance.

Posted on
Wed Aug 24, 2016 11:33 pm
NickSmith offline
Posts: 32
Joined: Oct 28, 2012
Location: UK

Re: Plugin for Aviosys IP9258 IP power switch now available

Hi - thanks for asking :)

No problem at all - putting my Indigo code into GitHub has been on my to-do list for ages, so this is a good catalyst for doing that. I should get a chance to do that this weekend, at least for this plugin, so will let you know once I've done that. I've got a couple of fixes in the version I'm running at home so will be a good way of getting those into the released version too.

Cheers

Nick

Posted on
Sun Aug 28, 2016 3:08 pm
NickSmith offline
Posts: 32
Joined: Oct 28, 2012
Location: UK

Re: Plugin for Aviosys IP9258 IP power switch now available

Hi - have put a version up into GitHub: https://github.com/smudger4/Indigo-IP9258. Feel free to adapt & extend as desired!

Regards

Nick

Posted on
Mon Sep 05, 2016 9:23 pm
wibbly offline
Posts: 6
Joined: Aug 24, 2016

Re: Plugin for Aviosys IP9258 IP power switch now available

Thanks Nick,

Will post my modified IP9202 version soon.

Posted on
Tue Jun 13, 2017 9:02 am
CliveS offline
Posts: 761
Joined: Jan 10, 2016
Location: Medomsley, County Durham, UK

Re: Plugin for Aviosys IP9258 IP power switch now available

Has anyone modified this plugin to work with the Aviosys IP9258HP models, I have tried to do so but I failed with an A+

Tried to put together what I thought would work but no luck and reading the docs on python.org was overloading my brain (whats left!)

What I would like to do is send the following to the Aviosys ,

http://192.168.100.77/SetPower.cgi?P1=0+P2=1+P3=0+P4=1

I have tried the following which I extracted bits from Nicks plugin, more in hope that I could revamp it but failed.

#!/usr/bin/env python2

import urllib
import urllib2
import socket
import string

url_cmd = "http://192.168.100.77/SetPower.cgi?P1=0+P2=1+P3=0+P4=1 + user=admin + pass=12345678"

response = urllib2.urlopen(url_cmd)
response.read()
response.close()

Any help would be appreciated..

CliveS

CliveS

Indigo 2023.2.0 : macOS Ventura 13.6.3 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
----------------------------------------------------------------------------------
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer

Posted on
Sun Oct 08, 2017 1:24 am
siclark offline
Posts: 1960
Joined: Jun 13, 2017
Location: UK

Re: Plugin for Aviosys IP9258 IP power switch now available

I'm looking at the HP version as well as cheap on eBay. Did you get this working??

Posted on
Sun Oct 08, 2017 1:30 am
CliveS offline
Posts: 761
Joined: Jan 10, 2016
Location: Medomsley, County Durham, UK

Re: Plugin for Aviosys IP9258 IP power switch now available

No, Python and me don't get on :cry:
I have 3 x 9258HP's sitting in the cupboard gathering dust, I only use 1 standalone to ping Google and reset the modem if it fails 5 times.

CliveS

Indigo 2023.2.0 : macOS Ventura 13.6.3 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
----------------------------------------------------------------------------------
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer

Who is online

Users browsing this forum: No registered users and 8 guests