Comments (4)
Hi,
Plugin-2.0 branch is still in development but basic functions should work now...
from homebridge-domotiga.
I know its a dev-branch. ;) Just saw a lot of changes in Plugin-2.0 and decided to use that branch for additional stuff. Maybe i should switch back .... i'll think about....
However for the moment:. I just cloned the dev-branch again and it crashed exactly on that point i mentioned (now: line 781 in the freshly cloned index.js). Seems that primaryservice.getCharacteristic(EveAirPressure) didn't return anything. And for some reason no accessory is found. I would expect at least the one....
[1/19/2017, 11:33:23 PM] [Domotiga] Initializing DomotiGa platform...
[1/19/2017, 11:33:23 PM] Loading 0 accessories...
/usr/local/lib/node_modules/homebridge-domotiga/index.js:781
.on('get', this.getCurrentAirPressure.bind(this, accessory.context));
The config (the platform part) looks this way (the endpoint, file fields are the part i am working on and should hopefully not the reason).
{
"platform": "DomotiGa",
"name": "Domotiga",
"endpoint":"https://server:1234/api.foo",
"devices": [
{
"name": "Gartensensor",
"service": "TemperatureSensor",
"manufacturer": "me, myself and i",
"model": "SensorNode v5",
"device": "garten",
"file":"/tmp/data/garten.json",
"valueTemperature": "garten.t",
"valueHumidity": "garten.h",
"valueAirPressure": "garten.p",
"valueBattery": "garten.vcc",
"lowbattery": "3000"
}
]
}
from homebridge-domotiga.
I will have a look at it. If you like to add stuff this branch is ok because I will commit it into master soon. Dynamic accessories of plugin 2 are a big improvement.
Until now tempsensor/airqualitysensor and switches are tested and working. The rest will follow. Feel free to post any issues here :-)
from homebridge-domotiga.
Fixed (finally)
from homebridge-domotiga.
Related Issues (20)
- Doors and windows control HOT 3
- Question - do you get the notifications on more than one device? HOT 4
- Changes in config file will not always be applied HOT 8
- Number of mapped devices : undefined HOT 1
- NO issue, just a discussion around the plugin HOT 2
- Combined TemperatureService device with valueAirPressure failed HOT 3
- Error after upgrade to 2.0 HOT 11
- Window Covering do not stop at open action HOT 1
- Typo in MotionSensor initializing (setService) HOT 1
- Flipped condition HOT 1
- error when starting with new version HOT 1
- Service.Lightbulb support HOT 6
- Possible wrong evaluation for motion sensor return value HOT 2
- Error: The requested platform 'Domotiga' was not registered by any plugin. HOT 2
- Cannot read property 'toLowerCase' of undefined HOT 2
- NPM package one version behind HOT 1
- ECONNREFUSED HOT 2
- homebridge-domotiga crashes when trying to get humidity HOT 3
- Historic energy data 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-domotiga.