Author Topic: New beta firmware available  (Read 35842 times)

Jan (Microbit)

  • Software Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
    • View Profile
    • Email
Re: New beta firmware available
« Reply #15 on: 2013-01-06, 09:29:25 »
Android using the App or the web page? And only in version 3.0 of the Webswitch?
Always include type of hard/software and version when asking for support.

ON4AOI

  • Sr. Member
  • ****
  • Posts: 295
    • View Profile
    • Email
Re: New beta firmware available
« Reply #16 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
« Last Edit: 2013-01-06, 11:07:35 by ON4AOI »

Jan (Microbit)

  • Software Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
    • View Profile
    • Email
Re: New beta firmware available
« Reply #17 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.
Always include type of hard/software and version when asking for support.

ON4AOI

  • Sr. Member
  • ****
  • Posts: 295
    • View Profile
    • Email
Re: New beta firmware available
« Reply #18 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

Jan (Microbit)

  • Software Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
    • View Profile
    • Email
Re: New beta firmware available
« Reply #19 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?
Always include type of hard/software and version when asking for support.

ON4AOI

  • Sr. Member
  • ****
  • Posts: 295
    • View Profile
    • Email
Re: New beta firmware available
« Reply #20 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
« Last Edit: 2013-01-06, 12:32:12 by ON4AOI »

bobbo

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: New beta firmware available
« Reply #21 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

ON4AOI

  • Sr. Member
  • ****
  • Posts: 295
    • View Profile
    • Email
Re: New beta firmware available
« Reply #22 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

Jan (Microbit)

  • Software Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
    • View Profile
    • Email
Re: New beta firmware available
« Reply #23 on: 2013-01-07, 08:58:59 »
Always include type of hard/software and version when asking for support.

nilrog

  • Jr. Member
  • **
  • Posts: 71
    • View Profile
Re: New beta firmware available
« Reply #24 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

Jan (Microbit)

  • Software Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
    • View Profile
    • Email
Re: New beta firmware available
« Reply #25 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)
Always include type of hard/software and version when asking for support.

nilrog

  • Jr. Member
  • **
  • Posts: 71
    • View Profile
Re: New beta firmware available
« Reply #26 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

Jan (Microbit)

  • Software Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
    • View Profile
    • Email
Re: New beta firmware available
« Reply #27 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>  ;)
Always include type of hard/software and version when asking for support.

nilrog

  • Jr. Member
  • **
  • Posts: 71
    • View Profile
Re: New beta firmware available
« Reply #28 on: 2013-01-16, 07:59:01 »
Sweet! :D

Emretsson

  • Newbie
  • *
  • Posts: 12
    • View Profile
    • Email
Re: New beta firmware available
« Reply #29 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