
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
Display status of Hughesnet HN9000 satellite modem. Depends on python2, kde4, and pytz.
9 years ago
1.2
- make sure Plan Remaining says 0 when it's 0 (sometimes it remained non-zero even though the status changed to orange(fapped)
- recognize the 2-7 free time and change a couple of things accordingly
- now requires pytz as a dependency
??? - quick question if anyone knows, is the free time 2-7 Eastern, or 2-7 varying based on your local time zone? I'm assuming Eastern for now, set me straight if I'm wrong.
1.1
- shade icon as fap depletes
- display % beneath icon
- set the script up for possible future expansion
- renamed fap-status to account for the possibility of the aforementioned
1.0
- initial release
9 years ago
1.2
- make sure Plan Remaining says 0 when it's 0 (sometimes it remained non-zero even though the status changed to orange(fapped)
- recognize the 2-7 free time and change a couple of things accordingly
- now requires pytz as a dependency
??? - quick question if anyone knows, is the free time 2-7 Eastern, or 2-7 varying based on your local time zone? I'm assuming Eastern for now, set me straight if I'm wrong.
1.1
- shade icon as fap depletes
- display % beneath icon
- set the script up for possible future expansion
- renamed fap-status to account for the possibility of the aforementioned
1.0
- initial release
67GTA
10 years ago
shawnr@suse-laptop:~> plasmaengineexplorer
Traceback (most recent call last):
File "/usr/share/kde4/apps/plasma_scriptengine_python/pydataengine.py", line 68, in sourceRequestEvent
return self.pydataengine.sourceRequestEvent(name)
File "/home/shawnr/.kde4/share/apps/plasma/dataengines/engine-fap-monitor/contents/code/main.py", line 25, in sourceRequestEvent
return self.updateSourceEvent(name)
File "/home/shawnr/.kde4/share/apps/plasma/dataengines/engine-fap-monitor/contents/code/main.py", line 44, in updateSourceEvent
fap_soup = re.sub('<.*?>','\n',fap_soup)
File "/usr/lib64/python2.6/re.py", line 151, in sub
return _compile(pattern, 0).sub(repl, string, count)
TypeError: expected string or buffer
Report
dwidmann
10 years ago
Report
67GTA
10 years ago
shawnr@suse-laptop:~> plasmaengineexplorer
Traceback (most recent call last):
File "/usr/share/kde4/apps/plasma_scriptengine_python/pydataengine.py", line 68, in sourceRequestEvent
return self.pydataengine.sourceRequestEvent(name)
File "/home/shawnr/.kde4/share/apps/plasma/dataengines/engine-fap-monitor/contents/code/main.py", line 25, in sourceRequestEvent
return self.updateSourceEvent(name)
File "/home/shawnr/.kde4/share/apps/plasma/dataengines/engine-fap-monitor/contents/code/main.py", line 43, in updateSourceEvent
fap_soup = re.sub('<.*?>','\n',fap_soup)
UnboundLocalError: local variable 'fap_soup' referenced before assignment
Report
dwidmann
10 years ago
Report
67GTA
10 years ago
Report
dwidmann
10 years ago
download this file: http://www.xnowherex.com/linux/engine-fap-monitor.zip
unzip it
edit the file engine-fap-monitor/contents/code/main.py
Change the username and password to what you would use when logging in (lines 11 and 12 of main.py)
Save changes
Run 'plasmapkg -t dataengine -i engine-fap-monitor' (the folder)
To test it, run plasmaengineexplorer, pick engine-fap-monitor from the list and see if it displays your usage data for the WildBlue source.
Report
67GTA
10 years ago
Report
dwidmann
10 years ago
Report
67GTA
10 years ago
Report
dwidmann
10 years ago
Report
67GTA
10 years ago
Report
dwidmann
10 years ago
Report
67GTA
10 years ago
Report
dwidmann
10 years ago
Report