Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[miio] adding new device support (yeelink.light.lamp15) #10589

Closed
r0bertreh opened this issue Apr 26, 2021 · 12 comments · Fixed by #10603
Closed

[miio] adding new device support (yeelink.light.lamp15) #10589

r0bertreh opened this issue Apr 26, 2021 · 12 comments · Fixed by #10603
Labels
bug An unexpected problem or unintended behavior of an add-on

Comments

@r0bertreh
Copy link

I just got a Yeelight Desktop lamp, but it's not fully supported. The experimental feature extracted this json file.

I hope it can help you.

yeelink.light.lamp15-experimental.json.zip

@r0bertreh r0bertreh added the bug An unexpected problem or unintended behavior of an add-on label Apr 26, 2021
@marcelrv
Copy link
Contributor

do all functions work when you use the experimental file?

@r0bertreh
Copy link
Author

Actually I don’t know (maybe I did something wrong). I tried to link an item I saw in the file, but didn’t work. But As I said I don’t know if I did something wrong. I’m keen on helping where I can.

@marcelrv
Copy link
Contributor

If things went well, you should see in the UI the channels as they are created by the file,
Alternatively, you could try a similar light, by changing the model in the thing config e.g. try yeelink.light.ceiling4 as that has a lot in common with your light it seems

There seem to be some unique commands for your device. dunno what they are doing,

