(EDGE Driver-Mc): Aplicaciones Virtuales Mc (virtual Switch Mirror, Virtual Calendar and virtual Switch Board...)

Thanks Milan
I used WebCore to make a setup with master/slave lights so that in Actiontiles I had a tile with one bulb that I could turn on/of and dim and other bulbs followed this through a piston in WebCore that copied the parameters from the master bulb. I miss this opportunity after WebCore and that ActionTiles doesn’t support groups of lights.
Maybe I could recreate it with a virtual device and routines - but how do you make the routine that changes in relative numbers (+/-5%)? As I see it, I can only make routines with absolute numbers :frowning:

Others that have solved the master/slave issue in other ways?

Is there a possibility to increase the number of switch more the 5 in the switch board without using more switchboard?

Hi @ivhazu

They can be added, but for each switch added the code grows.
How many you need?

Hi @Mariano_Colmenarejo,
I’ll need 8!
Thanks you very much!

Can I ask what you do with a virtual switchboard?

As @milandjurovic71 explains me I create some routines to change the colors of a led strip.

To make a color sequence you don’t need a switchBoard.
With a virtual text fields:

  • You write in Text field-1: Off
  • Write a routine for each color:
    • If
      Text-1= Color1 for x seconds

    • Then
      Text-1 : Color2
      Lamp color: Red

    • If
      Text-1= Color2 for x seconds

    • Then
      Text-1 : Color3
      Lamp color: Green

Then you write a routine to turn off the loop:

  • If
    Text-1=Off
  • Then
    Lamp: Off

To turn On an Off from a button:

If button x pressed Then Text-1: Color1

If x button y pressed Then Text-1: Off

Turn loop on and off from a button:

2 Likes

@Mariano_Colmenarejo my understanding was that he wanted to switch the colors with push of single button. Every time he presses the physical button to change the color.

Yes is exactly what i did!

That’s even easier:
With the same virtual device of text fields:

  • You write in text field 1 one of the colors name: Color1, for example.

  • Write a routine for each color:
    • If
      Text-1= Color1
      x button pressed

    • Then
      Text-1 : Color2
      Lamp color: Red

    • If
      Text-1= Color2
      x button pressed

    • Then
      Text-1 : Color3
      Lamp color: Green

… the same for all the following colors

Then if you want you can write a routine to turn off the light:

  • If
    button z pressed
  • Then
    Lamp: Off

2 Likes

Fantastic! It work very well and I can use whatever color I want… thanks you @Mariano_Colmenarejo… now i don’t need anymore a boardswitch with 8 switch… now I have my new textfield cyrcle!
Thanks also to @milandjurovic71.

2 Likes

Hi Mario.

disregard.

Hi Marriano,

I do not think this is a routine issue, but I thought I would ask the guru @Mariano_Colmenarejo. My routine did not work this morning, but I believe it is related to the U.S.A time change, as I have other time based automation issues, are these routines correct?

I noticed that it changed the time in the automation, but when you go to edit the automation, it’s set at the original time

Hi @NickA

It may be that today, Sunday, according to the last capture, the time 03:00 did not exist and it went directly from 02:00 to 03:01, but I don’t know for sure

Once all of today’s’ time change issues settle down I will retest it, but nothing with time in it appears to be working today.

Do we have to reset the driver manually for daylight saving time (there actually is no s on saving)? I changed my offset so that time is correct. Although, I am testing it, and I have a text sent 20 minutes before sunrise, and it seemed to use the correct time this morning (pre adjustment manually for DST), so I wonder if it does adjust for DST?

I had the same problem with 2 AM settings becoming 3 AM settings and I can not change them back to 2AM. But 1:59 AM works, do that is what I am using.

All calculations are made with respect to GMT time and are adjusted to local time according to the entered value.
Everything should work fine once the local time offset to GMT is updated.

Here the change to daylight saving time will be on March 26 at 2 a.m. I have done the change routine at 3:01 a.m. from March 26, let’s see if it works

…Ouch…That hurt