Skip to content

get all loads status - returns only first load #8

@dendeps

Description

@dendeps

Thank you very much for sharing your application!

I'm trying to get status of all light loads(there are more than 100 on site) with command "#10##" but getting only status of first load in response:

private static void example1() {
	        OpenWebNet
	            .newClient(defaultGateway(HOST))
	            .send(() -> "*#1*0##")
	            .subscribe(System.out::println);
	    }

[main] - connected!
[main] - read: 6|*#*1##
[main] - write: 7|*99*0##
[main] - read: 6|*#*1##
[main] - without credential
[main] - write: 7|*#1*0##
[main] - read: 9|*1*0*40##
OpenSession{request=*#1*0##, response=[{response=*1*0*40##}]}

Is it possible to get all responses as a list?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions