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

Support for EG-PMS-WLAN (quickfix) #11

Open
joanandk opened this issue Apr 12, 2017 · 3 comments
Open

Support for EG-PMS-WLAN (quickfix) #11

joanandk opened this issue Apr 12, 2017 · 3 comments

Comments

@joanandk
Copy link

Hi
With a small modification, the program works with EG-PMS-WLAN too.
Switching works out of the box, status is shown as "unknown". One has to select protocol v2.1 and modify
#define V21_STATE_ON 0x41
#define V21_STATE_OFF 0x82
to
#define V21_STATE_ON 0x51
#define V21_STATE_OFF 0x92

This modification breaks the EG-PMS2-LAN, but if someone is only using the WLAN module, can easily use this.

BR

@unterwulf
Copy link
Owner

Thank you for the information. It may be worth adding one more protocol value. Where did these new constants come from?

@joanandk
Copy link
Author

As the program without modification came up with this message:

socket 1 - unknown
socket 2 - unknown
socket 3 - unknown
socket 4 - unknown

I switched on socket 3 and took a look at what came back. So I found out the values.

Switching on and off works out of the box, so that portion stays the same.

Might be coincidence, but the last nibble might be the value of interest? (0xn1 = on and 0xn2 = off).

BR

@unterwulf
Copy link
Owner

I added a new protocol pmswlan according to your information (see commit b525716). Let me know if it works for your EG-PMS-WLAN.

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