FHZ1000 on OpenWRT

431 views
Skip to first unread message

Kissiel

unread,
Apr 15, 2012, 9:29:08 AM4/15/12
to FHEM users
Hi Everybody,

I'm trying to run FHZ1000 on OpenWRT, but I'm facing well know problem
of missing SerialPort module in Perl.
I see that problem has been fixed for CUL, but can I do with FHZ?
Any solutions?

Greetings

Kissiel

unread,
Apr 15, 2012, 9:29:52 AM4/15/12
to FHEM users
Hi Everybody,

I'm trying to run FHZ1000 on OpenWRT, but I'm facing well know problem
of missing SerialPort module in Perl.
I'm using Backfire 10.3.1

Willi

unread,
Apr 15, 2012, 10:38:26 AM4/15/12
to fhem-...@googlegroups.com
Am Sonntag, 15. April 2012 15:29:52 UTC+2 schrieb Kissiel:
I see that problem has been fixed for CUL, but can I do with FHZ?
Any solutions?

Why do you think there is a problem and that this is or was broken?

CUL and new modules now uses DevIo.pm which itself also uses SerialPort:
"require Device::SerialPort;"
Some modules like 00_FHZ.pm have not been changed but this does not make any difference on the requirement of SerialPort.

You need the serial port module in perl. See http://fhem.de/HOWTO.html for further help.

PanTau

unread,
Apr 15, 2012, 4:15:03 PM4/15/12
to fhem-...@googlegroups.com
For a CUL Device the perl module Device::SerialPort is not always required.
The FHEM Wiki describes the use of ser2net to avoid this requirement:
http://fhemwiki.de/wiki/OpenWRT

However this does not work for FHZ, as far as I know.
But you can build the perl module Device::SerialPort following this guide:
http://www.he1ix.org/tag/openwrt/
Take the Makefile from here:
http://tcb.udarknet.com/dokuwiki/doku.php/projects/securouter/openwrt

I was able to build the module for a TP-LINK TL-WR1043ND:
http://wiki.openwrt.org/toh/tp-link/tl-wr1043nd
So if your router is also ar71xx based, I could also provide you the binaries.
Just let me know.

Szabolcs Hodosi

unread,
Sep 6, 2012, 3:16:22 PM9/6/12
to fhem-...@googlegroups.com
PanTau,

Could you please send me the compiled binaries made by you?
My email address is: hodosis...@gmail.com

Thank you very much in advance,

Szabi


Ivan

unread,
Dec 19, 2012, 3:35:37 PM12/19/12
to fhem-...@googlegroups.com
Good time of day!

Can you please put this ipk somewhere on the net or in attach to this group reply?
It will be great help not only for me, but also for others, starving to have this module available on their ar71xx based devices ;))

Thanks a lot!

Ivan


воскресенье, 15 апреля 2012 г., 23:15:03 UTC+3 пользователь PanTau написал:

Ivan

unread,
Dec 28, 2012, 2:50:43 PM12/28/12
to fhem-...@googlegroups.com
Just in case, I'll put this IPK here.

Compiled for ar71xx, target WR703N.

If opkg complains, you can extract stuff from IPK by these steps:

tar xvzf package.ipk
tar xvzf data.tar.gz

then you will have usr/ dir extracted (.pm and .so are there, copy to appropriate locations)

Good luck!

Best,
Ivan
 

Ivan

unread,
Dec 28, 2012, 2:56:54 PM12/28/12
to fhem-...@googlegroups.com
Sorry, can't attach... Bad Google, no cookie!!! :)))

So, here we go:

https://www.dropbox.com/s/a3xpbl8cu7hkmw5/perl-device-serialport_1.04-2_ar71xx.ipk

f40f7b9974431426e6fa1b9079093240  perl-device-serialport_1.04-2_ar71xx.ipk

...

Thank you,
Ivan


пятница, 28 декабря 2012 г., 21:50:43 UTC+2 пользователь Ivan написал:
Reply all
Reply to author
Forward
0 new messages