View Single Post
No!No!No!Yes!'s Avatar
Posts: 700 | Thanked: 846 times | Joined on Nov 2009
#954
Originally Posted by matristain View Post
OK almost done, :P
I Just have one problem.
I can activate the "delayIndex" and set "customIntervalSecs" to start updating.
PHP Code:
i=10;
j=9;
dbus-send --session --type=method_call --dest=oh.no.more.qbw $id oh.no.more.qbw.set_param_uint32 string:'delayIndex' uint32:$j string:'' 'update_content' 'update_layout'
dbus-send --session --type=method_call --dest=oh.no.more.qbw $id oh.no.more.qbw.set_param_uint32 string:'customIntervalSecs' uint32:$i string:'' 'update_content' 'update_layout'
dbus-send --session --type=method_call --dest=oh.no.more.qbw $id oh.no.more.qbw.reset_rearm_timer
What I Can't do is make it stop.
This doesn't stop running avery 10 sec.
PHP Code:
i=0;
j=0;
dbus-send --session --type=method_call --dest=oh.no.more.qbw $id oh.no.more.qbw.set_param_uint32 string:'delayIndex' uint32:$j string:'' 'update_content' 'update_layout'
dbus-send --session --type=method_call --dest=oh.no.more.qbw $id oh.no.more.qbw.set_param_uint32 string:'customIntervalSecs' uint32:$i string:'' 'update_content' 'update_layout'
dbus-send --session --type=method_call --dest=oh.no.more.qbw $id oh.no.more.qbw.reset_rearm_timer
When i get into the setting @Interval is disable, but script still running until I save settings eaven without making any changes.
Syntax is not correct, right syntax is:

For arming timer
PHP Code:
i=10;
j=9;
dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbwid0 oh.no.more.qbw.set_param_uint32 string:'delayIndex' uint32:$j string:''
dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbwid0 oh.no.more.qbw.set_param_uint32 string:'customIntervalSecs' uint32:$i string:''
dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbwid0 oh.no.more.qbw.reset_rearm_timer
For disarming:
PHP Code:
i=0;
j=0;
dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbwid0 oh.no.more.qbw.set_param_uint32 string:'delayIndex' uint32:$j string:'';
dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbwid0 oh.no.more.qbw.set_param_uint32 string:'customIntervalSecs' uint32:$i string:''
dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbwid0 oh.no.more.qbw.reset_rearm_timer
replace id0 in command with value you find here in your beecon:
__________________
Have a look at Queen BeeCon Widget (WIKI) Customizable and flexible widget-based multi-instance monitoring, alerting and interactive tool for the N900
Please provide comments and feedback for having QBW supported and enhanced further - (DONATE) - v1.3.3devel / v1.3.3testing / v1.3.3extras
 

The Following User Says Thank You to No!No!No!Yes! For This Useful Post: