Now that I've got my Android client working via wifi, I'm back to exploring and bug hunting.
The first thing I notice is that any config files that are supposed to upload icons just leave a space where the icons should be. This is true both for files that use the extra set of icons in (for my system) /usr/share/anyremote/cfg-data/Icons/ directories, and also for files that try to upload an icons with set(image,icon …)
I have tried editing these config files, altering the path of the icons directories but nothing seems to work.
Has anybody else experienced this?
More importantly, any ideas on how to solve it? I noticed in the website, under $(CfgDir), it says: "In most cases it is /usr/share/anyremote/cfg-data. Actually it depends on -prefix value which was used at build time."
Perhaps that's the problem, but I could not find any information about how to "override this by setting AR_CFGDIR environment value".
Any help would be most appreciated.
Android client does not support icon uploading at the moment.
Thanks Mike - that clears that up.
Please try v0.9.6, it should support icon uploading
I have same problem. Android client shows (in "Manage Apps") "version 0", BUT I get errors server-side:
[16:31:17] - DBG - getCommand for >(Connect)<
[16:31:17] - INF - processOneCommand >image,icon,button_bulb_off1,button_bulb_off1.
png< >no exec params< >1<
[16:31:17] - DBG - substParams >image,icon,button_bulb_off1,button_bulb_off1.png<
[16:31:17] - INF - Command: Set
[16:31:17] - DBG - uploadPix >image,icon,button_bulb_off1,button_bulb_off1.png<
[16:31:17] - ERR - can't get file size!
I have made 1 icon, with all resolutions found in cfg/Icons directories, files are world-readable:
[root@laurent-home Icons]# ls -l */butto*
-rw-r--r-- 1 laurent laurent 5161 sie 12 16:08 128/button_bulb_off1.png
-rw-r--r-- 1 laurent laurent 543 sie 12 16:28 16/button_bulb_off1.png
-rw-r--r-- 1 laurent laurent 1018 sie 12 16:10 32/button_bulb_off1.png
-rw-r--r-- 1 laurent laurent 1818 sie 12 16:28 48/button_bulb_off1.png
-rw-r--r-- 1 laurent laurent 2299 sie 12 16:09 64/button_bulb_off1.png
Made with GIMP 2.6.
And my command-line:
anyremote -s socket:5000 -f /usr/share/anyremote/cfg-data/Server-mode/edimax-usb.cfg -log -a
It works, but with empty space instead of my icon.
1=Exec(ssh email@example.com 'echo "a" > /dev/ttyUSB0');
2=Exec(ssh firstname.lastname@example.org 'echo "A" > /dev/ttyUSB0');
Where is the problem, and how to trace/solve it?
This seems NOT related to Android client: I had 0.9.8, now downloaded 1.0.
Problem with icons is the same. I can't even use icons from "additional icons set".
BTW 1.0 client seems to work less reliably than 0.9.8, and with greater delays (even 5secs from keypress to device on USB reaction…)
Correction: delay (measured is secs) looks caused by ssh command,
as replacing ssh … by echo "a" > /dev/remserialxx gives almost instant response.
[so maybe I need to activate set2net on "target" router (with USB devices) and remserial on "controller" node.
But (as of my knowledge) disadvantage is, that programs accessing remserial* must be run as ROOT :(…
It seems You use not the latest v6.0, right ? Are there any chance to upgrade ?
You are right, I am using v5.3,
if upgrade / reinstall will show painless, I'll do.
But on router (my "final target") package available is v4.7: http://downloads.openwrt.org/backfire/10.03.1/brcm47xx/packages/anyremote_4.7.1-1_brcm47xx.ipk :(