Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Wifi status notifications (DLink DIR-655)

Questions and comments specific to a particular plugin should go here.
Scope
Posts: 28
Joined: Tue Feb 22, 2011 5:19 pm

Re: Wifi status notifications (DLink DIR-655)

Post by Scope »

krambriw wrote:I hacked your version a bit, maybe not the most beautiful and efficient code, but now I see connects & disconnects coming into the log...
Most changes was needed in the "parse_wifi_assoc_reponse" function.

If you do a file compare, you will easily see the modifications.

BR Walter

PS I notice that you many times end lines with a ';'
This should not be in Python
Hey again,
I have added parsing of the altered xml-response from the newer firmwares now.
And the semicolon is just an old habbit, which even the python-team seems to have some understanding for (since they are allowing it) :P

Kind regards,
Torbj├Ârn Westerlund.
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: Wifi status notifications (DLink DIR-655)

Post by krambriw »

Hi Thorbj├Ârn,
I think your latest version works ok, there are some limitations, I assume it is because the response is not holding all data anymore. If you look below, I have for reference pasted some events I receive.

Kind regards, Walter

(PS How did the TellStickDuo plugin work for you?)

Code: Select all

19:05:30   dir655.Wifi.Quality.Stable.14d64d50571e {'quality': 96}

19:05:42   dir655.Wifi.Quality.Change.003c05003925 {'last_reported_quality': 0, 'quality': 95, 'change': 95}

19:05:54   dir655.Wifi.Quality.Change.0004201ed335 {'last_reported_quality': 0, 'quality': 96, 'change': 96}

19:07:06   dir655.Wifi.Quality.Stable.003c05003925 {'quality': 95}

19:07:18   dir655.Wifi.Quality.Stable.0004201ed335 {'quality': 94}

19:12:42   dir655.Wifi.Quality.Change.003005002667 {'last_reported_quality': 0, 'quality': 96, 'change': 96}

19:28:21   dir655.Wifi.Connected.7cc3a116a974 {'ssid': 'Unknown', 'ip': u'192.168.10.104', 'rate': 58.0, 'type': u'11n', 'quality': 100, 'channel': 0}

19:28:57   dir655.Wifi.Disconnected.7cc3a116a974 {'ssid': 'Unknown', 'ip': u'192.168.10.104', 'rate': 58.0, 'type': u'11n', 'quality': 100, 'channel': 0}

19:30:09   dir655.Wifi.Quality.Stable.003005002667 {'quality': 100}

Scope
Posts: 28
Joined: Tue Feb 22, 2011 5:19 pm

Re: Wifi status notifications (DLink DIR-655)

Post by Scope »

krambriw wrote:Hi Thorbj├Ârn,
I think your latest version works ok, there are some limitations, I assume it is because the response is not holding all data anymore. If you look below, I have for reference pasted some events I receive.

Kind regards, Walter

(PS How did the TellStickDuo plugin work for you?)
Glad to hear that it is working now! You are correct about the limitations which are SSID and Channel which are not supplied by the new firmware.
It might be supplied if you add a Guest-network with another SSID. Just a guess though!
SSID and channel may be collected elsewhere, but it would be nice to know which SSID the connection comes from, if you are using a guest-network.

Tellstick DUO plugin worked like a charm, thanks! I had to cast some var to bool before I got i to work though, but not a big hazzle... let me check which line it was...
On line 988:

Code: Select all

bDebugCtrl.SetValue(bool(bDebug))
Perhaps I should've posted that in the Tellstick DUO-thread instead :D

Kind regards,
Torbj├Ârn Westerlund
oncemore
Posts: 6
Joined: Sat Mar 15, 2014 12:33 am

Re: Wifi status notifications (DLink DIR-655)

Post by oncemore »

This could be pretty useful.

Would it work on my DIR-615?
Post Reply