Giter Site home page Giter Site logo

Comments (18)

denzel1994 avatar denzel1994 commented on July 25, 2024

Indeed no functionality with 1.0.x

`

ham.0 2020-04-30 09:42:55.874 info (30099) Terminated (NO_ERROR): Without reason
ham.0 2020-04-30 09:42:55.873 info (30099) terminating
ham.0 2020-04-30 09:42:55.841 info (30099) cleaned everything up...
ham.0 2020-04-30 09:42:55.840 error at checkLocalMode (/opt/iobroker/node_modules/iobroker.ham/main.js:397:25)
ham.0 2020-04-30 09:42:55.840 error at checkLocalMode (/opt/iobroker/node_modules/iobroker.ham/main.js:203:13)
ham.0 2020-04-30 09:42:55.840 error at installAllLibraries (/opt/iobroker/node_modules/iobroker.ham/main.js:378:21)
ham.0 2020-04-30 09:42:55.840 error at installAllLibraries (/opt/iobroker/node_modules/iobroker.ham/main.js:217:39)
ham.0 2020-04-30 09:42:55.840 error at Object.init (/opt/iobroker/node_modules/iobroker.ham/lib/global-handler.js:88:12)
ham.0 2020-04-30 09:42:55.840 error at require (internal/modules/cjs/helpers.js:25:18)
ham.0 2020-04-30 09:42:55.840 error at Module.require (internal/modules/cjs/loader.js:692:17)
ham.0 2020-04-30 09:42:55.840 error at Function.Module._load (/opt/iobroker/node_modules/mock-require/index.js:30:22)
ham.0 2020-04-30 09:42:55.840 error at Function.Module._load (internal/modules/cjs/loader.js:562:25)
ham.0 2020-04-30 09:42:55.840 error at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
ham.0 2020-04-30 09:42:55.840 error (30099) Error: Cannot find module '/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/once'
ham.0 2020-04-30 09:42:55.839 error (30099) uncaught exception: Cannot find module '/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/once'
ham.0 2020-04-30 09:42:55.346 debug (30099) Use Global Homebridge Path: /usr/lib/node_modules/homebridge/
ham.0 2020-04-30 09:42:55.344 info (30099) No additional Libraries to install ...
ham.0 2020-04-30 09:42:55.318 info (30099) starting. Version 1.1.2 in /opt/iobroker/node_modules/iobroker.ham, node: v10.20.1, js-controller: 3.0.19

`

from iobroker.ham.

Apollon77 avatar Apollon77 commented on July 25, 2024

Jupp. Bitte downgraden. Die 1.0 ist wie die Versionsnummer sagt „breaking“ und da hat sich sehr viel geändert. Muss mal schauen was geht überhaupt.

from iobroker.ham.

Mr-REM-Esq avatar Mr-REM-Esq commented on July 25, 2024

Jupp. Bitte downgraden. Die 1.0 ist wie die Versionsnummer sagt „breaking“ und da hat sich sehr viel geändert. Muss mal schauen was geht überhaupt.

Do I need to downgrade to 0.4.5? How should I do it?

from iobroker.ham.

Apollon77 avatar Apollon77 commented on July 25, 2024

If you have the adaoter working again then yes you should downgrade. Downgrade the same way as you updated but with @0.4.5 or such

from iobroker.ham.

Apollon77 avatar Apollon77 commented on July 25, 2024

Somehow you updated homebridge ... it was not via the adapter

from iobroker.ham.

Mr-REM-Esq avatar Mr-REM-Esq commented on July 25, 2024

Somehow you updated homebridge ... it was not via the adapter

Yes, I upgraded it too. Do I need downgrade adapter or homebridge?

from iobroker.ham.

Apollon77 avatar Apollon77 commented on July 25, 2024

homebridge is the reason not the adapter

from iobroker.ham.

Mr-REM-Esq avatar Mr-REM-Esq commented on July 25, 2024

OK. If I leave the current version of the adapter and downgrade the homebridge it will be enough?

from iobroker.ham.

Apollon77 avatar Apollon77 commented on July 25, 2024

should be

from iobroker.ham.

Mr-REM-Esq avatar Mr-REM-Esq commented on July 25, 2024

Which version of hombridge is right for me?

from iobroker.ham.

Apollon77 avatar Apollon77 commented on July 25, 2024

which one you had befopre you upgraded homebride? I don't know ... it needs to be <1.0

from iobroker.ham.

Mr-REM-Esq avatar Mr-REM-Esq commented on July 25, 2024

I am updated on every new version

from iobroker.ham.

Mr-REM-Esq avatar Mr-REM-Esq commented on July 25, 2024

sudo npm install -g -unsafe-perm [email protected] -g

Is it right command?

from iobroker.ham.

fugazzy avatar fugazzy commented on July 25, 2024

Is there any chance to get this fixed quite soon? Otherwise it would start to separate homebridge and iobroker again.
I activated the Iobroker-Homematic-Adapter already, because I needed to geht the information about tilted windows to HomeKit (virtual switch in homebridge and script in iobroker)
BTW: homebridge is now on version 1.1.0

from iobroker.ham.

Apollon77 avatar Apollon77 commented on July 25, 2024

Quite soon ... hm ... let me think ... homebridge 1.1.0 is based on a new hap library version and both projects where converted to typescript and so i consider them as a rewrite. The ham adapter is doing quite some interception magic and overwrites methods from the original classes.

You are welcome to get familiar with all of this and provide needed PRs and code changes. Then it will be faster.

If you can not then I‘m really sorry that you need to wait till I find time analyzing this.

The solution to get it working again for now is to head back to homebridge <1.0 ... or what’s the exact reason to be on 1.x?

from iobroker.ham.

Apollon77 avatar Apollon77 commented on July 25, 2024

Please try with a homebridge 1.1 and the new 2.0 of the adapter

from iobroker.ham.

entavio avatar entavio commented on July 25, 2024

i have updated to v2.0 and the adapter gets green again with the plugin merdok/homebridge-xiaomi-fan#17

but the problem is i don't get any data set points for mapping to yahka

from iobroker.ham.

Apollon77 avatar Apollon77 commented on July 25, 2024

As said: Please set iobroker adapter logging to debug (instances - exper mode - column loglevel) and then get the full log from adapter start from the logfile on disk (NOT via admin web ui!!) (/opt/iobroker/log/...) and post here

from iobroker.ham.

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.