Domoticz on OpenWRT

Compatibility (hardware, devices and OS)
athtest800
Posts: 1
Joined: Friday 06 February 2015 9:09
Target OS: Raspberry Pi
Domoticz version:
Contact:

Domoticz on OpenWRT

Post by athtest800 » Friday 06 February 2015 9:15

Hello.
I am looking on purchasing openWRT router.
Will Domoticz run on this platform?
How much space does it needs?
Thank you!

User avatar
ThinkPad
Posts: 1754
Joined: Tuesday 30 September 2014 8:49
Target OS: Linux
Domoticz version: beta
Location: The Netherlands
Contact:

Re: Domoticz on OpenWRT

Post by ThinkPad » Friday 06 February 2015 11:52

Just buy a Raspberry Pi, will make it a lot easier.
Raspberry Pi is cheap and uses very little power (4-5W).
ThinkTheme - theme for Domoticz
My (Dutch) blog: http://thinkpad.tweakblogs.net - My Domoticz scripts: Bitbucket
I'm not (very) active anymore on this forum as i don't use Domoticz anymore.

A1AD
Posts: 13
Joined: Sunday 11 January 2015 17:54
Target OS: Raspberry Pi
Domoticz version:
Location: Belgium
Contact:

Re: Domoticz on OpenWRT

Post by A1AD » Tuesday 10 February 2015 10:18

ThinkPad wrote:Just buy a Raspberry Pi, will make it a lot easier.
Raspberry Pi is cheap and uses very little power (4-5W).
You are absolutly right, but i realy like the idea! Domoticz running on my OpenWRT router would be awesome!

User avatar
ThinkPad
Posts: 1754
Joined: Tuesday 30 September 2014 8:49
Target OS: Linux
Domoticz version: beta
Location: The Netherlands
Contact:

Re: Domoticz on OpenWRT

Post by ThinkPad » Tuesday 10 February 2015 10:26

I think the CPU and RAM of a router are too limited for a full blown package like Domoticz. But hey, your free to try :)
ThinkTheme - theme for Domoticz
My (Dutch) blog: http://thinkpad.tweakblogs.net - My Domoticz scripts: Bitbucket
I'm not (very) active anymore on this forum as i don't use Domoticz anymore.

pwhooftman
Posts: 152
Joined: Monday 11 November 2013 19:04
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Domoticz on OpenWRT

Post by pwhooftman » Wednesday 11 February 2015 0:02

Google "Domoticz on OpenWRT", first hit....
Domoticz v 1.16xx
1X RFXtrx433 USB 433.92MHz Transceiver Firmware version: 71
1X Synology Nas DS412+ DSM 4.3 (2Gb RAM mod)

KingOfNuls
Posts: 17
Joined: Monday 09 February 2015 12:24
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Domoticz on OpenWRT

Post by KingOfNuls » Friday 13 February 2015 14:40

ThinkPad wrote:Raspberry Pi is cheap and uses very little power (4-5W).
The same goes for a mini router less expansive (ie tp-link 703N or http://www.dx.com/fr/p/gl-inet-wi-fi-ro ... N2hf_nh08o )
RPI B - domotiga connected to my visonic alarm
RPI 2 - domoticz connected to 1 wire temp sensors and teleinfo ("power smartmeter")
RPI 3 - domoticz master with mysensors and RFLink gateways

irimi
Posts: 41
Joined: Saturday 03 January 2015 14:09
Target OS: Raspberry Pi
Domoticz version: V3.5877
Location: Germany
Contact:

Re: Domoticz on OpenWRT

Post by irimi » Sunday 15 February 2015 16:05

athtest800 wrote:Hello.
I am looking on purchasing openWRT router.
Will Domoticz run on this platform?
How much space does it needs?
Thank you!
Please AudiculaPi topic.
http://www.domoticz.com/forum/viewtopic.php?f=17&t=4909

There is also a openwrt feed/Makefile available that makes it possible to compile domoticz for other targets:

Code: Select all

src-git audiculapi http://git.code.sf.net/p/audiculapi/code

kosten
Posts: 2
Joined: Monday 30 May 2016 9:40
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Domoticz on OpenWRT

Post by kosten » Friday 01 July 2016 11:50

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 https://sourceforge.net/projects/audiculapi/

Any suggestions are welcome.

andriej
Posts: 302
Joined: Tuesday 10 December 2013 23:27
Target OS: Linux
Domoticz version: beta
Contact:

Re: Domoticz on OpenWRT

Post by andriej » Wednesday 24 August 2016 5:54

Hi, can you please do a such pull request on the lede-project?
Since it's spinoff with much brigther future, it's much bigger chance to get domoticz ran there.
Soon they will release stable version with newest kernel and security patches, which might be important.

Get more info at: https://www.lede-project.org/ and https://github.com/lede-project/source
Orange Pi (@ Debian) / MySensors Serial / GPIO / Custom Serial 433 MHz Transmitter (for plug switches and livolo wall switches) / JSON&Bash API scripts

kofec
Posts: 8
Joined: Friday 16 September 2016 14:16
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Domoticz on OpenWRT

Post by kofec » Friday 16 September 2016 14:30

Lede and openwrt are using the same repo for "comunity" packages. Maybe some can help to finish this https://github.com/openwrt/packages/pull/2883 pull request

I was able to run Domoticz on my router (Xiaomi Mini)base on padavan firmware using this commit
https://github.com/Entware-ng/Entware-ng/issues/333

Timeless
Posts: 57
Joined: Friday 10 June 2016 23:46
Target OS: Linux
Domoticz version:
Contact:

Re: Domoticz on OpenWRT

Post by Timeless » Saturday 17 December 2016 17:36

Hi,

@Kosten, I just added a reply to your pull request @git with a package Makefile configuration that works for me. It uses both the newest releases for Domoticz & Open-Zwave.

I will also add it to this post for people that are interested, see:
Domoticz_Open-Zwave.zip
Makefiles for Open-Zwave and Domoticz
(3.59 KiB) Downloaded 90 times
I'm currently using LEDE Reboot (checkout from yesterday)

Regards
Timeless
"The greatest good you can do for another, is not to share your own riches, but to reveal to him, his own."
- Benjamin Disraeli -

Timeless
Posts: 57
Joined: Friday 10 June 2016 23:46
Target OS: Linux
Domoticz version:
Contact:

Re: Domoticz on OpenWRT

Post by Timeless » Tuesday 27 December 2016 13:13

Hi,

Copy of my git pull request comment:
Hi,

I updated the makefiles and also included WiringPi. Which could be used in combination with Domoticz. Currently both the Static and Dynamic linked library are being build. Domoticz needs the library to be static-linked but I had another project that needed a dynamic-linked library as well. So that's why they are both there.

Ideally we could have a Dynamic library and a separate Static library. Please let me know your opinion.

Here is the ZIP archive:
Domoticz & Open-Zwave & WiringPi.zip
(5 KiB) Downloaded 53 times
I have to add that I'm using a resulted build on a RPI3 for 1 week now. Which is running fine with a Z-Wave stick, RFXcom433e and several GPIO accessories.
If anyone is interested in a complete LEDE build let me know! Suggest your target so I know what to include.

Regards,
Timeless
"The greatest good you can do for another, is not to share your own riches, but to reveal to him, his own."
- Benjamin Disraeli -

derrij
Posts: 11
Joined: Friday 30 December 2016 13:14
Target OS: Linux
Domoticz version:
Contact:

Re: Domoticz on OpenWRT

Post by derrij » Friday 30 December 2016 13:16

I would like to have domoticz for Xiaomi Router 3.
Thank you.

Timeless
Posts: 57
Joined: Friday 10 June 2016 23:46
Target OS: Linux
Domoticz version:
Contact:

Re: Domoticz on OpenWRT

Post by Timeless » Wednesday 04 January 2017 12:56

Sorry but the Xiaomi Router 3 is not supported by OpenWRT/LEDE.
"The greatest good you can do for another, is not to share your own riches, but to reveal to him, his own."
- Benjamin Disraeli -

vasko
Posts: 1
Joined: Saturday 22 April 2017 9:11
Target OS: -
Domoticz version:
Contact:

Re: Domoticz on OpenWRT

Post by vasko » Saturday 22 April 2017 9:18

Timeless wrote:Hi,

Copy of my git pull request comment:
Hi,

I updated the makefiles and also included WiringPi. Which could be used in combination with Domoticz. Currently both the Static and Dynamic linked library are being build. Domoticz needs the library to be static-linked but I had another project that needed a dynamic-linked library as well. So that's why they are both there.

Ideally we could have a Dynamic library and a separate Static library. Please let me know your opinion.

Here is the ZIP archive: Domoticz & Open-Zwave & WiringPi.zip
I have to add that I'm using a resulted build on a RPI3 for 1 week now. Which is running fine with a Z-Wave stick, RFXcom433e and several GPIO accessories.
If anyone is interested in a complete LEDE build let me know! Suggest your target so I know what to include.

Regards,
Timeless
Hi Timeless.

I have a TP-Link TL-WDR4300 router running Lede 17.01.1. Would it be possible to build Domoticz for this device?
I see it is available in packages souorce tree but I can not find built package.

Thanks in advance

szurke
Posts: 2
Joined: Friday 23 June 2017 8:49
Target OS: Linux
Domoticz version:
Contact:

Re: Domoticz on OpenWRT

Post by szurke » Friday 23 June 2017 8:55

Hi,

It is very interest for me also. I have an ASUS AC-87U and I would be running on it a small Domoticz server. But I didn't find any compiled Domoticz package on the web. Is it possible at all?

Thx

Timeless
Posts: 57
Joined: Friday 10 June 2016 23:46
Target OS: Linux
Domoticz version:
Contact:

Re: Domoticz on OpenWRT

Post by Timeless » Tuesday 18 July 2017 11:29

HI,

Sorry for my late reply, but Domoticz is now officially supported in OpenWRT/LEDE. It has not made it to the latest LEDE 17.01.2 release but will be in the next release. However it is possible to run LEDE latest snapshot and install Domoticz & OpenZwave. But please keep in mind these snapshots are only valid for a limited time because they are nightly builds, so if a packages changes it can quickly become incompatible with your running snapshot whenever you run "opkg".

The supported Domoticz version in LEDE/OpenWRT is 3.5877 which is the latest release, but since I need a more updated version of Domoticz I've not tested the official LEDE/OpenWRT version myself, and I'm still using my own Makefiles. But the official version should work.

As an example, the x86-64 build for Domoticz(LEDE/OpenWRT) can be found here. But it would also be possible to run:

Code: Select all

opkg update && opkg install domoticz
from within a freshly installed snapshot LEDE/OpenWRT

Hope this helps.
Regards,
Timeless
"The greatest good you can do for another, is not to share your own riches, but to reveal to him, his own."
- Benjamin Disraeli -

szurke
Posts: 2
Joined: Friday 23 June 2017 8:49
Target OS: Linux
Domoticz version:
Contact:

Re: Domoticz on OpenWRT

Post by szurke » Tuesday 25 July 2017 18:39

Hi Timeless,

Thank You so much! It is working without any problem.

Regards,
Krisztian

HM31
Posts: 8
Joined: Friday 04 August 2017 16:13
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Domoticz on OpenWRT

Post by HM31 » Wednesday 09 August 2017 13:06

Hello,

Has anyone tried to install it on the Onion omega2 chip that seems to turn LEDE ?

HM31
Posts: 8
Joined: Friday 04 August 2017 16:13
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Domoticz on OpenWRT

Post by HM31 » Friday 18 August 2017 3:40

Has anyone tried to install it on the Onion omega2 chip that seems to turn LEDE ?
Answer to myself : Installation done.
1. Configure Onion Omega 2+ for Wifi as describe in Onion documentation (in fact I did a fresh reset to factory settings install)
2. Switch back to using the official LEDE repos as described here : https://docs.onion.io/omega2-docs/using-opkg.html
3. reboot

Code: Select all

opkg update
opkg install domoticz openzwave
reboot
6. access to your omega2 using http://<your ip address>:8080

You get the Domoticz web page ready to configure. :D

Still not tried to connect my RFXCom or Zwave USB dongle for now but soon ...I hope.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests