mikelawrence / senseme-hacs

Haiku with SenseME fan integration for Home Assistant
MIT License
21 stars 14 forks source link

Standalone Haiku Light Support #7

Closed PenitentTangent2401 closed 4 years ago

PenitentTangent2401 commented 4 years ago

Mike,

Thanks for all your work on this integration and getting it added to HACS. Unfortunately when I moved to the HACS version I lost the local customization I had made to get my standalone Haiku light (now discontinued) working with HA.

I would love to see the light supported by this integration. Below is the debug output from aiosenseme for the light. I'd be happy to test and provide any additional information you require.

DEBUG:aiosenseme.discovery:Received 'Hallway Light;DEVICE;ID;20:F8:5E:12:D1:9C;LIGHT,HAIKU' from x.x.x.x on x.x.x.x                                                                                 
DEBUG:aiosenseme.fan:Hallway Light: Connecting
DEBUG:aiosenseme.fan:Hallway Light: Connected
DEBUG:aiosenseme.fan:Hallway Light: Status update
DEBUG:aiosenseme.fan:Hallway Light: Param updated: [DEVICE;LIGHT;PRESENT]='COLOR'
DEBUG:aiosenseme.fan:Hallway Light: Param updated: [SNSROCC;STATUS]='OCCUPIED'
DEBUG:aiosenseme.fan:Hallway Light: Param updated: [DEVICE;SERVER]='PRODUCTION'
DEBUG:aiosenseme.fan:Hallway Light: Param updated: [ERRORLOG;ENTRIES;NUM]='10'
DEBUG:aiosenseme.fan:Hallway Light: Param updated: [ERRORLOG;ENTRIES;MAX]='10'
DEBUG:aiosenseme.fan:Hallway Light: Param updated: [FW;NAME]='FW000006'
DEBUG:aiosenseme.fan:Hallway Light: Param updated: [FW;FW000006]='2.5.0'
DEBUG:aiosenseme.fan:Hallway Light: Param updated: [GROUP;LIST]='Hallway'
DEBUG:aiosenseme.fan:Hallway Light: Param updated: [DEVICE;OPTION;SENSORS]='NOT PRESENT'
DEBUG:aiosenseme.fan:Hallway Light: Param updated: [GROUP;ROOM;TYPE]='0'
DEBUG:aiosenseme.fan:Hallway Light: Param updated: [LIGHT;AUTO]='OFF'
DEBUG:aiosenseme.fan:Hallway Light: Param updated: [LIGHT;LEVEL;ACTUAL]='14'
DEBUG:aiosenseme.fan:Hallway Light: Param updated: [LIGHT;LEVEL;MAX]='16'
DEBUG:aiosenseme.fan:Hallway Light: Param updated: [LIGHT;LEVEL;MIN]='1'
DEBUG:aiosenseme.fan:Hallway Light: Param updated: [LIGHT;MODE]='MANUAL'
DEBUG:aiosenseme.fan:Hallway Light: Param updated: [LIGHT;PWR]='ON'
DEBUG:aiosenseme.fan:Hallway Light: Param updated: [LIGHT;BOOKENDS]='1;16'
DEBUG:aiosenseme.fan:Hallway Light: Param updated: [LIGHT;COLOR;TEMP;VALUE]='2900'
DEBUG:aiosenseme.fan:Hallway Light: Param updated: [LIGHT;COLOR;TEMP;MIN]='2200'
DEBUG:aiosenseme.fan:Hallway Light: Param updated: [LIGHT;COLOR;TEMP;MAX]='5000'
DEBUG:aiosenseme.fan:Hallway Light: Param updated: [LIGHT;COLOR;LEVEL;MAX]='10'
DEBUG:aiosenseme.fan:Hallway Light: Param updated: [LIGHT;COLOR;LEVEL;MIN]='1'
DEBUG:aiosenseme.fan:Hallway Light: Param updated: [LIGHT;COLOR;LEVEL;VALUE]='6'
DEBUG:aiosenseme.fan:Hallway Light: Param updated: [NAME;VALUE]='Hallway Light'
DEBUG:aiosenseme.fan:Hallway Light: Param updated: [NW;AP;STATUS]='OFF'
DEBUG:aiosenseme.fan:Hallway Light: Param updated: [NW;DHCP]='OFF'
DEBUG:aiosenseme.fan:Hallway Light: Param updated: [NW;PARAMS;ACTUAL]='x.x.x.x;x.x.x.x;x.x.x.x'
DEBUG:aiosenseme.fan:Hallway Light: Param updated: [NW;SSID]='...'
DEBUG:aiosenseme.fan:Hallway Light: Param updated: [NW;RSSI]='-...'
DEBUG:aiosenseme.fan:Hallway Light: Param updated: [NW;TOKEN]='...'
DEBUG:aiosenseme.fan:Hallway Light: Param updated: [SCHEDULE;CAP]='MAX EVENTS,29'
DEBUG:aiosenseme.fan:Hallway Light: Param updated: [SCHEDULE;EVENT;LIST]='NONE'
DEBUG:aiosenseme.fan:Hallway Light: Param updated: [SLEEP;EVENT]='OFF'
DEBUG:aiosenseme.fan:Hallway Light: Param updated: [SLEEP;EVENT]='ON'
DEBUG:aiosenseme.fan:Hallway Light: Param updated: [SLEEP;STATE]='OFF'
DEBUG:aiosenseme.fan:Hallway Light: Param updated: [SNSROCC;TIMEOUT;CURR]='600000'
DEBUG:aiosenseme.fan:Hallway Light: Param updated: [SNSROCC;TIMEOUT;MAX]='86400000'
DEBUG:aiosenseme.fan:Hallway Light: Param updated: [SNSROCC;TIMEOUT;MIN]='60000'
mikelawrence commented 4 years ago

Yes I am interested in supporting the standalone Haiku Light.

Looks like you used pip to install my aiosenseme library, did you do this in a Linux environment? Would you be willing to run beta/test code I put on GitHub?

Contact me via e-mail if you are interested. mike{@}big{remove}mikehome{.}com

PenitentTangent2401 commented 4 years ago

I ran the aiosenseme library from my Home Assistant docker container. I can spin up a Linux environment for compiling/testing code.

mikelawrence commented 4 years ago

Should be working in Release v2.1.0 and later. Thanks PenitentTangent2401.