Support for Yeelight YLDP004-A

    • Offizieller Beitrag

    superka To have those devices whitelisted, I need your support and understand how the devices report themselves.

    Would you mind putting hyperion in Debug Logging mode (in UI: System->log)?
    Then go to LED Instances and discover the Yeelights via the wizard (screenshot you provided)
    now cancel and go back to the Log.


    There should now be a log line similar as the following one:

    Code
    2022-01-24T17:39:34.648Z [ WEBSOCKET] (DEBUG) (JsonAPI.cpp:1527:handleLedDeviceCommand()) response: [{"devices":[{"cache-control":"max-age=3600","domain":"fritz.box","hostname":"yeelightstrip","id":"yeelight://192.168.2.64:55443","ip":"192.168.2.64","location":"yeelight://192.168.2.64:55443","other":{"bright":"100","color_mode":"1","ct":"3539","date":"","ext":"","fw_ver":"73","hue":"0","id":"0x0000000012aa3510","model":"stripe","name":"stripe","power":"off","rgb":"16777215","sat":"0","support":"get_prop set_default set_power toggle set_bright start_cf stop_cf set_scene cron_add cron_get cron_del set_ct_abx set_rgb set_hsv set_adjust adjust_bright adjust_ct adjust_color set_music set_name"},"port":55443,"server":"POSIX UPnP/1.0 YGLC/1","st":"","usn":""},{"cache-control":"max-age=3600","domain":"fritz.box","hostname":"yeelightcs1","id":"yeelight://192.168.2.65:55443","ip":"192.168.2.65","location":"yeelight://192.168.2.65:55443","other":{"bright":"100","color_mode":"2","ct":"3539","date":"","ext":"","fw_ver":"37","hue":"180","id":"0x00000000101872b1","model":"color4","name":"","power":"off","rgb":"


    Please share that one with me. I am mainly interested in the "model" element reported for the GU10 RGB bulps.

    Thank you!

  • Lord-Grey


    here we go:


    2022-01-24T23:36:00.075Z [ WEBSOCKET] (DEBUG) (JsonAPI.cpp:1436:handleLedDeviceCommand()) message: [{"command":"leddevice","ledDeviceType":"yeelight","subcommand":"discover","tan":911}]
    2022-01-24T23:36:00.076Z [ SSDPDISCOVER] (DEBUG) (SSDPDiscover.cpp:206:discoverServices()) Search for Service [wifi_bulb], address [239.255.255.250], port [1982]
    2022-01-24T23:36:00.081Z [ SSDPDISCOVER] (DEBUG) (SSDPDiscover.cpp:252:discoverServices()) Found target [wifi_bulb], plus record [yeelight://192.168.2.40:55443] matches [LOCATION:yeelight(.*)]
    2022-01-24T23:36:00.082Z [ SSDPDISCOVER] (DEBUG) (SSDPDiscover.cpp:252:discoverServices()) Found target [wifi_bulb], plus record [yeelight://192.168.2.45:55443] matches [LOCATION:yeelight(.*)]
    2022-01-24T23:36:00.084Z [ SSDPDISCOVER] (DEBUG) (SSDPDiscover.cpp:252:discoverServices()) Found target [wifi_bulb], plus record [yeelight://192.168.2.42:55443] matches [LOCATION:yeelight(.*)]
    2022-01-24T23:36:00.085Z [ SSDPDISCOVER] (DEBUG) (SSDPDiscover.cpp:252:discoverServices()) Found target [wifi_bulb], plus record [yeelight://192.168.2.41:55443] matches [LOCATION:yeelight(.*)]
    2022-01-24T23:36:00.085Z [ SSDPDISCOVER] (DEBUG) (SSDPDiscover.cpp:252:discoverServices()) Found target [wifi_bulb], plus record [yeelight://192.168.2.43:55443] matches [LOCATION:yeelight(.*)]
    2022-01-24T23:36:00.089Z [ SSDPDISCOVER] (DEBUG) (SSDPDiscover.cpp:252:discoverServices()) Found target [wifi_bulb], plus record [yeelight://192.168.2.35:55443] matches [LOCATION:yeelight(.*)]
    2022-01-24T23:36:00.090Z [ SSDPDISCOVER] (DEBUG) (SSDPDiscover.cpp:252:discoverServices()) Found target [wifi_bulb], plus record [yeelight://192.168.2.44:55443] matches [LOCATION:yeelight(.*)]
    2022-01-24T23:36:00.091Z [ SSDPDISCOVER] (DEBUG) (SSDPDiscover.cpp:252:discoverServices()) Found target [wifi_bulb], plus record [yeelight://192.168.2.35:55443] matches [LOCATION:yeelight(.*)]
    2022-01-24T23:36:00.092Z [ SSDPDISCOVER] (DEBUG) (SSDPDiscover.cpp:252:discoverServices()) Found target [wifi_bulb], plus record [yeelight://192.168.2.44:55443] matches [LOCATION:yeelight(.*)]
    2022-01-24T23:36:00.092Z [ SSDPDISCOVER] (DEBUG) (SSDPDiscover.cpp:252:discoverServices()) Found target [wifi_bulb], plus record [yeelight://192.168.2.34:55443] matches [LOCATION:yeelight(.*)]
    2022-01-24T23:36:00.093Z [ SSDPDISCOVER] (DEBUG) (SSDPDiscover.cpp:252:discoverServices()) Previous line repeats 1 times
    2022-01-24T23:36:00.093Z [ SSDPDISCOVER] (DEBUG) (SSDPDiscover.cpp:252:discoverServices()) Found target [wifi_bulb], plus record [yeelight://192.168.2.32:55443] matches [LOCATION:yeelight(.*)]
    2022-01-24T23:36:00.095Z [ SSDPDISCOVER] (DEBUG) (SSDPDiscover.cpp:252:discoverServices()) Previous line repeats 1 times
    2022-01-24T23:36:00.095Z [ SSDPDISCOVER] (DEBUG) (SSDPDiscover.cpp:252:discoverServices()) Found target [wifi_bulb], plus record [yeelight://192.168.2.33:55443] matches [LOCATION:yeelight(.*)]
    2022-01-24T23:36:00.598Z [ SSDPDISCOVER] (DEBUG) (SSDPDiscover.cpp:252:discoverServices()) Previous line repeats 1 times
    2022-01-24T23:36:00.598Z [ SSDPDISCOVER] (DEBUG) (SSDPDiscover.cpp:294:discoverServices()) [10] service record(s) found
    2022-01-24T23:36:00.857Z [ WEBSOCKET] (DEBUG) (JsonAPI.cpp:1460:handleLedDeviceCommand()) response: [{"devices":[{"cache-control":"max-age=3600","domain":"","hostname":"192.168.2.32","id":"yeelight://192.168.2.32:55443","ip":"192.168.2.32","location":"yeelight://192.168.2.32:55443","other":{"bright":"100","color_mode":"2","ct":"5000","date":"","ext":"","fw_ver":"16","hue":"240","id":"0x0000000018775fe3","model":"colorc","name":"","power":"off","rgb":"255","sat":"100","support":"get_prop set_default set_power toggle set_bright set_scene cron_add cron_get cron_del start_cf stop_cf set_ct_abx adjust_ct set_name set_adjust adjust_bright adjust_color set_rgb set_hsv set_music udp_sess_new udp_sess_keep_alive udp_chroma_sess_new"},"port":55443,"server":"POSIX UPnP/1.0 YGLC/1","st":"","usn":""},{"cache-control":"max-age=3600","domain":"","hostname":"192.168.2.33","id":"yeelight://192.168.2.33:55443","ip":"192.168.2.33","location":"yeelight://192.168.2.33:55443","other":{"bright":"100","color_mode":"2","ct":"5000","date":"","ext":"","fw_ver":"16","hue":"240","id":"0x000000000e999218","model":"colorc","na



    Tell me if you need something more. Thanks!

    • Offizieller Beitrag

    superka Sorry, I missed to do an update here. I did the changes and you could do some testing.

    https://github.com/hyperion-project/hyperion.ng/pull/1421

    • Offizieller Beitrag

    superka Not sure what happened to my post, as it was showing to be deleted.

    Yes, you can give it a try. The Code is already available for testing since a while… see link above

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!