Dnpwwo wrote:@barbaar and brutus, I think you are making this much more complicated than it needs to be.
You should not need to touch advancedsettings.xml unless you want the jsonrpc service to run on a different port. 9090 is the default so I would recommend reverting your change.
AFAIK username/password settings in Kodi only apply to the web server
not the jsonrpc server which is why you can't put them in. Many applications and remotes use that web service but the Domoticz implementation does not (which is probably where the confusion comes in).
If you are convinced there is a problem then issue a 'telnet <IP> 9090' command to the Kodi to see if it connects. If it does, paste in
{"jsonrpc":"2.0","method":"JSONRPC.Ping","id":1} and hit enter and see if it responds. If you get a 'Pong' back then Domoticz will work, if not then it won't.
The wiki covers how to check what is going on (
http://www.domoticz.com/wiki/Kodi#Troubleshooting), unless you see some log entries where Domoticz is 'Parsing data' then you have connected to the wrong port or not connected.
Good luck!
Thnx for your reply and explanation.
But I don't understand it fully because when you go to the settings from the Kodi Media Server you can enter the IP address but at the end it says: (username:password@IP Address). What username and password is this then? When I enter those from the webserver I get the following errors every second:
2015-12-11 13:50:35.522 Error: Kodi: (Kodi TV Woonkamer) Exception: 'resolve: a fatel error occured while searching in the database' connecting to 'admin:
[email protected]'
2015-12-11 13:50:35.623 Kodi: Starting I/O service thread.
2015-12-11 13:50:35.624 Error: Kodi: (Kodi TV Woonkamer) Async Read Exception: 995, The I/O-operation has been aborted because of either a thread exit or an application because of a command.
2015-12-11 13:50:35.682 Kodi: (Kodi TV Woonkamer) Event: 'Off'.
When entering only the IP address the messages are gone. But i see this error every 60 seconds:
2015-12-11 13:51:57.184 Kodi: (Kodi TV Woonkamer) Missed 1 pings, assumed off.
and:
2015-12-11 14:00:00.421 Kodi: (Kodi TV Woonkamer) Event: 'Off'.
2015-12-11 14:00:00.429 Kodi: (Kodi TV Woonkamer) Disonnected.
2015-12-11 14:00:00.583 Hardware Monitor: Fetching data (System sensors)
2015-12-11 14:00:01.422 Kodi: (Kodi TV Woonkamer) Connected to '192.168.1.5:85'.
2015-12-11 14:00:01.457 Kodi: (Kodi TV Woonkamer) Event: 'On'.
2015-12-11 14:00:06.795 Kodi: Restarting I/O service thread.
So I see my remote is on but i can't use it.
I have also checkt the option that odder applications can use the remote control of kodi.
Hope you can help me.
Greetings Brutus
1x Intel NUC8i5BEK (Windows 10 x64) Domoticz on Virtualbox with DietPi.
1x Aeon Labs USB Z-Stick S2
1x P1 Smart Meter USB
28x Fibaro Modules
SMA Solar System
Daikin Airco / Heating
Denon DHT-S716H & DSW-1H