Page 2 of 3

Re: New Raspberry Image based on OpenWRT (Update r2335)

Posted: Tuesday 24 March 2015 22:05
by irimi
New raspberry image available v2015-03-25, with domoticz r2335 and OpenZWave 1.3.112 - link please see first message.
Successfully tested on RPI B+ (1) with RFXtrx433E USB 433.92MHz Transceiver by RFXCom and Z-Wave Plus USB Stick ZME_UZB1 by Z-Wave.me

Repository updated for old image as well, use opkg update.
Ignore possible OpenZWave downgrade message due to github switch and new OpenZWave version numbering.

Re: New Raspberry Image based on OpenWRT (Update r2383)

Posted: Tuesday 21 April 2015 22:58
by irimi
Update to Domoticz v2.2383 (incl. python bindings) & OpenzWave V1.3.144 is avaible via packetmanager.

Re: New Raspberry Image based on OpenWRT (Update r2505)

Posted: Sunday 31 May 2015 12:34
by irimi
Update to Domoticz v2.505 & OpenzWave V1.3.293 is avaible via packetmanager.

Re: New Raspberry Image based on OpenWRT (Update r2505)

Posted: Tuesday 16 June 2015 19:49
by wizzard72
This is a cool project. Does it support the Raspbery Pi 2?

Re: New Raspberry Image based on OpenWRT (Update r2505)

Posted: Wednesday 17 June 2015 20:10
by irimi
wizzard72 wrote:This is a cool project. Does it support the Raspbery Pi 2?
No, RPI 2 is not supported. There are no update plans since openwrt supports RPI 2 only on trunk version.

Re: New Raspberry Image based on OpenWRT (Update r2505)

Posted: Wednesday 17 June 2015 21:34
by wizzard72
I have build a basic openwrt image for the Raspberry Pi 2. Can you share how you created a package for domoticz and openzwave?

Re: New Raspberry Image based on OpenWRT (Update r2505)

Posted: Thursday 18 June 2015 17:15
by irimi
wizzard72 wrote:I have build a basic openwrt image for the Raspberry Pi 2. Can you share how you created a package for domoticz and openzwave?
This is very easy: just look at openwrt wiki how to add feeds, then add my feed:

Code: Select all

git clone git://git.code.sf.net/p/audiculapi/code audiculapi

Re: New Raspberry Image based on OpenWRT (Update r2505)

Posted: Friday 19 June 2015 17:12
by wizzard72
irimi wrote:
wizzard72 wrote:I have build a basic openwrt image for the Raspberry Pi 2. Can you share how you created a package for domoticz and openzwave?
This is very easy: just look at openwrt wiki how to add feeds, then add my feed:

Code: Select all

git clone git://git.code.sf.net/p/audiculapi/code audiculapi
It doesn't work. So I used:

Code: Select all

src-git audiculapi http://git.code.sf.net/p/audiculapi/code
When I try to compile, it breaks on compiling openzwave. This is the error:

Code: Select all

Building OpenZWave Version 1.3.-1
Linking Shared Library
arm-openwrt-linux-muslgnueabi-ld: unrecognized option '-Wl,-z,now'
arm-openwrt-linux-muslgnueabi-ld: use the --help option for usage information
Any idea?

Re: New Raspberry Image based on OpenWRT (Update r2505)

Posted: Saturday 20 June 2015 10:06
by irimi
wizzard72 wrote: When I try to compile, it breaks on compiling openzwave. This is the error:

Code: Select all

Building OpenZWave Version 1.3.-1
Linking Shared Library
arm-openwrt-linux-muslgnueabi-ld: unrecognized option '-Wl,-z,now'
arm-openwrt-linux-muslgnueabi-ld: use the --help option for usage information
Any idea?
Did you change the makefile or did you remove the patchfiles ?
I'm expecting this:

Code: Select all

openzwave-1.3.321
Please retry with

Code: Select all

make ./package/feeds/audiculapi/openzwave/{clean,compile} V=s
and the important output is:

Code: Select all

Applying ./patches/011-build_fix.patch using plaintext: 
patching file cpp/build/Makefile
Hunk #2 succeeded at 126 (offset 5 lines).
Hunk #3 succeeded at 138 (offset 5 lines).
But keep in mind all was successfully tested only with breaker branch but not with recent trunk or calmer branch.

Re: New Raspberry Image based on OpenWRT (Update r2505)

Posted: Sunday 05 July 2015 15:47
by wizzard72
Thanks for the reply!

I think I am one step further. I now get the following error:

Code: Select all

Building tinystr.o
arm-openwrt-linux-muslgnueabi-g++: error: arm: No such file or directory
The strange thing is that if I compile it from the builddir with a normal make, I don't get errors, but when I compile this with "make ./package/feeds/audiculapi/openzwave/{clean,compile} V=s" I got the error above.

I think it's looking in the wrong directory. But I don't know how I can check this.

Re: New Raspberry Image based on OpenWRT (Update r2659)

Posted: Sunday 12 July 2015 18:59
by irimi
Update to r2659 with openzwave v1.3.401 is available via okpg update.

Re: New Raspberry Image based on OpenWRT (Update r3191)

Posted: Monday 28 September 2015 16:48
by irimi
Update to r3191 with openzwave v1.3.488 is available via okpg update

Re: New Raspberry Image based on OpenWRT (Update r3191)

Posted: Friday 01 July 2016 11:52
by kosten
Hi.
I'm trying to publish domoticz in OpenWRT main package repository. Here's may pull request https://github.com/openwrt/packages/pull/2883

The basis of the project I took yours project.

Any suggestions are welcome.

Re: New Raspberry Image based on OpenWRT (Update r3191)

Posted: Friday 12 August 2016 22:37
by jensc
@irimi

Any issues running your img on my new RPi 3 B+ cards?

Re: New Raspberry Image based on OpenWRT (Update r3191)

Posted: Saturday 13 August 2016 7:14
by jensc
No luck with the RPi 3 B+. Booting freezes at the initial "color check" screen.

Re: New Raspberry Image based on OpenWRT (Update r3191)

Posted: Sunday 14 August 2016 13:23
by irimi
jensc wrote:No luck with the RPi 3 B+. Booting freezes at the initial "color check" screen.
Of course ! Available image is only for older RPI, for recent RPI3 the image has to be rebuild with other settings.
I'll try this.

Re: New Raspberry Image based on OpenWRT (Update r3191)

Posted: Monday 15 August 2016 1:46
by jensc
If that is possible, I'd like to try it, thanks.

Re: New Raspberry Image based on OpenWRT (Update r3.5412))

Posted: Thursday 18 August 2016 15:41
by irimi
Update for RPI 2B/3 is available now. I only have tested Model 2B , this one works fine for me.

Re: New Raspberry1-3 Images based on OpenWRT (Update 3.5412)

Posted: Saturday 20 August 2016 18:45
by jensc
@irimi

Nope, doesn't boot on Pi 3 B+. Freezes at the color screen with a little color screen square in the upper right corner. Tried three different cards.

Re: New Raspberry1-3 Images based on OpenWRT (Update 3.5412)

Posted: Tuesday 23 August 2016 19:54
by irimi
Mmh, according to https://wiki.openwrt.org/toh/raspberry_ ... spberry_pi it seems RPi3 is still unsupported with "OpenWrt's Chaos Calmer" release :( .

For RPI3 recent openwrt's trunk version is required and actually I'm not able to compile OpenZWave due to strange compiler errors on that trunk version, hence no domoticz package possible for RPI3 , too :( .