Domoticz on OpenWRT

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

Moderator: leecollings

athtest800
Posts: 1
Joined: Friday 06 February 2015 8:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Domoticz on OpenWRT

Post by athtest800 »

Hello.
I am looking on purchasing openWRT router.
Will Domoticz run on this platform?
How much space does it needs?
Thank you!
ThinkPad
Posts: 890
Joined: Tuesday 30 September 2014 8:49
Target OS: Linux
Domoticz version: beta
Location: The Netherlands
Contact:

Re: Domoticz on OpenWRT

Post by ThinkPad »

Just buy a Raspberry Pi, will make it a lot easier.
Raspberry Pi is cheap and uses very little power (4-5W).
I am not active on this forum anymore.
A1AD
Posts: 12
Joined: Sunday 11 January 2015 16:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Belgium
Contact:

Re: Domoticz on OpenWRT

Post by A1AD »

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!
ThinkPad
Posts: 890
Joined: Tuesday 30 September 2014 8:49
Target OS: Linux
Domoticz version: beta
Location: The Netherlands
Contact:

Re: Domoticz on OpenWRT

Post by ThinkPad »

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 :)
I am not active on this forum anymore.
pwhooftman
Posts: 75
Joined: Monday 11 November 2013 18:04
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz on OpenWRT

Post by pwhooftman »

Google "Domoticz on OpenWRT", first hit....
Domoticz v 1.16xx
1X RFXtrx433 USB 433.92MHz Transceiver Firmware version: 71
1X Synology Nas DS918+ DSM 7 (12Gb RAM mod)
KingOfNuls
Posts: 9
Joined: Monday 09 February 2015 11:24
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz on OpenWRT

Post by KingOfNuls »

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

Re: Domoticz on OpenWRT

Post by irimi »

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 / ODroid
Domoticz version:
Contact:

Re: Domoticz on OpenWRT

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

Any suggestions are welcome.
andriej
Posts: 46
Joined: Tuesday 10 December 2013 22:27
Target OS: Linux
Domoticz version: beta
Contact:

Re: Domoticz on OpenWRT

Post by andriej »

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: 53
Joined: Friday 16 September 2016 14:16
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz on OpenWRT

Post by kofec »

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: 41
Joined: Friday 10 June 2016 23:46
Target OS: Linux
Domoticz version:
Contact:

Re: Domoticz on OpenWRT

Post by Timeless »

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 334 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: 41
Joined: Friday 10 June 2016 23:46
Target OS: Linux
Domoticz version:
Contact:

Re: Domoticz on OpenWRT

Post by Timeless »

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 244 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: 14
Joined: Friday 30 December 2016 12:14
Target OS: Linux
Domoticz version:
Contact:

Re: Domoticz on OpenWRT

Post by derrij »

I would like to have domoticz for Xiaomi Router 3.
Thank you.
Timeless
Posts: 41
Joined: Friday 10 June 2016 23:46
Target OS: Linux
Domoticz version:
Contact:

Re: Domoticz on OpenWRT

Post by Timeless »

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 »

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 »

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: 41
Joined: Friday 10 June 2016 23:46
Target OS: Linux
Domoticz version:
Contact:

Re: Domoticz on OpenWRT

Post by Timeless »

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 »

Hi Timeless,

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

Regards,
Krisztian
HM31
Posts: 56
Joined: Friday 04 August 2017 16:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz on OpenWRT

Post by HM31 »

Hello,

Has anyone tried to install it on the Onion omega2 chip that seems to turn LEDE ?
HM31
Posts: 56
Joined: Friday 04 August 2017 16:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz on OpenWRT

Post by HM31 »

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 1 guest