Skip to content

Speed issue #32

@ghost

Description

I am running below script. First of all, I did not find how to turn on all outputs from PowerSwitch object so that is why I am iterating through all outputs.
The issue is that when I run the script, I see about 3 second delay between each output turning on... I think it is processing time because I tried to change the sequency delay configuration on the DIN Relay unit to 0 seconds and still I got same results. So I wanted to ask if you have any suggestions?

import dlipower
rl1 = dlipower.PowerSwitch(hostname='192.168.0.100',password='1234')
for rl in rl1:
	rl.state='ON'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions