New Raspberry1-2B+ Images based on OpenWRT (Update 3.5877)

Others (MiLight, Hue, Toon etc...)

Moderator: leecollings

irimi
Posts: 33
Joined: Saturday 03 January 2015 13:09
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10717
Location: Germany
Contact:

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

Post 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.
irimi
Posts: 33
Joined: Saturday 03 January 2015 13:09
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10717
Location: Germany
Contact:

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

Post by irimi »

Update to Domoticz v2.2383 (incl. python bindings) & OpenzWave V1.3.144 is avaible via packetmanager.
irimi
Posts: 33
Joined: Saturday 03 January 2015 13:09
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10717
Location: Germany
Contact:

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

Post by irimi »

Update to Domoticz v2.505 & OpenzWave V1.3.293 is avaible via packetmanager.
wizzard72
Posts: 116
Joined: Friday 20 December 2013 7:45
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by wizzard72 »

This is a cool project. Does it support the Raspbery Pi 2?
irimi
Posts: 33
Joined: Saturday 03 January 2015 13:09
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10717
Location: Germany
Contact:

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

Post 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.
wizzard72
Posts: 116
Joined: Friday 20 December 2013 7:45
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post 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?
irimi
Posts: 33
Joined: Saturday 03 January 2015 13:09
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10717
Location: Germany
Contact:

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

Post 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
wizzard72
Posts: 116
Joined: Friday 20 December 2013 7:45
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post 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?
irimi
Posts: 33
Joined: Saturday 03 January 2015 13:09
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10717
Location: Germany
Contact:

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

Post 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.
wizzard72
Posts: 116
Joined: Friday 20 December 2013 7:45
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post 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.
irimi
Posts: 33
Joined: Saturday 03 January 2015 13:09
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10717
Location: Germany
Contact:

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

Post by irimi »

Update to r2659 with openzwave v1.3.401 is available via okpg update.
irimi
Posts: 33
Joined: Saturday 03 January 2015 13:09
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10717
Location: Germany
Contact:

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

Post by irimi »

Update to r3191 with openzwave v1.3.488 is available via okpg update
kosten
Posts: 2
Joined: Monday 30 May 2016 9:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post 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.
jensc
Posts: 41
Joined: Saturday 12 March 2016 1:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.3
Location: Saint Helens, Oregon, USA
Contact:

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

Post by jensc »

@irimi

Any issues running your img on my new RPi 3 B+ cards?
jensc
Posts: 41
Joined: Saturday 12 March 2016 1:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.3
Location: Saint Helens, Oregon, USA
Contact:

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

Post by jensc »

No luck with the RPi 3 B+. Booting freezes at the initial "color check" screen.
irimi
Posts: 33
Joined: Saturday 03 January 2015 13:09
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10717
Location: Germany
Contact:

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

Post 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.
jensc
Posts: 41
Joined: Saturday 12 March 2016 1:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.3
Location: Saint Helens, Oregon, USA
Contact:

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

Post by jensc »

If that is possible, I'd like to try it, thanks.
irimi
Posts: 33
Joined: Saturday 03 January 2015 13:09
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10717
Location: Germany
Contact:

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

Post by irimi »

Update for RPI 2B/3 is available now. I only have tested Model 2B , this one works fine for me.
jensc
Posts: 41
Joined: Saturday 12 March 2016 1:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.3
Location: Saint Helens, Oregon, USA
Contact:

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

Post 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.
irimi
Posts: 33
Joined: Saturday 03 January 2015 13:09
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10717
Location: Germany
Contact:

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

Post 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 :( .
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests