Giter Club home page Giter Club logo

Comments (4)

Samfox2 avatar Samfox2 commented on August 24, 2024

Hi,

Plugin-2.0 branch is still in development but basic functions should work now...

from homebridge-domotiga.

nordblick2 avatar nordblick2 commented on August 24, 2024

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.

Samfox2 avatar Samfox2 commented on August 24, 2024

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.

Samfox2 avatar Samfox2 commented on August 24, 2024

Fixed (finally)

from homebridge-domotiga.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.