Closed mikkelsiggaard closed 1 day ago
You need to enable debug logging and attach the integration specific logs
https://www.home-assistant.io/docs/configuration/troubleshooting/
something like this :
# https://www.home-assistant.io/integrations/logger/
logger:
default: info
logs:
custom_components.siku: debug
unfortunately I don't have a v2 fan so I can't give you any examples of how it should look
Related to siku, this is the only response I got in logs.
2024-08-30 12:10:38.933 DEBUG (MainThread) [custom_components.siku.api_v2] packet string: FDFD0210303033393030333934373431353730380D3330323854696765723330323801B90102B70607254A648386
2024-08-30 12:10:38.933 DEBUG (MainThread) [custom_components.siku.api_v2] packet string: FDFD0210303033393030333934373431353730380D3330323854696765723330323801B90102B70607254A6483864D0A
2024-08-30 12:10:38.933 DEBUG (MainThread) [custom_components.siku.api_v2] packet data: b'\xfd\xfd\x02\x100039003947415708\rMYPASSWORD\x01\xb9\x01\x02\xb7\x06\x07%Jd\x83\x86M\n'
2024-08-30 12:10:38.934 DEBUG (MainThread) [custom_components.siku.api_v2] sending "fdfd0210303033393030333934373431353730380d3330323854696765723330323801b90102b70607254a6483864d0a" size(48) to ('192.168.0.25', 4000)
Since you are not getting an answer from the fan it feels like a network problem, but I don't know how the v2 fan behaves if you use a wrong id or password so this could also be the problem?
I found some old v2 protocol spec and it says the password size should be between 0 and 8 chars, so maybe this is the problem.
Try setting a short default password and validate that the 16 char id you use is correct
If that does not work I would need a pcap dump of all the network traffic to the fan when you use a working app
Alright, thank you so much. I will try a shorter password as a start and report back.
Changing the password to something between 0-8 characters worked, since it now listed my fan as a device with entities in HA. However, the fan entity shows an inactive.
Would a PCAP-file help to debug this?
I have a debug log thats rather long.
2024-09-01 18:41:04.208 DEBUG (MainThread) [custom_components.siku.api_v2] packet string: FDFD02103030333930303339343734313537303808313233343536373801B90102B70607254A648386
2024-09-01 18:41:04.208 DEBUG (MainThread) [custom_components.siku.api_v2] packet string: FDFD02103030333930303339343734313537303808313233343536373801B90102B70607254A6483865708
2024-09-01 18:41:04.208 DEBUG (MainThread) [custom_components.siku.api_v2] packet data: b'\xfd\xfd\x02\x100039003947415708\x0812345678\x01\xb9\x01\x02\xb7\x06\x07%Jd\x83\x86W\x08'
2024-09-01 18:41:04.209 DEBUG (MainThread) [custom_components.siku.api_v2] sending "fdfd02103030333930303339343734313537303808313233343536373801b90102b70607254a6483865708" size(43) to ('192.168.0.25', 4000)
2024-09-01 18:41:04.218 DEBUG (MainThread) [custom_components.siku.api_v2] receive data: b'\xfd\xfd\x02\x100039003947415708\x0812345678\x06\xfe\x02\xb9\x05\x00\x01\x01\x02\xff\xb7\x01\x06\x00\x07\x00%\x00\xfe\x02JD\x07\xfe\x03d\x04\x15F\x83\x00\xfe\x06\x86\x00\x03\x1a\x08\xe4\x07!\x0f' size(71) from ('192.168.0.25', 4000)
2024-09-01 18:41:04.218 DEBUG (MainThread) [custom_components.siku.api_v2] receive string: FDFD02103030333930303339343734313537303808313233343536373806FE02B90500010102FFB701060007002500FE024A4407FE03640415468300FE068600031A08E407210F
2024-09-01 18:41:04.218 DEBUG (MainThread) [custom_components.siku.api_v2] checksum: 210F
2024-09-01 18:41:04.218 DEBUG (MainThread) [custom_components.siku.api_v2] verify if 210F == 210F
2024-09-01 18:41:04.218 DEBUG (MainThread) [custom_components.siku.api_v2] returning hexlist ['FD', 'FD', '02', '10', '30', '30', '33', '39', '30', '30', '33', '39', '34', '37', '34', '31', '35', '37', '30', '38', '08', '31', '32', '33', '34', '35', '36', '37', '38', '06', 'FE', '02', 'B9', '05', '00', '01', '01', '02', 'FF', 'B7', '01', '06', '00', '07', '00', '25', '00', 'FE', '02', '4A', '44', '07', 'FE', '03', '64', '04', '15', '46', '83', '00', 'FE', '06', '86', '00', '03', '1A', '08', 'E4', '07', '21', '0F']
2024-09-01 18:41:04.218 DEBUG (MainThread) [custom_components.siku.api_v2] start: 0
2024-09-01 18:41:04.218 DEBUG (MainThread) [custom_components.siku.api_v2] hexlist: FDFD
2024-09-01 18:41:04.218 DEBUG (MainThread) [custom_components.siku.api_v2] start: 2
2024-09-01 18:41:04.218 DEBUG (MainThread) [custom_components.siku.api_v2] hexlist: 02
2024-09-01 18:41:04.218 DEBUG (MainThread) [custom_components.siku.api_v2] start: 3
2024-09-01 18:41:04.218 DEBUG (MainThread) [custom_components.siku.api_v2] hexlist: 10
2024-09-01 18:41:04.218 DEBUG (MainThread) [custom_components.siku.api_v2] start: 20
2024-09-01 18:41:04.219 DEBUG (MainThread) [custom_components.siku.api_v2] hexlist: 08
2024-09-01 18:41:04.219 DEBUG (MainThread) [custom_components.siku.api_v2] start: 29
2024-09-01 18:41:04.219 DEBUG (MainThread) [custom_components.siku.api_v2] hexlist: 06
2024-09-01 18:41:04.219 DEBUG (MainThread) [custom_components.siku.api_v2] loop data 30 69
2024-09-01 18:41:04.219 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 30 : FE
2024-09-01 18:41:04.219 DEBUG (MainThread) [custom_components.siku.api_v2] special function, value size 2
2024-09-01 18:41:04.219 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:B9 value:0005
2024-09-01 18:41:04.219 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 35 : 01
2024-09-01 18:41:04.219 DEBUG (MainThread) [custom_components.siku.api_v2] normal function, cmd:01 value:01
2024-09-01 18:41:04.219 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:01 value:01
2024-09-01 18:41:04.219 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 37 : 02
2024-09-01 18:41:04.219 DEBUG (MainThread) [custom_components.siku.api_v2] normal function, cmd:02 value:FF
2024-09-01 18:41:04.219 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:02 value:FF
2024-09-01 18:41:04.219 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 39 : B7
2024-09-01 18:41:04.219 DEBUG (MainThread) [custom_components.siku.api_v2] normal function, cmd:B7 value:01
2024-09-01 18:41:04.219 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:B7 value:01
2024-09-01 18:41:04.219 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 41 : 06
2024-09-01 18:41:04.219 DEBUG (MainThread) [custom_components.siku.api_v2] normal function, cmd:06 value:00
2024-09-01 18:41:04.219 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:06 value:00
2024-09-01 18:41:04.219 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 43 : 07
2024-09-01 18:41:04.219 DEBUG (MainThread) [custom_components.siku.api_v2] normal function, cmd:07 value:00
2024-09-01 18:41:04.219 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:07 value:00
2024-09-01 18:41:04.219 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 45 : 25
2024-09-01 18:41:04.219 DEBUG (MainThread) [custom_components.siku.api_v2] normal function, cmd:25 value:00
2024-09-01 18:41:04.219 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:25 value:00
2024-09-01 18:41:04.219 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 47 : FE
2024-09-01 18:41:04.219 DEBUG (MainThread) [custom_components.siku.api_v2] special function, value size 2
2024-09-01 18:41:04.219 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:4A value:0744
2024-09-01 18:41:04.219 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 52 : FE
2024-09-01 18:41:04.219 DEBUG (MainThread) [custom_components.siku.api_v2] special function, value size 3
2024-09-01 18:41:04.219 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:64 value:461504
2024-09-01 18:41:04.220 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 58 : 83
2024-09-01 18:41:04.220 DEBUG (MainThread) [custom_components.siku.api_v2] normal function, cmd:83 value:00
2024-09-01 18:41:04.220 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:83 value:00
2024-09-01 18:41:04.220 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 60 : FE
2024-09-01 18:41:04.220 DEBUG (MainThread) [custom_components.siku.api_v2] special function, value size 6
2024-09-01 18:41:04.220 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:86 value:07E4081A0300
2024-09-01 18:41:04.220 DEBUG (MainThread) [custom_components.siku.api_v2] translate response: {'B9': '0005', '01': '01', '02': 'FF', 'B7': '01', '06': '00', '07': '00', '25': '00', '4A': '0744', '64': '461504', '83': '00', '86': '07E4081A0300'}
2024-09-01 18:41:04.220 INFO (MainThread) [homeassistant.setup] Setting up siku
2024-09-01 18:41:04.220 DEBUG (MainThread) [custom_components.siku.api_v2] packet string: FDFD02103030333930303339343734313537303808313233343536373801B90102B70607254A648386
2024-09-01 18:41:04.220 DEBUG (MainThread) [custom_components.siku.api_v2] packet string: FDFD02103030333930303339343734313537303808313233343536373801B90102B70607254A6483865708
2024-09-01 18:41:04.220 DEBUG (MainThread) [custom_components.siku.api_v2] packet data: b'\xfd\xfd\x02\x100039003947415708\x0812345678\x01\xb9\x01\x02\xb7\x06\x07%Jd\x83\x86W\x08'
2024-09-01 18:41:04.220 DEBUG (MainThread) [custom_components.siku.api_v2] sending "fdfd02103030333930303339343734313537303808313233343536373801b90102b70607254a6483865708" size(43) to ('192.168.0.25', 4000)
2024-09-01 18:41:04.229 DEBUG (MainThread) [custom_components.siku.api_v2] receive data: b'\xfd\xfd\x02\x100039003947415708\x0812345678\x06\xfe\x02\xb9\x05\x00\x01\x01\x02\xff\xb7\x01\x06\x00\x07\x00%\x00\xfe\x02JD\x07\xfe\x03d\x04\x15F\x83\x00\xfe\x06\x86\x00\x03\x1a\x08\xe4\x07!\x0f' size(71) from ('192.168.0.25', 4000)
2024-09-01 18:41:04.230 DEBUG (MainThread) [custom_components.siku.api_v2] receive string: FDFD02103030333930303339343734313537303808313233343536373806FE02B90500010102FFB701060007002500FE024A4407FE03640415468300FE068600031A08E407210F
2024-09-01 18:41:04.230 DEBUG (MainThread) [custom_components.siku.api_v2] checksum: 210F
2024-09-01 18:41:04.230 DEBUG (MainThread) [custom_components.siku.api_v2] verify if 210F == 210F
2024-09-01 18:41:04.230 DEBUG (MainThread) [custom_components.siku.api_v2] returning hexlist ['FD', 'FD', '02', '10', '30', '30', '33', '39', '30', '30', '33', '39', '34', '37', '34', '31', '35', '37', '30', '38', '08', '31', '32', '33', '34', '35', '36', '37', '38', '06', 'FE', '02', 'B9', '05', '00', '01', '01', '02', 'FF', 'B7', '01', '06', '00', '07', '00', '25', '00', 'FE', '02', '4A', '44', '07', 'FE', '03', '64', '04', '15', '46', '83', '00', 'FE', '06', '86', '00', '03', '1A', '08', 'E4', '07', '21', '0F']
2024-09-01 18:41:04.230 DEBUG (MainThread) [custom_components.siku.api_v2] start: 0
2024-09-01 18:41:04.230 DEBUG (MainThread) [custom_components.siku.api_v2] hexlist: FDFD
2024-09-01 18:41:04.230 DEBUG (MainThread) [custom_components.siku.api_v2] start: 2
2024-09-01 18:41:04.230 DEBUG (MainThread) [custom_components.siku.api_v2] hexlist: 02
2024-09-01 18:41:04.230 DEBUG (MainThread) [custom_components.siku.api_v2] start: 3
2024-09-01 18:41:04.230 DEBUG (MainThread) [custom_components.siku.api_v2] hexlist: 10
2024-09-01 18:41:04.230 DEBUG (MainThread) [custom_components.siku.api_v2] start: 20
2024-09-01 18:41:04.230 DEBUG (MainThread) [custom_components.siku.api_v2] hexlist: 08
2024-09-01 18:41:04.230 DEBUG (MainThread) [custom_components.siku.api_v2] start: 29
2024-09-01 18:41:04.230 DEBUG (MainThread) [custom_components.siku.api_v2] hexlist: 06
2024-09-01 18:41:04.230 DEBUG (MainThread) [custom_components.siku.api_v2] loop data 30 69
2024-09-01 18:41:04.230 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 30 : FE
2024-09-01 18:41:04.230 DEBUG (MainThread) [custom_components.siku.api_v2] special function, value size 2
2024-09-01 18:41:04.230 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:B9 value:0005
2024-09-01 18:41:04.230 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 35 : 01
2024-09-01 18:41:04.230 DEBUG (MainThread) [custom_components.siku.api_v2] normal function, cmd:01 value:01
2024-09-01 18:41:04.230 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:01 value:01
2024-09-01 18:41:04.231 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 37 : 02
2024-09-01 18:41:04.231 DEBUG (MainThread) [custom_components.siku.api_v2] normal function, cmd:02 value:FF
2024-09-01 18:41:04.231 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:02 value:FF
2024-09-01 18:41:04.231 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 39 : B7
2024-09-01 18:41:04.231 DEBUG (MainThread) [custom_components.siku.api_v2] normal function, cmd:B7 value:01
2024-09-01 18:41:04.231 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:B7 value:01
2024-09-01 18:41:04.231 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 41 : 06
2024-09-01 18:41:04.231 DEBUG (MainThread) [custom_components.siku.api_v2] normal function, cmd:06 value:00
2024-09-01 18:41:04.231 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:06 value:00
2024-09-01 18:41:04.231 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 43 : 07
2024-09-01 18:41:04.231 DEBUG (MainThread) [custom_components.siku.api_v2] normal function, cmd:07 value:00
2024-09-01 18:41:04.231 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:07 value:00
2024-09-01 18:41:04.231 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 45 : 25
2024-09-01 18:41:04.231 DEBUG (MainThread) [custom_components.siku.api_v2] normal function, cmd:25 value:00
2024-09-01 18:41:04.231 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:25 value:00
2024-09-01 18:41:04.231 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 47 : FE
2024-09-01 18:41:04.231 DEBUG (MainThread) [custom_components.siku.api_v2] special function, value size 2
2024-09-01 18:41:04.231 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:4A value:0744
2024-09-01 18:41:04.231 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 52 : FE
2024-09-01 18:41:04.231 DEBUG (MainThread) [custom_components.siku.api_v2] special function, value size 3
2024-09-01 18:41:04.231 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:64 value:461504
2024-09-01 18:41:04.231 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 58 : 83
2024-09-01 18:41:04.231 DEBUG (MainThread) [custom_components.siku.api_v2] normal function, cmd:83 value:00
2024-09-01 18:41:04.231 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:83 value:00
2024-09-01 18:41:04.231 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 60 : FE
2024-09-01 18:41:04.231 DEBUG (MainThread) [custom_components.siku.api_v2] special function, value size 6
2024-09-01 18:41:04.231 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:86 value:07E4081A0300
2024-09-01 18:41:04.231 DEBUG (MainThread) [custom_components.siku.api_v2] translate response: {'B9': '0005', '01': '01', '02': 'FF', 'B7': '01', '06': '00', '07': '00', '25': '00', '4A': '0744', '64': '461504', '83': '00', '86': '07E4081A0300'}
2024-09-01 18:41:04.232 DEBUG (MainThread) [custom_components.siku.coordinator] Finished fetching Siku Fan 192.168.0.25 data in 0.011 seconds (success: True)
2024-09-01 18:41:04.248 INFO (MainThread) [homeassistant.components.fan] Setting up siku.fan
2024-09-01 18:41:04.249 DEBUG (MainThread) [custom_components.siku.fan] Setting up Siku fan
2024-09-01 18:41:04.249 DEBUG (MainThread) [custom_components.siku.fan] Entry: 01J6Q7C9EWW0KVZJKC5XDQ3Y4Y
2024-09-01 18:41:04.249 WARNING (MainThread) [homeassistant.components.fan] Entity None (<class 'custom_components.siku.fan.SikuFan'>) does not set FanEntityFeature.TURN_OFF but implements the turn_off method. Please create a bug report at https://github.com/hmn/siku-integration/issues
2024-09-01 18:41:04.249 WARNING (MainThread) [homeassistant.components.fan] Entity None (<class 'custom_components.siku.fan.SikuFan'>) does not set FanEntityFeature.TURN_ON but implements the turn_on method. Please create a bug report at https://github.com/hmn/siku-integration/issues
2024-09-01 18:41:04.249 DEBUG (MainThread) [custom_components.siku.api_v2] packet string: FDFD02103030333930303339343734313537303808313233343536373801B90102B70607254A648386
2024-09-01 18:41:04.249 DEBUG (MainThread) [custom_components.siku.api_v2] packet string: FDFD02103030333930303339343734313537303808313233343536373801B90102B70607254A6483865708
2024-09-01 18:41:04.249 DEBUG (MainThread) [custom_components.siku.api_v2] packet data: b'\xfd\xfd\x02\x100039003947415708\x0812345678\x01\xb9\x01\x02\xb7\x06\x07%Jd\x83\x86W\x08'
2024-09-01 18:41:04.249 DEBUG (MainThread) [custom_components.siku.api_v2] sending "fdfd02103030333930303339343734313537303808313233343536373801b90102b70607254a6483865708" size(43) to ('192.168.0.25', 4000)
2024-09-01 18:41:04.258 DEBUG (MainThread) [custom_components.siku.api_v2] receive data: b'\xfd\xfd\x02\x100039003947415708\x0812345678\x06\xfe\x02\xb9\x05\x00\x01\x01\x02\xff\xb7\x01\x06\x00\x07\x00%\x00\xfe\x02JD\x07\xfe\x03d\x04\x15F\x83\x00\xfe\x06\x86\x00\x03\x1a\x08\xe4\x07!\x0f' size(71) from ('192.168.0.25', 4000)
2024-09-01 18:41:04.259 DEBUG (MainThread) [custom_components.siku.api_v2] receive string: FDFD02103030333930303339343734313537303808313233343536373806FE02B90500010102FFB701060007002500FE024A4407FE03640415468300FE068600031A08E407210F
2024-09-01 18:41:04.259 DEBUG (MainThread) [custom_components.siku.api_v2] checksum: 210F
2024-09-01 18:41:04.259 DEBUG (MainThread) [custom_components.siku.api_v2] verify if 210F == 210F
2024-09-01 18:41:04.259 DEBUG (MainThread) [custom_components.siku.api_v2] returning hexlist ['FD', 'FD', '02', '10', '30', '30', '33', '39', '30', '30', '33', '39', '34', '37', '34', '31', '35', '37', '30', '38', '08', '31', '32', '33', '34', '35', '36', '37', '38', '06', 'FE', '02', 'B9', '05', '00', '01', '01', '02', 'FF', 'B7', '01', '06', '00', '07', '00', '25', '00', 'FE', '02', '4A', '44', '07', 'FE', '03', '64', '04', '15', '46', '83', '00', 'FE', '06', '86', '00', '03', '1A', '08', 'E4', '07', '21', '0F']
2024-09-01 18:41:04.259 DEBUG (MainThread) [custom_components.siku.api_v2] start: 0
2024-09-01 18:41:04.259 DEBUG (MainThread) [custom_components.siku.api_v2] hexlist: FDFD
2024-09-01 18:41:04.259 DEBUG (MainThread) [custom_components.siku.api_v2] start: 2
2024-09-01 18:41:04.259 DEBUG (MainThread) [custom_components.siku.api_v2] hexlist: 02
2024-09-01 18:41:04.259 DEBUG (MainThread) [custom_components.siku.api_v2] start: 3
2024-09-01 18:41:04.259 DEBUG (MainThread) [custom_components.siku.api_v2] hexlist: 10
2024-09-01 18:41:04.259 DEBUG (MainThread) [custom_components.siku.api_v2] start: 20
2024-09-01 18:41:04.259 DEBUG (MainThread) [custom_components.siku.api_v2] hexlist: 08
2024-09-01 18:41:04.259 DEBUG (MainThread) [custom_components.siku.api_v2] start: 29
2024-09-01 18:41:04.259 DEBUG (MainThread) [custom_components.siku.api_v2] hexlist: 06
2024-09-01 18:41:04.259 DEBUG (MainThread) [custom_components.siku.api_v2] loop data 30 69
2024-09-01 18:41:04.259 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 30 : FE
2024-09-01 18:41:04.259 DEBUG (MainThread) [custom_components.siku.api_v2] special function, value size 2
2024-09-01 18:41:04.259 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:B9 value:0005
2024-09-01 18:41:04.259 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 35 : 01
2024-09-01 18:41:04.259 DEBUG (MainThread) [custom_components.siku.api_v2] normal function, cmd:01 value:01
2024-09-01 18:41:04.259 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:01 value:01
2024-09-01 18:41:04.260 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 37 : 02
2024-09-01 18:41:04.260 DEBUG (MainThread) [custom_components.siku.api_v2] normal function, cmd:02 value:FF
2024-09-01 18:41:04.260 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:02 value:FF
2024-09-01 18:41:04.260 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 39 : B7
2024-09-01 18:41:04.260 DEBUG (MainThread) [custom_components.siku.api_v2] normal function, cmd:B7 value:01
2024-09-01 18:41:04.260 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:B7 value:01
2024-09-01 18:41:04.260 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 41 : 06
2024-09-01 18:41:04.260 DEBUG (MainThread) [custom_components.siku.api_v2] normal function, cmd:06 value:00
2024-09-01 18:41:04.260 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:06 value:00
2024-09-01 18:41:04.260 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 43 : 07
2024-09-01 18:41:04.260 DEBUG (MainThread) [custom_components.siku.api_v2] normal function, cmd:07 value:00
2024-09-01 18:41:04.260 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:07 value:00
2024-09-01 18:41:04.260 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 45 : 25
2024-09-01 18:41:04.260 DEBUG (MainThread) [custom_components.siku.api_v2] normal function, cmd:25 value:00
2024-09-01 18:41:04.260 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:25 value:00
2024-09-01 18:41:04.260 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 47 : FE
2024-09-01 18:41:04.260 DEBUG (MainThread) [custom_components.siku.api_v2] special function, value size 2
2024-09-01 18:41:04.260 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:4A value:0744
2024-09-01 18:41:04.260 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 52 : FE
2024-09-01 18:41:04.260 DEBUG (MainThread) [custom_components.siku.api_v2] special function, value size 3
2024-09-01 18:41:04.260 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:64 value:461504
2024-09-01 18:41:04.261 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 58 : 83
2024-09-01 18:41:04.261 DEBUG (MainThread) [custom_components.siku.api_v2] normal function, cmd:83 value:00
2024-09-01 18:41:04.261 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:83 value:00
2024-09-01 18:41:04.261 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 60 : FE
2024-09-01 18:41:04.261 DEBUG (MainThread) [custom_components.siku.api_v2] special function, value size 6
2024-09-01 18:41:04.261 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:86 value:07E4081A0300
2024-09-01 18:41:04.261 DEBUG (MainThread) [custom_components.siku.api_v2] translate response: {'B9': '0005', '01': '01', '02': 'FF', 'B7': '01', '06': '00', '07': '00', '25': '00', '4A': '0744', '64': '461504', '83': '00', '86': '07E4081A0300'}
2024-09-01 18:41:04.261 DEBUG (MainThread) [custom_components.siku.coordinator] Finished fetching Siku Fan 192.168.0.25 data in 0.012 seconds (success: True)
2024-09-01 18:41:04.262 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new fan.siku entity: fan.siku_fan_192_168_0_25
2024-09-01 18:41:04.262 DEBUG (MainThread) [custom_components.siku.fan] Handling coordinator update {'is_on': True, 'speed': '255', 'oscillating': False, 'direction': 'alternating', 'boost': False, 'mode': 'auto', 'humidity': 0, 'rpm': 1860, 'firmware': '0.7', 'filter_timer': 7090, 'alarm': False, 'version': '2'}
2024-09-01 18:41:04.262 ERROR (MainThread) [homeassistant.components.fan] Error adding entity fan.siku_fan_192_168_0_25 for domain fan with platform siku
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 912, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1365, in add_to_platform_finish
await self.async_added_to_hass()
File "/config/custom_components/siku/fan.py", line 223, in async_added_to_hass
self._handle_coordinator_update()
File "/config/custom_components/siku/fan.py", line 233, in _handle_coordinator_update
ordered_list_item_to_percentage(
File "/usr/src/homeassistant/homeassistant/util/percentage.py", line 29, in ordered_list_item_to_percentage
raise ValueError(f'The item "{item}" is not in "{ordered_list}"')
ValueError: The item "255" is not in "['01', '02', '03']"
2024-09-01 18:41:04.269 INFO (MainThread) [homeassistant.components.sensor] Setting up siku.sensor
2024-09-01 18:41:04.269 DEBUG (MainThread) [custom_components.siku.sensor] Setting up Siku fan sensors 01J6Q7C9EWW0KVZJKC5XDQ3Y4Y
2024-09-01 18:41:04.270 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.siku entity: sensor.version
2024-09-01 18:41:04.270 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.siku entity: sensor.humidity
2024-09-01 18:41:04.271 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.siku entity: sensor.rpm
2024-09-01 18:41:04.271 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.siku entity: sensor.firmware_version
2024-09-01 18:41:04.272 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.siku entity: sensor.alarm
2024-09-01 18:41:04.272 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.siku entity: sensor.filter_timer_countdown
2024-09-01 18:41:04.273 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.siku entity: sensor.boost_mode
2024-09-01 18:41:04.276 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.siku entity: sensor.mode
2024-09-01 18:41:14.263 DEBUG (MainThread) [custom_components.siku.api_v2] packet string: FDFD02103030333930303339343734313537303808313233343536373801B90102B70607254A648386
2024-09-01 18:41:14.263 DEBUG (MainThread) [custom_components.siku.api_v2] packet string: FDFD02103030333930303339343734313537303808313233343536373801B90102B70607254A6483865708
2024-09-01 18:41:14.263 DEBUG (MainThread) [custom_components.siku.api_v2] packet data: b'\xfd\xfd\x02\x100039003947415708\x0812345678\x01\xb9\x01\x02\xb7\x06\x07%Jd\x83\x86W\x08'
2024-09-01 18:41:14.264 DEBUG (MainThread) [custom_components.siku.api_v2] sending "fdfd02103030333930303339343734313537303808313233343536373801b90102b70607254a6483865708" size(43) to ('192.168.0.25', 4000)
2024-09-01 18:41:14.273 DEBUG (MainThread) [custom_components.siku.api_v2] receive data: b"\xfd\xfd\x02\x100039003947415708\x0812345678\x06\xfe\x02\xb9\x05\x00\x01\x01\x02\xff\xb7\x01\x06\x00\x07\x00%\x06\xfe\x02JD\x07\xfe\x03d\x04\x15F\x83\x00\xfe\x06\x86\x00\x03\x1a\x08\xe4\x07'\x0f" size(71) from ('192.168.0.25', 4000)
2024-09-01 18:41:14.274 DEBUG (MainThread) [custom_components.siku.api_v2] receive string: FDFD02103030333930303339343734313537303808313233343536373806FE02B90500010102FFB701060007002506FE024A4407FE03640415468300FE068600031A08E407270F
2024-09-01 18:41:14.274 DEBUG (MainThread) [custom_components.siku.api_v2] checksum: 270F
2024-09-01 18:41:14.274 DEBUG (MainThread) [custom_components.siku.api_v2] verify if 270F == 270F
2024-09-01 18:41:14.274 DEBUG (MainThread) [custom_components.siku.api_v2] returning hexlist ['FD', 'FD', '02', '10', '30', '30', '33', '39', '30', '30', '33', '39', '34', '37', '34', '31', '35', '37', '30', '38', '08', '31', '32', '33', '34', '35', '36', '37', '38', '06', 'FE', '02', 'B9', '05', '00', '01', '01', '02', 'FF', 'B7', '01', '06', '00', '07', '00', '25', '06', 'FE', '02', '4A', '44', '07', 'FE', '03', '64', '04', '15', '46', '83', '00', 'FE', '06', '86', '00', '03', '1A', '08', 'E4', '07', '27', '0F']
2024-09-01 18:41:14.275 DEBUG (MainThread) [custom_components.siku.api_v2] start: 0
2024-09-01 18:41:14.275 DEBUG (MainThread) [custom_components.siku.api_v2] hexlist: FDFD
2024-09-01 18:41:14.275 DEBUG (MainThread) [custom_components.siku.api_v2] start: 2
2024-09-01 18:41:14.275 DEBUG (MainThread) [custom_components.siku.api_v2] hexlist: 02
2024-09-01 18:41:14.275 DEBUG (MainThread) [custom_components.siku.api_v2] start: 3
2024-09-01 18:41:14.275 DEBUG (MainThread) [custom_components.siku.api_v2] hexlist: 10
2024-09-01 18:41:14.276 DEBUG (MainThread) [custom_components.siku.api_v2] start: 20
2024-09-01 18:41:14.276 DEBUG (MainThread) [custom_components.siku.api_v2] hexlist: 08
2024-09-01 18:41:14.276 DEBUG (MainThread) [custom_components.siku.api_v2] start: 29
2024-09-01 18:41:14.276 DEBUG (MainThread) [custom_components.siku.api_v2] hexlist: 06
2024-09-01 18:41:14.276 DEBUG (MainThread) [custom_components.siku.api_v2] loop data 30 69
2024-09-01 18:41:14.276 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 30 : FE
2024-09-01 18:41:14.276 DEBUG (MainThread) [custom_components.siku.api_v2] special function, value size 2
2024-09-01 18:41:14.277 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:B9 value:0005
2024-09-01 18:41:14.277 DEBUG (MainThread) [custom_components.siku.api_v2] parsep data 35 : 01
2024-09-01 18:41:14.277 DEBUG (MainThread) [custom_components.siku.api_v2] normal function, cmd:01 value:01
2024-09-01 18:41:14.277 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:01 value:01
2024-09-01 18:41:14.277 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 37 : 02
2024-09-01 18:41:14.277 DEBUG (MainThread) [custom_components.siku.api_v2] normal function, cmd:02 value:FF
2024-09-01 18:41:14.277 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:02 value:FF
2024-09-01 18:41:14.277 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 39 : B7
2024-09-01 18:41:14.278 DEBUG (MainThread) [custom_components.siku.api_v2] normal function, cmd:B7 value:01
2024-09-01 18:41:14.278 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:B7 value:01
2024-09-01 18:41:14.278 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 41 : 06
2024-09-01 18:41:14.278 DEBUG (MainThread) [custom_components.siku.api_v2] normal function, cmd:06 value:00
2024-09-01 18:41:14.278 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:06 value:00
2024-09-01 18:41:14.278 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 43 : 07
2024-09-01 18:41:14.278 DEBUG (MainThread) [custom_components.siku.api_v2] normal function, cmd:07 value:00
2024-09-01 18:41:14.278 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:07 value:00
2024-09-01 18:41:14.279 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 45 : 25
2024-09-01 18:41:14.279 DEBUG (MainThread) [custom_components.siku.api_v2] normal function, cmd:25 value:06
2024-09-01 18:41:14.279 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:25 value:06
2024-09-01 18:41:14.279 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 47 : FE
2024-09-01 18:41:14.279 DEBUG (MainThread) [custom_components.siku.api_v2] special function, value size 2
2024-09-01 18:41:14.279 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:4A value:0744
2024-09-01 18:41:14.279 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 52 : FE
2024-09-01 18:41:14.279 DEBUG (MainThread) [custom_components.siku.api_v2] special function, value size 3
2024-09-01 18:41:14.280 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:64 value:461504
2024-09-01 18:41:14.280 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 58 : 83
2024-09-01 18:41:14.280 DEBUG (MainThread) [custom_components.siku.api_v2] normal function, cmd:83 value:00
2024-09-01 18:41:14.280 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:83 value:00
2024-09-01 18:41:14.282 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 60 : FE
2024-09-01 18:41:14.283 DEBUG (MainThread) [custom_components.siku.api_v2] special function, value size 6
2024-09-01 18:41:14.283 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:86 value:07E4081A0300
2024-09-01 18:41:14.283 DEBUG (MainThread) [custom_components.siku.api_v2] translate response: {'B9': '0005', '01': '01', '02': 'FF', 'B7': '01', '06': '00', '07': '00', '25': '06', '4A': '0744', '64': '461504', '83': '00', '86': '07E4081A0300'}
2024-09-01 18:41:14.283 DEBUG (MainThread) [custom_components.siku.coordinator] Finished fetching Siku Fan 192.168.0.25 data in 0.020 seconds (success: True)
2024-09-01 18:41:14.284 DEBUG (MainThread) [custom_components.siku.fan] Handling coordinator update {'is_on': True, 'speed': '255', 'oscillating': False, 'direction': 'alternating', 'boost': False, 'mode': 'auto', 'humidity': 6, 'rpm': 1860, 'firmware': '0.7', 'filter_timer': 7090, 'alarm': False, 'version': '2'}
2024-09-01 18:41:14.284 ERROR (MainThread) [custom_components.siku.coordinator] Unexpected exception from <bound method DataUpdateCoordinator.async_refresh of <custom_components.siku.coordinator.SikuDataUpdateCoordinator object at 0x7f38b6b243b0>>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/debounce.py", line 137, in _handle_timer_finish
await task
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 330, in async_refresh
await self._async_refresh(log_failures=True)
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 453, in _async_refresh
self.async_update_listeners()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 168, in async_update_listeners
update_callback()
File "/config/custom_components/siku/fan.py", line 233, in _handle_coordinator_update
ordered_list_item_to_percentage(
File "/usr/src/homeassistant/homeassistant/util/percentage.py", line 29, in ordered_list_item_to_percentage
raise ValueError(f'The item "{item}" is not in "{ordered_list}"')
ValueError: The item "255" is not in "['01', '02', '03']"
2024-09-01 18:41:44.230 DEBUG (MainThread) [custom_components.siku.api_v2] packet string: FDFD02103030333930303339343734313537303808313233343536373801B90102B70607254A648386
2024-09-01 18:41:44.231 DEBUG (MainThread) [custom_components.siku.api_v2] packet string: FDFD02103030333930303339343734313537303808313233343536373801B90102B70607254A6483865708
2024-09-01 18:41:44.231 DEBUG (MainThread) [custom_components.siku.api_v2] packet data: b'\xfd\xfd\x02\x100039003947415708\x0812345678\x01\xb9\x01\x02\xb7\x06\x07%Jd\x83\x86W\x08'
2024-09-01 18:41:44.231 DEBUG (MainThread) [custom_components.siku.api_v2] sending "fdfd02103030333930303339343734313537303808313233343536373801b90102b70607254a6483865708" size(43) to ('192.168.0.25', 4000)
2024-09-01 18:41:44.240 DEBUG (MainThread) [custom_components.siku.api_v2] receive data: b'\xfd\xfd\x02\x100039003947415708\x0812345678\x06\xfe\x02\xb9\x05\x00\x01\x01\x02\xff\xb7\x01\x06\x00\x07\x00%\x10\xfe\x02JD\x07\xfe\x03d\x03\x15F\x83\x00\xfe\x06\x86\x00\x03\x1a\x08\xe4\x070\x0f' size(71) from ('192.168.0.25', 4000)
2024-09-01 18:41:44.241 DEBUG (MainThread) [custom_components.siku.api_v2] receive string: FDFD02103030333930303339343734313537303808313233343536373806FE02B90500010102FFB701060007002510FE024A4407FE03640315468300FE068600031A08E407300F
2024-09-01 18:41:44.241 DEBUG (MainThread) [custom_components.siku.api_v2] checksum: 300F
2024-09-01 18:41:44.241 DEBUG (MainThread) [custom_components.siku.api_v2] verify if 300F == 300F
2024-09-01 18:41:44.241 DEBUG (MainThread) [custom_components.siku.api_v2] returning hexlist ['FD', 'FD', '02', '10', '30', '30', '33', '39', '30', '30', '33', '39', '34', '37', '34', '31', '35', '37', '30', '38', '08', '31', '32', '33', '34', '35', '36', '37', '38', '06', 'FE', '02', 'B9', '05', '00', '01', '01', '02', 'FF', 'B7', '01', '06', '00', '07', '00', '25', '10', 'FE', '02', '4A', '44', '07', 'FE', '03', '64', '03', '15', '46', '83', '00', 'FE', '06', '86', '00', '03', '1A', '08', 'E4', '07', '30', '0F']
2024-09-01 18:41:44.242 DEBUG (MainThread) [custom_components.siku.api_v2] start: 0
2024-09-01 18:41:44.242 DEBUG (MainThread) [custom_components.siku.api_v2] hexlist: FDFD
2024-09-01 18:41:44.242 DEBUG (MainThread) [custom_components.siku.api_v2] start: 2
2024-09-01 18:41:44.242 DEBUG (MainThread) [custom_components.siku.api_v2] hexlist: 02
2024-09-01 18:41:44.242 DEBUG (MainThread) [custom_components.siku.api_v2] start: 3
2024-09-01 18:41:44.243 DEBUG (MainThread) [custom_components.siku.api_v2] hexlist: 10
2024-09-01 18:41:44.243 DEBUG (MainThread) [custom_components.siku.api_v2] start: 20
2024-09-01 18:41:44.243 DEBUG (MainThread) [custom_components.siku.api_v2] hexlist: 08
2024-09-01 18:41:44.243 DEBUG (MainThread) [custom_components.siku.api_v2] start: 29
2024-09-01 18:41:44.243 DEBUG (MainThread) [custom_components.siku.api_v2] hexlist: 06
2024-09-01 18:41:44.243 DEBUG (MainThread) [custom_components.siku.api_v2] loop data 30 69
2024-09-01 18:41:44.243 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 30 : FE
2024-09-01 18:41:44.243 DEBUG (MainThread) [custom_components.siku.api_v2] special function, value size 2
2024-09-01 18:41:44.244 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:B9 value:0005
2024-09-01 18:41:44.244 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 35 : 01
2024-09-01 18:41:44.244 DEBUG (MainThread) [custom_components.siku.api_v2] normal function, cmd:01 value:01
2024-09-01 18:41:44.244 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:01 value:01
2024-09-01 18:41:44.244 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 37 : 02
2024-09-01 18:41:44.244 DEBUG (MainThread) [custom_components.siku.api_v2] normal function, cmd:02 value:FF
2024-09-01 18:41:44.244 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:02 value:FF
2024-09-01 18:41:44.244 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 39 : B7
2024-09-01 18:41:44.245 DEBUG (MainThread) [custom_components.siku.api_v2] normal function, cmd:B7 value:01
2024-09-01 18:41:44.245 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:B7 value:01
2024-09-01 18:41:44.245 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 41 : 06
2024-09-01 18:41:44.245 DEBUG (MainThread) [custom_components.siku.api_v2] normal function, cmd:06 value:00
2024-09-01 18:41:44.245 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:06 value:00
2024-09-01 18:41:44.245 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 43 : 07
2024-09-01 18:41:44.245 DEBUG (MainThread) [custom_components.siku.api_v2] normal function, cmd:07 value:00
2024-09-01 18:41:44.246 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:07 value:00
2024-09-01 18:41:44.246 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 45 : 25
2024-09-01 18:41:44.246 DEBUG (MainThread) [custom_components.siku.api_v2] normal function, cmd:25 value:10
2024-09-01 18:41:44.246 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:25 value:10
2024-09-01 18:41:44.246 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 47 : FE
2024-09-01 18:41:44.246 DEBUG (MainThread) [custom_components.siku.api_v2] special function, value size 2
2024-09-01 18:41:44.246 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:4A value:0744
2024-09-01 18:41:44.246 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 52 : FE
2024-09-01 18:41:44.247 DEBUG (MainThread) [custom_components.siku.api_v2] special function, value size 3
2024-09-01 18:41:44.247 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:64 value:461503
2024-09-01 18:41:44.247 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 58 : 83
2024-09-01 18:41:44.247 DEBUG (MainThread) [custom_components.siku.api_v2] normal function, cmd:83 value:00
2024-09-01 18:41:44.250 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:83 value:00
2024-09-01 18:41:44.250 DEBUG (MainThread) [custom_components.siku.api_v2] parse data 60 : FE
2024-09-01 18:41:44.251 DEBUG (MainThread) [custom_components.siku.api_v2] special function, value size 6
2024-09-01 18:41:44.251 DEBUG (MainThread) [custom_components.siku.api_v2] return data cmd:86 value:07E4081A0300
2024-09-01 18:41:44.251 DEBUG (MainThread) [custom_components.siku.api_v2] translate response: {'B9': '0005', '01': '01', '02': 'FF', 'B7': '01', '06': '00', '07': '00', '25': '10', '4A': '0744', '64': '461503', '83': '00', '86': '07E4081A0300'}
2024-09-01 18:41:44.251 DEBUG (MainThread) [custom_components.siku.coordinator] Finished fetching Siku Fan 192.168.0.25 data in 0.021 seconds (success: True)
2024-09-01 18:41:44.251 DEBUG (MainThread) [custom_components.siku.fan] Handling coordinator update {'is_on': True, 'speed': '255', 'oscillating': False, 'direction': 'alternating', 'boost': False, 'mode': 'auto', 'humidity': 16, 'rpm': 1860, 'firmware': '0.7', 'filter_timer': 5650, 'alarm': False, 'version': '2'}
2024-09-01 18:42:02.878 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _handle_refresh_interval
await self._async_refresh(log_failures=True, scheduled=True)
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 453, in _async_refresh
self.async_update_listeners()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 168, in async_update_listeners
update_callback()
File "/config/custom_components/siku/fan.py", line 233, in _handle_coordinator_update
ordered_list_item_to_percentage(
File "/usr/src/homeassistant/homeassistant/util/percentage.py", line 29, in ordered_list_item_to_percentage
raise ValueError(f'The item "{item}" is not in "{ordered_list}"')
ValueError: The item "255" is not in "['01', '02', '03']"
the fan speed seems to be set to manual, and this is not supported right now, try setting it to one of the presets
i'll look into adding support for it later
That worked perfectly, thanks a lot! I feel like this issue should be a beginners guide :)
Manual fan speed support would be great. Looking forward.
System Health details
System Information
Home Assistant Community Store
GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok HACS Data | ok GitHub API Calls Remaining | 4994 Installed Version | 2.0.0 Stage | running Available Repositories | 1460 Downloaded Repositories | 42Home Assistant Cloud
logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | okHome Assistant Supervisor
host_os | Home Assistant OS 13.1 -- | -- update_channel | stable supervisor_version | supervisor-2024.08.0 agent_version | 1.6.0 docker_version | 26.1.4 disk_total | 48.5 GB disk_used | 35.2 GB healthy | true supported | true host_connectivity | true supervisor_connectivity | true ntp_synchronized | true virtualization | kvm board | ova supervisor_api | ok version_api | ok installed_addons | Samba share (12.3.2), InfluxDB (5.0.0), Grafana (10.0.0), Home Assistant Google Drive Backup (0.112.1), ESPHome (2024.8.1), Mosquitto broker (6.4.1), Advanced SSH & Web Terminal (18.0.0), Studio Code Server (5.15.0), rtl_433 (0.5.2), rtl_433 MQTT Auto Discovery (0.8.2), Zigbee2MQTT (1.39.1-1), Tailscale (0.21.0), Glances (0.21.1), Get HACS (1.3.0)Dashboards
dashboards | 8 -- | -- resources | 32 views | 18 mode | storageRecorder
oldest_recorder_run | 21 October 2022 at 06:03 -- | -- current_recorder_run | 29 August 2024 at 11:44 estimated_db_size | 10520.52 MiB database_engine | sqlite database_version | 3.45.3Spotify
api_endpoint_reachable | ok -- | --Checklist
Describe the issue
Only message I get is this.
I saw this https://github.com/hmn/siku-integration/issues/14, which should add support for the "SIKU RV 25 W Pro WiFi V2" (which is the exact model I have), but it doesn't work for me.
Reproduction steps
Debug logs
Diagnostics dump
No response