nitaybz / homebridge-switcher-platform

Homebridge plugin for Switcher Smart Accessories
MIT License
35 stars 9 forks source link

Switcher mini stopped respond to Homebridge #51

Closed odedDilmoni closed 11 months ago

odedDilmoni commented 11 months ago

Hi My switcher mini stopped working from Homebridge while the switcher smart plug working fine. I can see the mini in HomeKit and in Homebridge UI, but the mini doesn’t respond. The logs are as follows: [12/11/2023, 17:43:50] [Switcher Platform] Switcher Boiler Watts: 0 [12/11/2023, 17:43:50] [Switcher Platform] Switcher Boiler Volts: 0 [12/11/2023, 17:43:50] [Switcher Platform] Switcher Boiler Amperes: 0 [12/11/2023, 17:43:50] [Switcher Platform] Switcher Boiler Total Consumption (KWh): 0 [12/11/2023, 17:43:51] [Switcher Platform] Turning ON Boiler [12/11/2023, 17:43:51] [Switcher Platform] login... [12/11/2023, 17:43:51] [Switcher Platform] Turning ON Boiler [12/11/2023, 17:43:51] [Switcher Platform] login... [12/11/2023, 17:43:51] [Switcher Platform] successful connection, socket was created [12/11/2023, 17:43:51] [Switcher Platform] sending data [12/11/2023, 17:43:51] [Switcher Platform] fef052000232a10000000000340001000000000000000000b7f2506500000000000000000000f0fe1c0000000000000000000000000000000000000000000000000000000000000000000000000033316432 [12/11/2023, 17:43:51] [Switcher Platform] received login data: [12/11/2023, 17:43:51] [Switcher Platform] fef02c00023ca100000000003400020e000000d360000000b7f2506500000000000000000000f0fee7b66020 [12/11/2023, 17:43:51] [Switcher Platform] received session id: 00000000 [12/11/2023, 17:43:51] [Switcher Platform] sending ON command [12/11/2023, 17:43:51] [Switcher Platform] sending data: [12/11/2023, 17:43:51] [Switcher Platform] fef05d000232010200000000340001000000000000000000b7f2506500000000000000000000f0fe00d360000000000000000000000000000000000000000000000000000000000000000000000000000106000100302a00009f26d913 [12/11/2023, 17:43:51] [Switcher Platform] Received a message from 192.168.68.120 [12/11/2023, 17:43:51] [Switcher Platform] { device_id: '170420', device_ip: '192.168.68.120', name: 'מכונת קפהD', type: 'power_plug', state: { power: 0, remaining_seconds: 0, default_shutdown_seconds: 108000, power_consumption: 0 } } [12/11/2023, 17:43:51] [Switcher Platform] Switcher מכונת קפהD Watts: 0 [12/11/2023, 17:43:51] [Switcher Platform] Switcher מכונת קפהD Volts: 0 [12/11/2023, 17:43:51] [Switcher Platform] Switcher מכונת קפהD Amperes: 0 [12/11/2023, 17:43:51] [Switcher Platform] Switcher מכונת קפהD Total Consumption (KWh): 0 [12/11/2023, 17:43:51] [Switcher Platform] connection closed, had error: false [12/11/2023, 17:43:51] [Switcher Platform] global close event: false [12/11/2023, 17:43:51] [Switcher Platform] Received a message from 192.168.68.122 [12/11/2023, 17:43:51] [Switcher Platform] { device_id: '00d360', device_ip: '192.168.68.122', name: 'Boiler', type: 'mini', state: { power: 0, remaining_seconds: 0, default_shutdown_seconds: 10800, power_consumption: 0 } } [12/11/2023, 17:43:52] [Switcher Platform] successful connection, socket was created [12/11/2023, 17:43:52] [Switcher Platform] sending data [12/11/2023, 17:43:52] [Switcher Platform] fef052000232a10000000000340001000000000000000000b7f2506500000000000000000000f0fe1c0000000000000000000000000000000000000000000000000000000000000000000000000033316432 [12/11/2023, 17:43:52] [Switcher Platform] received login data: [12/11/2023, 17:43:52] [Switcher Platform] fef02c00023ca100000000003400020e000000d360000000b8f2506500000000000000000000f0fefdcf3fdf [12/11/2023, 17:43:52] [Switcher Platform] received session id: 00000000 [12/11/2023, 17:43:52] [Switcher Platform] sending ON command [12/11/2023, 17:43:52] [Switcher Platform] sending data: [12/11/2023, 17:43:52] [Switcher Platform] fef05d000232010200000000340001000000000000000000b8f2506500000000000000000000f0fe00d360000000000000000000000000000000000000000000000000000000000000000000000000000106000100302a00005ca815b5 [12/11/2023, 17:43:52] [Switcher Platform] connection closed, had error: false [12/11/2023, 17:43:52] [Switcher Platform] global close event: false [12/11/2023, 17:43:52] [Switcher Platform] Received a message from 192.168.68.122 [12/11/2023, 17:43:52] [Switcher Platform] { device_id: '00d360', device_ip: '192.168.68.122', name: 'Boiler', type: 'mini', state: { power: 0, remaining_seconds: 0, default_shutdown_seconds: 10800, power_consumption: 0 } }

odedDilmoni commented 11 months ago

Note, that when I turn the mini on from the switcher app, I can see the real device state in Homebridge and in HomeKit, both of them showing the correct state, but I can't control the mini from Homebridge/Honekit.

odedDilmoni commented 11 months ago

Turning ON the "Local" in the Switcher app settings, solved the problem. I can now control the mini and the smart plug from Homebridge again.