Coder Social home page Coder Social logo

Comments (4)

pauleec avatar pauleec commented on August 23, 2024

@mwittig Just to add to the last comment, I am using @dotsam 's homebridge-milight plugin. Homebridge is launching and with the debug option switched on I get the following in the console:

orangepi@OrangePI:~$ MILIGHT_DEBUG=true homebridge -D
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister>
[2018-4-30 14:37:26] Loaded plugin: homebridge-alexa
[2018-4-30 14:37:26] Registering platform 'homebridge-alexa.Alexa'
[2018-4-30 14:37:26] ---
[2018-4-30 14:37:29] Loaded plugin: homebridge-broadlink-rm
[2018-4-30 14:37:29] Registering platform 'homebridge-broadlink-rm.BroadlinkRM'
[2018-4-30 14:37:29] ---
[2018-4-30 14:37:29] Loaded plugin: homebridge-milight
[2018-4-30 14:37:29] Registering platform 'homebridge-milight.MiLight'
[2018-4-30 14:37:29] ---
[2018-4-30 14:37:29] Loaded plugin: homebridge-server
[2018-4-30 14:37:29] Registering platform 'homebridge-server.Server'
[2018-4-30 14:37:29] ---
[2018-4-30 14:37:29] Loaded config.json with 0 accessories and 4 platforms.
[2018-4-30 14:37:29] ---
[2018-4-30 14:37:29] Loading 4 platforms...
[2018-4-30 14:37:29] [Alexa] Initializing Alexa platform...
[2018-4-30 14:37:29] [MiLight] Initializing MiLight platform...
2018-04-30T14:37:29.861Z Milight: {"ip":"10.1.1.188","port":5987,"delayBetweenCommands":100,"commandRepeat":1,"fullSync":false,"sendKeepAlives":true,"sessionTimeout":30000,"host":"10.1.1.188","type":"v6","broadcastMode":false}
[2018-4-30 14:37:29] [MiLight] Initializing platform accessory 'Kitchen Downlighters'...
[2018-4-30 14:37:29] [MiLight] Initializing platform accessory 'Bridge Light'...
[2018-4-30 14:37:29] [Broadlink RM] Initializing BroadlinkRM platform...
[2018-4-30 14:37:29] [Broadlink RM] [INFO] Automatically discovering Broadlink RM devices.
[2018-4-30 14:37:30] [Broadlink RM] No accessories have been added to the "Broadlink RM" platform config.
[2018-4-30 14:37:30] [Broadlink RM] Initializing platform accessory 'Learn'...
[2018-4-30 14:37:30] [Broadlink RM] Initializing platform accessory 'Scan Frequency'...
[2018-4-30 14:37:30] [Homebridge Server] Initializing Server platform...
[2018-4-30 14:37:30] Loading 0 accessories...
[2018-4-30 14:37:31] [Homebridge Server] is listening on: http://10.1.1.76:8765
[2018-4-30 14:37:31] Homebridge is running on port 51826.
2018-04-30T14:37:31.624Z Milight: initializing socket
2018-04-30T14:37:31.668Z Milight: initializing socket done
[2018-4-30 14:37:31] [Broadlink RM] 
[2018-4-30 14:37:31] [Broadlink RM] **************************************************************************************************************
[2018-4-30 14:37:31] [Broadlink RM] ** Welcome to version 3.5.5 of the Homebridge Broadlink RM Plugin!
[2018-4-30 14:37:31] [Broadlink RM] ** 
[2018-4-30 14:37:31] [Broadlink RM] ** Find out what's in the latest release here: https://github.com/lprhodes/homebridge-broadlink-rm/releases
[2018-4-30 14:37:31] [Broadlink RM] ** 
[2018-4-30 14:37:31] [Broadlink RM] ** If you like this plugin then please star it on GitHub or better yet
[2018-4-30 14:37:31] [Broadlink RM] ** buy me a drink using Paypal https://paypal.me/lprhodes or crypto https://goo.gl/bEn1RW.
[2018-4-30 14:37:31] [Broadlink RM] ** 
[2018-4-30 14:37:31] [Broadlink RM] ** Keep up to date with this plugin along with everything HomeKit and homebridge
[2018-4-30 14:37:31] [Broadlink RM] ** by signing up to my newsletter at http://workswith.io
[2018-4-30 14:37:31] [Broadlink RM] **
[2018-4-30 14:37:31] [Broadlink RM] ** You can disable this message by adding "hideWelcomeMessage": true to the config (see config-sample.json).
[2018-4-30 14:37:31] [Broadlink RM] **
[2018-4-30 14:37:31] [Broadlink RM] **************************************************************************************************************
[2018-4-30 14:37:31] [Broadlink RM] 
2018-04-30T14:37:31.750Z Milight: Establishing new session
2018-04-30T14:37:31.774Z Milight: bytesSent=27, buffer=[0x20,0x00,0x00,0x00,0x16,0x02,0x62,0x3A,0xD5,0xED,0xA3,0x01,0xAE,0x08,0x2D,0x46,0x61,0x41,0xA7,0xF6,0xDC,0xAF,0xD3,0xE6,0x00,0x00,0xC9]
2018-04-30T14:37:32.002Z Milight: bytesReceived=22, buffer=[0x28,0x00,0x00,0x00,0x11,0x00,0x02,0xF0,0xFE,0x6B,0x1E,0x29,0x98,0x72,0x1D,0xE4,0xE2,0x00,0x01,0x0C,0x00,0x00], remote=10.1.1.188
2018-04-30T14:37:32.133Z Milight: ready for next command
2018-04-30T14:37:32.138Z Milight: Session Id: 0x0C,0x00
[2018-4-30 14:37:32] [Broadlink RM] [INFO] Discovered Broadlink RM2 Pro Plus (272a) at 10.1.1.22 (0d:43:b4:fc:1e:9c)
2018-04-30T14:37:32.259Z Milight: Session initialized
2018-04-30T14:38:02.265Z Milight: bytesSent=27, buffer=[0x20,0x00,0x00,0x00,0x16,0x02,0x62,0x3A,0xD5,0xED,0xA3,0x01,0xAE,0x08,0x2D,0x46,0x61,0x41,0xA7,0xF6,0xDC,0xAF,0xD3,0xE6,0x00,0x00,0xC9]
2018-04-30T14:38:02.381Z Milight: bytesReceived=22, buffer=[0x28,0x00,0x00,0x00,0x11,0x00,0x02,0xF0,0xFE,0x6B,0x1E,0x29,0x98,0x72,0x1D,0xE4,0xE2,0x00,0x01,0x2C,0x00,0x00], remote=10.1.1.188
2018-04-30T14:38:02.482Z Milight: ready for next command
2018-04-30T14:38:02.484Z Milight: Session Id: 0x2C,0x00
2018-04-30T14:38:32.265Z Milight: bytesSent=27, buffer=[0x20,0x00,0x00,0x00,0x16,0x02,0x62,0x3A,0xD5,0xED,0xA3,0x01,0xAE,0x08,0x2D,0x46,0x61,0x41,0xA7,0xF6,0xDC,0xAF,0xD3,0xE6,0x00,0x00,0xC9]
2018-04-30T14:38:32.488Z Milight: bytesReceived=22, buffer=[0x28,0x00,0x00,0x00,0x11,0x00,0x02,0xF0,0xFE,0x6B,0x1E,0x29,0x98,0x72,0x1D,0xE4,0xE2,0x00,0x01,0x4E,0x00,0x00], remote=10.1.1.188
2018-04-30T14:38:32.591Z Milight: ready for next command
2018-04-30T14:38:32.593Z Milight: Session Id: 0x4E,0x00
2018-04-30T14:39:02.268Z Milight: bytesSent=27, buffer=[0x20,0x00,0x00,0x00,0x16,0x02,0x62,0x3A,0xD5,0xED,0xA3,0x01,0xAE,0x08,0x2D,0x46,0x61,0x41,0xA7,0xF6,0xDC,0xAF,0xD3,0xE6,0x00,0x00,0xC9]
2018-04-30T14:39:02.592Z Milight: bytesReceived=22, buffer=[0x28,0x00,0x00,0x00,0x11,0x00,0x02,0xF0,0xFE,0x6B,0x1E,0x29,0x98,0x72,0x1D,0xE4,0xE2,0x00,0x01,0x71,0x00,0x00], remote=10.1.1.188
2018-04-30T14:39:02.695Z Milight: ready for next command
2018-04-30T14:39:02.700Z Milight: Session Id: 0x71,0x00
2018-04-30T14:39:32.272Z Milight: bytesSent=27, buffer=[0x20,0x00,0x00,0x00,0x16,0x02,0x62,0x3A,0xD5,0xED,0xA3,0x01,0xAE,0x08,0x2D,0x46,0x61,0x41,0xA7,0xF6,0xDC,0xAF,0xD3,0xE6,0x00,0x00,0xC9]
2018-04-30T14:39:32.304Z Milight: bytesReceived=22, buffer=[0x28,0x00,0x00,0x00,0x11,0x00,0x02,0xF0,0xFE,0x6B,0x1E,0x29,0x98,0x72,0x1D,0xE4,0xE2,0x00,0x01,0x92,0x00,0x00], remote=10.1.1.188
2018-04-30T14:39:32.406Z Milight: ready for next command
2018-04-30T14:39:32.408Z Milight: Session Id: 0x92,0x00
2018-04-30T14:40:02.273Z Milight: bytesSent=27, buffer=[0x20,0x00,0x00,0x00,0x16,0x02,0x62,0x3A,0xD5,0xED,0xA3,0x01,0xAE,0x08,0x2D,0x46,0x61,0x41,0xA7,0xF6,0xDC,0xAF,0xD3,0xE6,0x00,0x00,0xC9]
2018-04-30T14:40:02.499Z Milight: bytesReceived=22, buffer=[0x28,0x00,0x00,0x00,0x11,0x00,0x02,0xF0,0xFE,0x6B,0x1E,0x29,0x98,0x72,0x1D,0xE4,0xE2,0x00,0x01,0xB4,0x00,0x00], remote=10.1.1.188
2018-04-30T14:40:02.600Z Milight: ready for next command
2018-04-30T14:40:02.602Z Milight: Session Id: 0xB4,0x00
2018-04-30T14:40:32.273Z Milight: bytesSent=27, buffer=[0x20,0x00,0x00,0x00,0x16,0x02,0x62,0x3A,0xD5,0xED,0xA3,0x01,0xAE,0x08,0x2D,0x46,0x61,0x41,0xA7,0xF6,0xDC,0xAF,0xD3,0xE6,0x00,0x00,0xC9]
2018-04-30T14:40:32.597Z Milight: bytesReceived=22, buffer=[0x28,0x00,0x00,0x00,0x11,0x00,0x02,0xF0,0xFE,0x6B,0x1E,0x29,0x98,0x72,0x1D,0xE4,0xE2,0x00,0x01,0xD5,0x00,0x00], remote=10.1.1.188
2018-04-30T14:40:32.698Z Milight: ready for next command
2018-04-30T14:40:32.699Z Milight: Session Id: 0xD5,0x00
2018-04-30T14:41:02.275Z Milight: bytesSent=27, buffer=[0x20,0x00,0x00,0x00,0x16,0x02,0x62,0x3A,0xD5,0xED,0xA3,0x01,0xAE,0x08,0x2D,0x46,0x61,0x41,0xA7,0xF6,0xDC,0xAF,0xD3,0xE6,0x00,0x00,0xC9]
2018-04-30T14:41:02.454Z Milight: bytesReceived=22, buffer=[0x28,0x00,0x00,0x00,0x11,0x00,0x02,0xF0,0xFE,0x6B,0x1E,0x29,0x98,0x72,0x1D,0xE4,0xE2,0x00,0x01,0xF8,0x00,0x00], remote=10.1.1.188
2018-04-30T14:41:02.555Z Milight: ready for next command
2018-04-30T14:41:02.556Z Milight: Session Id: 0xF8,0x00

