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

LED call & wait #7

Open
Chris-ParkIT opened this issue Jan 15, 2020 · 1 comment
Open

LED call & wait #7

Chris-ParkIT opened this issue Jan 15, 2020 · 1 comment

Comments

@Chris-ParkIT
Copy link

Chris-ParkIT commented Jan 15, 2020

I am trying to run this on a windows machine, I have got the py code rather than installed the package

firstly in clitool line 91 the call to lacrosse.led_config(state)
should be to led_mode_state(state)
the command to set the blue led should be 1l (lowercase L) not 1a

if I run with parameters -d /COM3 led on nothing happens
putting a time.sleep(3) at the start of led_mode_state() the blue light comes on

If I run -d /COM3 info the data returned is 'b\r\n' and so all info shows as nothing
running '-d /COM3 scan' nothing gets returned.
I assume it is a timing issue but don't have the experience or knowledge to get any further.

@hthiery
Copy link
Owner

hthiery commented Jan 15, 2020

I am trying to run this on a windows machine, I have got the py code rather than installed the package

firstly in clitool line 91 the call to lacrosse.led_config(state)
should be to led_mode_state(state)
the command to set the blue led should be 1l (lowercase L) not 1a

You're right. this was never tested. could you please create a pull-request for that?

if I run with parameters -d /COM3 led on nothing happens
putting a time.sleep(3) at the start of led_mode_state() the blue light comes on

If I run -d /COM3 info the data returned is 'b\r\n' and so all info shows as nothing
running '-d /COM3 scan' nothing gets returned.
I assume it is a timing issue but don't have the experience or knowledge to get any further.

what firmware version of jeelink dongle do you use?

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

2 participants