Comments (7)
Hi @Gthompson98 the plug-in currently requires air conditioning devices to have all of the following capabilities:
public static readonly requiredCapabilities = [
'switch',
'temperatureMeasurement',
'thermostatCoolingSetpoint',
'relativeHumidityMeasurement',
'airConditionerMode',
];
My best guess is, that one of those capabilities is missing and that the devices could thus not be added.
Unfortunately it is not possible right now to see from logs, which exact capability is missing. What I could offer is to add some more detailed logging in the next Version so that we can find out what exactly is missing. Some capabilities like relativeHumidityMeasurement
are not strictly needed and I could then try to make them optional.
You could also run the following command in your terminal (if you're running some sort of Unix) and check what the capabilities of your devices are: curl -H "Authorization: Bearer YOUR_ACCESS_TOKEN" https://api.smartthings.com/v1/devices
from homebridge-smartthings-ac.
I am guessing it's the humidity measurement that is missing. It would be great if to add the debugging in the next version. Really appreciate it.
I tried executing the command you provided in the terminal but I get the following response;
401 Authorization Required
openresty
from homebridge-smartthings-ac.
Did you replace YOUR_ACCESS_TOKEN
with your actual access token in the command? I just published a new version that will log what exact capability is missing. And while i was on it, i also made the humidity measurement optional, so maybe it is already working now
from homebridge-smartthings-ac.
That worked! Below is the log;
7/30/2021, 2:51:37 PMSmartThings Ac BridgeHomebridgeSmartThingsACSkipping device ---- Master Bedroom Fan Missing capabilities [
'temperatureMeasurement',
'thermostatCoolingSetpoint',
'airConditionerMode'
]
7/30/2021, 2:51:37 PMSmartThings Ac BridgeHomebridgeSmartThingsACSkipping device ---- Living Room Fan Missing capabilities [
'temperatureMeasurement',
'thermostatCoolingSetpoint',
'airConditionerMode'
]
7/30/2021, 2:51:37 PMSmartThings Ac BridgeHomebridgeSmartThingsACRegistering device ----
7/30/2021, 2:51:37 PMSmartThings Ac BridgeHomebridgeSmartThingsACAdding new accessory: Samsung Room A/C
7/30/2021, 2:51:37 PMSmartThings Ac BridgeHomebridgeSmartThingsACCurrent relative humidity will not be available for device ----
7/30/2021, 2:51:37 PMSmartThings Ac BridgeHomebridgeSmartThingsACUpdate status every 15 secs
7/30/2021, 2:51:37 PMSmartThings Ac BridgeHomebridgeSmartThingsACSkipping device 4919aaef-8dae-4690-9aa1-1911c17c1dde Living Room Fan Winter Mode Missing capabilities [
'temperatureMeasurement',
'thermostatCoolingSetpoint',
'airConditionerMode'
]
7/30/2021, 2:51:37 PMSmartThings Ac BridgeHomebridgeSmartThingsACSkipping device ---- Master Bedroom Fan Winter Mode Missing capabilities [
'temperatureMeasurement',
'thermostatCoolingSetpoint',
'airConditionerMode'
]
7/30/2021, 2:51:37 PMSmartThings Ac BridgeHomebridgeSmartThingsACSkipping device ---- Master Bedroom Fan Missing capabilities [
'temperatureMeasurement',
'thermostatCoolingSetpoint',
'airConditionerMode'
]
7/30/2021, 2:51:37 PMSmartThings Ac BridgeHomebridgeSmartThingsACSkipping device ---- Hub Missing capabilities [
'switch',
'temperatureMeasurement',
'thermostatCoolingSetpoint',
'airConditionerMode'
]
7/30/2021, 2:51:37 PMSmartThings Ac BridgeHomebridgeSmartThingsACSkipping device ---- Living Room Fan Missing capabilities [
'temperatureMeasurement',
'thermostatCoolingSetpoint',
'airConditionerMode'
]
It really looks like your plugin can be made to work with more generic SmartThings devices than just Samsung AC's. Perhaps there are generic capabilities that can be used to support more devices.
Those fans that show up are running Bond FW. I don't have a Bond hub but Smartthings found them via wifi scan.
Thanks for the help!
from homebridge-smartthings-ac.
Glad to hear that! Well, in principle it is possible of course to support other accessories as well, however it won't be as easy as making humidity measurements optional. Fans for example use a different accessory type in HomeKit, so we need to distinguish between ACs and Fans. Not saying it's not possible but it certainly would be a bit of work...
from homebridge-smartthings-ac.
Understood. In the future, would it be possible to add support for temperature readings in DegF in addition to DegC? Just realized why I've been getting errors for the temperature setting... "ERROR[SmartThings Ac Bridge F714@Samsung Room A/C@@HEATING Threshold Temperature] characteristic was supplied illegal value: number 72 exceeded maximum of 30"
from homebridge-smartthings-ac.
Well, that's actually a good point I haven't considered. The current limits will only work correctly for Celsius... I'll create a new ticket for that
from homebridge-smartthings-ac.
Related Issues (13)
- ERROR LOADING PLUGIN homebridge-smartthings-ac HOT 4
- No settings page HOT 2
- Windfree and fan direction control HOT 3
- No plugin was found for the platform "HomebridgeSmartThingsAC" in your config.json HOT 5
- Exclude AC devices from Import
- Improve support for Fahrenheit
- Plugin failing to load HOT 7
- Fan Speed HOT 10
- Add additional modes HOT 3
- manually skip device HOT 7
- Add temperature and humidity sensor
- Getting 500 error with a long error logs with it HOT 5
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-smartthings-ac.