WebClient Unit pb

Forum about Domotiga Open Source Home Automation for Linux.

Moderator: RDNZL

Post Reply
Minus
Starting Member
Starting Member
Posts: 12
Joined: Tue Feb 10, 2009 11:33 am
Location: France

WebClient Unit pb

Post by Minus »

I install DomotiGa Webclient and I really like it :wink:

I may have found a little bug about unit which is like "mm/h" or "m/s" :

For example :

Debug :

Code: Select all

 [8]=>
  array(13) {
    ["devicelastseen"]=>
    string(8) "18:46:15"
    ["devicelabel4"]=>
    string(3) "m/s"
    ["devicevalue4"]=>
    string(1) "0"
    ["devicelabel3"]=>
    string(3) "m/s"
    ["devicevalue3"]=>
    string(1) "0"
    ["devicelabel2"]=>
    string(0) ""
    ["devicevalue2"]=>
    string(2) "SE"
    ["devicelabel"]=>
    string(2) "°"
    ["devicevalue"]=>
    string(6) "135 °"
    ["devicelocation"]=>
    string(0) ""
    ["devicename"]=>
    string(4) "Wind"
    ["deviceicon"]=>
    string(0) ""
    ["id"]=>
    string(1) "9"
  }

Display:

Wind | 135 ° | SE | 0 | 0 | 18:56:59

Unit 'm/s' has disappeared

I take advantage of this post to add ideas of improvement about Webeclient.
I will be really interested to add graph in the webclient page (with ajax for sure :wink: )

I don't know if it complicates to code... :roll:
User avatar
RDNZL
Forum Moderator
Forum Moderator
Posts: 1008
Joined: Sun Sep 24, 2006 1:45 pm
Location: Dordrecht, The Netherlands
Contact:

Re: WebClient Unit pb

Post by RDNZL »

Nice find, haven't noticed this problem myself.

I have fixed the bug, device labels where not displayed if device value was '0'.

Code: Select all

Oregon WIND3 | 178 °| S | 2.8 m/s | 0 m/s | 2010-01-09 15:11:12
Webclient improvements are on my to-do list too, if I only had some free time.
Regards, Ron.
dali
Starting Member
Starting Member
Posts: 46
Joined: Mon Nov 09, 2009 10:02 am
Location: Habo, Sweden
Contact:

Re: WebClient Unit pb

Post by dali »

RDNZL wrote:Webclient improvements are on my to-do list too, if I only had some free time.
I'd be happy to help you with the webclient. I would prefer to use a PHP mvc-framework (preferably CodeIgniter), which would make it easy to implement new functions and make the webclient skinnable.
If this is ok for you, I could start developing sometime this week.
User avatar
RDNZL
Forum Moderator
Forum Moderator
Posts: 1008
Joined: Sun Sep 24, 2006 1:45 pm
Location: Dordrecht, The Netherlands
Contact:

Re: WebClient Unit pb [solved]

Post by RDNZL »

Any help is welcome of course!

I have ideas about a design, but it's not readily available because it's only stored here :idea: at the moment.
I have seen CodeIgniter just briefly so I don't know it's requirements and/or capabilities yet.

If you need any information let me know.
Regards, Ron.
Post Reply

Return to “DomotiGa Forum”