Comments (9)
It seems that the valveType has no effect on the icon shown in Homekit app.
from homebridge-openhab2-complete.
The last part about the valveType
seems to be a limitation of either HomeKit at the moment and/or the HomeKit Accessory Protocol implementation used by homebridge.
When pressing on the item and it is showing "Starting...", is the state of the item within openHAB changed or not?
Could you please perform the action and paste your HomeBridge debug log?
from homebridge-openhab2-complete.
I am on vacation with no access to my stuff, so the log will have to come later. Meanwhile, I recall that the state of the openHAB item is not changed when using the homekit app.
If the valveType is not working then you might consider to remove that part from the documentation.
from homebridge-openhab2-complete.
I have a similar problem - I am using accessory type: "valve"
. When I turn on the valve, the icon says "starting...", but there is no effect in openhab. When in debug mode, after turning the valve on in Home, I see the following lines in the homebridge log:
Accessory [Homebridge] Processing characteristic set: [{"aid":12,"iid":11,"value":1}] +3ms
Accessory [Homebridge] Setting Characteristic "Active" to value 1 +2ms
But in contrary to other accessories, they're not followed by any logs from the openhab plugin - like the change is somehow not picked up.
Is there any way I can make it work?
Relevant part of config:
{
"type": "valve",
"items": [
{
"name": "Sprinkler back",
"activeItem": "vGA_SP_sprinkler_1",
"inUseItem": "GA_SP_sprinkler_1"
},
....
]
}
from homebridge-openhab2-complete.
Good catch. I seem to have implemented only a sensor characteristic, where an actor characteristic is required. I am working on this.
from homebridge-openhab2-complete.
I ran into the same issue here.
{
"name": "Bewässerung Hecke",
"type": "valve",
"activeItem": "Garten_Hecke_Bewaesserung_Schalter",
"inUseItem": "Garten_IC_Hecke_Bewaesserungstimer",
"durationItem": "Garten_Hecke_Bewaesserung_Zeitprogramm_s"
}
It is registering the characteristic
Accessory [Homebridge] Registering Characteristic "Active" for events
Accessory [Homebridge] Registering Characteristic "In Use" for events
Accessory [Homebridge] Registering Characteristic "Valve Type" for events
Accessory [Homebridge] Registering Characteristic "Set Duration" for events
Accessory [Homebridge] Registering Characteristic "Remaining Duration" for events
and when I try to turn it on (or off) with homekit, it is the same
Accessory [Homebridge] Processing characteristic set: [{"aid":13,"iid":11,"value":1}]
Accessory [Homebridge] Setting Characteristic "Active" to value 1
EventedHTTPServer [::ffff:192.168.178.73] Muting event '13.11' notification for this connection since it originated here.
EventedHTTPServer [::ffff:192.168.178.69] Sending HTTP event '13.11' with data: {"characteristics":[{"aid":13,"iid":11,"value":1}]}
EventedHTTPServer [::ffff:192.168.178.73] HTTP Response is finished
In Openhab log, nothing occurs
In the other direction it is working (as you said, the sensor characteristic is doing well), so when I change the state in Openhab, I can see it in Homekit correctly.
The durationItem is working properly, too. The item in Openhab changes when I change the time in Homekit.
A slightly other behaviour is when I try using the irrigation instead of the valve. With that in the config.json I only get a status symbol in Homekit and no menu behind where I find the switch or the durationItem.
If I can help testing something, please comment my post.
from homebridge-openhab2-complete.
This should be fixed in 0.10.3, which I will release until end of week (hopefully, sorry for the long wait!!!)
from homebridge-openhab2-complete.
If you want, you can check out my latest commit 5a6fb44
from homebridge-openhab2-complete.
Now works (fbe702a)
from homebridge-openhab2-complete.
Related Issues (20)
- Homebridge crash with ReferenceError: url is not defined HOT 1
- Thermostat errors - when trying to allow Heating (on Off and Auto) HOT 3
- README Install command small fixes HOT 1
- Documentation for irrigation items is wrong HOT 2
- 'Current Heater-Cooler State' didn't respond at all HOT 8
- Heater/Cooler Swing not working HOT 5
- After update to iOS 15 asking for current room temperature fails and only replies with "Heating is off" HOT 3
- item not deleted after label is changed - creating duplicate HOT 1
- Add Multiplier Option to Humidity Values
- Heater/Cooler Accessory with sepparate min-max temp for thresholds HOT 5
- Connection with OpenHabian3 HOT 6
- Switch from OpenHAB is not synced to Homebridge HOT 2
- AssertionError [ERR_ASSERTION]: Services must be created with a valid UUID.
- Color of Lamp is recognized as Brightness HOT 1
- when new accessories added old ones that were on the dashboard dissappear HOT 3
- OH3 Support? HOT 1
- Temperature sensor no response HOT 1
- Speaker Object doesn't show volume controls HOT 5
- Invalid JSON in an platform Oliver HOT 2
- request still used in OpenHab.js HOT 1
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-openhab2-complete.