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

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
reza
Posts: 112
Joined: Tuesday 13 September 2016 9:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Contact:

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

Post 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 4510 times
please help :(
Last edited by reza on Wednesday 26 July 2017 22:34, edited 3 times in total.
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: domoticz and kodi in same raspberry?help

Post by Egregius »

Do yourself a favor and buy a Pi3 for Kodi.
reza
Posts: 112
Joined: Tuesday 13 September 2016 9:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Contact:

Re: domoticz and kodi in same raspberry?help

Post 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 ?
farhanito
Posts: 34
Joined: Friday 19 August 2016 5:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by farhanito »

use https://osmc.tv build, and then install Domoticz on top of it. works really well.
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

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

Post 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?
reza
Posts: 112
Joined: Tuesday 13 September 2016 9:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Contact:

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

Post 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 .... ;)
reza
Posts: 112
Joined: Tuesday 13 September 2016 9:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Contact:

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

Post 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?
reza
Posts: 112
Joined: Tuesday 13 September 2016 9:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Contact:

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

Post 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 ??
D'rMorris
Posts: 138
Joined: Thursday 01 May 2014 9:01
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands - Sittard
Contact:

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

Post 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.
reza
Posts: 112
Joined: Tuesday 13 September 2016 9:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Contact:

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

Post 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 ?
D'rMorris
Posts: 138
Joined: Thursday 01 May 2014 9:01
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands - Sittard
Contact:

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

Post 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.
farhanito
Posts: 34
Joined: Friday 19 August 2016 5:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post 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.
poudenes
Posts: 667
Joined: Wednesday 08 March 2017 9:42
Target OS: Linux
Domoticz version: 3.8993
Location: Amsterdam
Contact:

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

Post 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
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
D'rMorris
Posts: 138
Joined: Thursday 01 May 2014 9:01
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands - Sittard
Contact:

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

Post 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).
reza
Posts: 112
Joined: Tuesday 13 September 2016 9:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Contact:

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

Post 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?
poudenes
Posts: 667
Joined: Wednesday 08 March 2017 9:42
Target OS: Linux
Domoticz version: 3.8993
Location: Amsterdam
Contact:

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

Post 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)
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
reza
Posts: 112
Joined: Tuesday 13 September 2016 9:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Contact:

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

Post 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?
D'rMorris
Posts: 138
Joined: Thursday 01 May 2014 9:01
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands - Sittard
Contact:

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

Post 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).
reza
Posts: 112
Joined: Tuesday 13 September 2016 9:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Contact:

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

Post 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?
AudreyHannaah
Posts: 1
Joined: Wednesday 23 August 2017 13:20
Target OS: -
Domoticz version:
Contact:

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

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest