We have moved at community.getvera.com

Author Topic: Event only if light is low (3 in 1 sensor)  (Read 19533 times)

Offline huogas

  • Sr. Member
  • ****
  • Posts: 301
  • Karma: +0/-0
Re: Event only if light is low (3 in 1 sensor)
« Reply #15 on: May 25, 2011, 12:47:42 pm »
@marcxroma

Thanks for this piece of code. Very helpful.
Vera2 UI4(1.1.1245/3.2), Kwikset x1, HM-DW001 x1, ZRP100 x1, HA-04WD x1, ZDP100 x6, HSM100 x2, VRI06-1LX x8, ZW5301 x1, HM-FS001 x2, ZRW103W x1, GE 45606 x2, HA05C x1, TED5000 x1

Offline huogas

  • Sr. Member
  • ****
  • Posts: 301
  • Karma: +0/-0
Re: Event only if light is low (3 in 1 sensor)
« Reply #16 on: May 26, 2011, 06:18:06 am »
Is it possible to add this small script to the collection: http://wiki.micasaverde.com/index.php/Scripts_for_scenes ?

Sure. I confirmed your Wiki account, so if you see any useful scripts you can add them to that page.




How can I add a new page ? (a new ToDo)
Vera2 UI4(1.1.1245/3.2), Kwikset x1, HM-DW001 x1, ZRP100 x1, HA-04WD x1, ZDP100 x6, HSM100 x2, VRI06-1LX x8, ZW5301 x1, HM-FS001 x2, ZRW103W x1, GE 45606 x2, HA05C x1, TED5000 x1

Offline mcvflorin

  • Administrator
  • Hero Member
  • *****
  • Posts: 1755
  • Karma: +11/-3
Re: Event only if light is low (3 in 1 sensor)
« Reply #17 on: May 26, 2011, 07:03:07 am »
How can I add a new page ? (a new ToDo)

To create a page you must access that page with this link:
http://wiki.micasaverde.com/index.php/
followed by the page name.

e.g.: to create a page named Tips_and_Tricks you use this link:
http://wiki.micasaverde.com/index.php/Tips_and_Tricks
The following message will appear:
There is currently no text in this page, you can search for this page title in other pages or edit this page.
Click on edit this page and start having fun.  :)
At the top of the page put the categories:
[[Category:<category_name1>]]
[[Category:<category_name2>]]

Offline huogas

  • Sr. Member
  • ****
  • Posts: 301
  • Karma: +0/-0
Re: Event only if light is low (3 in 1 sensor)
« Reply #18 on: May 26, 2011, 07:48:26 am »
@mcvflorin

Thanks. First page created  :)

I know I'm off topic, but, last question, can I modify the main navigation menu to add something more meaningful, like "How to", and "Luup examples", etc. ?
Vera2 UI4(1.1.1245/3.2), Kwikset x1, HM-DW001 x1, ZRP100 x1, HA-04WD x1, ZDP100 x6, HSM100 x2, VRI06-1LX x8, ZW5301 x1, HM-FS001 x2, ZRW103W x1, GE 45606 x2, HA05C x1, TED5000 x1

Offline Henk

  • Hero Member
  • *****
  • Posts: 820
  • Karma: +3/-0
Re: Event only if light is low (3 in 1 sensor)
« Reply #19 on: May 26, 2011, 08:39:47 am »
@mcvflorin

Thanks. First page created  :)

I know I'm off topic, but, last question, can I modify the main navigation menu to add something more meaningful, like "How to", and "Luup examples", etc. ?

@hugoas, yes please do.
I edited your page by moving the categories from bottom to the top of the page and it will now also show up in the category lists.

Please find a format i created for this here:
http://wiki.micasaverde.com/index.php/User_talk:Henk

| Vera2 @ UI4 1.1.1350 / 3.20 | Vera Lite @ UI5 | Vera 3 @ UI5 | 2x Merten  504519 | 1x Duewi  064374 | 1x Everspring SM103 doorbell mod |1 Y-cam IP cam | various LUUP plugins |

Offline huogas

  • Sr. Member
  • ****
  • Posts: 301
  • Karma: +0/-0
Re: Event only if light is low (3 in 1 sensor)
« Reply #20 on: May 26, 2011, 09:05:36 am »
 @Henk

I'm not sure I understand what you did. I don't see any changes in my page, and that page was already showing up in the category ?

