Remote Rig

Webswitch 1216H Support in English => General discussion forum => Topic started by: Chris DL5NAM on 2012-10-10, 20:30:58

Title: Rotor
Post by: Chris DL5NAM on 2012-10-10, 20:30:58
There any plans to add function (- Reading/controlling via HTTP) for read/write position for rotor like the million function for NEXA  ;) ?
Idea is to build a HTML page with all status info like all used Temp sensors, actual position of rotor and so on

73 Chris
 
Title: Re: Rotor
Post by: Jan (Microbit) on 2012-10-11, 09:41:01
Interesting idea!

Which commands would be useful do you think?
Title: Re: Rotor
Post by: Chris DL5NAM on 2012-10-11, 18:02:29
Jan,

- for a status page ( what is the actual position)
- the predefined Buttons for positions

Basic idea is to build a own page in HTML with all important info's: status of remote ip switches, different Temp sensors, position of rotor.....

.... a Housekeeping page...

Every solutions has his own Webpage; if they all in use - many windows are all the time open,a seconde PC-monitor is needed  ;)

Still only a idea;

73 Chris
Title: Re: Rotor
Post by: Chris DL5NAM on 2012-10-12, 12:18:51
...also a pur Rotor page for practical use is needed. Pur means all overhead of Webswitch page like all other menu points are not need (only in case of configuration/changes). If i operate with radio i need only rotor and his informations. All other config menu points normaly i dont need in practice.

73 Chris
Title: Re: Rotor
Post by: Jan (Microbit) on 2012-10-12, 14:14:35
...also a pur Rotor page for practical use is needed. Pur means all overhead of Webswitch page like all other menu points are not need (only in case of configuration/changes). If i operate with radio i need only rotor and his informations. All other config menu points normaly i dont need in practice.

73 Chris

Do you mean what you can achieve if you access the rotator page directly bypassing the frame set:

http://[Webswitch address]/rotator.htm


Title: Re: Rotor
Post by: Chris DL5NAM on 2012-10-13, 10:31:57
Jan, thanks.

This page helps a big step further but also need:

- get actual position as a Value
- send a new postion as a HTML command

... also not so lucky for us (we have a very slow internet connection) is that every grafic is loaded from RemoteRig server.
Dont know in moment a real solution for that; own mini server or caching of all grafic or a flash (one time loaded and then not reloads needed)

73 Chris
Title: Re: Rotor
Post by: sm2o on 2012-10-13, 15:11:44
Hi


I have made a frame which calls for my 6 webswitches see attachment. In that way I can see all I need at the same time.

You can have the pictures on a local server also, In the webswitch setup you can change the address to the pictures.

73 de mike
Title: Re: Rotor
Post by: Chris DL5NAM on 2012-10-14, 10:47:05
...but these are static pages?

Example: if any Temp is changing you get info only after reload?
Title: Re: Rotor
Post by: sm2o on 2012-10-14, 12:17:19
Yes but the important pages the rotor, ACOM and SteppIR pages are live updated

73 de mike
Title: Re: Rotor
Post by: Chris DL5NAM on 2012-10-14, 17:15:54
Mike, thanks info. I try rotor page, works as you told.
Temp sensors? Any plans? I think it's important if you runing some dB more then QRP  :)

73 Chris
Title: Re: Rotor
Post by: ON4AOI on 2012-10-15, 09:51:54
Mike,
it sure would be a improvement if it could be without frames
and instead with exact location (x;y) on screen.
Resizing the page with frames gives always scrolling bars

Guy ON4AOI
Title: Re: Rotor
Post by: Chris DL5NAM on 2012-10-21, 13:39:50
...also it will be helpful if we can have "back" the 2 buttons CW and CCW - and if a Android App exit with Rotor function it will be a helpful tool in case of antenna repair work. Like a Rotor remote control.

73 Chris
Title: Re: Rotor
Post by: Chris DL5NAM on 2012-10-24, 18:01:16


Any description file or pdf exist with all(!) possible HTML commands?

... found a page in web: http://www.webswitch.se/wp/?page_id=342             but i think more commands still exist

.... http://[Webswitch address]/rotator.htm

73 Chris
Title: Re: Rotor
Post by: Jan (Microbit) on 2012-10-25, 08:32:05


Any description file or pdf exist with all(!) possible HTML commands?

... found a page in web: http://www.webswitch.se/wp/?page_id=342             but i think more commands still exist

