Adam Popiel
Occasional Visitor
Basically, I bought some wifi lightbulbs and I can pair them with my wifi and the app on the phone and everything works good, but then when i accidentally turn them off on the wall, they dont fully connect back to the router although it shows that its connected to the wifi, i found in the logs that its not fully connecting. Only after i turn off wifi and turn back on does the light bulb work on the app again.
So here are the logs from the bulb once it was turned on at the wall:
Mar 9 05:53:29 dnsmasq-dhcp[8310]: DHCPDISCOVER(br0) c8:2b:96:4e:e7:dd
Mar 9 05:53:29 dnsmasq-dhcp[8310]: DHCPOFFER(br0) 192.168.1.122 c8:2b:96:4e:e7:dd
and it keeps looping like this until i turn off and on the wifi
Here is the moment i run the wl radio off && wl radio on commands:
Mar 9 07:52:08 wlceventd: WLCEVENTD wlceventd_proc_event(401): eth5: Disassoc 40:4E:36:1A:AF:81, status: 0, reason: Disassociated because sending station is leaving (or has left) BSS (8)
Mar 9 07:52:08 wlceventd: WLCEVENTD wlceventd_proc_event(401): eth5: Disassoc 40:4E:36:1A:AF:81, status: 0, reason: Disassociated because sending station is leaving (or has left) BSS (8)
and then in about a minute the lightbulb properly connects to the router and i can control it through my app:
Mar 9 07:52:55 dnsmasq-dhcp[8310]: DHCPDISCOVER(br0) c8:2b:96:4e:e7:dd
Mar 9 07:52:55 dnsmasq-dhcp[8310]: DHCPOFFER(br0) 192.168.1.122 c8:2b:96:4e:e7:dd
Mar 9 07:52:55 dnsmasq-dhcp[8310]: DHCPREQUEST(br0) 192.168.1.122 c8:2b:96:4e:e7:dd
Mar 9 07:52:55 dnsmasq-dhcp[8310]: DHCPACK(br0) 192.168.1.122 c8:2b:96:4e:e7:dd ZENGGE_35_4EE7DD
So i need something like this for example:
IF the system log shows "dnsmasq-dhcp[8310]: DHCPACK(br0)" in the last 10 lines or in the last 3 minutes, THEN run "wl radio off && wl radio on"
What is the simplest way to achieve this?
I really appreciate all you do in this forum and id be forever grateful if you can help me out.
Best regrds,
Adam Popiel
So here are the logs from the bulb once it was turned on at the wall:
Mar 9 05:53:29 dnsmasq-dhcp[8310]: DHCPDISCOVER(br0) c8:2b:96:4e:e7:dd
Mar 9 05:53:29 dnsmasq-dhcp[8310]: DHCPOFFER(br0) 192.168.1.122 c8:2b:96:4e:e7:dd
and it keeps looping like this until i turn off and on the wifi
Here is the moment i run the wl radio off && wl radio on commands:
Mar 9 07:52:08 wlceventd: WLCEVENTD wlceventd_proc_event(401): eth5: Disassoc 40:4E:36:1A:AF:81, status: 0, reason: Disassociated because sending station is leaving (or has left) BSS (8)
Mar 9 07:52:08 wlceventd: WLCEVENTD wlceventd_proc_event(401): eth5: Disassoc 40:4E:36:1A:AF:81, status: 0, reason: Disassociated because sending station is leaving (or has left) BSS (8)
and then in about a minute the lightbulb properly connects to the router and i can control it through my app:
Mar 9 07:52:55 dnsmasq-dhcp[8310]: DHCPDISCOVER(br0) c8:2b:96:4e:e7:dd
Mar 9 07:52:55 dnsmasq-dhcp[8310]: DHCPOFFER(br0) 192.168.1.122 c8:2b:96:4e:e7:dd
Mar 9 07:52:55 dnsmasq-dhcp[8310]: DHCPREQUEST(br0) 192.168.1.122 c8:2b:96:4e:e7:dd
Mar 9 07:52:55 dnsmasq-dhcp[8310]: DHCPACK(br0) 192.168.1.122 c8:2b:96:4e:e7:dd ZENGGE_35_4EE7DD
So i need something like this for example:
IF the system log shows "dnsmasq-dhcp[8310]: DHCPACK(br0)" in the last 10 lines or in the last 3 minutes, THEN run "wl radio off && wl radio on"
What is the simplest way to achieve this?
I really appreciate all you do in this forum and id be forever grateful if you can help me out.
Best regrds,
Adam Popiel