Remote Rig

Webswitch 1216H Support in English => General discussion forum => Topic started by: Jan (Microbit) on 2012-12-20, 16:26:52

Title: New beta firmware available
Post by: Jan (Microbit) on 2012-12-20, 16:26:52
There is a new version of the Webswitch's firmware (3.0) available for download HERE (http://www.webswitch.se/firmwares/1216H_WebSwitch-CRC-NEW_v3.0_2013-03-19.zip). 

It is a release containing several new features and since we are close to the holidays and we at Microbit will enjoy some time off from work I thought it is better to call it a beta release aimed at those not being scared by trying something new and maybe not getting as good support as usual  ;)

The help pages on http://www.webswitch.se (http://www.webswitch.se) are updated with information for version 3.0.

This is a list of changed things:

1/
Added programmable number of temperature decimals.

2/
Added possibility to show temperature in Fahrenheit.

3/
Added possibility to get temperature from "temperatur.nu"(a Swedish site). Status of the service is shown on the "System Info" page.

4/
Increased analogue rotor page timeout to better handle slow connections.

5/
Auto Control Programs(ACP): Removed the "light value" since it wasn't used and replaced it with the possibility to have one temperature sensor per program row, instead of one per program.

6/
ACP: Changed the pulse relay function so if something else cancels an ongoing pulse then the program will be triggered and ready for a new pulse start at once. Pulse lengths can now also be up to 65535 seconds.

7/
ACP: Active time and temp intervals have yellow background.

8/
Added HTTP-REST rotor control/status commands.

9/
Added RFC2217 remote serial client and server support. By installing Microbit Setup Manager 1.18 or newer a virtual serial port in the PC will be transferred over the Internet to the Webswitch's built-in physical serial port. Download Setup Manager HERE (http://www.webswitch.se/firmwares/MicrobitSetupManager_v1.20_2013-03-01.zip).   

10/
Car Warm Up: Changed minute override setting to 0,5,10.. etc.

11/
Delayed the SNTP requests made after restart so that slow starting networks have time to get ready.

12/
Optmized memory use.

13/
Changed so that help page access is not done until the "Show help" button is clicked.

14/
Implemented automatic page refresh on the Relay, Temperature and Inputs pages.

15/
Added possibility to disable the Antenna Control feature (on the Set Relays page)

16/
Misc bug fixes.


Merry Christmas and a Happy New Year to all of you from all of us!  :D (If we survive tomorrow, hehe)
Title: Re: New beta firmware available
Post by: Chris DL5NAM on 2012-12-21, 15:56:13
Here it looks like bug. Have select Rotator at left side menu; content page starts and grow up and up and... will dynamically longer and longer.

Must be at loading the 3. pre-select rotator button. First 2 buttons i can see

There is a LOOP !!!!


I know it's BETA

73 Chris
Title: Re: New beta firmware available
Post by: Jan (Microbit) on 2012-12-22, 11:30:28
That function has not been changed at all so surprises me to hear you are getting problems with it. I can not see such a behavior. Which type of rotator are you using?
Title: Re: New beta firmware available
Post by: Chris DL5NAM on 2012-12-24, 10:52:23
Hello Jan,

its a PST110 but i dont think that rotor is the problem.
At right side after the 2. pre select button is shown the 3. build grafik build up and! also the 360 degree scale at this place build up and never stop it. The page will be longer and longer.

If you like i can install again Beta version and try to make a screen shot or if you like i can send by PM you my URL for direct access to WebSwitch to test your self (you can test the beta here).

After i deinstall Beta and using latest version 2.x it runs well.

73 Chris
Title: Re: New beta firmware available
Post by: Jan (Microbit) on 2012-12-24, 12:13:23
Hi,

I did not mean that the rotor itself is to blame. I was asking which rotor type you are using in the setup. Have you tried renaming the pre select buttons using for ex. shorter names ? I could imaging if their names somehow get corrupt then it could cause an ever growing web page. 

Since it is Xmas now I am not working that much so we will have to put this matter on hold until January.

Have a nice holiday!

/Jan
Title: Re: New beta firmware available
Post by: Chris DL5NAM on 2012-12-25, 20:39:15
Jan, actual firmware run well - 100% OK. I only update to Beta. i do not other changes or settings.

Will send you a URL and you can try a my station

But over all - enjoy holiday ( hope for you till end of January :-) - if not give me hint a i will talk to Mike.

