line 526, in req_with_resp
raise WorkflowException("WorkflowException: Did not receive {} from {} (Name: {}) in response to {}".format(str(response_type), str(self.mac_addr), str(self.label), str(msg_type)))
lifxlan.errors.WorkflowException: WorkflowException: Did not receive [<class 'lifxlan.msgtypes.LightStatePower'>] from XX:XX:XX:XX:XX:XX (Name: None) in response to <class 'lifxlan.msgtypes.LightGetPower'>
Both when launching the discovery and calling get_power() multiple UDP packets are exchanged between the bulb and the computer (see Wireshark screenshot attached).
when discovering the devices on my network, a light bulb (link to the product for reference: https://www.amazon.it/gp/product/B086HKM88R/ref=ppx_yo_dt_b_asin_title_o08_s00?ie=UTF8&psc=1) is not reported by the following code.
It is reported, though, by
Also, when creating the light object directly with
light = Light("XX:XX:XX:XX:XX:XX", "192.168.1.74")
and calling
light.get_power()
the program terminates with:
Both when launching the discovery and calling get_power() multiple UDP packets are exchanged between the bulb and the computer (see Wireshark screenshot attached).