
Company News
/Security News
Socket Selected for OpenAI's Cybersecurity Grant Program
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.
homebridge-tonesto7-dev
Advanced tools
This is based off of @pdlove homebridge-smartthings
Current SmartApp version: 1.5.0
v1.0.0 - Overhauled JSON API app from Paul's SmartThings version.
v1.0.1 - SmartHomeMonitor Support is set to Off by Default.
v1.1.3 - App Cleanups. Added lot's of features.
v1.1.4 - Removed Hampton Fan input (No longer Necessary with My modified Device Handler).
v1.1.5 - Disabled Irrigation for now until i can make it work more consistent.
v1.1.6 - Command Tweaks to prevent errors.
v1.1.8 - Fixes for Mode Devices, added Routine Devices.
v1.2.0 - Added ability to selectively remove temp from Contact/Water Sensors, and lot's of Code Cleanup.
v1.2.0 - Update SmartApp to support new icon.
v1.3.0 - The SmartThings and Hubitat Apps now share 99.9% of the same code. With the exception being the hubaction declarations and a static variable defining the platform type
v1.4.0 - Add support for multiple HSM locations, and other Bugfixes mainly related to Hubitat Side
v1.4.1 - SHM/HSM fixes and added support for triggering intrusion alerts under HomeKit
v1.5.0 - Added support for the service to send commands directly to the hub locally (SmartThings ONLY) v1.5.0 - Added toggle to control whether local commands are allowed v1.5.0 - Added ability to trigger service restart when you exit the app (Will only restart on it's own if using process/service manager like PM2/systemd)
v1.1.5 - Lot's of new capabilities supported in HomeKit
v1.1.7 - Updated the README
v1.1.8 - Cleanup of the Irrigation code
v1.1.9 - Forgot to remove some logging
v1.2.0 - Added in capability exclusion feature to match @pdlove plugin
v1.2.3 - Minor Cleanups
v1.3.0 - The SmartThings and Hubitat NPM package now share 99.9% the same code. All except 2 static variables defining the platform type
v1.3.1 - Bug fixes from code merge
v1.3.2 - More Bug fixes from code merge
v1.3.3 - Fixed Detection Issues in plugin
v1.4.0 - Fixed Hubitat support, working windows shades, allow multiple location SHM/HSM instances, lot's of cleanups and restructures. v1.4.0 - Warning: This will recreate a new Alarm device under Homekit. There is a possiblity it might also reset all of your Homekit Devices, rooms and options
v1.4.1 - SHM/HSM fixes and added support for triggering intrusion alerts under HomeKit
v1.5.0 - Added support for the service to send commands directly to the hub locally (SmartThings ONLY) v1.5.0 - Added toggle to control whether local commands are allowed v1.5.0 - Added ability to trigger service restart when you exit the app (Will only restart on it's own if using process/service manager like PM2/systemd)
When properly setup, you should see something like this in your Homebridge startup immediately after the PIN:
[1/29/2017, 8:28:45 AM] Homebridge is running on port 51826.
[1/29/2017, 8:28:45 AM] [SmartThings] Direct Connect Is Listening On 10.0.0.70:8000
[1/29/2017, 8:28:45 AM] [SmartThings] SmartThings Hub Communication Established
Installation comes in two parts:
Note New SmartThings users: You must first enable github integration. (If you use github for work you will probably want to set up a new account as it will request access to your private repos). Only after enabling integration will you see the settings button
Click on My SmartApps
Click on Settings and Add the New repository:
tonesto7homebridge-smartthings-tonesto7masterSave.Click Update From Repo
homebridge-smartthings-tonesto7You should have homebridge-smartthings.groovy in the New section.
homebridge-smartthings.groovyPublish at the bottomExecute Update.Click on the Homebridge-SmartThings app in the list:
App SettingsEnable OAuth in SmartappUpdate at the bottom.In the SmartThings Mobile App, goto Marketplace and select SmartApps.
At the bottom of the list, select My Apps
Select Homebridge (SmartThings) from the choices on thelist.
Configuring the App:
There are 4 inputs at the top that can be used to force a device to be discovered as a specific type in HomeKit
Any other devices being added just Tap on the input next to an appropriate device group and then select each device you would like to use (The same devices can be in any of the Sensor, Switch, Other inputs)
Selecting the same device in multiple categories it will only be shown once in HomeKit, so you can safely check them all in all groups
Tap Done
Tap Done
You are finished with the App configuration!
npm i -g homebridge (For Homebridge Install: Homebridge Instructions)npm i -g homebridge-smartthings-tonesto7{ "platform": "SmartThings", "name": "SmartThings", "app_url": "https://graph.api.smartthings.com:443/api/smartapps/installations/", "app_id": "YOUR_APPS_ID", "access_token": "THIS-SHOULD-BE-YOUR-TOKEN", "update_method": "direct", "direct_ip": "10.0.0.70", "direct_port": 8000, "excluded_capabilities": { "SMARTTHINGS-DEVICE-ID-1": [ "Switch", "Temperature Measurement" ] }
}
platform & name Required
This information is used by homebridge to identify the plugin and should be the settings above.
app_url & access_token Required
To get this information, open Homebridge (SmartThings) SmartApp in your SmartThings Classic Mobile App, and tap on "View Configuration Data for Homebridge"
Notice: The app_url in the example above may be different for you.
direct_ip Optional
Defaults to first available IP on your computer
Most installations won't need this, but if for any reason it can't identify your ip address correctly, use this setting to force the IP presented to SmartThings for the hub to send to.
direct_port Optional
Defaults to 8000
This is the port that homebridge-smartthings plugin will listen on for traffic from your hub. Make sure your firewall allows incoming traffic on this port from your hub's IP address.
local_commands Optional
This will allow the service to send homekit commands to hub locally (SmartThings only)
excluded_capabilities Optional
Defaults to None
Specify the SmartThings device by ID and the associated capabilities you want homebridge-smartthings to ignore
This prevents a SmartThings device creating unwanted or redundant HomeKit accessories
FAQs
Tonesto plugin for HomeBridge
We found that homebridge-tonesto7-dev demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.