Open xeroiv opened 1 year ago
I was about to chip in that I have the same bug, but then I discovered that my DHCP server had assigned new IPs to my bulbs while still keeping the same addresses. OpenHAB addresses bulbs by using both device ID (which is the MAC address of the bulb) and the IP address. If they don't match, the bulb is left in an offline state.
My fix was to set up static IP mappings for all the bulbs, and then remove the device ID from them so that OpenHAB could auto detect them again.
Expected Behavior
Lights are expected to show online and respond to commands from OpenHAB.
Current Behavior
Multiple different types of my LIFX bulbs have been going offline and staying offline since migrating from OH3.4 to OH4. Originally these bulbs were reachable via openHAB but have slowly started to show offline but are still reachable via the LIFX app. I restored my OH3.4 instance and found that the same bulbs were showing offline. These bulbs respond to UDP packets if sent directly from my Loxone miniserver using the LAN API.
Trace Logs from Binding:
Example Hex Command Sent in from Loxone:
Possible Solution
Symptoms are similar to issue #13682, but the trace logs don't produce the same output since the multicast tagging fix was implemented.
Your Environment
openHAB version : 4.0 Lifx Binding Version : 4.0 OS Version : Debian 11 WIFI : Unifi Dream Machine Pro w/ U6-LR