Code Monkey home page Code Monkey logo

homebridge-switcher-platform's Introduction

homebridge-switcher-platform

Downloads Version
verified-by-homebridge Homebridge Discord
certified-hoobs-plugin hoobs-support

Homebridge plugin for Switcher Smart Accessories

Requirements

One of this model (minimum firmware required on some devices)

  • Switcher V3: (Switcher Touch) - min firmware V1.51
  • Switcher V2: min firmware 3.21 (Based on ESP chipset)
  • Switcher V2: min firmware72.32 (Qualcomm chipset)
  • Switcher Mini
  • Switcher Power Plug
  • Switcher V4
  • Switcher Runner
  • Switcher Runner Mini
  • Switcher Breeze
  • Switcher Runner S11
  • Switcher Runner S12
  • Switcher Lights SL01
  • Switcher Lights SL02
  • Switcher Lights SL03

Due to security reason, some devices require a token to operate, the token can be acquired from this link: https://switcher.co.il/GetKey/ )

* minimum firmware version required for the token is 2.31

Your Homebridge/Hoobs machine clock/time must be accurate. The easiest way to check if it's correct is to check the current logs. If time is not accurate, google on how to set it correctly on your machine.

 

check with: node -v & homebridge -V and update if needed

Description

The long waited plugin for the Switcher accessories is here!
Easily discovers your device automatically without any prior steps needed.
NO configuration needed, NO extraction of values or params, NO use of external scripts and method.

The plugin will automatically expose all your Switcher devices and add them to HomeKit.

Version 4 - **BREAKING CHANGES**

Version 4 includes the following improvements:

  • Support for Switcher Runner (blinds/roller-shutter)
  • Added Custom Timers - The ability to create virtual switches that will turn on your boiler for X minutes
  • Automatically detect device types and match with default icon: Boiler > Water Valve, Power Plug > Outlet, Switcher Runner > Window Covering
  • Removed duration from 'Power Plug' devices
  • Removed default 'Accessory Type' for all devices
  • Changed plugin name to homebridge-switcher-platform
  • Added power consumption tracking for all accessories (Eve app only)

Some things changed in the plugin that might break the way it works for you, you might need to uninstall and reinstall the plugin which will lead to removal of the accessories and the need to recreate scenes and automations - BE WARNED!

Installation

This plugin is HomeBridge verified and HOOBS certified and can be easily installed and configured through their UI.

If you don't use Homebridge UI or HOOBS, keep reading:

  1. Install homebridge using: sudo npm install -g homebridge --unsafe-perm
  2. Install this plugin using: sudo npm install -g homebridge-switcher-platform
  3. Update your configuration file. See config-sample.json in this repository for a sample.

Config File Examples

Easy Config

"platforms": [
    {
      "platform": "SwitcherPlatform"
    }
]

Advanced config (optional)

* Do not copy-paste this code, it will not work!
"platforms": [
    {
      "platform": "SwitcherPlatform",
      "name": "Switcher Platform",
      "token": "d3j29d0j23dio2j23d==",
      "debug": false,
      "secondsToRemove": 0,
      "devices": [
        {
          "identifier": "24eaf5",
          "accessoryType": "valve"
        },
        {
          "identifier": "10.0.0.2",
          "accessoryType": "outlet"
        },
        {
          "identifier": "Desk Bulb",
          "accessoryType": "switch"
        },
        {
          "identifier": "21eac3",
          "hide": true
        }
      ],
      "customTimers": [
        {
          "identifier": "24eaf5",
          "shutdownMinutes": 30
        },
        {
          "identifier": "24eaf5",
          "shutdownMinutes": 60
        }
      ]
    }
]

Configurations Table

* advanced details below

Parameter Description Default type
platform always "SwitcherPlatform" - String
name Platform name for logs "SwitcherBolier" String
token Some devices require a token to operate, the token can be acquired from this link: https://switcher.co.il/GetKey/ String
secondsToRemove Time in seconds to remove a device if it has not being discovered. set to 0 to not remove accessories at all. 0 Integer
debug       When set to true, the plugin will produce extra logs for debugging purposes false Boolean
devices List of devices for custom settings (with the below information) Array
Identifier Can be Device ID, Device IP or Device Name. Needed in order to identify the device if you wish to set custom settings. String
accessoryType Specific device type of accessory ("switch", "outlet", "valve"). read more below... "switch" String
hide Set to true to remove this device from HomeKit false Boolean
customTimers List of switches for custom timers (with the below information) Array
Identifier Can be Device ID, Device IP or Device Name. Needed in order to identify the device if you wish to set custom timer for. String
shutdownMinutes Define how many minutes to run the boiler ON before shutting it OFF automatically Integer

Advanced Control

Auto Detect Configurations & Multiple Accessories

The plugin will scan and listen for messages from all your Switcher devices. When a message is received from a new Switcher device, the plugin will automatically add it to HomeKit in it's default icon and functionality
Power Plug => Outlet
Boiler => Water Valve
Runner => Window Covering (type cannot be changed)

To change the device icon and functionality continue reading...

Advanced Config