best regards
Chris
Title: Re: New beta firmware available
Post by: Jan (Microbit) on 2013-01-02, 15:38:41
Only Chris being brave enough to try out version 3.0? ;)

The problem he got is solved and the download link above is updated.
Title: Re: New beta firmware available
Post by: ON4AOI on 2013-01-02, 15:47:45
I just flashed it today but forgot a serial cable to connect hardware Jan .... ..
will be for tommorow

Guy ON4AOI

HNY2013 
Title: Re: New beta firmware available
Post by: ON4AOI on 2013-01-03, 17:24:18
Jan,
after your comment on the Remote serial port = 8 (this is not the comport),
I got it working now perfect
For others it will be best to rename it to Remote TCP Port
Also put in the help file that this must be another TCP port forwarded to the webswitch
and not equal to the IP settings Web server port

Guy ON4AOI
Title: Re: New beta firmware available
Post by: Jan (Microbit) on 2013-01-03, 17:38:43
Great that you got it working!

Yes, I will change "Remote serial port" to ""Remote serial TCP port".

You don't think that the last paragraph of the page:

http://www.webswitch.se/wp/?page_id=509 (http://www.webswitch.se/wp/?page_id=509)

explains that another forwarded TCP port is needed?
Title: Re: New beta firmware available
Post by: ON4AOI on 2013-01-03, 18:48:53
Jan,
this got me confused
"configure the Webswitch to use Server mode and the same TCP port"

more specific "SAME"

Guy ON4AOi
Title: Re: New beta firmware available
Post by: Jan (Microbit) on 2013-01-04, 09:11:43
I see  ;) Does this:

http://www.webswitch.se/wp/?page_id=509 (http://www.webswitch.se/wp/?page_id=509)

look more understandable?
Title: Re: New beta firmware available
Post by: ON4AOI on 2013-01-04, 15:14:07
Yep this is clear now for everyone Jan

Guy ON4AOI
Title: Re: New beta firmware available
Post by: Jan (Microbit) on 2013-01-04, 15:24:26
Yep this is clear now for everyone Jan

Guy ON4AOI
Great!  ;D
Title: Re: New beta firmware available
Post by: ON4AOI on 2013-01-06, 08:46:07
Jan,
found a bug, Relay4 can't be put on/off via Android,
BUT
This is not a problem under windows there it works ok

Guy ON4AOI   
Title: Re: New beta firmware available
Post by: Jan (Microbit) on 2013-01-06, 09:29:25
Android using the App or the web page? And only in version 3.0 of the Webswitch?
Title: Re: New beta firmware available
Post by: ON4AOI on 2013-01-06, 11:04:41
Jan,
Android APP and also the IPOD APP or IPAD-IPhone
has the same problem just tested my Ipod
unknown relay (name I gave)

starting from 3.0 , not versions b4

Guy ON4AOI
Title: Re: New beta firmware available
Post by: Jan (Microbit) on 2013-01-06, 11:36:51
You gave the relay name "unkown"?  ;) Or no name at all? There has been no change in v3.0 in that functionality, so make sure you have given the relay a name and also that it isn't controlled by something else.

You could also try entering:

http://[url]/relaycontrol/on/4

and

http://[url]/relaycontrol/off/4

to find out it the relay works then.
Title: Re: New beta firmware available
Post by: ON4AOI on 2013-01-06, 11:57:03
Jan
I get the message "UNKNOWN RELAY MKII+SM 12V"
relay4 name is MKII+SM 12V
this is only in the ANDROID and IPOD APP and this name worked ok in previous releases
via windows http all is ok

Guy
Title: Re: New beta firmware available
Post by: Jan (Microbit) on 2013-01-06, 12:12:56
Aha! I suspect it has something to do with the name itself, most likely the "+" sign. I now remember that I had to change the way URLs are parsed for another reason, and that might be causing what you are seeing. Could you try renaming the relay by for ex. removing the + sign?
Title: Re: New beta firmware available
Post by: ON4AOI on 2013-01-06, 12:28:12
Jan,
I made the change from + to - and it is working ok again
something for the documents that not all chr are allowed anymore.
did you see my mail ?

Guy
Title: Re: New beta firmware available
Post by: bobbo on 2013-01-06, 20:16:28
Hi,

I have installed v3.0 of the firmware, but I can not see how to use temperature.nu. It does not show up on the APC program page and I can not see the status on the system info page either. Do I somehow need to activate that funcionality?