So there seems to be communication between the homebridge-milight plugin and the iBox2 bridge - but commands sent are received by the iBox but are ignored...? Whats going on?

from node-milight-promise.

pauleec avatar pauleec commented on August 23, 2024

Fixed it!

after lots of head scratching the issue finally came down to my friend who had set a password on the milight bridge. resetting back to the default (0000) and the devices all started working! If there is a tip in the FAQ I wish I had seen this earlier :) otherwise there would certainly be lots of time saved having one on this!

from node-milight-promise.

mwittig avatar mwittig commented on August 23, 2024

Sorry for delay in reply to your ticket. I have been very busy the last couple of days. I am glad you have managed solve the problem yourself! Actually, I have not been aware about this password issue and I certainly will make a troubleshooting note about that.

How did you set the password the password and what it is exactly about? With my iBox1 there is no password for the bridge other than the user account for the web interface and the WiFi credentials. Maybe you can post a screenshot of the UI where the password is set?

from node-milight-promise.

mwittig avatar mwittig commented on August 23, 2024

@pauleec I am still puzzled about this password you reset to 0000. What is it about exactly? As said in my previous post with my iBox1 there is no password for the bridge other than the user account for the web interface and the WiFi credentials. May be tghe password is related to the homebridge application you're using?

from node-milight-promise.

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.