As mentioned above, the plugin will automatically add all devices as Switch Accessories (unless mentioned otherwise in the config under it's default type)

it's possible to set specific icon for a specific device. To achieve that you'll need to add devices to your config.

Example:

"platforms": [
    {
      "platform": "SwitcherPlatform",
      "devices": [
        {
          "identifier": "e4eaf6",
          "accessoryType": "outlet",
          "hide": false
        }
      ]
    }
]
* "identifier" is required for custom device settings

Identifier

Identifier is required for the plugin to know what device you want to change settings for.

To do that, you'll need to supply one of the following:

  1. Device ID - Can be found in the plugin logs or can be extracted via python scripts that are out there in the WWW.
  2. Device IP - Device IP address. Must be static if you're using this method.
  3. Device Name - Exactly as it's written in Switcher app.

Set any of the above as "identifier". Example:

"platforms": [
    {
      "platform": "SwitcherPlatform",
      "devices": [
        {
          "identifier": "e4eaf6",
          "accessoryType": "outlet"
        },
        {
          "identifier": "10.0.0.1",
          "accessoryType": "switch",
        },
        {
          "identifier": "Boiler",
          "accessoryType": "valve"
        }
      ]
    }
]

Hide

If you wish to exclude a Switcher device from HomeKit, just add "hide": true to your device config.

Example:

"platforms": [
    {
      "platform": "SwitcherPlatform",
      "devices": [
        {
          "identifier": "e4eaf6",
          "hide": true
        }
      ]
    }
]

Accessory Type

Changing accessory type can change the icon the functionality.
accessoryType can be define in the device custom settings level.

When a new device is discovered it will first look if accessoryType is defined in devices with it's own identifier, if not, it will use it's default.

Custom accessory type for a device:

"platforms": [
    {
      "platform": "SwitcherPlatform",
      "devices": [
        {
          "identifier": "e4eaf6",
          "accessoryType": "outlet"
        }
      ]
    }
]

* Switcher Runner (blinds) accessory type, cannot be changed

Switch (default)

When you just want a normal switch (like version 1) and don't need anything else. (all extra services will still appear in 3rd party apps)

Choosing switch will also track your power consumption.
Eve app only: history and stats and will even calculate yearly costs after it collected enough data.

Read more about it here

Outlet

Choose "accessoryType": "outlet" if you are most interested in the power consumption stats and automations. Outlet accessory will reveal the service "In Use" which will only be active if your boiler is ON and consume energy. it will not be active when the boiler has reached it's temperature limit and no power is used (even if the switcher is ON - accessory will show on but not "in use").
Choosing outlet will also track your power consumption.
Eve app only: history and stats and will even calculate yearly costs after it collected enough data.

Read more about it here

Water Valve

Choosing "accessoryType": "valve" will give you the possibility to control your auto-shutdown time from the Home app and therefore affect the time the device will be on before forcing shutdown.

Since version 3, The plugin manage it's own "Auto Shutdown" duration. Now you are able to set any amount of time between 1 minute to 23:59 hours. Next time you'll turn on the switcher from the Home App it will be turned ON only for the amount of time you've set in HomeKit.

Choosing valve will also track your power consumption.
Eve app only: history and stats and will even calculate yearly costs after it collected enough data.

Read more about it here

Extras

Since version 1.1.0 there are a lot more exciting options for your Switcher! First of all, I've added a lot of services to support both timer/auto-shutdown and getting information about the power consumption of the device.

All the new services are available for any accessory type that you choose (in Eve app or most of 3rd party apps). However, in Home app it is not possible to present an accessory with all those functionalities, especially since it doesn't support power consumption.

To overcome this limit I gave you the possibility to choose what would be the best option for you to see in Home app.

New Services and Eve App

Since version 1.1, a lot of new services are available in Eve app.
check the following screenshot and explanations:


*To reveal all the services, click on "Edit" in Eve app (top right in the accessory screen) and enable everything.

In Use (Outlet only) - Represent wether or not the boiler is heating and consuming energy.
Consumption - Current consumption in Watts.
Current - Electrical current (Ampere).
Voltage - Always 220 volt when device is ON.
Projected Cost - Eve calculations of predicted yearly cost based on Total consumption.
Total Consumption - Total Consumption in kWh.
Total Cost - Eve calculations of total costs with local currency.
Default Duration - Auto-Shutdown time, affecting the Auto-Shutdown setting in Switcher app and the max heating duration. possible inputs are between 1 hour to 23:59 hours
Remaining - Shows the remaining time until the boiler will shut off

Custom Timers

Since Version 4 of this plugin you can create virtual switches that will turn on your boiler for X minutes. 2 seconds after turning on the boiler, the virtual switch will turn off automatically (and will not represent the state of the boiler).

This is very useful, especially since the iOS 14 bug that prevents you from setting the duration in the Home app.

Custom timers for a device:

"platforms": [
    {
      "platform": "SwitcherPlatform",
      "customTimers": [
        {
          "identifier": "24eaf5",
          "shutdownMinutes": 30
        },
        {
          "identifier": "24eaf5",
          "shutdownMinutes": 60
        }
      ]
    }
]

* Only for Boiler

Issues & Debug

I can see status but I can't control

Check that you have the latest firmware installed and that your homebridge machine clock is accurate. If you have the latest firmware version installed and it still not working, try to set "Local" mode in Switcher app and turn your device on and off from the switcher app in this mode. you can then remove "Local" mode and the switcher should be controllable again from HomeKit in a few minutes (up to 30 min).

When using valve, I can't add the device to scenes and automations

Home app does not allow water devices to be part of scenes and automations, use a 3rd party app like "Eve" to add this device to automations or scenes.

My Switcher is not showing up in HomeKit

Please verify that your Switcher device is connected to the network and under the same subnet as Homebridge.

other

If you experience any issues with the plugins please refer to the Issues tab or Switcher-Boiler Discord Channel and check if your issue is already described there, if it doesn't, please report a new issue with as much detailed information as you can give (logs are crucial).
if you want to even speed up the process, you can add "debug": true to your config, which will give me more details on the logs and speed up fixing the issue.


Credits

This Plugin could not be made without the extensive research of the Switcher V2 Protocol which was performed by @AviadGolan and @NightRang3r and the JS implementation of their work by @johnathanvidu.

Support homebridge-switcher-platform

homebridge-switcher-platform is a free plugin under the MIT license. it was developed as a contribution to the homebridge/hoobs community with lots of love and thoughts. Creating and maintaining Homebridge plugins consume a lot of time and effort and if you would like to share your appreciation, feel free to "Star" or donate.



homebridge-switcher-platform's People

Contributors

dependabot[bot] avatar nitaybz avatar orevron avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

homebridge-switcher-platform's Issues

Support the new Switcher Light devices

I have installed a new Switcher Light SL02 device, and get the following message in a loop:

[5/9/2023, 3:59:26 PM] [Switcher Platform] Found New Switcher "Switcher Light_1135" | ID:f636c8 | IP: 192.168.68.66 | Model: UNKNOWN_0F05

Since lights are already supported as part of the Runner device, I guess this is just a matter of updating the list of supported devices?

Switcher breeze

Hello,
The switcher breeze is always connected and disconnected when I try to control it from home kit after every command it disconnects and connect after serval minutes.
At the logs area every minute it's print: image

Version 3 configuration on Hoobs

Please note that the config using web-ui-x on hoobs is incorrect, it tries to add an accessory and not a platform.
I've configured it maually and it works great.

The requested accessory "switcherBoiler" was not registered by any plugin

Running Hoobs 3.2.6 (node version 12.16.2) on Pii Zero
Switcher V2

logs:
6/11/2020, 11:48:00 PM The requested accessory "switcherBoiler" was not registered by any plugin.
6/11/2020, 11:48:00 PM Your config.json is requesting the accessory "switcherBoiler" which has not been published by any installed plugins.

config:
{
"accessory": "switcherBoiler",
"plugin_map": {
"plugin_name": "homebridge-switcher-boiler",
"index": 0
},
"pollingIntervalInSec": 30,
"name": "Boiler",
"debug": true
}

Occasionally I have to restart my switcher plugin - error seen in the log

A bit about my setup:
I have about a dozen switcher switches. One for boiler and 6 windows blinds and 15 light switches.
They are all connected to my HB with switcher plugin that worked very well for me.

Sometimes, after a long break (night), the automations break. a sensor triggers the light, and the lights are not turning on. Reseting the HB is the solusion. I noticed seeing some logs about errors - it correlates with the failed switch triggered.

Log:
[1/15/2024, 10:03:45 AM] [Switcher Platform] Switcher Light_14C9 - Setting Light1 Power to ON
[1/15/2024, 10:03:46 AM] [Switcher Platform] ERROR for Switcher Light_14C9
[1/15/2024, 10:03:46 AM] [Switcher Platform] Error: login failed due to an error: read ECONNRESET
at Switcher._login3 (/usr/local/lib/node_modules/homebridge-switcher-platform/node_modules/switcher-js2/src/switcher.js:802:27)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Switcher._run_general_command (/usr/local/lib/node_modules/homebridge-switcher-platform/node_modules/switcher-js2/src/switcher.js:835:16)
[1/15/2024, 10:06:06 AM] [Switcher Platform] Switcher Light_16D1 - Setting Light2 Power to OFF
[1/15/2024, 10:06:06 AM] [Switcher Platform] Switcher Light_16D1 - Setting Light1 Power to OFF
[1/15/2024, 10:06:06 AM] [Switcher Platform] ERROR for Switcher Light_16D1
[1/15/2024, 10:06:06 AM] [Switcher Platform] Error: login failed due to an error: read ECONNRESET
at Switcher._login3 (/usr/local/lib/node_modules/homebridge-switcher-platform/node_modules/switcher-js2/src/switcher.js:802:27)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Switcher._run_general_command (/usr/local/lib/node_modules/homebridge-switcher-platform/node_modules/switcher-js2/src/switcher.js:835:16)

Plugin stopped working

HOOBS 3.2.6
Switcher V2 with firmware 3.32
My json

{
    "accessory": "SwitcherBoiler",
    "accessoryType": "valve",
    "name": "Boiler",
    "pollingIntervalInSec": 60,
    "debug": false
}

I get this error since the last update:

[Boiler] ERROR Getting State from the Switcher:
[Boiler] Error: [Errno 113] No route to host

Switch turns itself back off specifically via Home app

Hey Nitay, great plugin :) Thank you for the great work.

The plugin detected both my Switcher devices (AC Plug and Boiler Switcher)

AC Plug seems to work great (on/off).
For the boiler - turning on and waiting 5-6 seconds automatically gets turned off.

See video:

RPReplay_Final1604153726

Debug logs don't seem to have any info about this (even with Debug mode on in the plugin settings):

[10/31/2020, 4:15:09 PM] [Switcher Boiler] Turning ON Switcher Boiler 8DBE 
[10/31/2020, 4:15:14 PM] [Switcher Boiler] Turning ON Switcher Boiler 8DBE 

Appreciate your help!
Shai

Unable to control Switchers from Homekit

Hi Nitay,
Cannot start / stop the switchers from homekit, but when i use the switcher application it is reflect the status to homekit.

snippet of logs attached after updating the plugin to 4.4.6.

[12/13/2023, 4:26:59 PM] [Switcher Platform] {
device_id: '9c0bc8',
device_ip: '192.168.1.139',
name: 'Switcher Light_1D88',
type: 'sl01',
state: { light1_power: 'ON' }
}
[12/13/2023, 4:26:59 PM] [Switcher Platform] Switcher Light_0D7D - Setting Light1 Power to ON
[12/13/2023, 4:26:59 PM] [Switcher Platform] Sending light power command: true
[12/13/2023, 4:26:59 PM] [Switcher Platform] login...
[12/13/2023, 4:26:59 PM] [Switcher Platform] successful connection, socket was created
[12/13/2023, 4:27:00 PM] [Switcher Platform] sending data
[12/13/2023, 4:27:00 PM] [Switcher Platform] fef030000305a60000000000ff030100000000000000000034bf796500000000000000000000f0fe9f5bc800d056718d
[12/13/2023, 4:27:00 PM] [Switcher Platform] received login data:
[12/13/2023, 4:27:00 PM] [Switcher Platform] fef04c000402a60000000000ff030200000000000000000034bf796500000000000000000000f0fe349454950d7de1f701010500000000000000000000000000000000000000000074bc2059
[12/13/2023, 4:27:00 PM] [Switcher Platform] received session id: 00000000
[12/13/2023, 4:27:00 PM] [Switcher Platform] sending data:
[12/13/2023, 4:27:00 PM] [Switcher Platform] fef05900030501020000000000000000000000000000000034bf796500000000000000000000f0fe9f5bc8000000000000000000000000000000000000000000000000000000000000000000000000370a020001016fc5cb9a
[12/13/2023, 4:27:00 PM] [Switcher Platform] Received a message from 192.168.1.160
[12/13/2023, 4:27:00 PM] [Switcher Platform] {
device_id: '73c298',
device_ip: '192.168.1.160',
name: 'Office Window',
type: 'runner',
state: { position: 0, direction: 'STOP', child_lock: 'OFF' }
}
[12/13/2023, 4:27:00 PM] [Switcher Platform] connection closed, had error: false
[12/13/2023, 4:27:00 PM] [Switcher Platform] global close event: false
[12/13/2023, 4:27:00 PM] [Switcher Platform] Received a message from 192.168.1.182
[12/13/2023, 4:27:00 PM] [Switcher Platform] {
device_id: 'c76dc6',
device_ip: '192.168.1.182',
name: 'Switcher Runner_529C',
type: 's11',
state: {
light1_power: 'OFF',
light2_power: 'OFF',
runner3_position: 7,
runner3_direction: 'STOP',
runner3_child_lock: 'OFF'
}
}
[12/13/2023, 4:27:00 PM] [Switcher Platform] Received a message from 192.168.1.244
[12/13/2023, 4:27:00 PM] [Switcher Platform] {
device_id: '9f5bc8',
device_ip: '192.168.1.244',
name: 'Switcher Light_0D7D',
type: 'sl03',
state: { light1_power: 'OFF', light2_power: 'ON', light3_power: 'OFF' }

TypeError: message_buffer.byteLength is not a function

After updating to v2.0.2 I found this error in the log

9/26/2020, 8:43:50 PM TypeError: message_buffer.byteLength is not a function
at Function.is_valid (/home/hoobs/.hoobs/node_modules/switcher-js/src/switcher.js:44:33)
at Socket. (/home/hoobs/.hoobs/node_modules/switcher-js/src/switcher.js:272:37)
at Socket.emit (events.js:310:20)
at UDP.onMessage [as onmessage] (dgram.js:924:8)

found the solution (I hope; my js skill is not high :P)
it should be message_buffer.byteLength and not message_buffer.byteLength()

I open you a pull request for this change
nitaybz/switcher-js#1

Since updating to ver 201 there’s an error causing the hub service to restart every 10 minutes.

Thanks for a great plugin.
Since updating to ver 201 there’s an error causing the hub service to restart every 10 minutes.

Log:

[9/26/2020, 01:49:16] [Robot Vaccum ] INF getFirmware | roborock.vacuum.s5 | Firmwareversion is 3.5.7_002008
[9/26/2020, 01:49:17] [Robot Vaccum ] INF getFirmware | roborock.vacuum.s5 | Firmwareversion is 3.5.7_002008
[9/26/2020, 01:57:11] TypeError: message_buffer.byteLength is not a function
at Function.is_valid (/usr/local/lib/node_modules/homebridge-switcher-boiler/node_modules/switcher-js/src/switcher.js:44:33)
at Socket. (/usr/local/lib/node_modules/homebridge-switcher-boiler/node_modules/switcher-js/src/switcher.js:272:37)
at Socket.emit (events.js:315:20)
at UDP.onMessage (dgram.js:910:8)
[9/26/2020, 01:57:11] Got SIGTERM, shutting down Homebridge...
[9/26/2020, 01:57:12] TypeError: message_buffer.byteLength is not a function
at Function.is_valid (/usr/local/lib/node_modules/homebridge-switcher-boiler/node_modules/switcher-js/src/switcher.js:44:33)
at Socket. (/usr/local/lib/node_modules/homebridge-switcher-boiler/node_modules/switcher-js/src/switcher.js:272:37)
at Socket.emit (events.js:315:20)
at UDP.onMessage (dgram.js:910:8)
[9/26/2020, 01:57:16] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[9/26/2020, 01:57:21] [HB Supervisor] Restarting Homebridge...
[9/26/2020, 01:57:21] [HB Supervisor] Started Homebridge v1.2.3 with PID: 1013
[9/26/2020, 01:57:22] Loaded config.json with 8 accessories and 3 platforms.

Changing the Boiler switch causes HomeBridge to crash

So I had to change my network setup, and now my RPi running Homebridge is connected to the router via 2 connections (One via Ethernet to the home network, and one via Wifi to the guest network, which the Boiler Switcher).

The plugin manages to update the state of the switch if triggered from outside, but it trying to do it via HomeBridge, it crashes HomeBridge and does not work.

If I has to guess why, it's because the new stupid router, connects the RPi on the same subnet twice (Although the guest network devices can't talk to the home network).

I think that this plugin is sending the commands via the wrong NIC which causes it to crash. Can you add an option in config, to set from which interface (or IP) to send the commands from ? Here is the crash log:

[28/07/2023, 18:29:31] [Switcher Platform] Turning ON Switcher Touch B672 
[28/07/2023, 18:29:31] [Switcher Platform] login...
[28/07/2023, 18:29:31] [Switcher Platform] Received a message from 192.168.0.211
[28/07/2023, 18:29:31] [Switcher Platform] {
  device_id: 'XXX',
  device_ip: '192.168.0.211',
  name: 'Switcher Touch B672',
  type: 'v3',
  state: {
    power: 0,
    remaining_seconds: 0,
    default_shutdown_seconds: 3660,
    power_consumption: 0
  }
}
[28/07/2023, 18:29:34] [Switcher Platform] connection rejected, error: Error: connect EHOSTUNREACH 192.168.0.211:9957
[28/07/2023, 18:29:34] [Switcher Platform] ERROR for Switcher Touch B672
[28/07/2023, 18:29:34] [Switcher Platform] ConnectionError: connection error: failed to connect to switcher on ip: 192.168.0.211:9957. please make sure it is turned on and available.
    at Switcher._getsocket (/var/lib/homebridge/node_modules/homebridge-switcher-platform/node_modules/switcher-js2/src/switcher.js:506:27)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at p_session (/var/lib/homebridge/node_modules/homebridge-switcher-platform/node_modules/switcher-js2/src/switcher.js:686:19) {
  ip: '192.168.0.211',
  port: 9957
}
[28/07/2023, 18:29:34] [Switcher Platform] login failed due to an error Error: connect EHOSTUNREACH 192.168.0.211:9957
[28/07/2023, 18:29:34] [Switcher Platform] ERROR for Switcher Touch B672
[28/07/2023, 18:29:34] [Switcher Platform] Error: login failed due to an error: connect EHOSTUNREACH 192.168.0.211:9957
    at Switcher._login (/var/lib/homebridge/node_modules/homebridge-switcher-platform/node_modules/switcher-js2/src/switcher.js:709:27)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Switcher._run_power_command (/var/lib/homebridge/node_modules/homebridge-switcher-platform/node_modules/switcher-js2/src/switcher.js:801:19)
