merdok / homebridge-miot

Homebridge plugin for devices supporting the Xiaomi miot protocol
MIT License
395 stars 63 forks source link

Xiaomi Mi Computer Monitor Light Bar 1S #228

Closed patriceckhart closed 2 years ago

patriceckhart commented 2 years ago

I have the Xiaomi Mi Computer Monitor Light Bar 1S. This can be found in the supported device list. However, I can't register this monitor lightbar anywhere? how can i add this to the plugin? How do I find out IP and token?

merdok commented 2 years ago

If you have homebridge ui then you can simply use this feature to auto discover your devices: discover

If not then you can use the built in command line utilities to get the info straight from the console. See here for command: https://github.com/merdok/homebridge-miot#token

patriceckhart commented 2 years ago

@merdok Thanks but there are no devices registered in my micloud account (https://i.mi.com/). How can I register the monitor light there?

merdok commented 2 years ago

You have to simply add it in the mi home app while you are logged into your account.

patriceckhart commented 2 years ago

@merdok Thank you. I tried it with a Xiaomi Monitor Lamp, shouldn't that be this one? Unfortunately the off on off ... 5 times in 7 seconds and 2 secondes 5 times doesn't work.

merdok commented 2 years ago

I mean you should not ask me what kind of device you have 😅 You would need to provide the unique device model, but from what i can understand is that your device requires a micloud connection, hence depending on the country you are and the server which you use there will be a slight delay.

patriceckhart commented 2 years ago

@merdok Thank you for your quick response. Yes I know. It's the Xiaomi Monitor Light Bar. Strange that it doesn't work. It should actually work. I will try again.