Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AvosDim #3

Open
zintor opened this issue Jun 21, 2023 · 4 comments
Open

AvosDim #3

zintor opened this issue Jun 21, 2023 · 4 comments

Comments

@zintor
Copy link

zintor commented Jun 21, 2023

Hi Alex!

Thanks for the ConnectorBridgeCLI!

I am able to close, open and stop my roller blinds via the Homebox 005313 from AvosDim.

But I am not able to set a position. Any ideas how to get it working or debug to send a position state?

Best regards,
zintor

@mryshakow
Copy link

mryshakow commented Dec 8, 2023

Hej @zintor & @alexbacchin!

I try to communicate with with the Bridge from AvosDim as well. But I can't get it to run at all. Both Commands

sconnector-cli status 1 --apikey=XXXXXXXX-XXXX-XX
sconnector-cli open 1 --apikey=XXXXXXXX-XXXX-XX

fail with the following exception:

Read data failed: read udp 192.168.1.109:56585->238.0.0.18:32100: i/o timeout Cannot execute the operation to device:1, error: Cannot list devices: unexpected end of JSON input%

@zintor, can you give me an working example of your input?

I also saw a difference in the packages send by the AvosDim App and the CLI:

CLI { "msgType":"GetDeviceList", "msgID":"17019778307908833000" }

App { "msgType":"GetDeviceList", "msgID":"200231207203733739" }

I am not sure if the error can be caused by the message id. But the AvosDim App generates a message ID according to the current date. Not sure what the CLI is doing here.

Any thoughts about this? :)

Greets
Michael

@alexbacchin
Copy link
Owner

@mryshakow @zintor please try to connect with unicast IP address (the bridge IP address). I could never make multicast (238.0.0.18) work.

@mryshakow
Copy link

mryshakow commented Dec 8, 2023

That worked. Thank you! <3

For others who are wondering what the name of the device might be: At least for me it was espressif.

@zintor set-position works for me as well. Thats my command:

sconnector-cli set-position 1 50 --host=192.168.1.135 --apikey=XXXXXXXX-XXXX-XX --port=32100

But it closes the blind around 80% not sure why...

@zintor
Copy link
Author

zintor commented Dec 17, 2023

I used at the time issued the same command as @mryshakow. But no luck.
The same problem exists on the iobroker adapter https://github.com/ConnectorGit/ioBroker.connector-local-control
I am not able to set a position.
There is also no option in the app to set a position. Just open and close.
The status command always show this. On the time moving, opened and closed...

./sconnector-cli status 13 --host=192.168.178.XX --apikey=XXX --port=32100 {"mac":"XXX","operation":0,"currentPosition":0,"currentAngle":0,"currentState":0,"batteryLevel":0,"wirelessMode":2,"RSSI":-75}

It seems, that my shutter do not offer to set a position.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants