iklein99 / homebridge-smartthings Goto Github PK
View Code? Open in Web Editor NEWThis is a plugin to Homebridge to connect your Smartthings network into Apple Home Kit.
License: Apache License 2.0
This is a plugin to Homebridge to connect your Smartthings network into Apple Home Kit.
License: Apache License 2.0
The API is well structured. Let me know if you need help.
https://github.com/teodoradima/homebridge-samsung-air-conditioner-smart-things
My DEVICE NAME is "[floor a/c] Samsung".
I am using a custom plug-in, but I want to unify it into one plug-in.
specifically Aeotec - Z-Wave Clamp Power Meter
Describe Your Problem:
Devices in the "IgnoreDevices" section are not ignored, but shown as active regular usable devices; Homebridge shows all ignored devices.
How can they be included? I many not be using the proper syntax for them
Logs:
[10/19/2022, 2:05:01 PM] [Smartthings Plug (IK)] Launched child bridge with PID 6976
[10/19/2022, 2:05:02 PM] Registering platform 'homebridge-smartthings-rp.HomeBridgeSmartThings'
[10/19/2022, 2:05:02 PM] [Smartthings Plug (IK)] Loaded homebridge-smartthings-rp v1.1.7-beta.8 child bridge successfully
[10/19/2022, 2:05:02 PM] Loaded 14 cached accessories from cachedAccessories.0EC5D18B04C9.
[10/19/2022, 2:05:02 PM] When searching for the associated plugin of the accessory 'Family Room Light' it seems like the plugin name changed from 'homebridge-smartthings-ik' to 'homebridge-smartthings-rp'. Plugin association is now being transformed!
[10/19/2022, 2:05:02 PM] [Smartthings Plug (IK)] Loading accessory from cache: Family Room Light
[10/19/2022, 2:05:02 PM] When searching for the associated plugin of the accessory 'Right Door' it seems like the plugin name changed from 'homebridge-smartthings-ik' to 'homebridge-smartthings-rp'. Plugin association is now being transformed!
[10/19/2022, 2:05:02 PM] [Smartthings Plug (IK)] Loading accessory from cache: Right Door
[10/19/2022, 2:05:02 PM] When searching for the associated plugin of the accessory 'Left Door' it seems like the plugin name changed from 'homebridge-smartthings-ik' to 'homebridge-smartthings-rp'. Plugin association is now being transformed!
[10/19/2022, 2:05:02 PM] [Smartthings Plug (IK)] Loading accessory from cache: Left Door
[10/19/2022, 2:05:02 PM] When searching for the associated plugin of the accessory 'Fountain' it seems like the plugin name changed from 'homebridge-smartthings-ik' to 'homebridge-smartthings-rp'. Plugin association is now being transformed!
[10/19/2022, 2:05:02 PM] [Smartthings Plug (IK)] Loading accessory from cache: Fountain
[10/19/2022, 2:05:02 PM] When searching for the associated plugin of the accessory 'Entryway Light' it seems like the plugin name changed from 'homebridge-smartthings-ik' to 'homebridge-smartthings-rp'. Plugin association is now being transformed!
[10/19/2022, 2:05:02 PM] [Smartthings Plug (IK)] Loading accessory from cache: Entryway Light
[10/19/2022, 2:05:02 PM] When searching for the associated plugin of the accessory 'Cat Light' it seems like the plugin name changed from 'homebridge-smartthings-ik' to 'homebridge-smartthings-rp'. Plugin association is now being transformed!
[10/19/2022, 2:05:02 PM] [Smartthings Plug (IK)] Loading accessory from cache: Cat Light
[10/19/2022, 2:05:02 PM] When searching for the associated plugin of the accessory 'Master Bathroom' it seems like the plugin name changed from 'homebridge-smartthings-ik' to 'homebridge-smartthings-rp'. Plugin association is now being transformed!
[10/19/2022, 2:05:02 PM] [Smartthings Plug (IK)] Loading accessory from cache: Master Bathroom
[10/19/2022, 2:05:02 PM] When searching for the associated plugin of the accessory 'Decoration' it seems like the plugin name changed from 'homebridge-smartthings-ik' to 'homebridge-smartthings-rp'. Plugin association is now being transformed!
[10/19/2022, 2:05:02 PM] [Smartthings Plug (IK)] Loading accessory from cache: Decoration
[10/19/2022, 2:05:02 PM] When searching for the associated plugin of the accessory 'Front Yard Lights' it seems like the plugin name changed from 'homebridge-smartthings-ik' to 'homebridge-smartthings-rp'. Plugin association is now being transformed!
[10/19/2022, 2:05:02 PM] [Smartthings Plug (IK)] Loading accessory from cache: Front Yard Lights
[10/19/2022, 2:05:02 PM] When searching for the associated plugin of the accessory 'Tower Light 1' it seems like the plugin name changed from 'homebridge-smartthings-ik' to 'homebridge-smartthings-rp'. Plugin association is now being transformed!
[10/19/2022, 2:05:02 PM] [Smartthings Plug (IK)] Loading accessory from cache: Tower Light 1
[10/19/2022, 2:05:02 PM] When searching for the associated plugin of the accessory 'Garage Light' it seems like the plugin name changed from 'homebridge-smartthings-ik' to 'homebridge-smartthings-rp'. Plugin association is now being transformed!
[10/19/2022, 2:05:02 PM] [Smartthings Plug (IK)] Loading accessory from cache: Garage Light
[10/19/2022, 2:05:02 PM] When searching for the associated plugin of the accessory 'Christmas Lights' it seems like the plugin name changed from 'homebridge-smartthings-ik' to 'homebridge-smartthings-rp'. Plugin association is now being transformed!
[10/19/2022, 2:05:02 PM] [Smartthings Plug (IK)] Loading accessory from cache: Christmas Lights
[10/19/2022, 2:05:02 PM] When searching for the associated plugin of the accessory 'Tower Light 2' it seems like the plugin name changed from 'homebridge-smartthings-ik' to 'homebridge-smartthings-rp'. Plugin association is now being transformed!
[10/19/2022, 2:05:02 PM] [Smartthings Plug (IK)] Loading accessory from cache: Tower Light 2
[10/19/2022, 2:05:02 PM] When searching for the associated plugin of the accessory 'Living Room Light' it seems like the plugin name changed from 'homebridge-smartthings-ik' to 'homebridge-smartthings-rp'. Plugin association is now being transformed!
[10/19/2022, 2:05:02 PM] [Smartthings Plug (IK)] Loading accessory from cache: Living Room Light
[10/19/2022, 2:05:02 PM] Homebridge v1.5.0 (HAP v0.10.2) (Smartthings Plug (IK)) is running on port 41365.
[10/19/2022, 2:05:02 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Family Room Light
[10/19/2022, 2:05:02 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Right Door
[10/19/2022, 2:05:02 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Left Door
[10/19/2022, 2:05:03 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Fountain
[10/19/2022, 2:05:03 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Entryway Light
[10/19/2022, 2:05:03 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Cat Light
[10/19/2022, 2:05:03 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Master Bathroom
[10/19/2022, 2:05:03 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Decoration
[10/19/2022, 2:05:03 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Front Yard Lights
[10/19/2022, 2:05:03 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Tower Light 1
[10/19/2022, 2:05:03 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Garage Light
[10/19/2022, 2:05:03 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Christmas Lights
[10/19/2022, 2:05:03 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Tower Light 2
[10/19/2022, 2:05:03 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Living Room Light
[10/19/2022, 2:05:03 PM] [Smartthings Plug (IK)] Right Door is offline
[10/19/2022, 2:05:03 PM] [Smartthings Plug (IK)] Left Door is offline
Plugin Config:
{
"name": "Smartthings Plug (IK)",
"BaseURL": "https://api.smartthings.com/v1/",
"AccessToken": "xxxxxxxx-yyyy-zzzz-wwww-vvvvvvvvvvvv",
"GarageDoorMaxPoll": 40,
"platform": "HomeBridgeSmartThings",
"IgnoreDevices": [
"Cat Light",
"Christmas Lights",
"Decoration",
"Fountain",
"Left Door",
"Right Door",
"Master Bathroom"
],
"_bridge": {
"username": "00:CC:DD:88:00:CC",
"port": 49125
}
}
Environment:
Plugin Version:
homebridge-smartthings-rp v1.1.7-beta.8
Homebridge Version:
1.5.0
Node.js Version:
v16.18.0
NPM Version:
6.14.8
Operating System:
Raspbian
hb-service: v4.50.1
Just installed the plugin and I'm excited. Regarding my access token: there are a LOT of checkboxes on Samsung's token creation page. Any recommendations on what to check besides "Devices" (and "Locations" if need as described in README)?
Reason I ask: all of my switches/bulbs were added to HK, but a few SmartThings leak and motion sensors are nowhere to be found. I'm wondering if that's something to do with my token (e.g., Device Profiles).
THANKS for your efforts - and I'm available to test if needed (I have numerous GE/Jasco/HomeSeer switches and a bunch of ST leak and motion sensors).
[10/26/2022, 1:53:00 PM] [homebridge-smartthings-ik] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics. See https://homebridge.io/w/JtMGR for more info.
[10/26/2022, 1:53:05 PM] [homebridge-smartthings-ik] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics. See https://homebridge.io/w/JtMGR for more info.
[10/26/2022, 1:53:10 PM] [homebridge-smartthings-ik] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics. See https://homebridge.io/w/JtMGR for more info.
[10/26/2022, 1:53:15 PM] [homebridge-smartthings-ik] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics. See https://homebridge.io/w/JtMGR for more info.
[10/26/2022, 1:53:20 PM] [homebridge-smartthings-ik] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics. See https://homebridge.io/w/JtMGR for more info.
[10/26/2022, 1:53:25 PM] [homebridge-smartthings-ik] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics. See https://homebridge.io/w/JtMGR for more info.
[10/26/2022, 1:53:30 PM] [homebridge-smartthings-ik] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics. See https://homebridge.io/w/JtMGR for more info.
[10/26/2022, 1:53:35 PM] [homebridge-smartthings-ik] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics. See https://homebridge.io/w/JtMGR for more info.
[10/26/2022, 1:53:40 PM] [homebridge-smartthings-ik] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics. See https://homebridge.io/w/JtMGR for more info.
[10/26/2022, 1:53:45 PM] [homebridge-smartthings-ik] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics. See https://homebridge.io/w/JtMGR for more info.
[10/26/2022, 1:53:50 PM] [homebridge-smartthings-ik] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics. See https://homebridge.io/w/JtMGR for more info.
[10/26/2022, 1:53:55 PM] [homebridge-smartthings-ik] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics. See https://homebridge.io/w/JtMGR for more info.
[10/26/2022, 1:54:00 PM] [homebridge-smartthings-ik] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics. See https://homebridge.io/w/JtMGR for more info.
Pardon my total idiocracy— how can I or could I get this plugin to work in Hoobs?
Is your feature request related to a problem? Please describe:
Please support the new Aeotec Button (available on Amazon) which is a replacement for the discontinued SmartThings button.
Describe the solution you'd like:
The button is simple, supports three states (single press, double press, long press). Implementation is to simply expose these states to HomeKit through HomeBridge using this great plugin you have going here.
Describe alternatives you've considered:
There is not other alternative that I can see. Other than creating yet another plugin. But yours is the best, most updated plugin in the ecosystem.
Additional context:
I'd be happy to purchase the Aeotec Button for you so you can have it to test with. Reach out and let me know how to do so.
return (status.temperatureMeasurement.temperature.value as number - 32) * (5/9) ; // Convert to Celcius
For some reason, the service assumes that Smartthings reposts in Fahrenheit. ST response has the unit value. and my value is already in Celcius
[10/27/2022, 9:55:41 AM] [Smartthings Plug (IK)] Poll failure on Water Main Leak
[10/27/2022, 9:55:46 AM] [Smartthings Plug (IK)] Water Main Leak returned bad value for status
[10/27/2022, 9:55:46 AM] [Smartthings Plug (IK)] Bad status from Water Main Leak
[10/27/2022, 9:55:46 AM] [Smartthings Plug (IK)] Poll failure on Water Main Leak
[10/27/2022, 9:55:51 AM] [Smartthings Plug (IK)] Water Main Leak returned bad value for status
[10/27/2022, 9:55:51 AM] [Smartthings Plug (IK)] Bad status from Water Main Leak
[10/27/2022, 9:55:51 AM] [Smartthings Plug (IK)] Poll failure on Water Main Leak
[10/27/2022, 9:55:56 AM] [Smartthings Plug (IK)] Water Main Leak returned bad value for status
[10/27/2022, 9:55:56 AM] [Smartthings Plug (IK)] Bad status from Water Main Leak
[10/27/2022, 9:55:56 AM] [Smartthings Plug (IK)] Poll failure on Water Main Leak
[10/27/2022, 9:56:01 AM] [Smartthings Plug (IK)] Water Main Leak returned bad value for status
[10/27/2022, 9:56:01 AM] [Smartthings Plug (IK)] Bad status from Water Main Leak
[10/27/2022, 9:56:01 AM] [Smartthings Plug (IK)] Poll failure on Water Main Leak
[10/27/2022, 9:56:06 AM] [Smartthings Plug (IK)] Water Main Leak returned bad value for status
[10/27/2022, 9:56:06 AM] [Smartthings Plug (IK)] Bad status from Water Main Leak
[10/27/2022, 9:56:06 AM] [Smartthings Plug (IK)] Poll failure on Water Main Leak
[10/27/2022, 9:56:11 AM] [Smartthings Plug (IK)] Water Main Leak returned bad value for status
[10/27/2022, 9:56:11 AM] [Smartthings Plug (IK)] Bad status from Water Main Leak
[10/27/2022, 9:56:11 AM] [Smartthings Plug (IK)] Poll failure on Water Main Leak
[10/27/2022, 9:56:16 AM] [Smartthings Plug (IK)] Water Main Leak returned bad value for status
[10/27/2022, 9:56:16 AM] [Smartthings Plug (IK)] Bad status from Water Main Leak
[10/27/2022, 9:56:16 AM] [Smartthings Plug (IK)] Poll failure on Water Main Leak
[10/27/2022, 9:56:21 AM] [Smartthings Plug (IK)] Water Main Leak returned bad value for status
[10/27/2022, 9:56:21 AM] [Smartthings Plug (IK)] Bad status from Water Main Leak
Current States
tamper: clear
battery: 99 %
water: dry
checkInterval: 29400 s
temperature: 74 F
Since upgrading to 1.4.2, I have been getting poll failures all most if not all of my devices, such as "Poll failure on Front Door Lights"
Does this support sensors?
I need to replace my aging smart things plugin which will not work after September 30 when the Groovie IDE is pulled.
Looking specifically for support of zwave and zigbee:
Motion, contact, temperature, and leak sensors.
Thank you in advance.
We're an iPhone family but I don't want to put the SmartThings app on all my kids' devices just to get presence detection because they get everything else that comes with it (namely the ability to modify devices). I want to use HomeKit with HomeBridge so I can create routines in SmartThings. To do so, I've added them to my house in HomeKit with minimal permissions. Then I'm using TAustin's vEdge Creator to create virtual switches and presence sensors, using HomeKit to turn a virtual switch on or off based on their presence, and a SmartThings routine to update the virtual presence sensor based on the switch.
Having extra virtual devices and automations works, albeit kludge. It would be great if your plugin added support for virtual presence sensors so I can cut out a few devices and automations on the SmartThings side.
First let me state thank you so much for adding this plugin. I've struggled to get smartthings integrated with homebridge ever since they did their remodel. For example my GE Smart bulbs all still WORK but if they lose pairing I don't see them in the list of supported devices to be readded BACK...I also had some zwave light switches I was considering replacing with wifi light switches until I found your plugin.
Describe The Bug:
On first run of homebridge after enabling the plugin the following issues were indicated (they appeared multiple times but I've only shown them once:
[06/06/2022, 13:07:43] [homebridge-smartthings-ik] This plugin threw an error from the characteristic 'Current Door State': Unhandled error thrown inside read handler for characteristic: undefined. See https://homebridge.io/w/JtMGR for more info.
[06/06/2022, 13:10:18] [homebridge-smartthings-ik] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
To Reproduce:
Enable plugin, restart homebridge and then try to turn on a zwave light switch.
Expected behavior:
Everything is working ok but the time for the zwave light switch to on was almost immediate..when I tried to turn it off right after that there was a significant delay.
Logs:
[06/06/2022, 13:07:41] [SwitchmateBLE] Web Server started on 50505
[06/06/2022, 13:07:41] Homebridge v1.4.1 (HAP v0.10.2) (Homebridge 62BA) is running on port 51841.
[06/06/2022, 13:07:41] [SwitchmateBLE] Discovered Hall Light:dd54e7c6dbe2 (1 of 1)
[06/06/2022, 13:07:41] [SwitchmateBLE] Discovered LCeiling Fan:e05a8d84e1c7 (1 of 1)
[06/06/2022, 13:07:42] [SwitchmateBLE] Discovered Garage Light:e545287f78cb (1 of 1)
[06/06/2022, 13:07:42] [Google Smart Home] Connected (1) - wss://homebridge-gsh.iot.oz.nu
[06/06/2022, 13:07:42] [Smartthings Plug (IK)] Registering new accessory: Bedroom Overhead Lamp 4
[06/06/2022, 13:07:42] [Smartthings Plug (IK)] Registering new accessory: Bathroom Closet A Lamp 1
[06/06/2022, 13:07:42] [Smartthings Plug (IK)] Registering new accessory: Hot Tub Light
[06/06/2022, 13:07:42] [Smartthings Plug (IK)] Registering new accessory: Living Room Overhead Lamp 1
[06/06/2022, 13:07:42] [Smartthings Plug (IK)] Registering new accessory: Kitchen Overhead Light
[06/06/2022, 13:07:42] [Smartthings Plug (IK)] Registering new accessory: Bedroom Overhead Lamp 2
[06/06/2022, 13:07:42] [Smartthings Plug (IK)] Registering new accessory: Linear GoControl Garage Door Opener
[06/06/2022, 13:07:42] [Smartthings Plug (IK)] Registering new accessory: Bathroom Closet B Lamp 1
[06/06/2022, 13:07:42] [Smartthings Plug (IK)] Registering new accessory: Bedroom Overhead Lamp 3
[06/06/2022, 13:07:42] [Smartthings Plug (IK)] Registering new accessory: Living Room Overhead Lamp 3
[06/06/2022, 13:07:42] [Smartthings Plug (IK)] Registering new accessory: Bedroom Overhead Lamp 1
[06/06/2022, 13:07:42] [Smartthings Plug (IK)] Registering new accessory: Kitchen Counter Light
[06/06/2022, 13:07:42] [Smartthings Plug (IK)] Registering new accessory: House Occupied
[06/06/2022, 13:07:42] [Smartthings Plug (IK)] Registering new accessory: Living Room Overhead Lamp 4
[06/06/2022, 13:07:42] [Smartthings Plug (IK)] Registering new accessory: Bathroom Closet B Lamp 2
[06/06/2022, 13:07:42] [Smartthings Plug (IK)] Registering new accessory: Bathroom Closet A Lamp 2
[06/06/2022, 13:07:42] [Smartthings Plug (IK)] Registering new accessory: Living Room Overhead Lamp 2
[06/06/2022, 13:07:43] [SwitchmateBLE] Discovered Switchmate Outlet A:deeb97738776 (1 of 1)
[06/06/2022, 13:07:43] [SwitchmateBLE] Discovered Kitchen LED Light:f39bbb942a17 (1 of 1)
[06/06/2022, 13:07:43] [SwitchmateBLE] Discovered Bathroom Vaniety:c99ef4e37b64 (1 of 1)
[06/06/2022, 13:07:43] [SwitchmateBLE] Discovered Bedroom Ceiling Fan:d0293d5b83fc (1 of 1)
[06/06/2022, 13:07:43] [homebridge-smartthings-ik] This plugin threw an error from the characteristic 'Current Door State': Unhandled error thrown inside read handler for characteristic: undefined. See https://homebridge.io/w/JtMGR for more info.
[06/06/2022, 13:07:57] [homebridge-smartthings-ik] This plugin threw an error from the characteristic 'Current Door State': Unhandled error thrown inside read handler for characteristic: undefined. See https://homebridge.io/w/JtMGR for more info.
[06/06/2022, 13:07:58] [Alexa] alexaDiscovery - returned 91 devices
[06/06/2022, 13:08:06] [Google Smart Home] Finished instance discovery
[06/06/2022, 13:08:06] [Google Smart Home] Not registering Linear GoControl Garage Door Opener - Pin cide has not been set and is required for secure GarageDoorOpener accessory types. See https://git.io/JUQWX
[06/06/2022, 13:08:19] [SwitchmateBLE] [SwitchmateBLE:Switch:3] Connecting to dd54e7c6dbe2
[06/06/2022, 13:08:20] [SwitchmateBLE] [SwitchmateBLE:Switch:3] Connected to dd54e7c6dbe2
[06/06/2022, 13:08:21] [Google Smart Home] Sending Sync Request
[06/06/2022, 13:08:22] [Google Smart Home] Received SYNC intent
[06/06/2022, 13:08:24] [Google Smart Home] Received QUERY intent
[06/06/2022, 13:08:28] [SwitchmateBLE] [SwitchmateBLE:Outlet] Found deeb97738776 (1654535263087)
[06/06/2022, 13:08:28] [SwitchmateBLE] [SwitchmateBLE:Outlet] Connecting to deeb97738776 (1654535263087)
[06/06/2022, 13:08:30] [SwitchmateBLE] [SwitchmateBLE:Outlet] Connected to deeb97738776 (1654535263087)
[06/06/2022, 13:08:43] [Alexa] alexaDiscovery - returned 91 devices
[06/06/2022, 13:10:06] [Alexa] PowerController TurnOff B8:27:EB:FD:D7:D8 undefined null
[06/06/2022, 13:10:16] [Alexa] PowerController TurnOn B8:27:EB:FD:D7:D8 undefined null
[06/06/2022, 13:10:16] [homebridge-smartthings-ik] This plugin threw an error from the characteristic 'Current Door State': Unhandled error thrown inside read handler for characteristic: undefined. See https://homebridge.io/w/JtMGR for more info.
[06/06/2022, 13:10:18] [homebridge-smartthings-ik] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[06/06/2022, 13:10:18] [homebridge-smartthings-ik] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[06/06/2022, 13:10:18] [homebridge-smartthings-ik] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[06/06/2022, 13:10:18] [homebridge-smartthings-ik] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[06/06/2022, 13:10:18] [homebridge-smartthings-ik] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[06/06/2022, 13:10:18] [homebridge-smartthings-ik] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[06/06/2022, 13:10:18] [homebridge-smartthings-ik] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[06/06/2022, 13:10:18] [homebridge-smartthings-ik] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[06/06/2022, 13:10:18] [homebridge-smartthings-ik] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[06/06/2022, 13:10:18] [homebridge-smartthings-ik] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[06/06/2022, 13:10:18] [homebridge-smartthings-ik] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[06/06/2022, 13:10:28] [Alexa] PowerController TurnOn B8:27:EB:FD:D7:D8 undefined null
[06/06/2022, 13:22:39] [homebridge-smartthings-ik] This plugin threw an error from the characteristic 'Current Door State': Unhandled error thrown inside read handler for characteristic: undefined. See https://homebridge.io/w/JtMGR for more info.
[06/06/2022, 13:22:57] [homebridge-smartthings-ik] This plugin threw an error from the characteristic 'Current Door State': Unhandled error thrown inside read handler for characteristic: undefined. See https://homebridge.io/w/JtMGR for more info.
[06/06/2022, 13:23:06] [Google Smart Home] Not registering Linear GoControl Garage Door Opener - Pin cide has not been set and is required for secure GarageDoorOpener accessory types. See https://git.io/JUQWX
Plugin Config:
"bridge": {
"name": "Homebridge 62BA",
"username": "REMOVED",
"port": 51841,
"pin": "REMOVED",
"advertiser": "ciao",
"bind": [
"eth0"
]
},
"accessories": [
{
"accessory": "BroadlinkHttp",
"name": "Phone Charger",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/BL-03303%20on",
"off_url": "http://192.168.3.122:19876/code/BL-03303%20off",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Living Room Set A",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/BL-03223%20on",
"off_url": "http://192.168.3.122:19876/code/BL-03223%20off",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Living Room Set B",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/BL-03222%20on",
"off_url": "http://192.168.3.122:19876/code/BL-03222%20off",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Living Room Diffuser",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/BL-03301%20on",
"off_url": "http://192.168.3.122:19876/code/BL-03301%20off",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Treadmill Light",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/BL-03302%20on",
"off_url": "http://192.168.3.122:19876/code/BL-03302%20off",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Office Light",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/BL-03161%20on",
"off_url": "http://192.168.3.122:19876/code/BL-03161%20off",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Bedroom Box Fan",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/BL-03162%20on",
"off_url": "http://192.168.3.122:19876/code/BL-03162%20off",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Bedroom Display Case",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/BL-03304%20on",
"off_url": "http://192.168.3.122:19876/code/BL-03304%20off",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Bedroom Input 1",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/BedroomInput1%20on",
"off_url": "http://192.168.3.122:19876/code/BedroomInput1%20off",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Bedroom Input 2",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/BedroomInput2%20on",
"off_url": "http://192.168.3.122:19876/code/BedroomInput2%20off",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Bedroom Input 3",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/BedroomInput3%20on",
"off_url": "http://192.168.3.122:19876/code/BedroomInput3%20off",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Bedroom Roku",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/Bedroom%20Roku%20on",
"off_url": "http://192.168.3.122:19876/code/Bedroom%20Roku%20off",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Bedroom Roku Asterisk",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/Bedroom%20Roku%20Asterisk%20on",
"off_url": "",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Bedroom Roku Back",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/Bedroom%20Roku%20Back%20on",
"off_url": "",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Bedroom Roku Down",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/Bedroom%20Roku%20Down%20on",
"off_url": "",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Bedroom Roku Home",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/Bedroom%20Roku%20Home%20on",
"off_url": "",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Bedroom Roku hulu",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/Bedroom%20Roku%20hulu%20on",
"off_url": "",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Bedroom Roku Left",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/Bedroom%20Roku%20Left%20on",
"off_url": "",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Bedroom Roku Mute",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/Bedroom%20Roku%20Mute%20on",
"off_url": "http://192.168.3.122:19876/code/Bedroom%20Roku%20Mute%20off",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Bedroom Roku Netflix",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/Bedroom%20Roku%20Netflix%20on",
"off_url": "",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Bedroom Roku Next",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/Bedroom%20Roku%20Next%20on",
"off_url": "",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Bedroom Roku Ok",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/Bedroom%20Roku%20Ok%20on",
"off_url": "",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Bedroom Roku Pause",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/Bedroom%20Roku%20Pause%20on",
"off_url": "",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Bedroom Roku Play",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/Bedroom%20Roku%20Play%20on",
"off_url": "",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Bedroom Roku Prev",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/Bedroom%20Roku%20Prev%20on",
"off_url": "",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Bedroom Roku Right",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/Bedroom%20Roku%20Right%20on",
"off_url": "",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Bedroom Roku Sling",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/Bedroom%20Roku%20Sling%20on",
"off_url": "",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Bedroom Roku Starz",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/Bedroom%20Roku%20Startz%20on",
"off_url": "",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Bedroom Roku Up",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/Bedroom%20Roku%20Up%20on",
"off_url": "",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Bedroom Roku Volume Down",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/Bedroom%20Roku%20Volume%20Down%20on",
"off_url": "",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Bedroom Roku Volume Up",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/Bedroom%20Roku%20Volume%20Up%20on",
"off_url": "",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Taotronics Soundbar",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/Taotronics%20Soundbar%20on",
"off_url": "http://192.168.3.122:19876/code/Taotronics%20Soundbar%20off",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Taotronics Soundbar Audio",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/Taotronics%20Soundbar%20Audio%20on",
"off_url": "",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Taotronics Soundbar Aux",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/Taotronics%20Soundbar%20Aux%20on",
"off_url": "",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Taotronics Soundbar Bluetooth",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/Taotronics%20Soundbar%20Bluetooth%20on",
"off_url": "http://192.168.3.122:19876/code/Taotronics%20Soundbar%20Bluetooth%20on",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Taotronics Soundbar Coax",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/Taotronics%20Soundbar%20Coax%20on",
"off_url": "http://192.168.3.122:19876/code/Taotronics%20Soundbar%20Coax%20off",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Taotronics Soundbar Mute",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/Taotronics%20Soundbar%20Mute%20on",
"off_url": "http://192.168.3.122:19876/code/Taotronics%20Soundbar%20Mute%20off",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Taotronics Soundbar Toslink",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/Taotronics%20Soundbar%20Toslink%20on",
"off_url": "http://192.168.3.122:19876/code/Taotronics%20Soundbar%20Toslink%20off",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Taotronics Soundbar Volume Down",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/Taotronics%20Soundbar%20Volume&20Down%20on",
"off_url": "http://192.168.3.122:19876/code/Taotronics%20Soundbar%20Volume&20Down%20off",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Taotronics Soundbar Volume Up",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/Taotronics%20Soundbar%20Volume&20Up%20on",
"off_url": "http://192.168.3.122:19876/code/Taotronics%20Soundbar%20Volume&20Up%20off",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Taotronics Soundbar Next",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/Taotronics%20Soundbar%20Next%20on",
"off_url": "",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Taotronics Soundbar Prev",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/Taotronics%20Soundbar%20Prev&20on",
"off_url": "",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Bedroom Lights",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/BL-03225%20on",
"off_url": "http://192.168.3.122:19876/code/BL-03225%20off",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Living Room Receiver Mute",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/Living%20Room%20Receiver%20Mute%20on",
"off_url": "http://192.168.3.122:19876/code/Living%20Room%20Receiver%20Mute%20off",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "3D Printer",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/BL-03151%20on",
"off_url": "http://192.168.3.122:19876/code/BL-03151%20off",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Cat Light",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/BL-03163%20on",
"off_url": "http://192.168.3.122:19876/code/BL-03163%20off",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Treadmill Soundbar",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/Treadmill%20Soundbar%20on",
"off_url": "http://192.168.3.122:19876/code/Treadmill%20Soundbar%20off",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Treadmill Fan",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/Treadmill%20Fan%20on",
"off_url": "http://192.168.3.122:19876/code/Treadmill%20Fan%20off",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Fan Speed2 High",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/Fan%20Speed2%20High%20on",
"off_url": "http://192.168.3.122:19876/code/Fan%20Speed2%20High%20off",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Fan Speed2 Medium",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/Fan%20Speed2%20Medium%20on",
"off_url": "http://192.168.3.122:19876/code/Fan%20Speed2%20Medium%20off",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Bedroom Soundbar",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/TCL%20Soundbar%20on",
"off_url": "http://192.168.3.122:19876/code/TCL%20Soundbar%20on",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Bedroom Soundbar Power",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/TCL%20Soundbar%20on",
"off_url": "http://192.168.3.122:19876/code/TCL%20Soundbar%20on",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Bedroom Soundbar Up",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/TCL%20Soundbar%20+%20on",
"off_url": "http://192.168.3.122:19876/code/TCL%20Soundbar%20+%20on",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Bedroom Soundbar Down",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/TCL%20Soundbar%20-%20on",
"off_url": "http://192.168.3.122:19876/code/TCL%20Soundbar%20-%20on",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Bedroom Soundbar Back",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/TCL%20Soundbar%20Back%20on",
"off_url": "http://192.168.3.122:19876/code/TCL%20Soundbar%20Back%20on",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Bedroom Soundbar Forward",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/TCL%20Soundbar%20Forward%20on",
"off_url": "http://192.168.3.122:19876/code/TCL%20Soundbar%20Forward%20on",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Bedroom Soundbar Bluetooth",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/TCL%20Soundbar%20Bluetooth%20on",
"off_url": "http://192.168.3.122:19876/code/TCL%20Soundbar%20Bluetooth%20on",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Bedroom Soundbar Input",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/TCL%20Soundbar%20Input%20on",
"off_url": "http://192.168.3.122:19876/code/TCL%20Soundbar%20Input%20on",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Bedroom Soundbar Mute",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/TCL%20Soundbar%20Mute%20on",
"off_url": "http://192.168.3.122:19876/code/TCL%20Soundbar%20Mute%20on",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Bedroom Soundbar Play",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/TCL%20Soundbar%20Play%20on",
"off_url": "http://192.168.3.122:19876/code/TCL%20Soundbar%20Play%20on",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Bedroom Soundbar Pause",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/TCL%20Soundbar%20Pause%20on",
"off_url": "http://192.168.3.122:19876/code/TCL%20Soundbar%20Pause%20on",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Bedroom Soundbar Movie",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/TCL%20Soundbar%20Movie%20on",
"off_url": "http://192.168.3.122:19876/code/TCL%20Soundbar%20Movie%20on",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Bedroom Soundbar Music",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/TCL%20Soundbar%20Music%20on",
"off_url": "http://192.168.3.122:19876/code/TCL%20Soundbar%20Music%20on",
"service": "Switch"
},
{
"accessory": "BroadlinkHttp",
"name": "Bedroom Soundbar TV",
"switchHandling": "no",
"http_method": "GET",
"on_url": "http://192.168.3.122:19876/code/TCL%20Soundbar%20TV%20on",
"off_url": "http://192.168.3.122:19876/code/TCL%20Soundbar%20TV%20on",
"service": "Switch"
}
],
"platforms": [
{
"name": "Config",
"port": 8122,
"auth": "form",
"theme": "auto",
"tempUnits": "f",
"lang": "auto",
"platform": "config"
},
{
"name": "Google Smart Home",
"token": "REMOVED",
"notice": "Keep your token a secret!",
"forceFahrenheit": true,
"platform": "google-smarthome"
},
{
"name": "SwitchmateBLE",
"platform": "SwitchmateBLE",
"http": 50505,
"httpUser": "REMOVED",
"httpPass": "REMOVED",
"devices": [
{
"name": "Hall Light",
"id": "dd54e7c6dbe2"
},
{
"name": "Kitchen LED Light",
"id": "f39bbb942a17",
"authCode": "PSANjA=="
},
{
"name": "Bathroom Vaniety",
"id": "c99ef4e37b64",
"authCode": "3eUv3g=="
},
{
"name": "Bedroom Ceiling Fan",
"id": "d0293d5b83fc",
"authCode": "gZz04g=="
},
{
"name": "SM2",
"id": "e1293ccbc3db",
"authCode": "G5PHJQ=="
},
{
"name": "Unresponsive1",
"id": "ccc8c94e8929",
"authCode": "cH9Tmg=="
},
{
"name": "LCeiling Fan",
"id": "e05a8d84e1c7",
"authCode": "md5fHQ=="
},
{
"name": "Garage Light",
"id": "e545287f78cb",
"authCode": "8+42LQ=="
},
{
"name": "Switchmate Outlet A",
"id": "deeb97738776"
}
]
},
{
"name": "Alexa",
"username": "REMOVED",
"password": "REMOVED",
"pin": "REMOVED",
"routines": false,
"blind": false,
"door": false,
"debug": false,
"deviceListHandling": "allow",
"platform": "Alexa"
},
{
"name": "Smartthings Plug (IK)",
"BaseURL": "https://api.smartthings.com/v1/",
"AccessToken": "REMOVED",
"GarageDoorMaxPoll": 40,
"platform": "HomeBridgeSmartThings"
}
]
}
Screenshots:
N/A
Environment:
There is no clear set of instructions that I can find on how to install. I see the one on how to configure, but I'm wondering if you have installation instructions anywhere?
Is there anyway to have it ignore certain devices? I have a hub at my office and my home and it is adding all the devices from both.
Is your feature request related to a problem? Please describe:
I have three of the Samsung GP-U999SJVLCAA SmartThings Water Leak Sensors
Amazon Link:
https://www.amazon.com/Samsung-GP-U999SJVLCAA-Smart-things-Sensor/dp/B07F951JDP
They are currently coming into Homebridge through the iklein99 Plugin as Temp Sensors and not as leak sensors.
Describe the solution you'd like:
Can you add support for leak sensors?
In the native SmartThings App, they show Water Sensor - Wet/Dry, Temp, and the Battery level
In HomeBridge / HomeKIt they are only showing Temp and Battery Level and they are not recognized as Leak Sensors.
Is it possible to add the contact sensor capability into the lock settings?
Is your feature request related to a problem? Please describe:
Please add support for SmartThings Momentary Switches
Describe the solution you'd like:
Add to new release
Describe alternatives you've considered:
Additional context:
Is your feature request related to a problem? Please describe:
The lighting controls work great for turning light bulbs and switches on and off. But I loose the additional lighting controls ie. dimming a switch or changing the color temperature of a light bulb.
Describe the solution you'd like:
When clicking on a dimmer light switch, I’m normally given the option to select switch on or off and the brightness associated with that switch. For a bulb, I can select and I’m given brightness control as well as color temperature for that bulb.
Describe alternatives you've considered:
I’m currently using the Smartthings V2 plugin knowing that the service will stop working on September 30th. I’m hoping to switch over to this plug-in but do not want to loose the functionality of my devices.
Additional context:
First off, thank you very much for all your hard work on this plugin. I'm having a couple of issues with switches and lights.
If I turn on/off a light switch via a physical switch in my house, Alexa, or the smartThings app the status does not update in the HomeKit app. The only way to get it to update is to either force quit the app or use the app switcher to switch to another app and then back to the HomeKit app.
I have some virtual switches that were pulled in through the plugin to automate the STHM. I'm using the homebridge security system plugin so it turns on the alarm. The problem is that since it is not updating right away the automation won't work.
On iOS 16, the new widgets on the lock screen are not working correctly. If I turn 30 lights on at my house and then later turn them all off the widget will still show 30 lights on. The only way I can get it to update correctly is to turn a single light on and then off.
I'm assuming all of these issues are because the plugin is not updating the status right away. I'm noticing this on iOS 15.7 as well as iOS 16. I'm wondering if there is a way to speed up the updating status time for lights/switches or maybe add a polling feature like you have for garage doors and locks because those seem to update instantly on my device in HomeKit. Thanks again for all of your work on this plugin!
@iklein99, Thank you! So far your plug-in is working wonderfully for getting all of my SmartThings inside Homebridge Without using the Groovy IDE - Great work!
The plug-in is throwing some errors - not sure why - it does not appear to be impacting the working of the plug-in but they do appear very frequently in the logs.
Logs:
[16/10/2022, 11:58:31] [homebridge-smartthings-ik] This plugin threw an error from the characteristic 'Lock Target State': Unhandled error thrown inside read handler for characteristic: Cannot read properties of undefined (reading 'lock'). See https://homebridge.io/w/JtMGR for more info.
[16/10/2022, 11:58:31] [homebridge-smartthings-ik] This plugin threw an error from the characteristic 'Lock Target State': Unhandled error thrown inside read handler for characteristic: Cannot read properties of undefined (reading 'lock'). See https://homebridge.io/w/JtMGR for more info.
[16/10/2022, 11:58:31] [homebridge-smartthings-ik] This plugin threw an error from the characteristic 'Lock Target State': Unhandled error thrown inside read handler for characteristic: Cannot read properties of undefined (reading 'lock'). See https://homebridge.io/w/JtMGR for more info.
[16/10/2022, 11:58:31] [homebridge-smartthings-ik] This plugin threw an error from the characteristic 'Lock Target State': Unhandled error thrown inside read handler for characteristic: Cannot read properties of undefined (reading 'lock'). See https://homebridge.io/w/JtMGR for more info.
Plugin Config:
{
"name": "Smartthings Plug (IK)",
"BaseURL": "https://api.smartthings.com/v1/",
"AccessToken": “XXXXXXXXXXXXXX”,
"GarageDoorMaxPoll": 40,
"PollLocksSeconds": 10,
"PollDoorsSeconds": 10,
"PollSensorsSeconds": 5,
"PollSwitchesAndLightsSeconds": 10,
"platform": "HomeBridgeSmartThings"
}
Is your feature request related to a problem? Please describe:
My Nanoleaf light panels are already in the HomeKit (via direct integration)
Connecting ST creates a device's twin
Describe the solution you'd like:
please add ignore devices section for virtual devices and devices already integrated
"platform": "HomeBridgeSmartThings",
"IgnoreDevices": [ "Light Panels" ]
The SmartThings child bridge is now constantly cycling up and down v.131 and v.132.
I think this has started happening since I re-attached a Fibaro Motion Sensor to SmartThings:
[9/29/2022, 4:44:07 PM] [Smartthings Plug (IK)] Restarting Process...
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Launched child bridge with PID 31472
[9/29/2022, 4:44:08 PM] Registering platform 'homebridge-smartthings-ik.HomeBridgeSmartThings'
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Loaded homebridge-smartthings-ik v1.3.2 child bridge successfully
[9/29/2022, 4:44:08 PM] Loaded 27 cached accessories from cachedAccessories.0EEFD6C88382.
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Loading accessory from cache: Lounge Corner
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Loading accessory from cache: Landing Plug
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Loading accessory from cache: Conservatory Dimmer
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Loading accessory from cache: Downstairs Loo Light
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Loading accessory from cache: Fire Alarm Plug
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Loading accessory from cache: Lounge Temp Virtual Switch
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Loading accessory from cache: Cinema Room Spotlight
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Loading accessory from cache: Conservatory 2
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Loading accessory from cache: Lounge Window
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Loading accessory from cache: If Smoke Alarms Activated
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Loading accessory from cache: Conservatory 3
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Loading accessory from cache: Office Light
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Loading accessory from cache: Bedroom Fan
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Loading accessory from cache: Porch Light
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Loading accessory from cache: Office Lamp
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Loading accessory from cache: Conservatory 5
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Loading accessory from cache: Lounge Plug 2
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Loading accessory from cache: Conservatory 6
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Loading accessory from cache: Fire Alarm Virtual Lock
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Loading accessory from cache: Conservatory 1
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Loading accessory from cache: Bedroom Light
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Loading accessory from cache: Office Plug
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Loading accessory from cache: Lounge Plug
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Loading accessory from cache: Conservatory 4
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Loading accessory from cache: Bedroom Motion Sensor
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Loading accessory from cache: Fibaro Motion Sensor
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Loading accessory from cache: Loo Motion Sensor
[9/29/2022, 4:44:08 PM] Homebridge v1.5.0 (HAP v0.10.2) (Smartthings Plug (IK)) is running on port 50726.
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Lounge Corner
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Landing Plug
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Conservatory Dimmer
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Bedroom Motion Sensor
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Fibaro Motion Sensor
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Downstairs Loo Light
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Fire Alarm Plug
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Lounge Temp Virtual Switch
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Cinema Room Spotlight
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Loo Motion Sensor
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Conservatory 2
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Lounge Window
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: If Smoke Alarms Activated
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Conservatory 3
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Office Light
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Bedroom Fan
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Porch Light
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Office Lamp
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Conservatory 5
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Lounge Plug 2
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Conservatory 6
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Fire Alarm Virtual Lock
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Conservatory 1
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Bedroom Light
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Office Plug
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Lounge Plug
[9/29/2022, 4:44:08 PM] [Smartthings Plug (IK)] Restoring existing accessory from cache: Conservatory 4
[9/29/2022, 4:44:09 PM] [Smartthings Plug (IK)] Conservatory Dimmer is offline
[9/29/2022, 4:44:09 PM] [Smartthings Plug (IK)] Conservatory Dimmeris offline
[9/29/2022, 4:44:09 PM] [Smartthings Plug (IK)] Cinema Room Spotlight is offline
[9/29/2022, 4:44:09 PM] [Smartthings Plug (IK)] Cinema Room Spotlightis offline
[9/29/2022, 4:44:09 PM] [Smartthings Plug (IK)] If Smoke Alarms Activated is offline
[9/29/2022, 4:44:09 PM] [Smartthings Plug (IK)] Office Light is offline
[9/29/2022, 4:44:09 PM] [Smartthings Plug (IK)] Office Lightis offline
[9/29/2022, 4:44:09 PM] [Smartthings Plug (IK)] Office Lamp is offline
[9/29/2022, 4:44:09 PM] [Smartthings Plug (IK)] Office Lampis offline
[9/29/2022, 4:44:09 PM] [Smartthings Plug (IK)] Bedroom Motion Sensor is offline
Error: HAP Status Error: -70402
at new HapStatusError (/volume1/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/hapStatusError.ts:15:5)
at /volume1/homebridge/node_modules/homebridge-smartthings-ik/src/sensorAccessory.ts:139:17
at processTicksAndRejections (node:internal/process/task_queues:96:5)
[9/29/2022, 4:44:09 PM] [Smartthings Plug (IK)] Child bridge process ended
[9/29/2022, 4:44:09 PM] [Smartthings Plug (IK)] Process Ended. Code: 1, Signal: null
Hope that's helpful, let me know if I can provide any more info.
Describe The Bug:
No plugin was found for the platform "HomeBridgeSmartThings" in your config.json. Please make sure the corresponding plugin is installed correctly.
To Reproduce:
Restart homebridge and watch the log
I installed Homebridge using this:
sudo apt-get install homebridge
I installed the plugin using this:
sudo su
sudo hb-shell
npm -v
npm i https://github.com/iklein99/homebridge-smartthings
Expected behavior:
To automatically detect Smarttthings devices/accessory
Logs:
Show the Homebridge logs here, remove any sensitive information.
[8/4/2022, 3:55:41 PM] ====================
[8/4/2022, 3:55:41 PM] ERROR LOADING PLUGIN homebridge-smartthings-ik:
[8/4/2022, 3:55:41 PM] Error: Cannot find module '/var/lib/homebridge/node_modules/homebridge-smartthings-ik/dist/index.js'
Require stack:
[8/4/2022, 3:55:41 PM] Homebridge v1.5.0 (HAP v0.10.2) (Homebridge 90C2) is running on port 51800.
[8/4/2022, 4:04:21 PM] [Homebridge UI] Homebridge restart request received
[8/4/2022, 4:04:21 PM] [Homebridge UI] UI / Bridge settings have not changed; only restarting Homebridge process
[8/4/2022, 4:04:21 PM] [Homebridge UI] Sending SIGTERM to Homebridge
[8/4/2022, 4:04:21 PM] Got SIGTERM, shutting down Homebridge...
[8/4/2022, 4:04:26 PM] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[8/4/2022, 4:04:31 PM] [HB Supervisor] Restarting Homebridge...
[8/4/2022, 4:04:31 PM] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules --strict-plugin-resolution
[8/4/2022, 4:04:31 PM] [HB Supervisor] Started Homebridge v1.5.0 with PID: 3735
[8/4/2022, 4:04:31 PM] Loaded config.json with 0 accessories and 2 platforms.
[8/4/2022, 4:04:31 PM] Loaded 0 cached accessories from cachedAccessories.
[8/4/2022, 4:04:31 PM] ---
[8/4/2022, 4:04:31 PM] ====================
[8/4/2022, 4:04:31 PM] ERROR LOADING PLUGIN homebridge-smartthings-ik:
[8/4/2022, 4:04:31 PM] Error: Cannot find module '/var/lib/homebridge/node_modules/homebridge-smartthings-ik/dist/index.js'
Require stack:
Plugin Config:
{
"name": "Smartthings Plug (IK)",
"BaseURL": "https://api.smartthings.com/v1/",
"AccessToken": "xxx",
"GarageDoorMaxPoll": 40,
"platform": "HomeBridgeSmartThings"
}```
**Screenshots:**
<!-- If applicable, add screenshots to help explain your problem. -->
**Environment:**
* **Plugin Version**: homebridge-smartthings-ik v1.1.7-beta.6
* **Homebridge Version**: v1.5.0
* **Node.js Version**: v1.5.0
* **NPM Version**: v1.5.0
* **Operating System**: Ubuntu 22.04 LTS
<!-- Click the "Preview" tab before you submit to ensure the formatting is correct. -->
I have a Yale Smart Lock with Z-wave module and it all works really well. The only issue now is that the lock state is stuck on "unlocking" even after the auto-lock has taken place. It seems like the event from smartthings does not then update the lock status.
Log is full of these before it reloads
[9/18/2022, 2:09:47 PM] Error: HAP Status
Error: -70402
at new HapStatusError /var/lib/homebr idge/node_modules/.pnpm/[email protected]/ node modules/hap-nodejs/src/lib/util/hapSt atusError.ts:15:5)
at /var/lib/homebridge/node_ modules/.p npm/[email protected]/node_m odules/homebridge-smartthings-ik/src/senso rAccessory.ts:80:23
at new Promise ()
at SensorAccessory.requestStatus /var /lib/homebridge/node_modules/.pnpm/homebri [email protected]/node_modules/home bridge-smartthings-ik/src/sensorAccessory.
ts:77:12)
at sensorAccessory.getMotion (/var/lib /homebridge/node_modules/.pnpm/[email protected]/node_modules/homebrid ge-smartthings-ik/src/sensorAccessory.ts:1
09:37)
at Timeout.
onTimeout /var/lib/homebr
idge/node_modules/.pnpm/homebridge-smartth [email protected]/node_ modules/homebridge-smar tthings-ik/src/sensorAccessory.ts:56:14)
at listOnTimeout node:internal/timers
:559:17)
at processTimers node:internal/timers
:502:7)
Describe The Bug:
Attempting to install any version of the plugin results in a failure.
To Reproduce:
Attempt to install plugin from either the Homebridge UI or Terminal results in the same error - see logs.
Expected behavior:
Plugin will successfully install.
Logs:
2006 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/unzipper Completed in 350305ms
2007 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/@fastify/middie Completed in 351002ms
2008 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/@nestjs/axios Completed in 350974ms
2009 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/engine.io-parser Completed in 351974ms
2010 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/binary Completed in 354544ms
2011 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/fast-uri Completed in 354186ms
2012 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/fastify-plugin Completed in 354135ms
2013 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/@fastify/busboy Completed in 354154ms
2014 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/@fastify/helmet Completed in 354150ms
2015 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/bl/node_modules/readable-stream Completed in 354847ms
2016 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/passport-jwt Completed in 355259ms
2017 timing reifyNode:node_modules/homebridge-smartthings-ik Completed in 358048ms
2018 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/tar-fs Completed in 357698ms
2019 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/passport Completed in 357397ms
2020 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/engine.io Completed in 358429ms
2021 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/unzipper/node_modules/readable-stream Completed in 358126ms
2022 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/reflect-metadata Completed in 359893ms
2023 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/@nestjs/jwt Completed in 361111ms
2024 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/cron-parser Completed in 361830ms
2025 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/consola Completed in 361802ms
2026 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/tar Completed in 364558ms
2027 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/bonjour-service Completed in 366456ms
2028 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/thread-stream Completed in 367026ms
2029 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/@oznu/hap-client Completed in 370287ms
2030 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/readable-stream Completed in 370673ms
2031 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/fs-extra Completed in 371423ms
2032 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/source-map Completed in 372330ms
2033 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/semver Completed in 372166ms
2034 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/avvio Completed in 372707ms
2035 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/@fastify/multipart Completed in 373681ms
2036 http fetch GET 200 https://registry.npmjs.org/@nestjs/websockets/-/websockets-9.0.8.tgz 281145ms (cache miss)
2037 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/js-yaml Completed in 376555ms
2038 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/@nestjs/websockets Completed in 376938ms
2039 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/iterare Completed in 377236ms
2040 http fetch GET 200 https://registry.npmjs.org/systeminformation/-/systeminformation-5.12.3.tgz 290005ms (cache miss)
2041 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/systeminformation Completed in 378517ms
2042 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/bluebird Completed in 387553ms
2043 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/uri-js Completed in 388547ms
2044 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/nan Completed in 389305ms
2045 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/xregexp Completed in 390114ms
2046 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/uuid Completed in 390944ms
2047 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/@nestjs/passport Completed in 396381ms
2048 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/axios Completed in 397480ms
2049 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/socket.io Completed in 397913ms
2050 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/helmet Completed in 401479ms
2051 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/fast-json-stringify Completed in 402985ms
2052 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/find-my-way Completed in 404326ms
2053 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/text-decoding Completed in 407382ms
2054 http fetch GET 200 https://registry.npmjs.org/@fastify/static/-/static-6.5.0.tgz 318772ms (cache miss)
2055 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/@fastify/static Completed in 417035ms
2056 http fetch GET 200 https://registry.npmjs.org/@types/node/-/node-18.7.1.tgz 348834ms (cache miss)
2057 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/@types/node Completed in 422915ms
2058 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/pino Completed in 431957ms
2059 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/luxon Completed in 441047ms
2060 http fetch GET 200 https://registry.npmjs.org/@nestjs/swagger/-/swagger-6.0.5.tgz 348317ms (cache miss)
2061 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/@nestjs/swagger Completed in 442216ms
2062 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/validator Completed in 450682ms
2063 http fetch GET 200 https://registry.npmjs.org/@nestjs/core/-/core-9.0.8.tgz 369515ms (cache miss)
2064 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/@nestjs/core Completed in 466621ms
2065 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/class-transformer Completed in 473518ms
2066 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/@fastify/swagger Completed in 485619ms
2067 http fetch GET 200 https://registry.npmjs.org/@nestjs/common/-/common-9.0.8.tgz 393252ms (cache miss)
2068 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/@nestjs/common Completed in 491149ms
2069 http fetch GET 200 https://registry.npmjs.org/fastify/-/fastify-4.3.0.tgz 402755ms (cache miss)
2070 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/fastify Completed in 495336ms
2071 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/@babel/runtime-corejs3 Completed in 508408ms
2072 http fetch GET 200 https://registry.npmjs.org/dayjs/-/dayjs-1.11.4.tgz 420843ms (cache miss)
2073 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/dayjs Completed in 513243ms
2074 http fetch GET 200 https://registry.npmjs.org/swagger-ui-dist/-/swagger-ui-dist-4.13.2.tgz 440298ms (cache miss)
2075 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/swagger-ui-dist Completed in 514924ms
2076 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/ajv Completed in 517929ms
2077 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/node-pty-prebuilt-multiarch Completed in 520875ms
2078 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/lodash Completed in 549708ms
2079 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/class-validator Completed in 557966ms
2080 http fetch GET 200 https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.10.12.tgz 490353ms (cache miss)
2081 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/libphonenumber-js Completed in 560967ms
2082 http fetch GET 200 https://registry.npmjs.org/homebridge-config-ui-x/-/homebridge-config-ui-x-4.50.1.tgz 502292ms (cache miss)
2083 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/homebridge-config-ui-x Completed in 600500ms
2084 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/rxjs Completed in 629606ms
2085 timing reifyNode:node_modules/homebridge-smartthings-ik/node_modules/core-js-pure Completed in 635469ms
2086 timing reify:unpack Completed in 635528ms
2087 timing reify:rollback:createSparse Completed in 62279ms
2088 timing reify:rollback:retireShallow Completed in 1ms
2089 timing command:install Completed in 883153ms
2090 verbose stack Error: process terminated
2090 verbose stack at /opt/homebridge/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:198:39
2090 verbose stack at process. (/opt/homebridge/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/signal-handling.js:51:5)
2090 verbose stack at process.emit (node:events:539:35)
2091 verbose cwd /var/lib/homebridge
2092 verbose Linux 5.15.32+
2093 verbose node v16.16.0
2094 verbose npm v8.11.0
2095 error process terminated
2096 error signal SIGTERM
2097 verbose exit 1
2098 timing npm Completed in 886521ms
2099 verbose unfinished npm timer reify 1660246132958
2100 verbose code 1
2101 error A complete log of this run can be found in:
2101 error /home/pi/.npm/_logs/2022-08-11T19_28_49_748Z-debug-0.log
Plugin Config:
[JSON not yet configured because install has not completed.]
Screenshots:
Environment:
The dedication to improving and supporting this plugin is first class. You should add donation capabilities so people can show their appreciation. Even if doing for fun, can’t hurt to allow people to show their appreciation.
Is your feature request related to a problem? Please describe:
Duplicate items
Describe the solution you'd like:
Sometimes there are devices that are already showing up in HomeKit because it is already bridged by another plugin. This plugin exposes every item in SmartThings which may cause duplicate devices to show up in HomeKit. It would be nice to select / deselect accessories.
Describe alternatives you've considered:
Only other option is to move the duplicate items to a dummy room but that would still consume resources.
Additional context:
I've been getting this warning many times over but I'm not sure it affects the functioning of the plugin. Anything I should adjust in my settings?
[10/7/2022, 10:46:20 PM] [homebridge-smartthings-ik] This plugin generated a warning from the characteristic 'Saturation': characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics. See https://homebridge.io/w/JtMGR for more info.
Is your feature request related to a problem? Please describe:
JetBot robot vacuums are not supported
Describe the solution you'd like:
Integrate changes made in this plugin to the main SmartThings one
Hi there! Thanks again for creating this.
I am very new to homebridge and this plugin. Does this plugin work and enable my TV's to be seen by HomeKit? At the moment I can't see them but not sure if I'm doing something wrong?
If TV's aren't compatible yet, can you recommend a solution?
Thanks,
Matt
Thank you very much for adding the polling for the lights. It's been working great and fixed the previous issues I was having of not receiving status, however 2 new issues have appeared that I wanted to bring to your attention that might help other users.
I keep getting errors on multiple lights and switches "Failed to request status from : AxiosError: Request failed with status code 500" These lights and switches then show as no response in HomeKit but are not offline in SmartThings and operate fine in SmartThings. If I restart home bridge the device will go back online and I can then use it in HomeKit. It has been happening with multiple fixtures. (See attached image)
Secondly when I either turn on a light in HomeKit it will show the light being turned on and then turn off right away. Then you have to wait several seconds for it to report on in HomeKit again. Same issue happens in reverse when turning off the light. In the video I am simply pressing each device once. (See attached videos)
Thanks again for all the hard work on this plugin, it's greatly appreciated
!
Homebridge crashes on ever load of the plug-in since update:
TypeError:
at IKHomeBridgeHomebridgePlatform.crea
teAccessoryobject//var/lib/homebridge/nod
e_modules/.pnpm/homebridge-smartthings-ik@
1.2.1/node_modules/homebridge-smartthings-
ik/src/platform.ts:264:15)
at/var/lib/homebridge/node_modules/.p
npm/[email protected]/node_m
odules/homebridge-smartthings-ik/src/platf
orm.ts:222:16
at Array.forEach ()
at IKHomeBridgeHomebridgePlatform.disc
overDevices /var/lib/homebridge/node_modu
les/.pnpm/[email protected]/
node_modules/homebridge-smartthings-ik/src /platform.ts:185:13)
at/var/lib/homebridge/node_modules/.p
hpm/[email protected]/node_m
odules/homebridge-smartthings-ik/src/platf
orm.ts:86:14
at processTicksandRejections (node:int
ernal/process/task_queues:96:5)
[9/3/2022, 8:49:39 PM] Got SIGTERM, shutti
ng down Homebridge..
Is your feature request related to a problem? Please describe:
I see lights and switches with this automatically showing up. Wanted to see if there is a possibility to add water leak and shut off sensors.
Will this plugin keep working after Groovy is discontinued?
Describe The Bug:
Garage door state gets stuck. Also needs to be updated if the state changes. Same as was done for the locks.
To Reproduce:
Expected behavior:
Logs:
Show the Homebridge logs here, remove any sensitive information.
Plugin Config:
Show your Homebridge config.json here, remove any sensitive information.
Screenshots:
Environment:
Likely the same as #33 and #30 - only for me it happens to be a door lock offline causing the reboot loop. This happens on 1.3.3
and continues even after downgrading back to 1.2.2
where I was. The sensor was offline prior to upgrading and HB + ST was still functional - so something in the initial boot/device registration only causing the whole system to fail?
[10/3/2022, 8:48:57 AM] [Smartthings Plug (IK)] Front door is offline
[10/3/2022, 8:48:57 AM] Error: HAP Status Error: -70402
at new HapStatusError (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/hapStatusError.ts:15:5)
at /var/lib/homebridge/node_modules/homebridge-smartthings-ik/src/lockAccessory.ts:166:23
at new Promise (<anonymous>)
at LockPlatformAccessory.getCurrentState (/var/lib/homebridge/node_modules/homebridge-smartthings-ik/src/lockAccessory.ts:162:12)
at Timeout._onTimeout (/var/lib/homebridge/node_modules/homebridge-smartthings-ik/src/lockAccessory.ts:63:16)
at listOnTimeout (node:internal/timers:559:17)
at processTimers (node:internal/timers:502:7)
[10/3/2022, 8:48:57 AM] Got SIGTERM, shutting down Homebridge...
[10/3/2022, 8:49:02 AM] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[10/3/2022, 8:49:06 AM] [HB Supervisor] Stopping services...
[10/3/2022, 8:49:07 AM] [HB Supervisor] Restarting Homebridge...
[10/3/2022, 8:49:07 AM] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules --strict-plugin-resolution
[10/3/2022, 8:49:07 AM] [HB Supervisor] Started Homebridge v1.5.0 with PID: 17577
Describe The Bug:
5-6 second delay from motion sensor detecting motion and lights turning on
To Reproduce:
see above
Expected behavior:
delay should be less, and was far less in the old Smartthings plugin for Homebridge
Plugin Config:
"name": "Smartthings Plug (IK)",
"BaseURL": "https://api.smartthings.com/v1/",
"AccessToken": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"GarageDoorMaxPoll": 40,
"PollLocksSeconds": 5,
"PollDoorsSeconds": 10,
"PollSensorsSeconds": 5,
"PollSwitchesAndLightsSeconds": 5,
"IgnoreDevices": [
"Living Room Christmas Tree",
"S31 Outlet",
"Garage Bulb",
"Motion Sensor 2",
"Wireless Tag Motion",
"Shed Door Tag",
"Laundry Room Water Sensor",
"Smartthings Water Sensor",
"Garage Siren",
"Button",
"Office Smoke Alarm"
],
"_bridge": {
"username": "xxxxxxxxxxx",
"port": 37871
},
"platform": "HomeBridgeSmartThings"
Environment:
1.5.1 Homebridge running on Docker and 1.4.9 of your plugin.
I want to help you with these types of devices, please let me know what is needed
Describe The Bug:
To Reproduce:
I've added several IKEA lamps with color temperature only
Expected behavior:
ignore hue for color temp lights
Logs:
[17/10/2022, 12:34:28] TypeError: Cannot read properties of undefined (reading 'hue')
at /var/lib/homebridge/node_modules/homebridge-smartthings-ik/src/lightBulbAccessory.ts:270:51
at processTicksAndRejections (node:internal/process/task_queues:96:5)
[17/10/2022, 12:34:29] TypeError: Cannot read properties of undefined (reading 'hue')
at /var/lib/homebridge/node_modules/homebridge-smartthings-ik/src/lightBulbAccessory.ts:270:51
at processTicksAndRejections (node:internal/process/task_queues:96:5)
[17/10/2022, 12:34:29] TypeError: Cannot read properties of undefined (reading 'hue')
at /var/lib/homebridge/node_modules/homebridge-smartthings-ik/src/lightBulbAccessory.ts:270:51
at processTicksAndRejections (node:internal/process/task_queues:96:5)
[17/10/2022, 12:34:29] [Smartthings(new)] getSaturation() FAILED for lampC. Comm error.
[17/10/2022, 12:34:29] [Smartthings(new)] getSaturation() FAILED for lampR. Comm error.
[17/10/2022, 12:34:29] [Smartthings(new)] getSaturation() FAILED for lampL. Comm error.
Environment:
Hi, I have a Samsung microwave connected to smart things I’d like to control. Most of the microwave cooking functions require human intervention anyway. I’d just like to have control over the hood fan (low/med/high + on/off) and the light (on/off). Let me know if I can help.
Describe The Bug:
When I toggle the state of a switch, or even more often a lock, the Home app appears to get temporarily confused about the current state of the device. Sometimes it remains in the right state, but other times it either switches back and to the original state for a few seconds or in the case of my August lock, shows that the device is not responding.
To Reproduce:
Expected behavior:
When turning on a switch, state of the switch should remain on until it is turned off
Current behavior:
When turning on the switch, the UI appears to show it on for a second, only to switch to off a second later, then back to on a few seconds after that
Logs:
The issue happened with the device "Coffee machine", which I turned on, then turned off a minute later. The issue happened when the device was turned on, but not when it was turned off.
[10/22/2022, 1:09:51 PM] [Smartthings Plug (IK)] Radio Switch polling...
[10/22/2022, 1:09:55 PM] [Smartthings Plug (IK)] Received onGet() event for Main Floor Fireplace
[10/22/2022, 1:09:55 PM] [Smartthings Plug (IK)] Received onGet() event for Bedroom Light Virtual Switch
[10/22/2022, 1:09:55 PM] [Smartthings Plug (IK)] Received onGet() event for Top Floor Lights
[10/22/2022, 1:09:55 PM] [Smartthings Plug (IK)] Received onGet() event for Entrance Corridor Lights
[10/22/2022, 1:09:55 PM] [Smartthings Plug (IK)] Received onGet() event for Bedroom Fireplace
[10/22/2022, 1:09:55 PM] [Smartthings Plug (IK)] Received onGet() event for Living Room Lights
[10/22/2022, 1:09:55 PM] [Smartthings Plug (IK)] Received onGet() event for Coffee Lamp
[10/22/2022, 1:09:55 PM] [Smartthings Plug (IK)] Received onGet() event for Living TV Light
[10/22/2022, 1:09:55 PM] [Smartthings Plug (IK)] Received onGet() event for Entrance Door Light
[10/22/2022, 1:09:55 PM] [Smartthings Plug (IK)] Received onGet() event for Bedroom Main Lights
[10/22/2022, 1:09:55 PM] [Smartthings Plug (IK)] Received onGet() event for Kitchen Lights
[10/22/2022, 1:09:55 PM] [Smartthings Plug (IK)] Received onGet() event for Main Floor Stairs Lights
[10/22/2022, 1:09:55 PM] [Smartthings Plug (IK)] Received getCurrentState() event for Front Door Lock
[10/22/2022, 1:09:55 PM] [Smartthings Plug (IK)] Received onGet() event for Coffee Machine
[10/22/2022, 1:09:55 PM] [Smartthings Plug (IK)] Received onGet() event for Kitchen Counter Lights
[10/22/2022, 1:09:55 PM] [Smartthings Plug (IK)] Received onGet() event for Office Bathroom Lights
[10/22/2022, 1:09:55 PM] [Smartthings Plug (IK)] Received onGet() event for Office Main Lights
[10/22/2022, 1:09:55 PM] [Smartthings Plug (IK)] Received onGet() event for Bedroom Closet Lights
[10/22/2022, 1:09:55 PM] [Smartthings Plug (IK)] Received onGet() event for Kitchen Table Lights
[10/22/2022, 1:09:55 PM] [Smartthings Plug (IK)] Received onGet() event for Bedroom Bathroom Lights
[10/22/2022, 1:09:55 PM] [Smartthings Plug (IK)] Received onGet() event for Office Desk Light
[10/22/2022, 1:09:55 PM] [Smartthings Plug (IK)] Received onGet() event for Entrance Stairs Lights
[10/22/2022, 1:09:55 PM] [Smartthings Plug (IK)] Received onGet() event for Zen Lamp
[10/22/2022, 1:09:55 PM] [Smartthings Plug (IK)] Received onGet() event for iPhone
[10/22/2022, 1:09:55 PM] [Smartthings Plug (IK)] Received getContact() event for Radio Switch
[10/22/2022, 1:09:55 PM] [Smartthings Plug (IK)] onGet() SUCCESSFUL for Top Floor Lights. value = off
[10/22/2022, 1:09:55 PM] [Smartthings Plug (IK)] Top Floor Lights polling...
[10/22/2022, 1:09:55 PM] [Smartthings Plug (IK)] onGet() SUCCESSFUL for Living Room Lights. value = on
[10/22/2022, 1:09:55 PM] [Smartthings Plug (IK)] Living Room Lights polling...
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] onGet() SUCCESSFUL for Entrance Door Light. value = off
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] Entrance Door Light polling...
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] onGet() SUCCESSFUL for Main Floor Stairs Lights. value = off
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] Main Floor Stairs Lights polling...
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] onGet() SUCCESSFUL for Bedroom Light Virtual Switch. value = off
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] Bedroom Light Virtual Switch polling...
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] onGet() SUCCESSFUL for Main Floor Fireplace. value = on
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] Main Floor Fireplace polling...
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] onGet() SUCCESSFUL for Entrance Corridor Lights. value = on
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] Entrance Corridor Lights polling...
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] onGet() SUCCESSFUL for Bedroom Fireplace. value = off
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] Bedroom Fireplace polling...
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] onGet() SUCCESSFUL for Coffee Machine. value = off
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] Coffee Machine polling...
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] onGet() SUCCESSFUL for Coffee Lamp. value = on
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] Coffee Lamp polling...
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] onGet() SUCCESSFUL for Living TV Light. value = off
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] Living TV Light polling...
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] onGet() SUCCESSFUL for Bedroom Main Lights. value = off
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] Bedroom Main Lights polling...
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] onGet() SUCCESSFUL for Office Main Lights. value = off
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] Office Main Lights polling...
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] onGet() SUCCESSFUL for Kitchen Lights. value = off
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] Kitchen Lights polling...
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] onGet() SUCCESSFUL for Bedroom Bathroom Lights. value = off
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] Bedroom Bathroom Lights polling...
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] Reset Front Door Lock to 1
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] onGet() SUCCESSFUL for Front Door Lock. value = locked
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] Front Door Lock polling...
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] onGet() SUCCESSFUL for Zen Lamp. value = on
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] Zen Lamp polling...
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] onGet() SUCCESSFUL for Kitchen Counter Lights. value = on
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] Kitchen Counter Lights polling...
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] onGet() SUCCESSFUL for Office Bathroom Lights. value = off
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] Office Bathroom Lights polling...
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] onGet() SUCCESSFUL for Bedroom Closet Lights. value = off
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] Bedroom Closet Lights polling...
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] onGet() SUCCESSFUL for Kitchen Table Lights. value = off
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] Kitchen Table Lights polling...
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] onGet() SUCCESSFUL for Office Desk Light. value = off
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] Office Desk Light polling...
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] onGet() SUCCESSFUL for Entrance Stairs Lights. value = off
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] Entrance Stairs Lights polling...
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] Motion value from Radio Switch: closed
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] Radio Switch polling...
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] onGet() SUCCESSFUL for iPhone. value = present
[10/22/2022, 1:09:56 PM] [Smartthings Plug (IK)] iPhone polling...
[10/22/2022, 1:10:00 PM] [Smartthings Plug (IK)] Received onGet() event for iPhone
[10/22/2022, 1:10:00 PM] [Smartthings Plug (IK)] Received getContact() event for Radio Switch
[10/22/2022, 1:10:01 PM] [Smartthings Plug (IK)] onGet() SUCCESSFUL for iPhone. value = present
[10/22/2022, 1:10:01 PM] [Smartthings Plug (IK)] iPhone polling...
[10/22/2022, 1:10:01 PM] [Smartthings Plug (IK)] Motion value from Radio Switch: closed
[10/22/2022, 1:10:01 PM] [Smartthings Plug (IK)] Radio Switch polling...
Plugin Config:
{
"name": "Smartthings Plug (IK)",
"BaseURL": "https://api.smartthings.com/v1/",
"AccessToken": "***",
"GarageDoorMaxPoll": 40,
"PollLocksSeconds": 10,
"PollDoorsSeconds": 10,
"PollSensorsSeconds": 5,
"PollSwitchesAndLightsSeconds": 10,
"platform": "HomeBridgeSmartThings"
}
Screenshots:
N/A
Environment:
import { Service, PlatformAccessory, CharacteristicValue } from 'homebridge';
import { IKHomeBridgeHomebridgePlatform } from '../platform';
import { BaseService } from './baseService';
import { MultiServiceAccessory } from '../multiServiceAccessory';
export class TemperatureService extends BaseService{
private service: Service;
constructor(platform: IKHomeBridgeHomebridgePlatform, accessory: PlatformAccessory, multiServiceAccessory:MultiServiceAccessory,
name: string, deviceStatus) {
super(platform, accessory, multiServiceAccessory, name, deviceStatus);
this.service = this.accessory.getService(platform.Service.TemperatureSensor ) ||
this.accessory.addService(platform.Service.TemperatureSensor);
}
startService(platform: IKHomeBridgeHomebridgePlatform, accessory: PlatformAccessory): Service {
this.service.setCharacteristic(platform.Characteristic.Name, accessory.context.device.label);
this.service.getCharacteristic(platform.Characteristic.CurrentTemperature)
.onGet(this.getCurrentTemperature.bind(this));
return this.service;
}
async getCurrentTemperature(): Promise<CharacteristicValue> {
return new Promise((resolve, reject) => {
if (!this.multiServiceAccessory.isOnline()) {
this.log.info(`${this.name} is offline`);
throw new this.platform.api.hap.HapStatusError(this.platform.api.hap.HAPStatus.SERVICE_COMMUNICATION_FAILURE);
}
this.multiServiceAccessory.refreshStatus()
.then(success => {
if (!success) {
return reject(new this.platform.api.hap.HapStatusError(this.platform.api.hap.HAPStatus.SERVICE_COMMUNICATION_FAILURE));
}
resolve(this.deviceStatus.status.temperatureMeasurement.temperature.value);
});
});
}
}
only 2 lines here are related to the sensor itself
resolve(this.deviceStatus.status.temperatureMeasurement.temperature.value);
and
this.service.getCharacteristic(platform.Characteristic.CurrentTemperature).onGet(this.getCurrentTemperature.bind(this));
other is just copy-paste
Hi there! I'm looking to see if it'd be possible to add support for my smart oven model NV51K6650SG. I have it working with the SmartThings app, but looking to integrate it into Homebridge/Homekit where everything else resides.
Any chance you'd be interested in taking this on? I can provide you with whatever it is you need.
It would be great to get https://developers.homebridge.io/#/service/Thermostat in the HomeKit.
thanks
WOOT! I have almost 22 integrations in Smartthings that seamlessly worked after installing your plugin.
Keep up the awesome work and integration with this!
Wes
Look into leak sensors
Hi,
I have generatesd an API token with all rights for the devices. Added it to the access token field, but it seems not to find any devices..
Am I missing something? It looks fool proof.. but it aint working (have several other plugins that do work like Adguard button, shelly etc.
no errors in the logs
{
"name": "Smartthings Plug (IK)",
"BaseURL": "https://api.smartthings.com/v1/",
"AccessToken": "1aa53268-******",
"GarageDoorMaxPoll": 40,
"platform": "HomeBridgeSmartThings"
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.