Giter Club home page Giter Club logo

hueboblightd's People

Contributors

wizbangcrash avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

hueboblightd's Issues

HueBobLightd fails with light strip with a blank in its name

20171028 22:01:23.902 [INFO] LightsUpdater(update_forever): Lights have been turned on
20171028 22:01:23.902 [INFO] LightsUpdater(update_forever): Update period: 100.0ms
20171028 22:02:03.529 [INFO] BoblightDaemon(signal_handler): Caught signal: 10
20171028 22:02:30.778 [DEBUG] BobHueRequestHandler(handle): handle
20171028 22:02:30.779 [DEBUG] BobHueRequestHandler(handle): RX [192.168.123.28]: hello
20171028 22:02:30.779 [INFO] BobHueRequestHandler(process_request): hello
20171028 22:02:30.779 [DEBUG] BobHueRequestHandler(handle): TX [192.168.123.28]: hello

20171028 22:02:30.793 [DEBUG] BobHueRequestHandler(handle): RX [192.168.123.28]: get version
20171028 22:02:30.793 [INFO] BobHueRequestHandler(process_request): version
20171028 22:02:30.794 [DEBUG] BobHueRequestHandler(handle): TX [192.168.123.28]: version 5

20171028 22:02:30.809 [DEBUG] BobHueRequestHandler(handle): RX [192.168.123.28]: get lights
20171028 22:02:30.809 [INFO] BobHueRequestHandler(process_request): lights
20171028 22:02:30.809 [DEBUG] BobHueRequestHandler(process_request): Response: light TV lightstrip:2 scan 100 0 100 100
20171028 22:02:30.809 [DEBUG] BobHueRequestHandler(handle): TX [192.168.123.28]: lights 1
light TV lightstrip:2 scan 100 0 100 100

... and that is it. MrMc LightEffectsClient fails at this point. After renaming the strip from "TV lightstrip" to "lightstrip" everything works...

Maybe helpful if someone else runs into the same issue...

can't connect apple tv 4k with mrmc

Hello
Nice work
the server is working fine , my 2 Hue go light change on start and go sleep but when trying mrmc it failed to connect to server
the message from the server is:
hueboblightd: Started: version 1.3.0
hueboblightd: gethostname() = ('PC-CH-MIKA', 19333)
hueboblightd: Added light: {'address': BridgeAddress(address='192.168.1.10', username='--removed---'), 'name': 'Hue go 1', 'hue_id': '8', 'brightness': 100, 'gamut': 'GamutA', 'scanarea': (50, 100, 75, 100), 'transition': 3}
hueboblightd: Added light: {'address': BridgeAddress(address='192.168.1.10', username='--removed---'), 'name': 'Hue go 2', 'hue_id': '9', 'brightness': 100, 'gamut': 'GamutA', 'scanarea': (50, 100, 0, 25), 'transition': 3}
hueboblightd: Starting lights update thread:
BoblightDaemon: Starting Updater thread
HueLight: Connect: http://192.168.1.10/api/--removed--
hueboblightd: Starting server update thread: ('PC-CH-MIKA', 19333)
BoblightDaemon: Starting Server thread ('192.168.1.24', 19333)
LightsUpdater: Connection established to hue bridge
LightsUpdater: Initialise: Auto Off: 10mins
HueLight: Turn on light(Hue go 1:8)
HueLight: Turn on light(Hue go 2:9)
LightsUpdater: Lights have been turned on
LightsUpdater: Update period: 200.0ms
BobHueRequestHandler: hello
BobHueRequestHandler: version
BobHueRequestHandler: lights

mrmc client message: unable to connect to server
The setting of mrmc
adress of the server : 192.168.1.24
port: 19333

my conf file of the server
{
/// Socket server details
/// port: port number the server will listen on
/// address: (optional) IPv4 address the server will listen on
"server" : {
"port" : 19333
/// "address" : 192.168.1.27
},

/// Tranistion time:
/// Philips hue lights need time to transition from 1 color
/// to the next. Here you can choose how long in multiples of 100ms
/// Valid values: 1 to 10 (default: 3)
///
/// NOTE: If the client sends light <x> speed <y> requests they
///       overwrite this value e.g. MrMC speed slider
"transitionTime" : 3,

/// Auto Off:
/// If set the server will turn the lights off after a set period of
/// inactivity (default: 10)
/// Valid values: 1 to ??? minutes
///
/// NOTE: Lights will always turn on automatically
"autoOff" : 10,

/// Details of the Hue Bridge
///     name: Friendly name used by software for log messages
///     address: Domain name or ip address of Bridge
///     username: A pre-authorised user name for accessing the Bridge
///         For details on creating a user see:
///         https://www.developers.meethue.com/documentation/getting-started
/// bridges is a list of available bridges and the lights assciated with each
///
"bridges" : [
    {
        "name" : "HueTinou",
        "address" : "192.168.1.10",
        "username" : "--removed--",
        ///
        ///    lights : An array of Hue lights & their screen coordinates
        ///        id : Hur Bridge light id
        ///        name : Hue light name
        ///        gamut : (optional) gamut of light e.g. GamutA, GamutB or GamutC
        ///        brightness : Brightness value: 1-254 (default: 150)
        ///        hscan : left and right values expressed as a percentage
        ///        vscan : top and bottom values expressed as a percentage
        ///    e.g. A light that covers the bottom right quadrant of the display:
        ///        "name" : "right",
        ///        "gamut" : "GamutC"
        ///        "hscan" : { "left" : 50, "right" : 100 },
        ///        "vscan" : { "top" : 50, "bottom" : 100 }
        ///
        "lights" : [
            {
                "id" : "8",
                "name" : "Hue go 1",
                "gamut" : "GamutA",
                "brightness" : 100,
                "hscan" : { "left" : 75, "right" : 100 },
                "vscan" : { "top" : 50, "bottom" : 100 }
            },
            {
                "id" : "9",
                "name" : "Hue go 2",
                "gamut" : "GamutA",
                "brightness" : 100,
                "hscan" : { "left" : 0, "right" : 25 },
                "vscan" : { "top" : 50, "bottom" : 100 }
            }
        ]
    }
]

}

Thank's for your help

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.