Comments (6)
the readme was not up to date. the current list ist security,ignore,switch,outlet,light,blind,thermometer,thermostat,contact,garage,window,lock and every known homekit service type from hap-nodejs/lib/gen/HomeKitTypes.js even if it is not in the list.
window is for electric windows. that is not what you want. you want a contact or ContactSensor.
then in homekitMapping you have to map ContactSensorState to something like this:
ContactSensorState=contact,values=/^closed/:CONTACT_DETECTED;/.*/:CONTACT_NOT_DETECTED
if you also add a mapping for CurrentDoorState you will get a more intuitive display in eve and home and kann even ask siri vor opened or closed doors and windows:
CurrentDoorState=contact,values=/^closed/:CLOSED;/.*/:OPEN
adjust the reading name and values according to your device.
from homebridge-fhem.
check the console output of homebridge, try eve and tap the warning triangle. there should be a better error message.
remove the mapping and check if it works again.
start homebridge with --debug and compare the output for the max sensor to the one you configured.
from homebridge-fhem.
@justme-1968 Thank you for the reply. I'm working on trying your solution. But somehow, I broke my home bridge. There is no error on the console, but in my home app for all devices there is a red notice "No Response"...
from homebridge-fhem.
@justme-1968 Thank you very much. It works 😃!
Just FYI, how i fixed my home bridge:
I had to delete all folders in ~/.homebridge/ (what basically kills the cache).
from homebridge-fhem.
One more question:
I tried to add the CurrentDoorState. But when I startup home bridge this error is on the console:
[2016-09-30 14:42:17] [FHEM] value: Unknown command {ReadingsVal("CLOSED, try help.Unknown command /.*/","OPEN","")}, try help.
2016-09-30 14:42:17 caching: CLOSED;/.*/-OPEN: Unknown command {ReadingsVal("CLOSED, try help.Unknown command /.*/","OPEN","")}, try help.
This is my homebridgeMapping (separated by one blank space):
ContactSensorState=basicSet,values=/^.*0/:CONTACT_DETECTED;/.*/:CONTACT_NOT_DETECTED CurrentDoorState= basicSet,values=/^.*0/:CLOSED;/.*/:OPEN
from homebridge-fhem.
I already found it. Sorry! There was a blank space before "basicSet".
from homebridge-fhem.
Related Issues (20)
- Different names for multiple switches (subtypes)? HOT 3
- SCAN of Child-Bridge not possible in order to add Child-Bridge to second iphone HOT 1
- Update for Hoembridge 2.0 HOT 1
- Configuration gets lost after docker container restart HOT 7
- Homebridge-fhem Problem mit fhem Zugriff. HOT 4
- No reconnect after FHEM Server restart HOT 2
- homebridge-fhem with Homebridge 1.3.x does not work (for me) HOT 4
- Thermostat's dont't work anymore HOT 3
- longpoll error HOT 13
- No response with Mac OS Monterey HOT 1
- Status der Geräte updated nach einiger Zeit nicht mehr HOT 2
- This plugin slows down Homebridge. The read handler for the characteristic 'Current Relative Humidity' was slow to respond HOT 1
- Homebridge sometimes does not start with homebridge-fhem plugin active HOT 8
- Plugin settings in Homebridge UI overwrite manually created configuration HOT 3
- Option to reduce log output HOT 1
- Device state update is not working HOT 14
- For ProgrammableSwitchEvent the nocache=1 dosent work HOT 6
- History Type Energy not working HOT 1
- HMCCU-Geräte werden bei best. Konstellationen vergessen und später als neue Geräte wieder hinzugefügt HOT 1
- Thermostat übergeben OHNE Cooling/AUTO Funktion HOT 2
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-fhem.