"commands": [
            "set_ps",
            "set_knob",
            "set_poweron_ui",
            "set_default",
            "set_adjust",
            "set_time",
            "set_scene_bundle",
            "set_properties",
            "set_mode_static",
            "set_mode_breathe",
            "set_mode_cycle",
            "set_mode_colorful",
            "get_ps",
            "get_time",
            "get_status"

@r0bertreh
Copy link
Author

OK just tried the created channels and they work, but the main light switch is always on. When I shut of the light, the switch in openhab just jumps back to ON.

@marcelrv
Copy link
Contributor

Can you share a debug log of the refresh and a switch on and a switch off
(e.g. use log:set debug org.openhab.binding.miio in the cli)

Otherwise it is a bit of a big guess what is going on.

@r0bertreh
Copy link
Author

r0bertreh commented Apr 28, 2021

I think this should it be.
Lamp is shut off, Switch is ON and I tried to switch the switch to OFF (goes back to ON)

When I change the switch to OFF and pretty fast back to ON, the lamp goes on. So the commands are OK in general.

`2021-04-28 09:35:35.867 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'XiaomiDesklampPro_Power' received command OFF

2021-04-28 09:35:35.869 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'XiaomiDesklampPro_Power' predicted to become OFF

2021-04-28 09:35:35.875 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'XiaomiDesklampPro_Power' changed from ON to OFF

==> /var/log/openhab/openhab.log <==

2021-04-28 09:35:35.875 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Locating action for miio:basic:0EEA71D5 channel 'power': 'OFF'

2021-04-28 09:35:35.875 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Sending command set_power["off"]

2021-04-28 09:35:35.876 [DEBUG] [nal.transport.MiIoAsyncCommunication] - Command added to Queue {"id":16,"method":"set_power","params":["off"]} -> 192.168.7.44 (Device: 0EEA71D5 token: A10576FEXXXXXXXXXXXXXXXX1D35DEC9 Queue: 1).

2021-04-28 09:35:36.025 [DEBUG] [internal.handler.MiIoAbstractHandler] - Received response for 0EEA71D5 type: SET_POWER, result: ["ok"], fullresponse: {"id":16,"result":["ok"],"exe_time":0}

2021-04-28 09:35:36.549 [DEBUG] [nal.transport.MiIoAsyncCommunication] - Communication error for Mi device at 192.168.7.51: Receive timed out

2021-04-28 09:35:36.549 [DEBUG] [nal.transport.MiIoAsyncCommunication] - No response from device 07F02123 at 192.168.7.51 for command {"id":63,"method":"get_prop","params":["power","bright"]}.

2021-04-28 09:35:36.550 [DEBUG] [internal.handler.MiIoAbstractHandler] - Received response for 457dfdcf type: GET_PROPERTY, result: {}, fullresponse: {"error":"No Response"}

2021-04-28 09:35:36.550 [DEBUG] [internal.handler.MiIoAbstractHandler] - Error received: "No Response"

==> /var/log/openhab/events.log <==

2021-04-28 09:35:38.944 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'XiaomiDesklampPro_Power' changed from OFF to ON

==> /var/log/openhab/openhab.log <==

2021-04-28 09:35:38.876 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Periodic update for 'miio:basic:0EEA71D5' (miio:basic)

2021-04-28 09:35:38.877 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel brightness for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:35:38.877 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel delayoff for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:35:38.878 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel colorTemperature for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:35:38.878 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel colorMode for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:35:38.878 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel rgbColor for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:35:38.879 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel ambientBrightness for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:35:38.879 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel ambientPower for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:35:38.879 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel ambientColor for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:35:38.879 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel ambientColorTemperature for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:35:38.880 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel ambientColorMode for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:35:38.880 [DEBUG] [nal.transport.MiIoAsyncCommunication] - Command added to Queue {"id":17,"method":"get_prop","params":["power"]} -> 192.168.7.44 (Device: 0EEA71D5 token: A10576FEXXXXXXXXXXXXXXXX1D35DEC9 Queue: 1).

2021-04-28 09:35:38.944 [DEBUG] [internal.handler.MiIoAbstractHandler] - Received response for 0EEA71D5 type: GET_PROPERTY, result: ["on"], fullresponse: {"id":17,"result":["on"],"exe_time":10}`

@marcelrv
Copy link
Contributor

marcelrv commented Apr 28, 2021

what happens if you wait a bit longer? It seems there is some delayed reaction from your light

as at 09:35:36.025 it accepted the command and processes it well
2021-04-28 09:35:36.025 [DEBUG] [internal.handler.MiIoAbstractHandler] - Received response for 0EEA71D5 type: SET_POWER, result: ["ok"], fullresponse: {"id":16,"result":["ok"],"exe_time":0}

but on 2021-04-28 09:35:38.944 [DEBUG] [internal.handler.MiIoAbstractHandler] - Received response for 0EEA71D5 type: GET_PROPERTY, result: ["on"], fullresponse: {"id":17,"result":["on"],"exe_time":10}
it reports it is still on

It can be that in the following refresh (30 sec later) it actually is switched

@r0bertreh
Copy link
Author

`2021-04-28 09:46:28.342 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'XiaomiDesklampPro_Power' received command OFF

2021-04-28 09:46:28.343 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'XiaomiDesklampPro_Power' predicted to become OFF

2021-04-28 09:46:28.344 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'XiaomiDesklampPro_Power' changed from ON to OFF

==> /var/log/openhab/openhab.log <==

2021-04-28 09:46:28.349 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Locating action for miio:basic:0EEA71D5 channel 'power': 'OFF'

2021-04-28 09:46:28.349 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Sending command set_power["off"]

2021-04-28 09:46:28.349 [DEBUG] [nal.transport.MiIoAsyncCommunication] - Command added to Queue {"id":51,"method":"set_power","params":["off"]} -> 192.168.7.44 (Device: 0EEA71D5 token: A10576FEXXXXXXXXXXXXXXXX1D35DEC9 Queue: 1).

2021-04-28 09:46:28.400 [DEBUG] [internal.handler.MiIoAbstractHandler] - Received response for 0EEA71D5 type: SET_POWER, result: ["ok"], fullresponse: {"id":51,"result":["ok"],"exe_time":10}

==> /var/log/openhab/events.log <==

2021-04-28 09:46:31.420 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'XiaomiDesklampPro_Power' changed from OFF to ON

==> /var/log/openhab/openhab.log <==

2021-04-28 09:46:31.350 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Periodic update for 'miio:basic:0EEA71D5' (miio:basic)

2021-04-28 09:46:31.350 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel brightness for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:46:31.350 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel delayoff for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:46:31.351 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel colorTemperature for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:46:31.351 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel colorMode for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:46:31.351 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel rgbColor for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:46:31.351 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel ambientBrightness for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:46:31.352 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel ambientPower for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:46:31.352 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel ambientColor for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:46:31.352 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel ambientColorTemperature for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:46:31.352 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel ambientColorMode for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:46:31.353 [DEBUG] [nal.transport.MiIoAsyncCommunication] - Command added to Queue {"id":52,"method":"get_prop","params":["power"]} -> 192.168.7.44 (Device: 0EEA71D5 token: A10576FEXXXXXXXXXXXXXXXX1D35DEC9 Queue: 1).

2021-04-28 09:46:31.418 [DEBUG] [internal.handler.MiIoAbstractHandler] - Received response for 0EEA71D5 type: GET_PROPERTY, result: ["on"], fullresponse: {"id":52,"result":["on"],"exe_time":0}

2021-04-28 09:46:47.468 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Periodic update for 'miio:basic:0EEA71D5' (miio:basic)

2021-04-28 09:46:47.469 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel brightness for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:46:47.469 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel delayoff for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:46:47.470 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel colorTemperature for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:46:47.470 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel colorMode for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:46:47.470 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel rgbColor for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:46:47.470 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel ambientBrightness for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:46:47.471 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel ambientPower for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:46:47.471 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel ambientColor for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:46:47.471 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel ambientColorTemperature for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:46:47.471 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel ambientColorMode for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:46:47.471 [DEBUG] [nal.transport.MiIoAsyncCommunication] - Command added to Queue {"id":53,"method":"get_prop","params":["power"]} -> 192.168.7.44 (Device: 0EEA71D5 token: A10576FEXXXXXXXXXXXXXXXX1D35DEC9 Queue: 1).

2021-04-28 09:46:47.472 [DEBUG] [nal.transport.MiIoAsyncCommunication] - Command added to Queue {"id":54,"method":"miIO.info","params":[]} -> 192.168.7.44 (Device: 0EEA71D5 token: A10576FEXXXXXXXXXXXXXXXX1D35DEC9 Queue: 2).

2021-04-28 09:46:47.650 [DEBUG] [internal.handler.MiIoAbstractHandler] - Received response for 0EEA71D5 type: GET_PROPERTY, result: ["on"], fullresponse: {"id":53,"result":["on"],"exe_time":10}

2021-04-28 09:47:17.472 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Periodic update for 'miio:basic:0EEA71D5' (miio:basic)

2021-04-28 09:47:17.473 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel brightness for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:47:17.473 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel delayoff for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:47:17.473 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel colorTemperature for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:47:17.473 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel colorMode for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:47:17.474 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel rgbColor for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:47:17.474 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel ambientBrightness for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:47:17.474 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel ambientPower for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:47:17.474 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel ambientColor for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:47:17.475 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel ambientColorTemperature for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:47:17.475 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel ambientColorMode for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:47:17.475 [DEBUG] [nal.transport.MiIoAsyncCommunication] - Command added to Queue {"id":55,"method":"get_prop","params":["power"]} -> 192.168.7.44 (Device: 0EEA71D5 token: A10576FEXXXXXXXXXXXXXXXX1D35DEC9 Queue: 1).

2021-04-28 09:47:17.659 [DEBUG] [internal.handler.MiIoAbstractHandler] - Received response for 0EEA71D5 type: GET_PROPERTY, result: ["on"], fullresponse: {"id":55,"result":["on"],"exe_time":0}

2021-04-28 09:47:47.475 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Periodic update for 'miio:basic:0EEA71D5' (miio:basic)

2021-04-28 09:47:47.476 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel brightness for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:47:47.476 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel delayoff for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:47:47.476 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel colorTemperature for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:47:47.477 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel colorMode for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:47:47.477 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel rgbColor for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:47:47.477 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel ambientBrightness for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:47:47.477 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel ambientPower for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:47:47.477 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel ambientColor for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:47:47.478 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel ambientColorTemperature for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:47:47.478 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel ambientColorMode for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:47:47.478 [DEBUG] [nal.transport.MiIoAsyncCommunication] - Command added to Queue {"id":56,"method":"get_prop","params":["power"]} -> 192.168.7.44 (Device: 0EEA71D5 token: A10576FEXXXXXXXXXXXXXXXX1D35DEC9 Queue: 1).

2021-04-28 09:47:47.478 [DEBUG] [nal.transport.MiIoAsyncCommunication] - Command added to Queue {"id":57,"method":"miIO.info","params":[]} -> 192.168.7.44 (Device: 0EEA71D5 token: A10576FEXXXXXXXXXXXXXXXX1D35DEC9 Queue: 2).

2021-04-28 09:47:47.561 [DEBUG] [internal.handler.MiIoAbstractHandler] - Received response for 0EEA71D5 type: GET_PROPERTY, result: ["on"], fullresponse: {"id":56,"result":["on"],"exe_time":0}

2021-04-28 09:48:17.479 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Periodic update for 'miio:basic:0EEA71D5' (miio:basic)

2021-04-28 09:48:17.479 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel brightness for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:48:17.479 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel delayoff for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:48:17.480 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel colorTemperature for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:48:17.480 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel colorMode for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:48:17.480 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel rgbColor for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:48:17.480 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel ambientBrightness for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:48:17.480 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel ambientPower for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:48:17.481 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel ambientColor for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:48:17.481 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel ambientColorTemperature for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:48:17.481 [DEBUG] [io.internal.handler.MiIoBasicHandler] - Skip refresh of channel ambientColorMode for miio:basic:0EEA71D5 as it is not linked

2021-04-28 09:48:17.481 [DEBUG] [nal.transport.MiIoAsyncCommunication] - Command added to Queue {"id":58,"method":"get_prop","params":["power"]} -> 192.168.7.44 (Device: 0EEA71D5 token: A10576FEXXXXXXXXXXXXXXXX1D35DEC9 Queue: 1).

2021-04-28 09:48:17.668 [DEBUG] [internal.handler.MiIoAbstractHandler] - Received response for 0EEA71D5 type: GET_PROPERTY, result: ["on"], fullresponse: {"id":58,"result":["on"],"exe_time":0}`

@marcelrv
Copy link
Contributor

btw, if you enable the command channel, you may can try the following commands.
As this light is quite different, seems it has severlal commands I have not seen before

something they call smartswitch (value 0 & 1)
get_prop["smart_switch"]
set_ps ["cfg_smart_switch",1]

get_prop ["nighttime"]
set_ps ["nightlight", "on"]

get_prop ["kid_mode"]

shortkey config??
get_prop ["skey_act", "skey_delay_tm", "skey_scene_id"]

get_prop ["fast_scenes"]
get_prop ["default_pomodoro"]

get_prop ["sensor_pir"]
get_prop ["sensor_pir_enable"]
get_prop ["sub_model"]
get_prop ["ble_cfg"]
get_prop ["trans_interval_dflt"]
get_prop ["set_poweron_ui"]
get_prop ["set_knob"]
get_prop ["lan_ctrl"]
get_prop ["delayoff_info"]
get_prop ["save_state"]
get_prop ["bg_proact"]
get_prop ["pdo_wt", "pdo_bt", "pdo_status"]
get_prop ["ble_cfg"]
get_prop ["init_power_opt"]
get_prop ["pdo_wt", "pdo_bt", "pdo_status"]

get_prop ["bg_rgb", "bg_hue", "bg_sat", "bg_proact", "main_power", "bg_power", "bg_lmode", "bg_ct"]
get_prop ["bg_bright", "bg_rgb", "bg_sat", "main_power" ]

@r0bertreh
Copy link
Author

Openhab wont let me create this channel as I get an infinite loading circle

FYI it's this lamp https://en.yeelight.com/product/1512.html

@marcelrv
Copy link
Contributor

Openhab wont let me create this channel as I get an infinite loading circle

FYI it's this lamp https://en.yeelight.com/product/1512.html

It seems interesting product indeed.
Do you see anything specific in the log when it is in the loop (I have not seen such a loop before)
btw, it may help to restart openhab. Sometimes it gets confused with all the changes in the thing config etc.. What I did notice before there may be difference /sync issue between the config and what the UI thinks the config is

wborn pushed a commit that referenced this issue Apr 28, 2021
@marcelrv
Copy link
Contributor

@r0bertreh basic support is now merged in the build.

I did double check in the app apk that indeed the on-off values are "on" & "off" as the binding is sending.
If you have test results from the listed commands, we can improve the json file.

themillhousegroup pushed a commit to themillhousegroup/openhab2-addons that referenced this issue May 10, 2021
computergeek1507 pushed a commit to computergeek1507/openhab-addons that referenced this issue Jul 13, 2021
frederictobiasc pushed a commit to frederictobiasc/openhab-addons that referenced this issue Oct 26, 2021
thinkingstone pushed a commit to thinkingstone/openhab-addons that referenced this issue Nov 7, 2021
marcfischerboschio pushed a commit to bosch-io/openhab-addons that referenced this issue May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of an add-on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants