Page 1 of 1

domoticz and kodi in same raspberry?help(this is not solve i wrong sorry for sign)

Posted: Wednesday 26 July 2017 15:50
by reza
hi guys .
i want use domoticz and kodi in same raspberry but i can not.
i have domoticz in my pi and use 8080 port. now i want setup kodi in same raspberry.
i am weak in english sorry but i read kodi.wiki
run this codes for setup kodi:

Code: Select all

sudo apt-get update
sudo apt-get install kodi
sudo apt-get install kodi-pvr-hts
so i see added kodi in app in raspberry but can not run .
Untitledkkkkk.jpg
Untitledkkkkk.jpg (12.23 KiB) Viewed 4722 times
please help :(

Re: domoticz and kodi in same raspberry?help

Posted: Wednesday 26 July 2017 16:36
by Egregius
Do yourself a favor and buy a Pi3 for Kodi.

Re: domoticz and kodi in same raspberry?help

Posted: Wednesday 26 July 2017 16:59
by reza
Egregius wrote:Do yourself a favor and buy a Pi3 for Kodi.
i want have kodi and domoticz in same RPi :( is that possible ?

Re: domoticz and kodi in same raspberry?help(this is not solve i wrong sorry)

Posted: Wednesday 26 July 2017 17:17
by farhanito
use https://osmc.tv build, and then install Domoticz on top of it. works really well.

Re: domoticz and kodi in same raspberry?help(this is not solve i wrong sorry)

Posted: Wednesday 26 July 2017 18:07
by Egregius
Of course it's possible. Why shouldn't it?
But do you really want it? I guess you want Domoticz fast and stable? And then run a quit heavy application like Kodi on the same machine? For what? Just to save €40?

Re: domoticz and kodi in same raspberry?help(this is not solve i wrong sorry)

Posted: Wednesday 26 July 2017 20:33
by reza
Egregius wrote:Of course it's possible. Why shouldn't it?
But do you really want it? I guess you want Domoticz fast and stable? And then run a quit heavy application like Kodi on the same machine? For what? Just to save €40?
so you mean if i want use kodi with domoticz in same Rpi so domoticz loses fast and stability? my friend countries are difference together. currency each country is difference :D €40 is 1/3 Monthly salary for me :roll: so give me the right, i must found a good way for save .... ;)

Re: domoticz and kodi in same raspberry?help(this is not solve i wrong sorry)

Posted: Wednesday 26 July 2017 20:36
by reza
farhanito wrote:use https://osmc.tv build, and then install Domoticz on top of it. works really well.
thank you for answer friend. this is a media center , similar to kodi? can i control this with domoticz ? is not this app heavy nad work well with domoticz on same Rpi ?
thank you
i must first setup this and after this setup domoticz? can i setup domoticz first?

Re: domoticz and kodi in same raspberry?help(this is not solve i wrong sorry)

Posted: Wednesday 26 July 2017 21:57
by reza
farhanito wrote:use https://osmc.tv build, and then install Domoticz on top of it. works really well.
this is a img file so i must format sd card and write this img ??

Re: domoticz and kodi in same raspberry?help(this is not solve i wrong sorry)

Posted: Wednesday 26 July 2017 22:22
by D'rMorris
I think your issue is in the fact that both Domoticz and Kodi both want to use port 8080. Kodi uses port 8080 for the web control I think. Check this link here:http://kodi.wiki/view/Webserver. Once the Domoticz webserver claims port 8080, is is blocked for Kodi. So either change Domoticz to run on a different port or configure the Kodi webserver on a different port.

Run this command:
sudo netstat -tulpn | grep LISTEN
to see which ports are used by which application.

Re: domoticz and kodi in same raspberry?help(this is not solve i wrong sorry)

Posted: Wednesday 26 July 2017 22:32
by reza
D'rMorris wrote:I think your issue is in the fact that both Domoticz and Kodi both want to use port 8080. Kodi uses port 8080 for the web control I think. Check this link here:http://kodi.wiki/view/Webserver. Once the Domoticz webserver claims port 8080, is is blocked for Kodi. So either change Domoticz to run on a different port or configure the Kodi webserver on a different port.

Run this command:
sudo netstat -tulpn | grep LISTEN
to see which ports are used by which application.
thank you for answer. i use 8080 for domoticz. how change this ?

Re: domoticz and kodi in same raspberry?help(this is not solve i wrong sorry for sign)

Posted: Wednesday 26 July 2017 22:43
by D'rMorris
It is defined in the domoticz.sh script, located in /home/pi/domoticz (assuming you used default location) and in /etc/init.d
You only need to change the one in /etc/init.d, that is used on startup. First service domoticz.sh stop, then change the port, then service domoticz.sh start.
Be aware that you change this, a lot of tutorials here assume that you use default port 8080.

Re: domoticz and kodi in same raspberry?help(this is not solve i wrong sorry)

Posted: Thursday 27 July 2017 5:45
by farhanito
reza wrote:
farhanito wrote:use https://osmc.tv build, and then install Domoticz on top of it. works really well.
this is a img file so i must format sd card and write this img ??
yes.
OSMC uses port 80 as default. Shouldn’t be an issue for Domoticz.

Re: domoticz and kodi in same raspberry?help(this is not solve i wrong sorry for sign)

Posted: Thursday 27 July 2017 8:30
by poudenes
reza wrote:hi guys .
i want use domoticz and kodi in same raspberry but i can not.
i have domoticz in my pi and use 8080 port. now i want setup kodi in same raspberry.
i am weak in english sorry but i read kodi.wiki
run this codes for setup kodi:

Code: Select all

sudo apt-get update
sudo apt-get install kodi
sudo apt-get install kodi-pvr-hts
so i see added kodi in app in raspberry but can not run .
Untitledkkkkk.jpg

please help :(

Code: Select all

OSMC / Domoticz

Install normal with OSMC installer vanuit de user OSMC en alles met SUDO 

sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install cmake make gcc g++ libssl-dev git curl libcurl4-openssl-dev libusb-dev python3-dev build-essential
sudo curl -L install.domoticz.com | sudo bash
Change KODI port to 8081 and leave Domoticz how it is

I did this to have Kodi and Domoticz on same RPi... BUT....... Bought a new RPi for OSMC only and current only for Domoticz.
There are lot of problems when you use them on 1 RPI... updates for OSMC can brick your Domoticz, Crashing of kodi or domoticz without any reason.

So i also say: Use 2 RPi 1 for OSMC 1 for Domoticz

Re: domoticz and kodi in same raspberry?help(this is not solve i wrong sorry for sign)

Posted: Thursday 27 July 2017 9:57
by D'rMorris
Depends on your use case as well of course. If you just want to play around with Domoticz or you only use it to display what's being played on Kodi on your Domoticz dashboard, then you can run it on the same Pi of course. Once you seriously start with home automation, I also would strongly recommend a separate Pi for Domoticz (certainly if you start with smoke detectors, security features, etc).

Re: domoticz and kodi in same raspberry?help(this is not solve i wrong sorry for sign)

Posted: Thursday 27 July 2017 20:26
by reza
friends i am confused please help me.
this is no matter for me that my media server be kodi or other, just i want have a good media server beside domoticz in same rpi3(i use just rpi3) .this matter for me that media server work well with domoticz and work well in same rpi3.
now is there a good media server that work well with domoticz and work beside domoticz in same rpi3 without any problem,crash or slow in actions?

Re: domoticz and kodi in same raspberry?help(this is not solve i wrong sorry for sign)

Posted: Friday 28 July 2017 8:54
by poudenes
reza wrote:friends i am confused please help me.
this is no matter for me that my media server be kodi or other, just i want have a good media server beside domoticz in same rpi3(i use just rpi3) .this matter for me that media server work well with domoticz and work well in same rpi3.
now is there a good media server that work well with domoticz and work beside domoticz in same rpi3 without any problem,crash or slow in actions?
Crashes you never can exclude... It will happen now or later.
OSMC + Domoticz is working. But when it work. Never update again. I did updates for OSMC and or Domoticz update and gives me some crashes and problems. So install, when it work don't screw it up to update (or make a backup before)

Re: domoticz and kodi in same raspberry?help(this is not solve i wrong sorry for sign)

Posted: Friday 28 July 2017 22:33
by reza
poudenes wrote:
reza wrote:friends i am confused please help me.
this is no matter for me that my media server be kodi or other, just i want have a good media server beside domoticz in same rpi3(i use just rpi3) .this matter for me that media server work well with domoticz and work well in same rpi3.
now is there a good media server that work well with domoticz and work beside domoticz in same rpi3 without any problem,crash or slow in actions?
Crashes you never can exclude... It will happen now or later.
OSMC + Domoticz is working. But when it work. Never update again. I did updates for OSMC and or Domoticz update and gives me some crashes and problems. So install, when it work don't screw it up to update (or make a backup before)
so if i dont update never domoticz and osmc , i have not any problem and freeze or crash rpi3?

Re: domoticz and kodi in same raspberry?help(this is not solve i wrong sorry for sign)

Posted: Monday 31 July 2017 8:11
by D'rMorris
No, not updating does not give you a guarantee that you will never have a crash. This depends on a lot of other factors, like the SD card and power supply you are using (do not save money on this!) as well. Those power supplies from Chinese webshops seem OK, but especially the Pi3 requires a power supply of at least 2A. In the past, I also used cheap power supplies claiming to deliver 2A, but I had quite some problems. After replacing the power supply, all of these disappeared.
Next to that, updates also provide security to your system, so not updating could pose a security risk (especially if you open your network to the outside to control Domoticz when you are not at home).

Re: domoticz and kodi in same raspberry?help(this is not solve i wrong sorry for sign)

Posted: Monday 31 July 2017 10:36
by reza
D'rMorris wrote:No, not updating does not give you a guarantee that you will never have a crash. This depends on a lot of other factors, like the SD card and power supply you are using (do not save money on this!) as well. Those power supplies from Chinese webshops seem OK, but especially the Pi3 requires a power supply of at least 2A. In the past, I also used cheap power supplies claiming to deliver 2A, but I had quite some problems. After replacing the power supply, all of these disappeared.
Next to that, updates also provide security to your system, so not updating could pose a security risk (especially if you open your network to the outside to control Domoticz when you are not at home).
thank you my friend. but i mean is not related to sd card and power supply for crash. just two app (domoticz and media player) together in same Rpi. Full compatibility .
if i run this two app in same Rpi , have i Full compatibility ? with out any problems and crash ? heavy and slow in action ...
and play music from flash memory and control from domoticz ? on same Rpi?

Re: domoticz and kodi in same raspberry?help(this is not solve i wrong sorry for sign)

Posted: Wednesday 23 August 2017 13:31
by AudreyHannaah
Are Kodi boxes now useless for football? Don't have one myself, but have read plenty of threads about them and other means of streaming premier league games. It appears that the premier league are getting tough.
acestream kodi