Skip to content
This repository has been archived by the owner on Jun 28, 2021. It is now read-only.

decoding commands for turning off links yields error. #4

Open
bbrendon opened this issue Feb 24, 2018 · 2 comments
Open

decoding commands for turning off links yields error. #4

bbrendon opened this issue Feb 24, 2018 · 2 comments

Comments

@bbrendon
Copy link

I'm sending all UPB commands to your program. I got this error. The command is valid. I believe it's from a link that turns off a lamp.

# upb-cli -d  8904165E04220001D8
Invalid command! No level specified. A level must be specified with goto and fadeStart.
@DaAwesomeP
Copy link
Owner

It's possible that there is a bug that reads the value 0 as a null value, but that doesn't sound right—I would have found that bug long ago. Your device might be skipping the level byte instead of defining it as 0. I will look into it. What brand device is this?

@bbrendon
Copy link
Author

bbrendon commented Feb 27, 2018

This is an HAI switch sending that. It's configured a bit differently than most of mine because it controls two switches with a single toggle. I don't recall doing that with other switches in my house.

Also I want to thank you for your upb-cli program. Without it I wouldn't have been able to get my lights working in Home Assistant.

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

No branches or pull requests

2 participants