bobinou / iss-domo

Convert ISS Imperihome to Domoticz / Freebox / XBMC / Jeedom
https://plus.google.com/communities/113236981415459933411
9 stars 4 forks source link

Cannot send commands to Domoticz using ISS-Domo #10

Closed spawnrider closed 7 years ago

spawnrider commented 8 years ago

Hi,

I just found a bug in the DomoticzController.php file (line 476).

There is a double final embrace after $deviceId in the following line : $request = $client->getClient()->createRequest('GET', get_url(Config::get('iss-domo.domoticz_url'), "json.htm?type=command&param={$actionName}&idx={$deviceId}}&switchcmd=$actionParam")); must be correct as follow : $request = $client->getClient()->createRequest('GET', get_url(Config::get('iss-domo.domoticz_url'), "json.htm?type=command&param={$actionName}&idx={$deviceId}&switchcmd=$actionParam"));