.... http://[Webswitch address]/rotator.htm

73 Chris
Why do you think there are more commands? The commands you found are the ones designed with the purpose of being issued by "machines" wanting to control the Webswitch. There are of course other URLs the Webswitch recognises since every page it can show contains URLs using both HTTP GET and POST. If you would like to use those (unsupported) URLs you simply have to "sniff" what the Webswitch sends when browsing its web pages.

Title: Re: Rotor
Post by: Chris DL5NAM on 2012-10-25, 13:34:23
Easy questions - easy answer:

at given page (address see above) is no rotor command listed - but Mike use one and give a example; and it's very useful command for user.

I am not looking for hidden commands and not for company secrets; sniffing is not my job.

Thats all  ;)
Title: Re: Rotor
Post by: Jan (Microbit) on 2012-10-25, 13:44:04
Do you mean this post:

http://www.remoterig.com/forum/index.php?topic=1555.msg6611#msg6611

?

If so then there is no "hidden/unknown" things involved at all. He simply uses an external frame based web page which shows multiple Webswitches' home pages.
Title: Re: Rotor
Post by: sm2o on 2012-10-25, 14:01:00
Here is the code I use, xxx is the DDNS name of my summer house router

73 de mike

<html>

<head>
<title>Stugan Remote</title>
</head>

<frameset rows="*,*">
   <frameset cols="*,*,*">
         <frame name="left" src="http://www.xxx.net:8003/switch.egi">
         <frame name="mid" src="http://www.xxx.net:8004/setswitch.htm">
         <frame name="right" src="http://www.xxx.dnsalias.net:8024/rotator.htm">
   </frameset>
   <frameset cols="40%,35%,*">
         <frame name="left" src="http://xxx.net:8022/steppir.htm">
         <frame name="mid" src="http://xxx.net:8017/ampett.htm">
         <frame name="right"
 src="http://xxx.net:8003/temp.egi">
   </frameset>
   <noframes>
   <body>

   <p>This page uses frames, but your browser doesn&#39;t support them.</p>

   </body>
   </noframes>
</frameset>

</html>
Title: Re: Rotor
Post by: Chris DL5NAM on 2012-10-29, 06:45:31
Mike thanks.

I am a web programmer and it's easy to create this page - if you know what RRC or WebSwitch HTML pages exist's  :)

And that only was the question: there a list with all for user available HTML pages and commands? Yes i can snif and also watch/see at button line what pages are used.

The :8003 is your local server where the "privat" pictures (www.xxx.net:8003/switch.egi) are stored?[why .egi? ]

73 Chris
Title: Re: Rotor
Post by: sm2o on 2012-10-29, 08:21:05
it's not to a private server it's the address to the webswitch,to the page showing the switch positions in the webswitch. 8003 is the port used for portforwarding to that switch, as you can see the page refer to 5 different webswitches and RC-1216H, all with a unique portnumber

/mike
Title: Re: Rotor
Post by: Jan (Microbit) on 2012-10-29, 09:51:09
Chris:

We would surely like to help you, within what is possible without putting too much resources in it, but at least I do not understand what it is you want? How would you be helped by knowing the different URLs/pages used internally by the WebSwitch?

As for the different names of the pages, like "switch.egi", they do not matter at all since the Webswitch has its own internal web server.

There are quite a few internal web pages in the Webswitch. To document and publish every one of them would take a long time, that is why I suggested you use for ex. Fiddler2 to see which pages are used and what is sent/received.

Title: Re: Rotor
Post by: K5WK Ken on 2012-11-02, 17:26:47
Maybe this is the place to interject a nice thing that I would like to see.
Just ignore this post if if is way off subject.
The Rotor graphic allows one to put in three digits for rotation from the keyboard.
DXLABS suite of programs is commonly used, and has a program DXVIEW that supplies the three digits when a spot from DXLABS Spotter is double clicked.
It would be great if this doubleclick caused the value from DXVIEW to be put into the window for the rotor.  Then one would just click GO for the rotation to take place.  So a programming interface is needed to allow DXVIEW to put the value into the window just as if it had come from the keyboard.
Title: Re: Rotor
Post by: Jan (Microbit) on 2012-12-20, 16:37:36
This http://www.remoterig.com/forum/index.php?topic=1673.0 (http://www.remoterig.com/forum/index.php?topic=1673.0) might apply.