Well Done THR .. help please ATLONA AT-UHD-PRO3-88M

Hello Guys

well done with what seems a great product, although a little daunting at first

  1. I was going to consider roomie remote, but not impressed at all and very vey unhelpful, very very rude, very very expensive, very very limited, very very buggy. So not ticking many boxes for me.

  2. I have a home network that consists of various VLans from My Cisco ASA5506 router. I have Assigned VLAN2 as my media network, all TVs, Media Players, AV, Atlona Matrix Switching are on this subnet 192.168.2.x and so are my Wifi Access points to allow communication from iphone and ipad etc.

I can confirm I have various aps and can access webpage on the iphone to the hardware that allow control over this ip range 192.168.2.x

I am also thinking of purchasing the global cache ethernet to IR or wifi to IR just to add IR compatibility
but understand the limitations that IR is only one way/one direction

and its always best to access equipment via direct ethernet.

So wanting to start with controlling my ATLONA AT-UHD-PRO3-88M I can control it in various ways

  1. this can be controlled via HTTP I can access a web page and control it
  2. RS232 which I have linked up to the laptop and fired commands at it
  3. Telnet again used Putty terminal and issues commands
  4. I/R infra red standard remote control (one way)

so above I have a few ways to control this wonderful box

sadly under devices in your software there is nothing for Atlona ?? lets hope there will be one day soon

so I have to now figure out how to send commands over my network from the buttons in designer,

the ATLONA AT-UHD-PRO3-88M is at 192.168.2.2

If enter this in to my web browser i get the atlona webserver page

If I telnet to 192.168.2.2 I can issue commands via telnet

If I want to use RS232 I think I would need to purchase a Global Cache ethernet to RS232 pack

So is there anyway to send commands from buttons directly out over the LAN to my Atlona box obviously the designer software does NOT offer ATLONA as my device is not there

I also have a Dune media Server that I would like to control, I have the dune remote control app on the phone but would be nice to custom design in your software along with other devices.

if I was to use an packet sniffer could I scan the codes from the dune app to 192.168.2.80 (dune media player) and see when I press various button in the dune iphone app for various remote buttons what code is sent ?

I also design embedded electronics using ARM processors, I would be great if I could design in your software and then interface it via ethernet ip address to my hardware, again similar to what I want to do above with my Dune and Atlona AV kit

is any of this possible

I look forward to hearing more about you great product

Thank you in advance

John

Hello

I am guessing for Telnet Control I would need to create some kind of plugin code ??

These are some of the command for the atlona box

Sorry for sounding a little novice

this is all a little new and though love the idea of custom designing remote control

still not sure and need some guidance to get me going

Thanks in advance

I have started by looking at DENON AVR plugin I am guessing some how I need to modify this code and change it for the atlona commands

Just not sure where to start, will be alright if someone kind will get me going

Thanks

Yes. You will need a Plugin. Attached is an example I put together for you that will has support for the PWON & PWOFF commands. You can expand on it to include others from your doc.

Right-click the Devices folder & select Add Plugin -> Import From File.

After you import the file, add the generated Atlona device to the HomeGroup & start the simulator to test those power commands.

Here’s the file:
atlona.plugin (1.4 KB)

plugin.Name = "Atlona";
plugin.OnChangeRequest = onChangeRequest;
plugin.OnConnect = onConnect;
plugin.OnDisconnect = onDisconnect;
plugin.OnPoll = onPoll;
plugin.OnSynchronizeDevices = onSynchronizeDevices;
plugin.PollingInterval = 1000;
plugin.DefaultSettings = { "Host": "192.168.2.2" };

var tcp = new TCPClient();

var commands = {
    "PowerOff": "PWON",
    "PowerOn": "PWOFF",
}

function onChangeRequest(device, attribute, value) {
    if (attribute != "MediaCommand")
        throw "Invalid attribute";

    var command = commands[value];
    if (!command)
        throw "Invalid command";

    console.log("sending=> " + command);

    tcp.send(command);
}

function onConnect() {
    var mediaCenter = plugin.Devices["1"];
    if (mediaCenter != null) {
        mediaCenter.SupportedMediaCommands = Object.keys(commands);
    }

    tcp.connect(plugin.Settings["Host"], 23);

    var data = tcp.receive();
    tcp.send("root\r");
    data = tcp.receive();
    tcp.send("Atlona\r");
}

function onDisconnect() {
    tcp.close();
}

function onPoll() {
}

function onSynchronizeDevices() {
    var mediaCenter = new Device();
    mediaCenter.Id = "1";
    mediaCenter.DisplayName = "Atlona";
    mediaCenter.Capabilities = ["MediaControl"];
    mediaCenter.Attributes = [];
    plugin.Devices[mediaCenter.Id] = mediaCenter;
}

Hey Bill Wow Thank You

This support and program is so impressive

thank you so much for getting me started

Lets have a go

I will report back and praise your glories to others

keep up the good work

Thanks once again

John Heritage

1 Like

Hi Bill

Sadly this did not work

but this may be down to requiring a user name and password

for both the webserver and telnet on the atlona ???

just a thought

Regards

John Heritage

I’m getting an error message say baseURL is not defined?

regards

My bad. That was a copy & paste job from another plugin & I forgot to change one of the most important parts. I updated the post. Download the file again.

Thanks for you help

sadly this do not work either, but no error now!

so it would look like the power command are not getting to the atlona ?

I can confirm logging in with telnet and user name and pasword

Regards

OK. I made another update to send those credentials after connecting to telnet.

Hi Bill

still not there yet but must be getting close

now I notice when I putty in, there something strange going on

I have to enter the name twice before password prompt is offered

so to login to atlona on telnet 23 …I type

root
root
Atlona

then i’m logged in

I have modified your code but still does not work ??

var data = tcp.receive();
tcp.send("root\r");
data = tcp.receive();
tcp.send("root\r");
data = tcp.receive();
tcp.send("Atlona\r");
    data = tcp.receive();

}

Thanks for you help

Kind regards

John

Maybe try adding some delays like this.

var data = tcp.receive();
tcp.send("root\r");

sleep(500); // 500 milliseconds

data = tcp.receive();
tcp.send("root\r");
data = tcp.receive();

sleep(500); // 500 milliseconds

tcp.send("Atlona\r");
data = tcp.receive()

ah yes time delay

lets try

thank you

kind regards

No…

still not working really strange

let me try these commands in telnet

Kind Regards

Hi

Telnet is working fine just turned off the atlona and back on again
11

so for some reason the buttons and not sending code or we are not logging in to the atlona

oh and thanks for you help

Kind Regards

oh

I am assuming I can simply edit the code under atlona plugin

rather than delete and re install the file ??

regards

Yes. It’ll be quicker & easier to just edit the file. You do not need to reinstall it every time.

Let me know if you want any additional help on this. I have the same device functioning with HR. I made a plugin for this as well.

Did you ever have any success in making this work? I have been trying for days trying using the above method with no success