NRCHKB / node-red-contrib-homekit-bridged

Node-RED Contribution - HomeKit Bridged : Node-RED nodes to simulate Apple HomeKit devices.
https://nrchkb.github.io
MIT License
418 stars 52 forks source link

Same UUID as another Characteristic in this Service #107

Closed Niclas82 closed 5 years ago

Niclas82 commented 5 years ago

Was expermenting with the homebrige node and deleted my config to start over. When I was created a new parent node I got this error. I have tried to delete all nodes and services. Removed node-red-contrib-homekit-bridged and installed it again but I can get rid of this error. Any idea

/Niclas Skärmavbild 2019-05-02 kl  19 31 28

crxporter commented 5 years ago

This is the same error as #5 which was fixed almost a year ago...

Are you sure you've installed the correct version of node-red-contrib-homekit-bridged? Make sure your palette manager shows version 0.6.2 like this:

Screen Shot 2019-05-02 at 12 53 04 PM

Niclas82 commented 5 years ago

Skärmavbild 2019-05-02 kl  20 52 16

Using latest version

Is there any way to delete everything that has with homebrige to do and reinstall it?

Shaquu commented 5 years ago

First you stop node-red

node-red-stop

or

ps aux | grep node-red
kill -9 <pid>

Then you have to locate module files. They should be in .node-red folder. If they are not then try to locate them:

updatedb
locate node-red-contrib-homekit-bridged

In my case it returned files in _/root/.node-red/nodemodules/

We go to this node-red root folder:

cd /root/.node-red/node_modules/

Then we remove all files:

rm -r node-red-contrib-homekit-bridged

We go back to our root node-red folder (/root/.node-red/ in my case) and we look into package.json file to check what version of NRCHKB we are using:

{
    "name": "node-red-project",
    "description": "A Node-RED Project",
    "version": "0.0.1",
    "private": true,
    "dependencies": {
        "node-red-contrib-homekit-bridged": "~0.6.2",

If version is not 0.6.2 then change to it.

Now run

npm install

Start node-red

node-red-start

Enjoy.

Shaquu commented 5 years ago

@Niclas82 I am closing this Issue as it's old. If you come here again and still have problems then please try my advice from above post. It it works then then please comment. If not then comment aswell or open new Issue.