Code Monkey home page Code Monkey logo

Comments (4)

manueligno78 avatar manueligno78 commented on July 22, 2024

This is my log:

[2017-01-18 23:24:22] Loaded plugin: homebridge-http
[2017-01-18 23:24:22] Registering accessory 'homebridge-http.Http'
[2017-01-18 23:24:22] ---
[2017-01-18 23:24:22] Loaded plugin: homebridge-hue
[2017-01-18 23:24:22] Registering platform 'homebridge-hue.Hue'
[2017-01-18 23:24:22] ---
[2017-01-18 23:24:22] Loaded plugin: homebridge-server
[2017-01-18 23:24:22] Registering platform 'homebridge-server.Server'
[2017-01-18 23:24:22] ---
[2017-01-18 23:24:22] Loaded plugin: homebridge-sky-plus-hd
[2017-01-18 23:24:22] Registering accessory 'homebridge-sky-plus-hd.SkyPlusHDBox'
[2017-01-18 23:24:22] ---
[2017-01-18 23:24:22] Loaded plugin: homebridge-wol
[2017-01-18 23:24:22] Registering accessory 'homebridge-wol.Computer'
[2017-01-18 23:24:22] ---
[2017-01-18 23:24:22] Loaded config.json with 0 accessories and 1 platforms.
[2017-01-18 23:24:22] ---
[2017-01-18 23:24:22] Loading 1 platforms...
[2017-01-18 23:24:22] [Hue] Initializing Hue platform...
[2017-01-18 23:24:22] [Hue] homebridge-hue v0.1.12, node v5.1.0, homebridge v2.1
[2017-01-18 23:24:22] [Hue] contacting meethue portal
[2017-01-18 23:24:22] Loading 0 accessories...
[2017-01-18 23:24:23] [Hue] probing bridge at 192.168.1.137
[2017-01-18 23:24:23] [Hue] 192.168.1.137: hue bridge request #1: get /config
[2017-01-18 23:24:23] [Hue] 192.168.1.137: hue bridge request #1: ok
[2017-01-18 23:24:23] [Hue] Philips hue: BSB002 bridge, api v1.16.0
[2017-01-18 23:24:23] [Hue] Philips hue: hue bridge request #2: post / {"devicetype":"homebridge-hue#Mac-mini-di-Emanuele-7.local"}
[2017-01-18 23:24:23] [Hue] Philips hue: hue bridge request #2: post / {"devicetype":"homebridge-hue#Mac-mini-di-Emanuele-7.local"}
[2017-01-18 23:24:23] [Hue] Philips hue: hue bridge error 7: invalid value,  homebridge-hue#Mac-mini-di-Emanuele-7.local, for parameter, devicetype
[2017-01-18 23:24:23] [Hue] Philips hue: press link button on the bridge to create a user
[2017-01-18 23:24:28] [Hue] Philips hue: hue bridge request #3: post / {"devicetype":"homebridge-hue#Mac-mini-di-Emanuele-7.local"}
[2017-01-18 23:24:28] [Hue] Philips hue: hue bridge request #3: post / {"devicetype":"homebridge-hue#Mac-mini-di-Emanuele-7.local"}
[2017-01-18 23:24:28] [Hue] Philips hue: hue bridge error 7: invalid value,  homebridge-hue#Mac-mini-di-Emanuele-7.local, for parameter, devicetype
[2017-01-18 23:24:28] [Hue] Philips hue: press link button on the bridge to create a user

from homebridge-hue.

ebaauw avatar ebaauw commented on July 22, 2024

homebridge-hue tries to create a bridge username, using the name of your server to construct a devicetype. That fails, I think, because the devicetype is too long.

As a workaround you could:

Structurally, I need to check how long devicetype can be and make homebridge-hue truncate the value to that length, if needed. Edit: 40 characters.

from homebridge-hue.

ebaauw avatar ebaauw commented on July 22, 2024

Fixed in v0.1.13.

from homebridge-hue.

manueligno78 avatar manueligno78 commented on July 22, 2024

test passed :)

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.