andyboeh / mediola2mqtt

Mediola MQTT Gateway
11 stars 13 forks source link

Kaiser Nienhaus #25

Open tobiashugo opened 1 year ago

tobiashugo commented 1 year ago

Hi all, thanks for all the effort you put into this project. If you are still actively developing, I'd love to see Support for my Kaiser Nienhaus blinds. Unfortunately my programming skills are none right at the moment.

Thus far I PCAPPED this: http://192.168.1.15/cmd?XC_FNC=SendSC&type=DY2&data=01F90E787201&at=insert_accesstoken UP http://192.168.1.15/cmd?XC_FNC=SendSC&type=DY2&data=01F90E787202&at=insert_accesstoken DOWN http://192.168.1.15/cmd?XC_FNC=SendSC&type=DY2&data=01F90E787203&at=insert_accesstoken STOP http://192.168.1.15/cmd?XC_FNC=SendSC&type=DY2&data=01F90E787240__ Go to Position where __ is 00 (up) - 64 (full down)

The blind Address should be F90E7872, the leading 01 seems to be a constant with all blinds. Instead of the access token &auth=password works also.

Liebe Grüße

Tobias

PS: This is my first ever post on Git Hub, please be kind :)

andyboeh commented 1 year ago

I have this protocol in the API description, so this would be very well possible. However, the mediola2mqtt's code quality is, at best, rubbish. It's therefore quite cumbersome to add different protocol types. I'm planning a rewrite as a proper integration for months now, but I lack the time to do so.