Loxone Support Community

Find answers, ask questions and become part of the Loxone Community.

Loxone Support CommunityCategory: GeneralDelay when triggering virtual output command
3 years ago
Delay when triggering virtual output command

Dear Sir/Madam,

Is there a way to configure how quickly virtual output commands are sent? I couldn’t find anything in the settings.

I have a virtual output that sends a https GET command to an external server. This is all working as intended except there is a delay of around 5-7 seconds each time. I would really need this to be less than a second to work for my use case.

First I thought the remove server was perhaps slow, but if I send the https command from my web browser (on the same network as my Loxone server) the remote server responds virtually instantly, so I’ve concluded it’s taking a long time for my loxone server to send the command for some reason.

Is this expected or is something perhaps misconfigured?

Best wishes,

Stig Petersen

1 Answers
3 years ago

For the curious observer, I found a workarond for this:

I noticed in the Debug Information (Loxone Monitor) that the CPU usage maxed out at 100% when trying to make the https connection to the remote server. It takes the Loxone miniserver around 5 seconds to do the crypto part of the secure message.

So my workaround was to just use http for now – without the need to generate crypto keys – and now it’s pretty much instant.

Cheers,

Stig

3 years ago

Hi Stig,

For other members of the community, it would be good to know, are you currently on a Miniserver Gen.1 or Gen.2?

I would imagine it is a Gen.1, and if so, depending on the authentication level (SSL, TLS1/1.2 etc…) it could add a high overhead to the processor.

KR
Hugh

3 years ago

Hi Hugh, I’m not sure which one I’m on. How can I identify it? Also, do you have details on the Gen 1 and Gen 2 processor speeds?

I did notice that under normal load the CPU sits at 60%-65% utilisation so for most things it’s sufficient, but I would consider an upgrade if I’m on Gen 1.

Best wishes, Stig

3 years ago

Hi Stig, The Gen.1 will have screw connectors for power and link, while the Gen.2 will have push in connectors like those found on a Tree device.

The Miniserver Gen.1 has a 400Mhz processor and 64MB Ram

The Miniserver Gen.2 overall has a 21x increase of power compared to the Gen.1

I can't say if upgrading will speed up the processing of your HTTPS commands, however it is a fairly process intensive protocol.

KR
Hugh