Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


  • 1

HC3 - How autostart the scene after restart HC3


Michu

Question

6 answers to this question

Recommended Posts

  • 0
7 hours ago, Michu said:

HC3 - How autostart the scene after restart HC3

Lua scene (

Please login or register to see this link.

)

Please login or register to see this code.

 

  • Like 2
Link to comment
Share on other sites

  • 0
On 10/24/2020 at 6:15 AM, jgab said:

Lua scene (

Please login or register to see this link.

)

Please login or register to see this code.

 

For EV4 i expected this to be something like this -  but its not.

I also tried to add se-start in the self:enableTriggerType

whats the magic ? ?

Please login or register to see this code.

 

Edited by ChristianSogaard
p
Link to comment
Share on other sites

  • 0
13 minutes ago, ChristianSogaard said:

For EV4 i expected this to be something like this -  but its not.

I also tried to add se-start in the self:enableTriggerType

whats the magic ? ?

Please login or register to see this code.

 

 

No, in fact, the se-start event is not supported yet by the ER4. I will have a look tomorrow and post an update.

It will probably look something like

Please login or register to see this code.

 

  • Like 1
Link to comment
Share on other sites

  • 0
2 hours ago, jgab said:

 

No, in fact, the se-start event is not supported yet by the ER4. I will have a look tomorrow and post an update.

It will probably look something like

Please login or register to see this code.

 

Thank you Jan. This is my last Scene. When this is moved - everything is in EV4 

My next goal is the the to finalize the ALARM part

Link to comment
Share on other sites

  • 0
1 hour ago, ChristianSogaard said:

Thank you Jan. This is my last Scene. When this is moved - everything is in EV4 

My next goal is the the to finalize the ALARM part

Actually, while you wait for me to find out how to implement it properly you can fake it in a way that is hard to tell from the real thing.

Inside main() add this line:

Please login or register to see this code.

It will, when ER4 starts up, check if uptime is less then 30s and in that case post a #se-start event.

You can catch it with a rule like

Please login or register to see this code.

If I can't find out the trigger (it doesn't seem like it is posted on /refreshStates) I will do something similar like the first line but builtin-in into the ER4 startup code.

  • Like 1
Link to comment
Share on other sites

  • 0
52 minutes ago, jgab said:

Actually, while you wait for me to find out how to implement it properly you can fake it in a way that is hard to tell from the real thing.

Inside main() add this line:

Please login or register to see this code.

It will, when ER4 starts up, check if uptime is less then 30s and in that case post a #se-start event.

You can catch it with a rule like

Please login or register to see this code.

If I can't find out the trigger (it doesn't seem like it is posted on /refreshStates) I will do something similar like the first line but builtin-in into the ER4 startup code.

Damm - you are Brilliant??

Will test right away - This is turning ON Matrix switches where DIMMER is disabled because they are used for Children Of Hue

 

Please login or register to see this code.

 

Edited by ChristianSogaard
P
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...