Hello,
sorry for the delay, I executed it now.
Kodi gives a parse error back.
2019-01-28 13:12:00.376 Status: dzVents: Info: kodiResponse Test: ------ Start internal script: kodi:, trigger: every minute
2019-01-28 13:12:00.376 Status: dzVents: Debug: kodiResponse Test: nil
2019-01-28 13:12:00.377 Status: dzVents: Debug: kodiResponse Test: OpenURL: url =
http://192.168.1.4:8080/jsonrpc
2019-01-28 13:12:00.377 Status: dzVents: Debug: kodiResponse Test: OpenURL: method = POST
2019-01-28 13:12:00.377 Status: dzVents: Debug: kodiResponse Test: OpenURL: post data = { ['jsonrpc'] = '2.0', ['method'] = 'Application.SetVolume', ['id'] = 1, ['params'] = '{ "volume":80}' }
2019-01-28 13:12:00.378 Status: dzVents: Debug: kodiResponse Test: OpenURL: headers = {["Content-type"]="application/json"}
2019-01-28 13:12:00.378 Status: dzVents: Debug: kodiResponse Test: OpenURL: callback = kodiResponse1
2019-01-28 13:12:00.379 Status: dzVents: Debug: kodiResponse Test: nil
2019-01-28 13:12:00.379 Status: dzVents: Debug: kodiResponse Test: OpenURL: url =
http://192.168.1.4:8080/jsonrpc
2019-01-28 13:12:00.379 Status: dzVents: Debug: kodiResponse Test: OpenURL: method = POST
2019-01-28 13:12:00.380 Status: dzVents: Debug: kodiResponse Test: OpenURL: post data = { ['jsonrpc'] = '2.0', ['method'] = 'Application.SetVolume', ['id'] = 1, ['params'] = '{ [ ' .. ' "volume" .. '] = 80}' }
2019-01-28 13:12:00.380 Status: dzVents: Debug: kodiResponse Test: OpenURL: headers = {["Content-type"]="application/json"}
2019-01-28 13:12:00.380 Status: dzVents: Debug: kodiResponse Test: OpenURL: callback = kodiResponse2
2019-01-28 13:12:00.381 Status: dzVents: Debug: kodiResponse Test: nil
2019-01-28 13:12:00.381 Status: dzVents: Debug: kodiResponse Test: OpenURL: url =
http://192.168.1.4:8080/jsonrpc
2019-01-28 13:12:00.381 Status: dzVents: Debug: kodiResponse Test: OpenURL: method = POST
2019-01-28 13:12:00.382 Status: dzVents: Debug: kodiResponse Test: OpenURL: post data = { ['jsonrpc'] = '2.0', ['method'] = 'Application.SetVolume', ['id'] = 1, ['params'] = { ["volume"] = 80}}
2019-01-28 13:12:00.382 Status: dzVents: Debug: kodiResponse Test: OpenURL: headers = {["Content-type"]="application/json"}
2019-01-28 13:12:00.382 Status: dzVents: Debug: kodiResponse Test: OpenURL: callback = kodiResponse3
2019-01-28 13:12:00.383 Status: dzVents: Debug: kodiResponse Test: nil
2019-01-28 13:12:00.383 Status: dzVents: Debug: kodiResponse Test: OpenURL: url =
http://192.168.1.4:8080/jsonrpc
2019-01-28 13:12:00.383 Status: dzVents: Debug: kodiResponse Test: OpenURL: method = POST
2019-01-28 13:12:00.384 Status: dzVents: Debug: kodiResponse Test: OpenURL: post data = { ['jsonrpc'] = '2.0', ['method'] = 'Application.SetVolume', ['id'] = 1, ['params'] = { [ volume] }
2019-01-28 13:12:00.384 Status: dzVents: Debug: kodiResponse Test: OpenURL: headers = {["Content-type"]="application/json"}
2019-01-28 13:12:00.384 Status: dzVents: Debug: kodiResponse Test: OpenURL: callback = kodiResponse4
2019-01-28 13:12:00.385 Status: dzVents: Info: kodiResponse Test: ------ Finished kodi
2019-01-28 13:12:06.290 Status: dzVents: Info: Handling httpResponse-events for: "kodiResponse1
2019-01-28 13:12:06.290 Status: dzVents: Info: kodiResponse Test: ------ Start internal script: kodi: HTTPResponse: "kodiResponse1"
2019-01-28 13:12:06.322 Status: dzVents: Debug: kodiResponse Test: return from Kodi testString[1] ==>> {"error":{"code":-32700,"message":"Parse error."},"id":null,"jsonrpc":"2.0"}
2019-01-28 13:12:06.322 Status: dzVents: Info: kodiResponse Test: ------ Finished kodi
2019-01-28 13:12:11.280 Status: dzVents: Info: Handling httpResponse-events for: "kodiResponse2
2019-01-28 13:12:11.281 Status: dzVents: Info: kodiResponse Test: ------ Start internal script: kodi: HTTPResponse: "kodiResponse2"
2019-01-28 13:12:11.304 Status: dzVents: Debug: kodiResponse Test: return from Kodi testString[2] ==>> {"error":{"code":-32700,"message":"Parse error."},"id":null,"jsonrpc":"2.0"}
2019-01-28 13:12:11.304 Status: dzVents: Info: kodiResponse Test: ------ Finished kodi
2019-01-28 13:12:16.279 Status: dzVents: Info: Handling httpResponse-events for: "kodiResponse3
2019-01-28 13:12:16.280 Status: dzVents: Info: kodiResponse Test: ------ Start internal script: kodi: HTTPResponse: "kodiResponse3"
2019-01-28 13:12:16.304 Status: dzVents: Debug: kodiResponse Test: return from Kodi testString[3] ==>> {"error":{"code":-32700,"message":"Parse error."},"id":null,"jsonrpc":"2.0"}
2019-01-28 13:12:16.305 Status: dzVents: Info: kodiResponse Test: ------ Finished kodi
2019-01-28 13:12:21.291 Status: dzVents: Info: Handling httpResponse-events for: "kodiResponse4
2019-01-28 13:12:21.291 Status: dzVents: Info: kodiResponse Test: ------ Start internal script: kodi: HTTPResponse: "kodiResponse4"
2019-01-28 13:12:21.315 Status: dzVents: Debug: kodiResponse Test: return from Kodi testString[4] ==>> {"error":{"code":-32700,"message":"Parse error."},"id":null,"jsonrpc":"2.0"}
2019-01-28 13:12:21.315 Status: dzVents: Info: kodiResponse Test: ------ Finished kodi