The build of the firmware is Dec 27 2012 13:41:14.

/Bobbo
Title: Re: New beta firmware available
Post by: ON4AOI on 2013-01-07, 06:50:20
Bobbo,
in the Advanced settings tab the last line is used to put it in www.temperatur.nu

Guy ON4AOI
Title: Re: New beta firmware available
Post by: Jan (Microbit) on 2013-01-07, 08:58:59
Yes, as found here: http://www.webswitch.se/wp/?page_id=517 (http://www.webswitch.se/wp/?page_id=517)
Title: Re: New beta firmware available
Post by: nilrog on 2013-01-14, 08:02:26
2/
Added possibility to show temperature in Fahrenheit.
If you use the API to ask for temperature and carheater state is there a way to know if the temperature is in Celsius or Fahrenheit?

I guess for temperature (/temperature/get/[1-25]) the answer would be no as it just returns a value.

But for the carheater state (/carheaterstate/get) could it not be part of the XML response? Either as a child tag of "temperature" or as an attribute of the "temperature" tag.

/Roger
Title: Re: New beta firmware available
Post by: Jan (Microbit) on 2013-01-14, 11:02:10
Yes, adding for ex. <tempunit>Fahrenheit/Celsius</tempunit> to the car heater state would be easy so I will do that  :) (It will be a separate tag since that is easier to handle in the Webswitch)
Title: Re: New beta firmware available
Post by: nilrog on 2013-01-14, 11:48:01
Great! :)

Would it also be possible for the carheterstate to return the current status of the relay for each program, on/off?

Today what you can see in the XML-response is engagetime, disengagetime. But those still return valid values when the program has ended and the relay is off. So you need to perform some logic on the client side if you want to figure out if the relay is on or off. Or make a separate query to the webswitch for the status of the relayname returned by the carheterstate for each program.

It is not difficult for a client to do that but if this information could also be included in the XML-response then there is one, or two, less queries that needs to be done.

/Roger
Title: Re: New beta firmware available
Post by: Jan (Microbit) on 2013-01-15, 09:55:07
OK, you will get:

<relaystate>0/1/X</relaystate>

and

<tempunit>Celsius/Fahrenheit</tempunit>

as child tags to <carheater>  ;)
Title: Re: New beta firmware available
Post by: nilrog on 2013-01-16, 07:59:01
Sweet! :D
Title: Re: New beta firmware available
Post by: Emretsson on 2013-01-16, 19:50:18
 :D Nice feature with temperatur.nu, is it possible to get it under monitoring?
Is the name case-sensitive? I tried with first letter capital and got ERROR(9), if I use lowercase only i works perfectly.

Best regards,
/Emretsson
Title: Re: New beta firmware available
Post by: Jan (Microbit) on 2013-01-18, 09:35:10
:D Nice feature with temperatur.nu, is it possible to get it under monitoring?
Is the name case-sensitive? I tried with first letter capital and got ERROR(9), if I use lowercase only i works perfectly.

Best regards,
/Emretsson
It is temperatur.nu which requires the names being in lowercase.
Title: Re: New beta firmware available
Post by: Jan (Microbit) on 2013-01-21, 15:22:39
:D Nice feature with temperatur.nu, is it possible to get it under monitoring?
Is the name case-sensitive? I tried with first letter capital and got ERROR(9), if I use lowercase only i works perfectly.

Best regards,
/Emretsson
I missed this!

Excellent suggestion! Monitoring must of course be able to use temperatur.nu as temp sensor too!

The name is case-sensitive, I will add support for making it  case-insensitive.
Title: Re: New beta firmware available
Post by: Jan (Microbit) on 2013-02-07, 17:07:46
Go to the first post in this thread and grab new a new Webswitch 3.0-version as well as Setup Manager v1.19  ;)
Title: Re: New beta firmware available
Post by: Chris DL5NAM on 2013-02-07, 21:53:55
Hello Jan, any other changes or only messages from this thread included?

regards
Chris
Title: Re: New beta firmware available
Post by: Jan (Microbit) on 2013-02-08, 16:33:12
Hello Jan, any other changes or only messages from this thread included?

regards
Chris
Hi Chris,

There are a number of improvements/bug fixes too.
Title: Re: New beta firmware available
Post by: dj0qn on 2013-02-09, 15:48:33
Hi Chris,

For me the killer is the new virtual serial port that you can use with the Webswitch to control a rotor.

73,
Mitch DJ0QN / K7DX