[28/07/2023, 18:29:34] [Switcher Platform] sending ON command
[28/07/2023, 18:29:34] [Switcher Platform] connection closed, had error: true
[28/07/2023, 18:29:36] [Switcher Platform] Received a message from 192.168.0.211
[28/07/2023, 18:29:36] [Switcher Platform] {
  device_id: 'XXX',
  device_ip: '192.168.0.211',
  name: 'Switcher Touch B672',
  type: 'v3',
  state: {
    power: 0,
    remaining_seconds: 0,
    default_shutdown_seconds: 3660,
    power_consumption: 0
  }
}
[28/07/2023, 18:29:36] [Switcher Platform] Switcher Switcher Touch B672 Watts: 0
[28/07/2023, 18:29:36] [Switcher Platform] Switcher Switcher Touch B672 Volts: 0
[28/07/2023, 18:29:36] [Switcher Platform] Switcher Switcher Touch B672 Amperes: 0
[28/07/2023, 18:29:36] [Switcher Platform] Switcher Switcher Touch B672 Total Consumption (KWh): 0
[28/07/2023, 18:29:37] [Switcher Platform] connection rejected, error: Error: connect EHOSTUNREACH 192.168.0.211:9957
[28/07/2023, 18:29:37] [Switcher Platform] ERROR for Switcher Touch B672
[28/07/2023, 18:29:37] [Switcher Platform] ConnectionError: connection error: failed to connect to switcher on ip: 192.168.0.211:9957. please make sure it is turned on and available.
    at Switcher._getsocket (/var/lib/homebridge/node_modules/homebridge-switcher-platform/node_modules/switcher-js2/src/switcher.js:506:27)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Switcher._run_power_command (/var/lib/homebridge/node_modules/homebridge-switcher-platform/node_modules/switcher-js2/src/switcher.js:806:16) {
  ip: '192.168.0.211',
  port: 9957
}
[28/07/2023, 18:29:37] Error: connect EHOSTUNREACH 192.168.0.211:9957
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16)
[28/07/2023, 18:29:37] [Switcher Platform] connection closed, had error: true
[28/07/2023, 18:29:37] Got SIGTERM, shutting down Homebridge...```

Unable to remove old accessories

Regarding to #33, I don't think the issue can be marked as "Completed/Resolved".
This issue still remain, even when trying the workaround suggested in the original Issue.

Regardless, the plug-in should have a straight forward way to remove/detect old accessories and remove them from the Homebridge. The device was removed from the Switcher app.

Homebridge Switcher Platform stopped working

This worked well, I didn't change anything in the setup, I'm now getting the following in the debug log:

[1/24/2024, 9:20:07 PM] [Switcher Platform] trying to reconnect in 10 seconds...
[1/24/2024, 9:20:07 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...
[1/24/2024, 9:20:07 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:10003
    at node:dgram:364:20
    at processTicksAndRejections (node:internal/process/task_queues:83:21) {
  errno: -98,
  code: 'EADDRINUSE',
  syscall: 'bind',
  address: '0.0.0.0',
  port: 10003
}
[1/24/2024, 9:20:07 PM] [Switcher Platform] trying to reconnect in 10 seconds...
[1/24/2024, 9:20:07 PM] Homebridge v1.7.0 (HAP v0.11.1) (Homebridge F687) is running on port 51964.
[1/24/2024, 9:20:17 PM] Error: bind EADDRINUSE 0.0.0.0:20002
    at node:dgram:364:20
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
[1/24/2024, 9:20:17 PM] Got SIGTERM, shutting down Homebridge...
[1/24/2024, 9:20:18 PM] Error: bind EADDRINUSE 0.0.0.0:20003
    at node:dgram:364:20
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
[1/24/2024, 9:20:18 PM] Error: bind EADDRINUSE 0.0.0.0:10002
    at node:dgram:364:20
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
[1/24/2024, 9:20:18 PM] Error: bind EADDRINUSE 0.0.0.0:10003
    at node:dgram:364:20
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at processImmediate (node:internal/timers:447:9)
[1/24/2024, 9:20:18 PM] Error: bind EADDRINUSE 0.0.0.0:20002
    at node:dgram:364:20
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at listOnTimeout (node:internal/timers:538:9)
    at processTimers (node:internal/timers:512:7)
[1/24/2024, 9:20:18 PM] Error: bind EADDRINUSE 0.0.0.0:20003
    at node:dgram:364:20
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at listOnTimeout (node:internal/timers:538:9)
    at processTimers (node:internal/timers:512:7)
[1/24/2024, 9:20:18 PM] Error: bind EADDRINUSE 0.0.0.0:10002
    at node:dgram:364:20
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at processTimers (node:internal/timers:509:9)
[1/24/2024, 9:20:18 PM] Error: bind EADDRINUSE 0.0.0.0:10003
    at node:dgram:364:20
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at processTimers (node:internal/timers:509:9)
[1/24/2024, 9:20:18 PM] Error: bind EADDRINUSE 0.0.0.0:20002
    at node:dgram:364:20
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
[1/24/2024, 9:20:18 PM] Error: bind EADDRINUSE 0.0.0.0:20003
    at node:dgram:364:20
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
[1/24/2024, 9:20:18 PM] Error: bind EADDRINUSE 0.0.0.0:10002
    at node:dgram:364:20
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
[1/24/2024, 9:20:18 PM] Error: bind EADDRINUSE 0.0.0.0:10003
    at node:dgram:364:20
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at processImmediate (node:internal/timers:447:9)
[1/24/2024, 9:20:18 PM] Error: bind EADDRINUSE 0.0.0.0:20002
    at node:dgram:364:20
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at processImmediate (node:internal/timers:447:9)
[1/24/2024, 9:20:18 PM] Error: bind EADDRINUSE 0.0.0.0:20003
    at node:dgram:364:20
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at processImmediate (node:internal/timers:447:9)
[1/24/2024, 9:20:18 PM] Error: bind EADDRINUSE 0.0.0.0:10002
    at node:dgram:364:20
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at processImmediate (node:internal/timers:447:9)
[1/24/2024, 9:20:18 PM] Error: bind EADDRINUSE 0.0.0.0:10003
    at node:dgram:364:20
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at processImmediate (node:internal/timers:447:9)

[1/24/2024, 9:20:29 PM] [Switcher Platform] Initializing SwitcherPlatform platform...

[1/24/2024, 9:20:29 PM] [Switcher Platform] Found Cached Accessory: Switcher Runner_285A (e568c6) 

[1/24/2024, 9:20:29 PM] [Switcher Platform] Scanning for switcher devices...

[1/24/2024, 9:20:29 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:20:29 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:20002

[1/24/2024, 9:20:29 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:20:29 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:20:29 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:20003

[1/24/2024, 9:20:29 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:20:29 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:20:29 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:10002

[1/24/2024, 9:20:29 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:20:29 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:20:29 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:10003

[1/24/2024, 9:20:29 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:20:51 PM] [Switcher Platform] Initializing SwitcherPlatform platform...

[1/24/2024, 9:20:51 PM] [Switcher Platform] Found Cached Accessory: Switcher Runner_285A (e568c6) 

[1/24/2024, 9:20:51 PM] [Switcher Platform] Scanning for switcher devices...

[1/24/2024, 9:20:52 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:20:52 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:20002

[1/24/2024, 9:20:52 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:20:52 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:20:52 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:20003

[1/24/2024, 9:20:52 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:20:52 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:20:52 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:10002

[1/24/2024, 9:20:52 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:20:52 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:20:52 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:10003

[1/24/2024, 9:20:52 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:21:14 PM] [Switcher Platform] Initializing SwitcherPlatform platform...

[1/24/2024, 9:21:14 PM] [Switcher Platform] Found Cached Accessory: Switcher Runner_285A (e568c6) 

[1/24/2024, 9:21:14 PM] [Switcher Platform] Scanning for switcher devices...

[1/24/2024, 9:21:14 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:21:14 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:20002

[1/24/2024, 9:21:14 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:21:14 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:21:14 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:20003

[1/24/2024, 9:21:14 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:21:14 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:21:14 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:10002

[1/24/2024, 9:21:14 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:21:14 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:21:14 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:10003

[1/24/2024, 9:21:14 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:21:36 PM] [Switcher Platform] Initializing SwitcherPlatform platform...

[1/24/2024, 9:21:36 PM] [Switcher Platform] Found Cached Accessory: Switcher Runner_285A (e568c6) 

[1/24/2024, 9:21:36 PM] [Switcher Platform] Scanning for switcher devices...

[1/24/2024, 9:21:36 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:21:36 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:20002

[1/24/2024, 9:21:36 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:21:36 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:21:36 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:20003

[1/24/2024, 9:21:36 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:21:36 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:21:36 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:10002

[1/24/2024, 9:21:36 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:21:36 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:21:36 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:10003

[1/24/2024, 9:21:36 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:21:58 PM] [Switcher Platform] Initializing SwitcherPlatform platform...

[1/24/2024, 9:21:58 PM] [Switcher Platform] Found Cached Accessory: Switcher Runner_285A (e568c6) 

[1/24/2024, 9:21:58 PM] [Switcher Platform] Scanning for switcher devices...

[1/24/2024, 9:21:58 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:21:58 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:20002

[1/24/2024, 9:21:58 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:21:58 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:21:58 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:20003

[1/24/2024, 9:21:58 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:21:58 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:21:58 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:10002

[1/24/2024, 9:21:58 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:21:58 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:21:58 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:10003

[1/24/2024, 9:21:58 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:22:20 PM] [Switcher Platform] Initializing SwitcherPlatform platform...

[1/24/2024, 9:22:20 PM] [Switcher Platform] Found Cached Accessory: Switcher Runner_285A (e568c6) 

[1/24/2024, 9:22:20 PM] [Switcher Platform] Scanning for switcher devices...

[1/24/2024, 9:22:20 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:22:20 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:20002

[1/24/2024, 9:22:20 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:22:20 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:22:20 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:20003

[1/24/2024, 9:22:20 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:22:20 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:22:20 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:10002

[1/24/2024, 9:22:20 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:22:20 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:22:20 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:10003

[1/24/2024, 9:22:20 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:22:42 PM] [Switcher Platform] Initializing SwitcherPlatform platform...

[1/24/2024, 9:22:42 PM] [Switcher Platform] Found Cached Accessory: Switcher Runner_285A (e568c6) 

[1/24/2024, 9:22:42 PM] [Switcher Platform] Scanning for switcher devices...

[1/24/2024, 9:22:42 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:22:42 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:20002

[1/24/2024, 9:22:42 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:22:42 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:22:42 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:20003

[1/24/2024, 9:22:42 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:22:42 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:22:42 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:10002

[1/24/2024, 9:22:42 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:22:42 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:22:42 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:10003

[1/24/2024, 9:22:42 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:23:04 PM] [Switcher Platform] Initializing SwitcherPlatform platform...

[1/24/2024, 9:23:04 PM] [Switcher Platform] Found Cached Accessory: Switcher Runner_285A (e568c6) 

[1/24/2024, 9:23:04 PM] [Switcher Platform] Scanning for switcher devices...

[1/24/2024, 9:23:04 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:23:04 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:20002

[1/24/2024, 9:23:04 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:23:04 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:23:04 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:20003

[1/24/2024, 9:23:04 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:23:04 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:23:04 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:10002

[1/24/2024, 9:23:04 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:23:04 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:23:04 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:10003

[1/24/2024, 9:23:04 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:23:26 PM] [Switcher Platform] Initializing SwitcherPlatform platform...

[1/24/2024, 9:23:26 PM] [Switcher Platform] Found Cached Accessory: Switcher Runner_285A (e568c6) 

[1/24/2024, 9:23:26 PM] [Switcher Platform] Scanning for switcher devices...

[1/24/2024, 9:23:27 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:23:27 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:20002

[1/24/2024, 9:23:27 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:23:27 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:23:27 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:20003

[1/24/2024, 9:23:27 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:23:27 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:23:27 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:10002

[1/24/2024, 9:23:27 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:23:27 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:23:27 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:10003

[1/24/2024, 9:23:27 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:23:49 PM] [Switcher Platform] Initializing SwitcherPlatform platform...

[1/24/2024, 9:23:49 PM] [Switcher Platform] Found Cached Accessory: Switcher Runner_285A (e568c6) 

[1/24/2024, 9:23:49 PM] [Switcher Platform] Scanning for switcher devices...

[1/24/2024, 9:23:49 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:23:49 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:20002

[1/24/2024, 9:23:49 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:23:49 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:23:49 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:20003

[1/24/2024, 9:23:49 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:23:49 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:23:49 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:10002

[1/24/2024, 9:23:49 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:23:49 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:23:49 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:10003

[1/24/2024, 9:23:49 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:24:11 PM] [Switcher Platform] Initializing SwitcherPlatform platform...

[1/24/2024, 9:24:11 PM] [Switcher Platform] Found Cached Accessory: Switcher Runner_285A (e568c6) 

[1/24/2024, 9:24:11 PM] [Switcher Platform] Scanning for switcher devices...

[1/24/2024, 9:24:11 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:24:11 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:20002

[1/24/2024, 9:24:11 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:24:11 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:24:11 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:20003

[1/24/2024, 9:24:11 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:24:11 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:24:11 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:10002

[1/24/2024, 9:24:11 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:24:11 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:24:11 PM] [Switcher Platform] Error: bind EADDRINUSE 0.0.0.0:10003

[1/24/2024, 9:24:11 PM] [Switcher Platform] trying to reconnect in 10 seconds...

Plugin info printed to the log

Hi,
Started using the plugin few weeks ago, works great! Thanks!
My config is minimal:
{
"name": "Switcher",
"platform": "SwitcherPlatform"
}

But I still get information printed in the logs, for example:
[7/9/2021, 7:26:16 PM] [Switcher] Switcher Switcher Touch XXXX is INACTIVE
[7/9/2021, 8:44:33 PM] [Switcher] Switcher Switcher Touch XXXX is INACTIVE
[7/9/2021, 8:44:47 PM] [Switcher] Switcher Switcher Touch XXXX is INACTIVE
[7/9/2021, 10:56:16 PM] [Switcher] Switcher Switcher Touch XXXX is INACTIVE
[7/9/2021, 11:17:14 PM] [Switcher] Switcher Switcher Touch XXXX is INACTIVE

That's messes up the log and makes it hard to find real issues from homebridge or other plugins.

Can those prints be under debug: info option or something similar?
I expect prints of warnings/errors only if debug is off.

Thanks in advance!

Error: Operation failed, Could not acquire SessionID, Please try again

when trying to turn on/turn off the switcher, I get the below message -
Error: Operation failed, Could not acquire SessionID, Please try again

If I'm turning on the switcher locally - I can see that the state changes in the homebridge UI.
But I don't have the option to change it by myself from the GUI.

Any plans to create home-assistant version of this awesome plugin?

I am literally running Homebridge just for this plugin, and I would like to shut it down because I find Home Assistant much better. The problem is that Home Assistant doesn't have support for Switcher. There is one plugin that can control only the blinds and nothing more.

Port collesion on 20002 with other plugins?

I'm getting this error when installing v2.0.7 which prevents Homebridge to start.

Error: bind EADDRINUSE 0.0.0.0:20002
at dgram.js:338:20
at processTicksAndRejections (internal/process/task_queues.js:85:21)

I can't find the port in the code which is wired, but after uninstalling the plugin Homebridge starts again.
This is something new that happens after the upgrade as the previous version worked

Any way to change smart plug "In Use" threshold?

Basically, I have a consumer that uses the smart plug and while it's on sleep mode sometimes I'm getting InUse=true, maybe because of the power supply drawing higher current on some random points. I believe it's drawing less than it's on.
this isUse value affects my automation. I'm getting a false positive.

so if I will be able to change the threshold it will be great.
btw I'm using Eve app

Thanks!

Request failed - during plug-in installation

Im trying to install the plug-in(Switcher-platform V4.0.4)from the Homemanager(V3.3.5) app with the following error message.

image

Short log from the app(I can attach the entire file if needed)

image

Thanks in advance :)

Add new light switches

Hi, recently Switcher added new light switches, I would appreciate it if you could add them that will also support homekit

ERROR LOADING PLUGIN homebridge-switcher-platform

Running as Docker Container (ubuntu) on raspberry bi.

[6/18/2022, 8:08:09 PM] ====================
[6/18/2022, 8:08:09 PM] ERROR LOADING PLUGIN homebridge-switcher-platform:
[6/18/2022, 8:08:09 PM] ReferenceError: SEPARATED_SWING_REMOTES is not defined
at Object. (/homebridge/node_modules/.pnpm/[email protected]/node_modules/switcher-js2/src/switcher.js:43:25)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/homebridge/node_modules/.pnpm/[email protected]/node_modules/switcher-js2/index.js:1:18)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
[6/18/2022, 8:08:09 PM] ====================

support for Switcher V4

Hey any chance to have support for Switcher V4 ?
Can I help in the process and add this support ?

switcher breeze support

Hello,
this support newly switcher breeze AC ? i tried to define in HB but with no success.
any help on this ?
thx

Switcher V4 C7DA installed correctly but turning on/off not works

Data:
HomeBridge 819E
Date and time is correct according to UTC
NodeJS version 18

My Config:
{
"name": "Switcher Platform",
"token": "xxx",
"debug": false,
"secondsToRemove": 0,
"platform": "SwitcherPlatform"
}

On initialize stage everthing OK:

[3/27/2023, 7:51:18 AM] [Switcher Platform] Found New Switcher "Switcher V4 C7DA" | ID:305f66 | IP: 192.168.1.13 | Model: V4
[3/27/2023, 7:51:18 AM] [Switcher Platform] Initializing Valve Accessory - Switcher V4 C7DA(id: 305f66)
[3/27/2023, 7:51:26 AM] [Switcher Platform] Switcher "Switcher V4 C7DA" (305f66) is Connected!

after setting debug level when executing the command:

[3/27/2023, 8:01:42 AM] [Switcher Platform] Turning ON Switcher V4 C7DA
[3/27/2023, 8:01:42 AM] [Switcher Platform] login...
[3/27/2023, 8:01:42 AM] [Switcher Platform] successful connection, socket was created
[3/27/2023, 8:01:42 AM] [Switcher Platform] sending data
[3/27/2023, 8:01:42 AM] [Switcher Platform] fef052000232a10000000000340001000000000000000000674d216400000000000000000000f0fe1c00000000000000000000000000000000000000000000000000000000000000000000000000e91537a0
[3/27/2023, 8:01:43 AM] [Switcher Platform] Switcher Switcher V4 C7DA is INACTIVE
[3/27/2023, 8:01:43 AM] [Switcher Platform] received login data:
[3/27/2023, 8:01:43 AM] [Switcher Platform] fef02c00023ca100000000003400020e0000305f66000000664d216400000000000000000000f0fe2bdb4e59
[3/27/2023, 8:01:43 AM] [Switcher Platform] received session id: 00000000
[3/27/2023, 8:01:43 AM] [Switcher Platform] sending ON command
[3/27/2023, 8:01:43 AM] [Switcher Platform] sending data:
[3/27/2023, 8:01:43 AM] [Switcher Platform] fef05d000232010200000000340001000000000000000000674d216400000000000000000000f0fe305f66000000000000000000000000000000000000000000000000000000000000000000000000000106000100181500000bd77b66
[3/27/2023, 8:01:43 AM] [Switcher Platform] Received a message from 192.168.1.13
[3/27/2023, 8:01:43 AM] [Switcher Platform] {
device_id: '305f66',
device_ip: '192.168.1.13',
name: 'Switcher V4 C7DA',
type: 'v4',
state: {
power: 0,
remaining_seconds: 0,
default_shutdown_seconds: 5400,
power_consumption: 0
}
}
[3/27/2023, 8:01:43 AM] [Switcher Platform] Switcher Switcher V4 C7DA is INACTIVE
[3/27/2023, 8:01:43 AM] [Switcher Platform] Switcher Switcher V4 C7DA is NOT IN USE
[3/27/2023, 8:01:43 AM] [Switcher Platform] Switcher Switcher V4 C7DA Auto Shutdown in Seconds: 5400
[3/27/2023, 8:01:43 AM] [Switcher Platform] Switcher Switcher V4 C7DA Remaining Duration in Seconds: 0

[3/27/2023, 8:01:43 AM] [Switcher Platform] connection closed, had error: false
[3/27/2023, 8:01:43 AM] [Switcher Platform] global close event: false
[3/27/2023, 8:01:44 AM] [Switcher Platform] Received a message from 192.168.1.13
[3/27/2023, 8:01:44 AM] [Switcher Platform] {
device_id: '305f66',
device_ip: '192.168.1.13',
name: 'Switcher V4 C7DA',
type: 'v4',
state: {
power: 0,
remaining_seconds: 0,
default_shutdown_seconds: 5400,
power_consumption: 0
}
}

please help to understand how to make it work.

Custom timer problem

היי
אני כרגע על ios 16.2 beta 3 ואני לא מצליח להוסיף CUSTOM TIMER.
רק את הסוויצ' של הדוד. יודע למה זה קורה? אני עם סוויצ'ר V2.
תודה רבה

Old devices still appears on home kit.

Hi i have two smart plugs that appear in homekit.
I deleted both of that from switcher application and tried the “hide:true” property in the plugin. They still appears.

plugin version 4.3.4

json error

HOOBS 3.2.6
My json
{ "accessory": "SwitcherBoiler", "name": "Boiler", "debug": true }
this is the error
[Boiler] SyntaxError: Unexpected end of JSON input at JSON.parse (<anonymous>:null:null) at Socket.<anonymous> (/home/hoobs/.hoobs/node_modules/homebridge-switcher-boiler/lib/api.js:20:27) at Socket.emit (events.js:322:22) at Pipe.<anonymous> (net.js:672:12)

Thanks for the plugin

Switcher V3 control commands from homebridge are not working

Hi,
I have Switcher V3, I've attached the logs from my homebridge.
it look like the messages are sent (I'm not sure if they are correct), but the switcher is not responding.

the plugin reflect the power state only when it operate from switcher application.
any command to turn it off, when it turn on from the switcher app, doesn't work and visa vera.

here's the log of trying to turn it on,

[12/9/2023, 10:18:01 AM] [Switcher Platform] Turning ON Boiler [12/9/2023, 10:18:01 AM] [Switcher Platform] login... [12/9/2023, 10:18:01 AM] [Switcher Platform] successful connection, socket was created [12/9/2023, 10:18:01 AM] [Switcher Platform] sending data [12/9/2023, 10:18:01 AM] [Switcher Platform] fef052000232a10000000000340001000000000000000000ba22746500000000000000000000f0fe1c000000000000000000000000000000000000000000000000000000000000000000000000001268c294 [12/9/2023, 10:18:01 AM] [Switcher Platform] received login data: [12/9/2023, 10:18:01 AM] [Switcher Platform] fef02c00023ca100000000003400020e0000e9a565000000c022746500000000000000000000f0fea5f6cf36 [12/9/2023, 10:18:01 AM] [Switcher Platform] received session id: 00000000 [12/9/2023, 10:18:01 AM] [Switcher Platform] sending ON command [12/9/2023, 10:18:01 AM] [Switcher Platform] sending data: [12/9/2023, 10:18:01 AM] [Switcher Platform] fef05d000232010200000000340001000000000000000000ba22746500000000000000000000f0fee9a565000000000000000000000000000000000000000000000000000000000000000000000000000106000100080700007250c9a4 [12/9/2023, 10:18:02 AM] [Switcher Platform] connection closed, had error: false [12/9/2023, 10:18:02 AM] [Switcher Platform] global close event: false [12/9/2023, 10:18:02 AM] [Switcher Platform] Received a message from 10.143.1.18 [12/9/2023, 10:18:02 AM] [Switcher Platform] { device_id: 'e9a565', device_ip: '10.143.1.18', name: 'Boiler', type: 'v3', state: { power: 0, remaining_seconds: 0, default_shutdown_seconds: 5400, power_consumption: 0 } } [12/9/2023, 10:18:03 AM] [Switcher Platform] Received a message from 10.143.1.18 [12/9/2023, 10:18:03 AM] [Switcher Platform] { device_id: 'e9a565', device_ip: '10.143.1.18', name: 'Boiler', type: 'v3', state: { power: 0, remaining_seconds: 0, default_shutdown_seconds: 5400, power_consumption: 0 } }

using :
Switcher V3 (touch) firmware v5.15
Ubuntu Mantic Minotaur (23.10)
Homebridge v1.7.0
NodeJS v20.10.0

New version not working on HOOBS

I've just upgraded to 2.0.1
The plugin is not loading on on HOOBS
The requested accessory "SwitcherBoiler" was not registered by any plugin. Your config.json is requesting the accessory "SwitcherBoiler" which has not been published by any installed plugins.

Switcher mini stopped respond to Homebridge

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
}
}

can't add switcher runner + 2 lights

I own 2 switcher products:
1 boiler + 1 runner and 2 lights buttons.

all shows great in the IOS native switcher app, all under the same account.

But under the HB plugin I can only see the Boiler Switcher and wont see the runner and lights switcher.

HomeKit notifications

I can see and control my Switcher Touch perfectly, but there is no option for Activity Notifications in the home app.
Can this be fixed?
Thanks!

IMG_D97A1A82545C-1

Add manual configuration for devices not on the same subnet

A good security practice is to create a IoT network and add firewall rules to block traffic from that network to the internal LAN. This plugin auto-detect feature only works if the homebridge device is on the same network as the Switcher device.

Please add an option to manually specify the Switcher device IP address so it can communicate without auto-detect.

Switcher v3 (touch) turning itself off - not working

Hi Nitay
Thanks for the great module for homebridge, a real life changer
I think a week ago or so it stopped working.
I can turn it on through the switcher app, but the Homebridge doesn't work - turning it will will make it turn off on its own after a few seconds. and if I turn it from the switcher app it displays the on status correctly - (e.g. view only)
(sounds like #13 issue)
However I don't see an option to update the firmware there
at the moment it's on firmware 5.15
Using an iphone
Need any other info?

[Suggestion] Custom Duration

Hey.
I started using your components and everything's good, but I was wondering if you can add an option to have custom duration. Let the user add 3 custom durations, for example.

Creating siri shortcut that turning the boiler to X minutets

Hi @nitaybz, first thing, thank you for creating this plugin (wish I was find it earlier).

I'm into making the usage of the HomeKit more automated by creating a shortcut that will check the boiler temperature and allow me to turn on the boiler for X minuets in certain conditions.

So far I was able to make it all except of the part of the waiting between the "Turn on" and the "Turn off";
With the "valve" type I couldn't add the device to any automation even tho it supporting custom timer (it doesn't appears in the devices' list), so I had to use the "switch" type, but the "Wait" function doesn't work for more than a few seconds and I couldn't find any other way to set a timer for a "switch"...

I'd like to know if you have any suggestion to how to implement this action (turn on with a timer from a given time) or if there is any possibility to add support for this in the plugin itself.

Thanks,
Ido.

Plugin not adding devices even when explicitly given IP Address

Hi,

Until recentley I had this plugin working well on Raspberry Pi. Upon installing OpenVPN on the Pi, the plugin no longer identifies switcher devices on the network. All other plugins work (both when a VPN is on and when not). I changed the iptables slightly to enable the Pi to be a gateway device.

Both the Pi and the device are on the same subnet. The Pi can ping the ip address of the switch.

There are no other logs (when in debug) besides:
[23/01/2023, 21:40:28] [Switcher Platform] Scanning for switcher devices...

This is the result of iptables -S
-P INPUT DROP
-P FORWARD DROP
-P OUTPUT ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -i eth0 -p icmp -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 22 -j ACCEPT
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -i eth0 -o tun0 -j ACCEPT
-A FORWARD -i tun0 -o eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT

and the output of iptables -L -v:

Chain INPUT (policy DROP 357K packets, 100M bytes)
pkts bytes target prot opt in out source destination
78021 10M ACCEPT all -- lo any anywhere anywhere
23 2508 ACCEPT icmp -- eth0 any anywhere anywhere
0 0 ACCEPT tcp -- eth0 any anywhere anywhere tcp dpt:ssh
124K 108M ACCEPT all -- any any anywhere anywhere state RELATED,ESTABLISHED

Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all -- eth0 tun0 anywhere anywhere
0 0 ACCEPT all -- tun0 eth0 anywhere anywhere state RELATED,ESTABLISHED

Chain OUTPUT (policy ACCEPT 291K packets, 49M bytes)
pkts bytes target prot opt in out source destination

Here is the config. I added the ip address to try force the device to be added but that didn't work:
{
"name": "Switcher Platform",
"debug": true,
"secondsToRemove": 0,
"devices": [
{
"identifier": "10.0.0.5",
"accessoryType": "valve"
}
],
"customTimers": [
{
"identifier": "eddf64",
"shutdownMinutes": 30
}
],
"platform": "SwitcherPlatform"

Any idea how to debug this? Or what might be stopping the plugin from identifying the device?

Power plug control not working, status does get updated

I have Switcher Smart Plug and I can't bring it to work with Homebridge.
The outlet status gets updated in Homebridge UI and HomeKit, but whenever I try to change the state (turn on or turn off), it just doesn't work.
The token has been set and Switcher Mini works flawlessly

logs:

[21/08/2023, 22:56:12] [Switcher Platform] Turning ON Power_plug_6422 
[21/08/2023, 22:56:12] [Switcher Platform] login...
[21/08/2023, 22:56:12] [Switcher Platform] successful connection, socket was created
[21/08/2023, 22:56:12] [Switcher Platform] sending data
[21/08/2023, 22:56:12] [Switcher Platform] fef052000232a100000000003400010000000000000000005cc1e36400000000000000000000f0fe1c00000000000000000000000000000000000000000000000000000000000000000000000000428f9a17
[21/08/2023, 22:56:12] [Switcher Platform] received login data:
[21/08/2023, 22:56:12] [Switcher Platform] fef02c00023ca100000000003400020e0000f932220000005bc1e36400000000000000000000f0fe43b9ddd2
[21/08/2023, 22:56:12] [Switcher Platform] received session id: 00000000
[21/08/2023, 22:56:12] [Switcher Platform] sending ON command
[21/08/2023, 22:56:12] [Switcher Platform] sending data:
[21/08/2023, 22:56:12] [Switcher Platform] fef05d0002320102000000003400010000000000000000005cc1e36400000000000000000000f0fef9322200000000000000000000000000000000000000000000000000000000000000000000000000010600010000000000eb0594d4
[21/08/2023, 22:56:12] [Switcher Platform] connection closed, had error: false
[21/08/2023, 22:56:12] [Switcher Platform] global close event: false

Power plug firmware version: 5.09

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.