Comments (14)
I just pushed a new version with a fix for this. You can now disable certain features by adding a setting like this to your config:
"disable": ["Thermostat.Fan", "Thermostat.Home", "Thermostat.Eco"]
To update to the latest version of homebridge-nest, simply run npm update -g homebridge-nest
.
from homebridge-nest.
Curious if this is possible too, super cluttered in Home now :|
from homebridge-nest.
It wouldn’t be that hard to disable these via config. But I wonder, does un-favoriting them in Home accomplish the same (or moving them to another Room)?
from homebridge-nest.
That's basically what I'm doing now (removing them from Statuses as well) but I'd prefer to disable them for a couple reasons:
-
Less clutter in the Home app. I use the Rooms views as well and prefer to only have items I intend to use making the experience easier and faster.
-
Less items for the Apple HomePod to get confused with. This just prevents triggering the wrong action. I run Home Bridge via Hassio (Home Assistant) and there's several switches I hide that I wouldn't want Siri to ever accidentally turn off or on such as a water valve.
from homebridge-nest.
from homebridge-nest.
Yeah I've commented out these lines in nest-thermostat-accessory.js @ line 126;
// var homeService = this.addService(Service.Switch, "Home Occupied", "home_occupied");
// this.bindCharacteristic(homeService, Characteristic.On, "Home Occupied", this.getHome, this.setHome);
// var thermostatEcoModeService = this.addService(Service.Switch, "Eco Mode", "eco_mode");
// this.bindCharacteristic(thermostatEcoModeService, Characteristic.On, "Eco Mode", this.getEcoMode, this.setEcoMode);
from homebridge-nest.
Amazing, thanks for the quick update @chrisjshull ! appreciated!!!
from homebridge-nest.
Got this error:
[4/23/2023, 4:37:54 PM] There was a problem reading your config.json file.
[4/23/2023, 4:37:54 PM] Please try pasting your config.json file here to validate it: http://jsonlint.com
[4/23/2023, 4:37:54 PM]
SyntaxError: Unexpected token : in JSON at position 3595
at JSON.parse (<anonymous>)
at Function.loadConfig (/usr/local/lib/node_modules/homebridge/src/server.ts:228:21)
at new Server (/usr/local/lib/node_modules/homebridge/src/server.ts:93:26)
at cli (/usr/local/lib/node_modules/homebridge/src/cli.ts:82:18)
at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Function.Module._load (node:internal/modules/cjs/loader:958:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
[4/23/2023, 4:37:54 PM] [HB Supervisor] Homebridge Process Ended. Code: 1, Signal: null
[4/23/2023, 4:37:59 PM] [HB Supervisor] Restarting Homebridge...
[4/23/2023, 4:37:59 PM] [HB Supervisor] Starting Homebridge with extra flags: -I
[4/23/2023, 4:37:59 PM] [HB Supervisor] Started Homebridge v1.6.0 with PID: 14102
[4/23/2023, 4:37:59 PM] There was a problem reading your config.json file.
[4/23/2023, 4:37:59 PM] Please try pasting your config.json file here to validate it: http://jsonlint.com
[4/23/2023, 4:37:59 PM]
SyntaxError: Unexpected token : in JSON at position 3595
at JSON.parse (<anonymous>)
at Function.loadConfig (/usr/local/lib/node_modules/homebridge/src/server.ts:228:21)
at new Server (/usr/local/lib/node_modules/homebridge/src/server.ts:93:26)
at cli (/usr/local/lib/node_modules/homebridge/src/cli.ts:82:18)
at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Function.Module._load (node:internal/modules/cjs/loader:958:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
on
"options": [
"disable": ["Thermostat.Fan", "Thermostat.Home", "Thermostat.Eco"]
],
from homebridge-nest.
When I removed "options"
, there was no error, but devices were not removed.
from homebridge-nest.
Please post your whole config.json (you can redact the tokens). You are probably missing a comma somewhere.
from homebridge-nest.
Updated it according to the documentation https://github.com/chrisjshull/homebridge-nest#feature-options:
"options": ["Thermostat.Fan.Disabled", "Thermostat.Home.Disabled", "Thermostat.Eco.Disabled"],
But it still failed to work after a restart.
from homebridge-nest.
No syntax error anymore. This is what I see in the UI for the last charing setting.
from homebridge-nest.
The full section for the plugin:
{
"name": "Nest",
"googleAuth": {
"issueToken": "...",
"cookies": "..."
},
"options": [
"Thermostat.Fan.Disabled",
"Thermostat.Home.Disabled",
"Thermostat.Eco.Disabled"
],
"platform": "Nest"
}
from homebridge-nest.
The error was in devices
initially (must be options
) and Disabled
afterwards (must be Disable
).
from homebridge-nest.
Related Issues (20)
- Cookies Method Frequently Fails After Restart HOT 9
- 403 Forbidden HOT 11
- ECONNABORTED HOT 13
- Illegal value for Threshold reported in log HOT 1
- Access Token Acquisition Failed HOT 1
- Expose "Every Day" toggle for Fan Schedule as a switch in homekit HOT 1
- One-Off Data Extraction HOT 1
- Nest devices are removed if they are offline when Homebridge is restarted HOT 7
- Failed to set up HOT 1
- Nest Offline - No Response HOT 1
- Homebridge startup logs now report all my Nest devices are being "skipped". Until recently they had been working. HOT 2
- Nest x Yale lock not identified by homebridge-nest HOT 2
- Thermostat@@Heating Threshold Temperature] HOT 6
- ntials, and paste them into the plugin. ly HOT 5
- Google Nest no longer shows all functions. HOT 5
- login.js URL results in error: Access blocked: Nest’s request is invalid HOT 1
- Multiple devices/structures on single account -> no response in second home HOT 1
- Disable built in temperature sensors HOT 4
- This plugin generated a warning from the characteristic 'Cooling Threshold Temperature': characteristic was supplied illegal value: number.... HOT 3
- Authentication expiring after 30 min - 5 hrs (Nest and Google Accounts) HOT 42
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-nest.