Originally posted by: <email address deleted>
Hi,
I hope you don't mind me asking this question in English.
I have almost managed getting my to get my iphone Fhem interface
working but I seem to be stuck know, so any help is much appreciated.
First what works:
- Controlling my lights via telnet port 7073
- Controlling my lights via the web frontend 5
- Controlling my lights via the web frontend 5 from my iphone
- accessing the fhemiphone.pl on my server
somehow what does not seem to work is to get it to show any iphone
like icons.
below the settings in fhemiphone.pl
###################
# Config
my $addr = "localhost:7073"; # FHZ server
my $absicondir = "/usr/lib/cgi-bin/icons"; # Copy your icons here
my $relicondir = "/icons";
my $gnuplotdir = "/usr/local/FHEM"; # the .gplot filees live here
(should be the FHEM dir, as FHEMRENDERER needs them there)
my $fhemwebdir = "/usr/lib/cgi-bin"; # the fhemweb.pl & style.css
files live here
my $faq = "/home/httpd/cgi-bin/faq.html";
my $howto = "/home/httpd/cgi-bin/HOWTO.html";
my $doc = "/home/httpd/cgi-bin/commandref.html";
my $tmpfile = "/tmp/iphone-"; # the Images will be rendered
there with beginning of name
my $configfile = "/etc/fhem.conf"; # the fhem.conf file is that
my $plotmode = "gnuplot"; # Current plotmode
my $plotsize = "320,200"; # Size for a plot
my $renderer = "pgm6_renderer"; # Name of suitable renderer
my $rendrefresh= "00:15:00"; # Refresh Interval for the
Renderer
note: the /home/httpd directories are invalid but that shouldn't
really matter
the iui interface files can be found in "icons" and are owned by www-
data (apache server)
drwxr-xr-x 4 root root 4096 2009-10-31 23:22 .
drwxr-xr-x 189 root root 57344 2009-10-31 20:31 ..
-rwxr-xr-x 1 www-data www-data 30653 2009-10-31 22:40 fhemiphone.pl
-rw-r--r-- 1 www-data www-data 30669 2009-10-31 22:40 fhemiphone.pl~
-rwxr-xr-x 1 www-data www-data 32650 2009-10-31 19:51 fhemweb.pl
drwxr-xr-x 2 root root 4096 2009-10-31 23:23 icons
drwxr-xr-x 2 www-data www-data 4096 2009-10-31 21:32 icons-bak
-rwxr-xr-x 1 www-data www-data 1675 2009-10-31 19:21 style.css
-rwxr-xr-x 1 www-data www-data 187 2009-10-31 20:21 test.pl
Still for a very strange reason whenever I access server/cgi-bin/
fhemiphone.pl it can on ly show the menus without the actual iphone
interface.
Most likely I am missing something very simple. Or could it be that
the current scripts are not yet compatible with my newer iphone os
3.1.2
Any help () is much appreciated (answers in german are fine aswell)
Regards
Ray71
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "FHEM users" group.
To post to this group, send email to fhem-users@googlegroups.com
To unsubscribe from this group, send email to fhem-users+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/fhem-users?hl=en
-~----------~----~----~----~------~----~------~--~-
Originally posted by: <email address deleted>
Hi,
usually it's an issue of the serving web-server.
You need to announce the directory icons (for iui) to the web-server.
If you are using apache, this should be done in the httpd.conf, there is
an alias-directories section.
You need to mention the icons-path before the actual cgi-path.
This should solve the issue.
If not, please explain, which web-server an it's config.
Cheers,
Olaf
Ray71 schrieb:
> Hi,
>
> I hope you don't mind me asking this question in English.
>
> I have almost managed getting my to get my iphone Fhem interface
> working but I seem to be stuck know, so any help is much appreciated.
>
> First what works:
> - Controlling my lights via telnet port 7073
> - Controlling my lights via the web frontend 5
> - Controlling my lights via the web frontend 5 from my iphone
> - accessing the fhemiphone.pl on my server
>
> somehow what does not seem to work is to get it to show any iphone
> like icons.
>
> below the settings in fhemiphone.pl
>
> ###################
> # Config
> my $addr = "localhost:7073"; # FHZ server
> my $absicondir = "/usr/lib/cgi-bin/icons"; # Copy your icons here
> my $relicondir = "/icons";
> my $gnuplotdir = "/usr/local/FHEM"; # the .gplot filees live here
> (should be the FHEM dir, as FHEMRENDERER needs them there)
> my $fhemwebdir = "/usr/lib/cgi-bin"; # the fhemweb.pl & style.css
> files live here
> my $faq = "/home/httpd/cgi-bin/faq.html";
> my $howto = "/home/httpd/cgi-bin/HOWTO.html";
> my $doc = "/home/httpd/cgi-bin/commandref.html";
> my $tmpfile = "/tmp/iphone-"; # the Images will be rendered
> there with beginning of name
> my $configfile = "/etc/fhem.conf"; # the fhem.conf file is that
> my $plotmode = "gnuplot"; # Current plotmode
> my $plotsize = "320,200"; # Size for a plot
> my $renderer = "pgm6_renderer"; # Name of suitable renderer
> my $rendrefresh= "00:15:00"; # Refresh Interval for the
> Renderer
>
> note: the /home/httpd directories are invalid but that shouldn't
> really matter
>
> the iui interface files can be found in "icons" and are owned by www-
> data (apache server)
>
> drwxr-xr-x 4 root root 4096 2009-10-31 23:22 .
> drwxr-xr-x 189 root root 57344 2009-10-31 20:31 ..
> -rwxr-xr-x 1 www-data www-data 30653 2009-10-31 22:40 fhemiphone.pl
> -rw-r--r-- 1 www-data www-data 30669 2009-10-31 22:40 fhemiphone.pl~
> -rwxr-xr-x 1 www-data www-data 32650 2009-10-31 19:51 fhemweb.pl
> drwxr-xr-x 2 root root 4096 2009-10-31 23:23 icons
> drwxr-xr-x 2 www-data www-data 4096 2009-10-31 21:32 icons-bak
> -rwxr-xr-x 1 www-data www-data 1675 2009-10-31 19:21 style.css
> -rwxr-xr-x 1 www-data www-data 187 2009-10-31 20:21 test.pl
>
> Still for a very strange reason whenever I access server/cgi-bin/
> fhemiphone.pl it can on ly show the menus without the actual iphone
> interface.
>
> Most likely I am missing something very simple. Or could it be that
> the current scripts are not yet compatible with my newer iphone os
> 3.1.2
>
> Any help () is much appreciated (answers in german are fine aswell)
>
> Regards
> Ray71
> >
>
--
------------------------------------------------------------------------
Dr. Olaf Droegehorn
General Manager Tel. : +49-561-82020-410
DHS - Computertechnik GmbH Fax. : +49-561-82020-399
Carlsdorfer Straße 3 E-Mail: O.Droegehorn@dhs-computertechnik.de
WEB: www.dhs-computertechnik.de
D-34128 Kassel
------------------------------------------------------------------------
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "FHEM users" group.
To post to this group, send email to fhem-users@googlegroups.com
To unsubscribe from this group, send email to fhem-users+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/fhem-users?hl=en
-~----------~----~----~----~------~----~------~--~-