Code Monkey home page Code Monkey logo

Comments (7)

Lestercity avatar Lestercity commented on July 22, 2024

by the way here is what my config.json looks like:

{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "xxx-xx-xxx"
},

"platforms": [{

		"platform": "HarmonyHub",
		"name": "Living Room Harmony Hub"
	}, {
		"platform": "Hue",
		"name": "Hue",
		"host":   "192.168.178.101",
		"users": {
			"001788FFFExxxxxxx": "mu1w6oAyu87afjyQc1xfGEoohN9E7KLxxxxxxxxx"

		},
		"heartrate": 5,
		"timeout": 5,
		"lights": false,
		"philipslights": false,
		"ct": false,
		"groups": false,
		"group0": true,
		"rooms": false,
		"sensors": false,
		"clipsensors": true,
		"schedules": false,
		"rules": false



	}



]

}

from homebridge-hue.

ebaauw avatar ebaauw commented on July 22, 2024

I get an error message: There was a problem reading your config.json file. SyntaxError: Unexpected token in JSON at position 262 at JSON.parse ()

This error message is issued by homebridge when trying to read config.json, before homebridge-hue (or any other plugin) is initialised.

Visually, your config.json looks fine. My guess is that somehow it contains an invisible character that is removed when copy/pasting the text to jsonlint. Try re-creating config.json.

from homebridge-hue.

Lestercity avatar Lestercity commented on July 22, 2024

Thanks so much for your fast respond, really appreciated. I re-created the config.json and now it is running, very happy. One last question, the hue dimmer remote is also visible in my home app but isn't supported and greyed out. Is there a setting I can change to make it useable within the home app?

from homebridge-hue.

Lestercity avatar Lestercity commented on July 22, 2024

oh, about the motion sensor. It is recognized and I can see status from within the Home app. I tried to create a trigger for enabling a specific scene, in my case turn kitchen lights on and switch on an elgato eve energy plug, but it won't activate that scene. Isn't that supported at all, or am I missing something. The same thing works with an out of the box homekit supported motion sensor from Fibaro.

from homebridge-hue.

ebaauw avatar ebaauw commented on July 22, 2024

the hue dimmer remote is also visible in my home app but isn't supported and greyed out. Is there a setting I can change to make it useable within the home app?

No, there isn't, unfortunately, Home simply doesn't support the Stateful Programmable Switch service. You'd need to use another HomeKit app, see Caveats in the README.

I tried to create a trigger for enabling a specific scene, in my case turn kitchen lights on and switch on an elgato eve energy plug, but it won't activate that scene. Isn't that supported at all, or am I missing something.

That should work. I do find that synchronising the HomeKit database between your iOS devices and AppleTV over iCloud tends to break when making a lot of changes at the same time. What I do when triggers don't work, is:

  • Disable them all on one device, wait like five minutes and check that they show as disabled on all other devices (unfortunately, you cannot check on the AppleTV);
  • Reenable them all on one device, wait like five minutes and check that they show as enabled on all other devices.

If that doesn't work: disable iCloud for HomeKit on all your devices (and AppleTV) except one (preferably an iPad which you can setup temporarily as HomeKit Hub). Make the HomeKit configuration changes on that one device, and check that they work as intended. Then re-enabled iCould for HomeKit on your other devices, one by one.

from homebridge-hue.

Lestercity avatar Lestercity commented on July 22, 2024

Hi ebaauw. Thanks for all your help. Got the scenes working now, very happy. Would it be possible or do you think homekit will implant, custom notification settings for motion sensor. For example put them off when @home and on when away, or even a schedule for that purpose.

from homebridge-hue.

ebaauw avatar ebaauw commented on July 22, 2024

Would it be possible or do you think homekit will implant, custom notification settings for motion sensor. For example put them off when @home and on when away, or even a schedule for that purpose.

I'm not privy to any roadmaps from Apple, so your guess is as good as mine. I didn't get any notifications from the motion sensors before iOS 10.2 (I also tried Apple's HomeKit accessory simulator, so I know it wasn't due to homebridge-hue), so Apple are progressing on HomeKit.

It would seem like the notifications and their settings are part of the Home app, rather than the HomeKit API. I doubt Apple will make them available to other HomeKit apps. I think it's a safe bet they won't ever be accessible to HomeKit accessories, nor homebridge.

from homebridge-hue.

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.