(Henk, are you sure you use the Rich Text editor, because the point you mentioned doesn't really matter in the RTE ?)

...and
Quote
I know I'm off topic, but, last question, can I modify the main navigation menu to add something more meaningful, like "How to", and "Luup examples", etc. ?
« Last Edit: May 26, 2011, 09:07:50 am by huogas »
Vera2 UI4(1.1.1245/3.2), Kwikset x1, HM-DW001 x1, ZRP100 x1, HA-04WD x1, ZDP100 x6, HSM100 x2, VRI06-1LX x8, ZW5301 x1, HM-FS001 x2, ZRW103W x1, GE 45606 x2, HA05C x1, TED5000 x1

Offline Henk

  • Hero Member
  • *****
  • Posts: 820
  • Karma: +3/-0
Re: Event only if light is low (3 in 1 sensor)
« Reply #21 on: May 26, 2011, 12:00:03 pm »
@Henk

I'm not sure I understand what you did. I don't see any changes in my page, and that page was already showing up in the category ?

(Henk, are you sure you use the Rich Text editor, because the point you mentioned doesn't really matter in the RTE ?)

...and
Quote
I know I'm off topic, but, last question, can I modify the main navigation menu to add something more meaningful, like "How to", and "Luup examples", etc. ?

im simply working from the website so no syntax issues on my end.
By putting the categories on top of the page you immediatly see them during editing as well.

Together with @guessed we are trying to standardize wiki page layouts for the howto sections.

That is what my link in the earlier post points to. Please be so kind to adopt that layout.

As far as your Q about adding a header to explain the contents of the page, Yes you can.
Its allocated directly underneath the category referrals in the layout i pointed you to.

Hope this helps
| Vera2 @ UI4 1.1.1350 / 3.20 | Vera Lite @ UI5 | Vera 3 @ UI5 | 2x Merten  504519 | 1x Duewi  064374 | 1x Everspring SM103 doorbell mod |1 Y-cam IP cam | various LUUP plugins |

Offline huogas

  • Sr. Member
  • ****
  • Posts: 301
  • Karma: +0/-0
Re: Event only if light is low (3 in 1 sensor)
« Reply #22 on: May 26, 2011, 01:17:49 pm »
@Henk or mcvflorin

On the left of the Wiki, there is a section "Navigation".
How can we add menu items to this section. As an example, we could see "How to" as an item in the left menu.
Vera2 UI4(1.1.1245/3.2), Kwikset x1, HM-DW001 x1, ZRP100 x1, HA-04WD x1, ZDP100 x6, HSM100 x2, VRI06-1LX x8, ZW5301 x1, HM-FS001 x2, ZRW103W x1, GE 45606 x2, HA05C x1, TED5000 x1

Offline Henk

  • Hero Member
  • *****
  • Posts: 820
  • Karma: +3/-0
Re: Event only if light is low (3 in 1 sensor)
« Reply #23 on: May 26, 2011, 01:41:59 pm »
@Henk or mcvflorin

On the left of the Wiki, there is a section "Navigation".
How can we add menu items to this section. As an example, we could see "How to" as an item in the left menu.

Out of my league here... would need mcvflorin or someone else knowledgeable on mediawiki to chip in here.
I DO support your suggestion to have certain categories or pages available there!
| Vera2 @ UI4 1.1.1350 / 3.20 | Vera Lite @ UI5 | Vera 3 @ UI5 | 2x Merten  504519 | 1x Duewi  064374 | 1x Everspring SM103 doorbell mod |1 Y-cam IP cam | various LUUP plugins |

Offline mcvflorin

  • Administrator
  • Hero Member
  • *****
  • Posts: 1755
  • Karma: +11/-3
Re: Event only if light is low (3 in 1 sensor)
« Reply #24 on: May 27, 2011, 05:57:49 am »
I'm afraid that's only possible at a low level and is out of my league too. What's possible though is modifying the Main Page to put useful links on there. Right now there is a link to Special:AllPages.

Offline Henk

  • Hero Member
  • *****
  • Posts: 820
  • Karma: +3/-0
Re: Event only if light is low (3 in 1 sensor)
« Reply #25 on: May 27, 2011, 06:00:25 am »
I'm afraid that's only possible at a low level and is out of my league too. What's possible though is modifying the Main Page to put useful links on there. Right now there is a link to Special:AllPages.

@MCVFlorin

I just did that this morning adding most used categories there,
| Vera2 @ UI4 1.1.1350 / 3.20 | Vera Lite @ UI5 | Vera 3 @ UI5 | 2x Merten  504519 | 1x Duewi  064374 | 1x Everspring SM103 doorbell mod |1 Y-cam IP cam | various LUUP plugins |

Offline huogas

  • Sr. Member
  • ****
  • Posts: 301
  • Karma: +0/-0
Re: Event only if light is low (3 in 1 sensor)
« Reply #26 on: May 27, 2011, 08:51:50 am »
That's good enough!

When I have time I will check the docum for MediaWiki
Vera2 UI4(1.1.1245/3.2), Kwikset x1, HM-DW001 x1, ZRP100 x1, HA-04WD x1, ZDP100 x6, HSM100 x2, VRI06-1LX x8, ZW5301 x1, HM-FS001 x2, ZRW103W x1, GE 45606 x2, HA05C x1, TED5000 x1