Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

several somfy action in a same Row ID doesn't work #1077

Closed
jluc2808 opened this issue Apr 19, 2019 · 10 comments · Fixed by #1115
Closed

several somfy action in a same Row ID doesn't work #1077

jluc2808 opened this issue Apr 19, 2019 · 10 comments · Fixed by #1115
Assignees
Milestone

Comments

@jluc2808
Copy link

hello, when i want to execute muti-command SOMFY in an HA ID, each time i get an error even the 1rst command failed

when i try each command a separate ID it's running well

i have added delay beetween each command but it's the same result.

@bwssytems
Copy link
Owner

could you turn on debug for the HueMulator and post the log. Thanks

@jluc2808
Copy link
Author

here is the log (i just overwrite user@password in the log)

04-24-2019 05:34:14.981 DEBUG Get logmsgs. com.bwssystems.HABridge.SystemControl
04-24-2019 05:34:14.906 DEBUG Stats: [leased: 0; pending: 0; available: 0; max: 200] com.bwssystems.HABridge.plugins.http.HttpClientPool
04-24-2019 05:34:09.905 DEBUG Stats: [leased: 0; pending: 0; available: 0; max: 200] com.bwssystems.HABridge.plugins.http.HttpClientPool
04-24-2019 05:34:07.831 DEBUG matchedPart: :userid = 37f9ff6afadc4d45ae29eb17b1e5d12a spark.Request
04-24-2019 05:34:07.831 DEBUG matchedPart: :id = 3 spark.Request
04-24-2019 05:34:07.831 DEBUG hue light requested: 3 for user: 37f9ff6afadc4d45ae29eb17b1e5d12a from 192.168.1.50 com.bwssystems.HABridge.hue.HueMulator
04-24-2019 05:34:07.831 DEBUG validateWhitelistUser: found a user <37f9ff6afadc4d45ae29eb17b1e5d12a> com.bwssystems.HABridge.BridgeSecurity
04-24-2019 05:34:07.831 DEBUG found device named: Samsung TV - Source com.bwssystems.HABridge.hue.HueMulator
04-24-2019 05:34:07.830 DEBUG HueMulator GET called on api/* with request <<</api/37f9ff6afadc4d45ae29eb17b1e5d12a/lights/3>>>, and body <<<>>> com.bwssystems.HABridge.hue.HueMulator
04-24-2019 05:34:04.905 DEBUG Stats: [leased: 0; pending: 0; available: 0; max: 200] com.bwssystems.HABridge.plugins.http.HttpClientPool
04-24-2019 05:34:00.981 DEBUG Get logmsgs. com.bwssystems.HABridge.SystemControl
04-24-2019 05:33:59.905 DEBUG Stats: [leased: 0; pending: 0; available: 0; max: 200] com.bwssystems.HABridge.plugins.http.HttpClientPool
04-24-2019 05:33:57.341 DEBUG sendUpnpNotify notifyTemplate is <<<NOTIFY * HTTP/1.1 HOST: 239.255.255.250:1900 CACHE-CONTROL: max-age=100 LOCATION: http:https://192.168.1.178:80/description.xml SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.19.0 NTS: ssdp:alive hue-bridgeid: A6409AFFFE7508BF NT: uuid:2f402f80-da50-11e1-9b23-a6409a7508bf USN: uuid:2f402f80-da50-11e1-9b23-a6409a7508bf >>> com.bwssystems.HABridge.upnp.UpnpListener
04-24-2019 05:33:54.905 DEBUG Stats: [leased: 0; pending: 0; available: 0; max: 200] com.bwssystems.HABridge.plugins.http.HttpClientPool
04-24-2019 05:33:54.470 DEBUG HueMulator GET called on api/* with request <<</api/37f9ff6afadc4d45ae29eb17b1e5d12a/lights/19>>>, and body <<<>>> com.bwssystems.HABridge.hue.HueMulator
04-24-2019 05:33:54.470 DEBUG matchedPart: :userid = 37f9ff6afadc4d45ae29eb17b1e5d12a spark.Request
04-24-2019 05:33:54.470 DEBUG matchedPart: :id = 19 spark.Request
04-24-2019 05:33:54.470 DEBUG hue light requested: 19 for user: 37f9ff6afadc4d45ae29eb17b1e5d12a from 192.168.1.50 com.bwssystems.HABridge.hue.HueMulator
04-24-2019 05:33:54.470 DEBUG validateWhitelistUser: found a user <37f9ff6afadc4d45ae29eb17b1e5d12a> com.bwssystems.HABridge.BridgeSecurity
04-24-2019 05:33:54.470 DEBUG found device named: plafonnier chambre parent com.bwssystems.HABridge.hue.HueMulator
04-24-2019 05:33:49.905 DEBUG Stats: [leased: 0; pending: 0; available: 0; max: 200] com.bwssystems.HABridge.plugins.http.HttpClientPool
04-24-2019 05:33:44.904 DEBUG Stats: [leased: 0; pending: 0; available: 0; max: 200] com.bwssystems.HABridge.plugins.http.HttpClientPool
04-24-2019 05:33:39.904 DEBUG Stats: [leased: 0; pending: 0; available: 0; max: 200] com.bwssystems.HABridge.plugins.http.HttpClientPool
04-24-2019 05:33:34.904 DEBUG Stats: [leased: 0; pending: 0; available: 0; max: 200] com.bwssystems.HABridge.plugins.http.HttpClientPool
04-24-2019 05:33:29.904 DEBUG Stats: [leased: 0; pending: 0; available: 0; max: 200] com.bwssystems.HABridge.plugins.http.HttpClientPool
04-24-2019 05:33:28.317 DEBUG sendUpnpNotify notifyTemplate is <<<NOTIFY * HTTP/1.1 HOST: 239.255.255.250:1900 CACHE-CONTROL: max-age=100 LOCATION: http:https://192.168.1.178:80/description.xml SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.19.0 NTS: ssdp:alive hue-bridgeid: A6409AFFFE7508BF NT: uuid:2f402f80-da50-11e1-9b23-a6409a7508bf USN: uuid:2f402f80-da50-11e1-9b23-a6409a7508bf >>> com.bwssystems.HABridge.upnp.UpnpListener
04-24-2019 05:33:24.903 DEBUG Stats: [leased: 0; pending: 0; available: 0; max: 200] com.bwssystems.HABridge.plugins.http.HttpClientPool
04-24-2019 05:33:24.135 WARN HTTP response code was not an expected successful response of between 200 - 299, the code was: HTTP/1.1 400 with the content of <<<{"errorCode":"INVALID_API_CALL","error":"Invalid JSON format or type in request body"}>>> com.bwssystems.HABridge.plugins.http.HTTPHandler
04-24-2019 05:33:24.135 DEBUG Somfy exec reply response <<<{"errorCode":"INVALID_API_CALL","error":"Invalid JSON format or type in request body"}>>> com.bwssystems.HABridge.plugins.somfy.SomfyInfo
04-24-2019 05:33:24.134 DEBUG POST execute (0) on URL responded: 400 com.bwssystems.HABridge.plugins.http.HTTPHandler
04-24-2019 05:33:24.111 DEBUG POST execute (0) on URL responded: 200 com.bwssystems.HABridge.plugins.http.HTTPHandler
04-24-2019 05:33:24.111 DEBUG Successfull response - The http response is <<<{"success":true,"version":"2019.1.4.2-8","environment":"ENV1-PROD101","events":[]}>>> com.bwssystems.HABridge.plugins.http.HTTPHandler
04-24-2019 05:33:24.111 DEBUG Somfy login response <<<{"success":true,"version":"2019.1.4.2-8","environment":"ENV1-PROD101","events":[]}>>> com.bwssystems.HABridge.plugins.somfy.SomfyInfo
04-24-2019 05:33:24.111 INFO Making SOMFY http exec call com.bwssystems.HABridge.plugins.somfy.SomfyInfo
04-24-2019 05:33:24.111 DEBUG doHttpRequest with url <<https://www.tahomalink.com/enduser-mobile-web/enduserAPI/exec/apply>>, verb: POST, contentType: application/json;charset=UTF-8, body <<<"{"label":"Label that is ignored probably","actions":[{"deviceURL":"io:https://1213-7621-4920/5727092","commands":[{"name":"close","parameters":[]}]}]}">>> com.bwssystems.HABridge.plugins.http.HTTPHandler
04-24-2019 05:33:24.111 DEBUG header index 0 name: <<>>, value: <<>> com.bwssystems.HABridge.plugins.http.HTTPHandler
04-24-2019 05:33:24.111 DEBUG Making outbound call in doHttpRequest: <<<POST https://www.tahomalink.com/enduser-mobile-web/enduserAPI/exec/apply HTTP/1.1>>> com.bwssystems.HABridge.plugins.http.HTTPHandler
04-24-2019 05:33:23.882 DEBUG Calling Home device handler for type : somfyDevice com.bwssystems.HABridge.hue.HueMulator
04-24-2019 05:33:23.882 DEBUG executing HUE api request to change activity to Somfy: "{"label":"Label that is ignored probably","actions":[{"deviceURL":"io:https://1213-7621-4920/5727092","commands":[{"name":"close","parameters":[]}]}]}" com.bwssystems.HABridge.plugins.somfy.SomfyHome
04-24-2019 05:33:23.882 DEBUG Making SOMFY http login call com.bwssystems.HABridge.plugins.somfy.SomfyInfo
04-24-2019 05:33:23.882 DEBUG doHttpRequest with url <<https://www.tahomalink.com/enduser-mobile-web/externalAPI/json/login>>, verb: POST, contentType: application/x-www-form-urlencoded, body <<<userId=myuser@myadress&userPassword=xxxxxxxxx>>> com.bwssystems.HABridge.plugins.http.HTTPHandler
04-24-2019 05:33:23.882 DEBUG header index 0 name: <<>>, value: <<>> com.bwssystems.HABridge.plugins.http.HTTPHandler
04-24-2019 05:33:23.882 DEBUG Making outbound call in doHttpRequest: <<<POST https://www.tahomalink.com/enduser-mobile-web/externalAPI/json/login HTTP/1.1>>> com.bwssystems.HABridge.plugins.http.HTTPHandler
04-24-2019 05:33:23.781 DEBUG POST execute (0) on URL responded: 400 com.bwssystems.HABridge.plugins.http.HTTPHandler
04-24-2019 05:33:23.781 WARN HTTP response code was not an expected successful response of between 200 - 299, the code was: HTTP/1.1 400 with the content of <<<{"errorCode":"INVALID_API_CALL","error":"Invalid JSON format or type in request body"}>>> com.bwssystems.HABridge.plugins.http.HTTPHandler
04-24-2019 05:33:23.781 DEBUG Somfy exec reply response <<<{"errorCode":"INVALID_API_CALL","error":"Invalid JSON format or type in request body"}>>> com.bwssystems.HABridge.plugins.somfy.SomfyInfo
04-24-2019 05:33:23.757 DEBUG Making outbound call in doHttpRequest: <<<POST https://www.tahomalink.com/enduser-mobile-web/enduserAPI/exec/apply HTTP/1.1>>> com.bwssystems.HABridge.plugins.http.HTTPHandler
04-24-2019 05:33:23.756 DEBUG POST execute (0) on URL responded: 200 com.bwssystems.HABridge.plugins.http.HTTPHandler
04-24-2019 05:33:23.756 DEBUG Successfull response - The http response is <<<{"success":true,"version":"2019.1.4.2-8","environment":"ENV1-PROD101","events":[]}>>> com.bwssystems.HABridge.plugins.http.HTTPHandler
04-24-2019 05:33:23.756 DEBUG Somfy login response <<<{"success":true,"version":"2019.1.4.2-8","environment":"ENV1-PROD101","events":[]}>>> com.bwssystems.HABridge.plugins.somfy.SomfyInfo
04-24-2019 05:33:23.756 INFO Making SOMFY http exec call com.bwssystems.HABridge.plugins.somfy.SomfyInfo
04-24-2019 05:33:23.756 DEBUG doHttpRequest with url <<https://www.tahomalink.com/enduser-mobile-web/enduserAPI/exec/apply>>, verb: POST, contentType: application/json;charset=UTF-8, body <<<"{"label":"Label that is ignored probably","actions":[{"deviceURL":"io:https://1213-7621-4920/11318195","commands":[{"name":"close","parameters":[]}]}]}">>> com.bwssystems.HABridge.plugins.http.HTTPHandler
04-24-2019 05:33:23.756 DEBUG header index 0 name: <<>>, value: <<>> com.bwssystems.HABridge.plugins.http.HTTPHandler
04-24-2019 05:33:23.535 DEBUG HueMulator PUT called on api/* with request <<</api/438e684aa13f4d54b5b538d5285902f4/lights/43/state>>>, and body <<<{"on":false}>>> com.bwssystems.HABridge.hue.HueMulator
04-24-2019 05:33:23.535 DEBUG matchedPart: :userid = 438e684aa13f4d54b5b538d5285902f4 spark.Request
04-24-2019 05:33:23.535 DEBUG matchedPart: :id = 43 spark.Request
04-24-2019 05:33:23.535 DEBUG hue state change requested: 438e684aa13f4d54b5b538d5285902f4 from 192.168.1.8 body: {"on":false} com.bwssystems.HABridge.hue.HueMulator
04-24-2019 05:33:23.535 DEBUG validateWhitelistUser: found a user <438e684aa13f4d54b5b538d5285902f4> com.bwssystems.HABridge.BridgeSecurity
04-24-2019 05:33:23.535 DEBUG Calling on-off as requested. com.bwssystems.HABridge.hue.HueMulator
04-24-2019 05:33:23.535 DEBUG Decode Json for url items: [{"item":"{"label":"Label that is ignored probably","actions":[{"deviceURL":"io:https://1213-7621-4920/11318195","commands":[{"name":"close","parameters":[]}]}]}","type":"somfyDevice"},{"item":"{"label":"Label that is ignored probably","actions":[{"deviceURL":"io:https://1213-7621-4920/5727092","commands":[{"name":"close","parameters":[]}]}]}","type":"somfyDevice"}] com.bwssystems.HABridge.hue.HueMulator
04-24-2019 05:33:23.535 DEBUG Calling Home device handler for type : somfyDevice com.bwssystems.HABridge.hue.HueMulator
04-24-2019 05:33:23.535 DEBUG executing HUE api request to change activity to Somfy: "{"label":"Label that is ignored probably","actions":[{"deviceURL":"io:https://1213-7621-4920/11318195","commands":[{"name":"close","parameters":[]}]}]}" com.bwssystems.HABridge.plugins.somfy.SomfyHome
04-24-2019 05:33:23.535 DEBUG Making SOMFY http login call com.bwssystems.HABridge.plugins.somfy.SomfyInfo
04-24-2019 05:33:23.535 DEBUG doHttpRequest with url <<https://www.tahomalink.com/enduser-mobile-web/externalAPI/json/login>>, verb: POST, contentType: application/x-www-form-urlencoded, body <<<userId=myuser@my_address&userPassword=xxxxxxxxxxx>>> com.bwssystems.HABridge.plugins.http.HTTPHandler
04-24-2019 05:33:23.535 DEBUG header index 0 name: <<>>, value: <<>> com.bwssystems.HABridge.plugins.http.HTTPHandler
04-24-2019 05:33:23.535 DEBUG Making outbound call in doHttpRequest: <<<POST https://www.tahomalink.com/enduser-mobile-web/externalAPI/json/login HTTP/1.1>>> com.bwssystems.HABridge.plugins.http.HTTPHandler
04-24-2019 05:33:19.903 DEBUG Stats: [leased: 0; pending: 0; available: 0; max: 200] com.bwssystems.HABridge.plugins.http.HttpClientPool
04-24-2019 05:33:18.653 DEBUG HueMulator GET called on api/* with request <<</api/37f9ff6afadc4d45ae29eb17b1e5d12a/lights/27>>>, and body <<<>>> com.bwssystems.HABridge.hue.HueMulator
04-24-2019 05:33:18.653 DEBUG matchedPart: :userid = 37f9ff6afadc4d45ae29eb17b1e5d12a spark.Request
04-24-2019 05:33:18.653 DEBUG matchedPart: :id = 27 spark.Request
04-24-2019 05:33:18.653 DEBUG hue light requested: 27 for user: 37f9ff6afadc4d45ae29eb17b1e5d12a from 192.168.1.50 com.bwssystems.HABridge.hue.HueMulator
04-24-2019 05:33:18.653 DEBUG validateWhitelistUser: found a user <37f9ff6afadc4d45ae29eb17b1e5d12a> com.bwssystems.HABridge.BridgeSecurity
04-24-2019 05:33:18.653 DEBUG found device named: volet chambre parent com.bwssystems.HABridge.hue.HueMulator
04-24-2019 05:33:14.903 DEBUG Stats: [leased: 0; pending: 0; available: 0; max: 200] com.bwssystems.HABridge.plugins.http.HttpClientPool
04-24-2019 05:33:14.542 DEBUG HueMulator GET called on api/* with request <<</api/37f9ff6afadc4d45ae29eb17b1e5d12a/lights/26>>>, and body <<<>>> com.bwssystems.HABridge.hue.HueMulator
04-24-2019 05:33:14.542 DEBUG matchedPart: :userid = 37f9ff6afadc4d45ae29eb17b1e5d12a spark.Request
04-24-2019 05:33:14.542 DEBUG matchedPart: :id = 26 spark.Request
04-24-2019 05:33:14.542 DEBUG hue light requested: 26 for user: 37f9ff6afadc4d45ae29eb17b1e5d12a from 192.168.1.50 com.bwssystems.HABridge.hue.HueMulator
04-24-2019 05:33:14.542 DEBUG validateWhitelistUser: found a user <37f9ff6afadc4d45ae29eb17b1e5d12a> com.bwssystems.HABridge.BridgeSecurity
04-24-2019 05:33:14.542 DEBUG found device named: store terrasse com.bwssystems.HABridge.hue.HueMulator
04-24-2019 05:33:09.903 DEBUG Stats: [leased: 0; pending: 0; available: 0; max: 200] com.bwssystems.HABridge.plugins.http.HttpClientPool
04-24-2019 05:33:08.303 DEBUG sendUpnpNotify notifyTemplate is <<<NOTIFY * HTTP/1.1 HOST: 239.255.255.250:1900 CACHE-CONTROL: max-age=100 LOCATION: http:https://192.168.1.178:80/description.xml SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.19.0 NTS: ssdp:alive hue-bridgeid: A6409AFFFE7508BF NT: uuid:2f402f80-da50-11e1-9b23-a6409a7508bf USN: uuid:2f402f80-da50-11e1-9b23-a6409a7508bf >>> com.bwssystems.HABridge.upnp.UpnpListener
04-24-2019 05:33:05.094 DEBUG HueMulator GET called on api/* with request <<</api/devices/backup/available>>>, and body <<<>>> com.bwssystems.HABridge.hue.HueMulator
04-24-2019 05:33:05.094 DEBUG Get backup filenames com.bwssystems.HABridge.devicemanagmeent.DeviceResource
04-24-2019 05:33:05.094 DEBUG The Device List: [{"id":"22","uniqueid":"00:17:88:5E:D3:16-16","name":"volet buanderie","mapId":"volet buanderie-domoticz","mapType":"domoticzDevice","deviceType":"switch","targetDevice":"domoticz","offUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchlight\u0026idx\u003d67\u0026switchcmd\u003dOff","type":"domoticzDevice"}]","onUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchlight\u0026idx\u003d67\u0026switchcmd\u003dOn","type":"domoticzDevice"}]","inactive":false,"noState":false,"offState":false,"deviceState":{"on":false,"bri":0,"alert":"none","reachable":true},"onFirstDim":false,"onWhenDimPresent":false},{"id":"23","uniqueid":"00:17:88:5E:D3:17-17","name":"volet salon","mapId":"volet salon-domoticz","mapType":"domoticzDevice","deviceType":"switch","targetDevice":"domoticz","offUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchlight\u0026idx\u003d68\u0026switchcmd\u003dOff","type":"domoticzDevice"}]","onUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchlight\u0026idx\u003d68\u0026switchcmd\u003dOn","type":"domoticzDevice"}]","inactive":false,"noState":false,"offState":false,"deviceState":{"on":true,"bri":254,"alert":"none","reachable":true},"onFirstDim":false,"onWhenDimPresent":false},{"id":"24","uniqueid":"00:17:88:5E:D3:18-18","name":"volet cuisine","mapId":"22fbd2ea-c39c-485c-9824-065eee665159","mapType":"somfyDevice","deviceType":"switch","targetDevice":"somfy-tahoma","offUrl":"[{"item":{"label":"Label that is ignored probably","actions":[{"deviceURL":"io:https://1213-7621-4920/5727092","commands":[{"name":"close","parameters":[]}]}]},"type":"somfyDevice"}]","onUrl":"[{"item":{"label":"Label that is ignored probably","actions":[{"deviceURL":"io:https://1213-7621-4920/5727092","commands":[{"name":"open","parameters":[]}]}]},"type":"somfyDevice"}]","inactive":false,"noState":false,"offState":false,"deviceState":{"on":false,"bri":0,"alert":"none","reachable":true},"onFirstDim":false,"onWhenDimPresent":false},{"id":"25","uniqueid":"00:17:88:5E:D3:19-19","name":"volet salle ? manger","mapId":"c70ab644-c813-49cc-b4de-35c6d8d8a81f","mapType":"somfyDevice","deviceType":"switch","targetDevice":"somfy-tahoma","offUrl":"[{"item":{"label":"Label that is ignored probably","actions":[{"deviceURL":"io:https://1213-7621-4920/11318195","commands":[{"name":"close","parameters":[]}]}]},"type":"somfyDevice"}]","onUrl":"[{"item":{"label":"Label that is ignored probably","actions":[{"deviceURL":"io:https://1213-7621-4920/11318195","commands":[{"name":"open","parameters":[]}]}]},"type":"somfyDevice"}]","inactive":false,"noState":false,"offState":false,"deviceState":{"on":false,"bri":0,"alert":"none","reachable":true},"onFirstDim":false,"onWhenDimPresent":false},{"id":"26","uniqueid":"00:17:88:5E:D3:1A-1A","name":"store terrasse","mapId":"9c2dda1d-9dcf-4a91-bb8b-8d8c11a4586f","mapType":"somfyDevice","deviceType":"switch","targetDevice":"somfy-tahoma","offUrl":"[{"item":{"label":"Label that is ignored probably","actions":[{"deviceURL":"rts:https://1213-7621-4920/16713080","commands":[{"name":"close","parameters":[]}]}]},"type":"somfyDevice"}]","onUrl":"[{"item":{"label":"Label that is ignored probably","actions":[{"deviceURL":"rts:https://1213-7621-4920/16713080","commands":[{"name":"open","parameters":[]}]}]},"type":"somfyDevice"}]","inactive":false,"noState":false,"offState":false,"deviceState":{"on":false,"bri":0,"alert":"none","reachable":true},"onFirstDim":false,"onWhenDimPresent":false},{"id":"27","uniqueid":"00:17:88:5E:D3:1B-1B","name":"volet chambre parent","mapId":"1e940244-b109-4f12-89fd-e3cd291298f5","mapType":"somfyDevice","deviceType":"switch","targetDevice":"somfy-tahoma","offUrl":"[{"item":{"label":"Label that is ignored probably","actions":[{"deviceURL":"rts:https://1213-7621-4920/16751987","commands":[{"name":"close","parameters":[]}]}]},"type":"somfyDevice"}]","onUrl":"[{"item":{"label":"Label that is ignored probably","actions":[{"deviceURL":"rts:https://1213-7621-4920/16751987","commands":[{"name":"open","parameters":[]}]}]},"type":"somfyDevice"}]","inactive":false,"noState":false,"offState":false,"deviceState":{"on":false,"bri":0,"alert":"none","reachable":true},"onFirstDim":false,"onWhenDimPresent":false},{"id":"10","uniqueid":"00:17:88:5E:D3:0A-0A","name":"volet baie vitr?e salon mont?e","mapId":"volet baie vitr?e salon mont?e-domoticz","mapType":"domoticzDevice","deviceType":"switch","targetDevice":"domoticz","offUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchlight\u0026idx\u003d54\u0026switchcmd\u003dOff","type":"domoticzDevice"}]","onUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchlight\u0026idx\u003d54\u0026switchcmd\u003dOn","type":"domoticzDevice"}]","inactive":false,"noState":false,"offState":false,"deviceState":{"on":false,"bri":0,"alert":"none","reachable":true},"onFirstDim":false,"onWhenDimPresent":false},{"id":"11","uniqueid":"00:17:88:5E:D3:0B-0B","name":"volet baie vitr?e salon descente","mapId":"volet baie vitr?e salon descente-domoticz","mapType":"domoticzDevice","deviceType":"switch","targetDevice":"domoticz","offUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchlight\u0026idx\u003d55\u0026switchcmd\u003dOff","type":"domoticzDevice"}]","onUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchlight\u0026idx\u003d55\u0026switchcmd\u003dOn","type":"domoticzDevice"}]","inactive":false,"noState":false,"offState":false,"deviceState":{"on":false,"bri":0,"alert":"none","reachable":true},"onFirstDim":false,"onWhenDimPresent":false},{"id":"13","uniqueid":"00:17:88:5E:D3:0D-0D","name":"texte envoy? sur Led messenger","mapId":"texte envoy? sur Led messenger-domoticz","mapType":"domoticzDevice","deviceType":"switch","targetDevice":"domoticz","offUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchlight\u0026idx\u003d72\u0026switchcmd\u003dOff","type":"domoticzDevice"}]","onUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchlight\u0026idx\u003d72\u0026switchcmd\u003dOn","type":"domoticzDevice"}]","inactive":false,"noState":false,"offState":false,"deviceState":{"on":false,"bri":0,"alert":"none","reachable":true},"onFirstDim":false,"onWhenDimPresent":false},{"id":"14","uniqueid":"00:17:88:5E:D3:0E-0E","name":"Ampli RX-840 - Main","mapId":"Ampli RX-840 - Main-domoticz","mapType":"domoticzDevice","deviceType":"switch","targetDevice":"domoticz","offUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchlight\u0026idx\u003d80\u0026switchcmd\u003dOff","type":"domoticzDevice"}]","onUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchlight\u0026idx\u003d80\u0026switchcmd\u003dOn","type":"domoticzDevice"}]","inactive":false,"noState":false,"offState":false,"deviceState":{"on":false,"bri":0,"alert":"none","reachable":true},"onFirstDim":false,"onWhenDimPresent":false},{"id":"36","uniqueid":"00:17:88:5E:D3:24-24","name":"Harmony PowerOff","mapId":"-1","mapType":"harmonyActivity","deviceType":"activity","targetDevice":"Harmony Hub","offUrl":"[{"item":"{\"name\":\"-1\",\"hub\":\"Harmony Hub\"}","type":"harmonyActivity"}]","onUrl":"[{"item":"{\"name\":\"-1\",\"hub\":\"Harmony Hub\"}","type":"harmonyActivity"}]","inactive":false,"noState":false,"offState":false,"deviceState":{"on":true,"bri":254,"alert":"none","reachable":true},"onFirstDim":false,"onWhenDimPresent":false},{"id":"15","uniqueid":"00:17:88:5E:D3:0F-0F","name":"Ampli RX-840 - Volume Main","mapId":"Ampli RX-840 - Volume Main-domoticz","mapType":"domoticzDevice","deviceType":"switch","targetDevice":"domoticz","offUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchlight\u0026idx\u003d81\u0026switchcmd\u003dOff","type":"domoticzDevice"}]","onUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchlight\u0026idx\u003d81\u0026switchcmd\u003dOn","type":"domoticzDevice"}]","inactive":false,"noState":false,"offState":false,"deviceState":{"on":true,"bri":254,"alert":"none","reachable":true},"onFirstDim":false,"onWhenDimPresent":false},{"id":"16","uniqueid":"00:17:88:5E:D3:10-10","name":"Ampli RX-840 - Input Main","mapId":"Ampli RX-840 - Input Main-domoticz","mapType":"domoticzDevice","deviceType":"switch","targetDevice":"domoticz","offUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchlight\u0026idx\u003d82\u0026switchcmd\u003dOff","type":"domoticzDevice"}]","onUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchlight\u0026idx\u003d82\u0026switchcmd\u003dOn","type":"domoticzDevice"}]","inactive":false,"noState":false,"offState":false,"deviceState":{"on":true,"bri":254,"alert":"none","reachable":true},"onFirstDim":false,"onWhenDimPresent":false},{"id":"17","uniqueid":"00:17:88:5E:D3:11-11","name":"Ampli RX-840 - DSP Main","mapId":"Ampli RX-840 - DSP Main-domoticz","mapType":"domoticzDevice","deviceType":"switch","targetDevice":"domoticz","offUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchlight\u0026idx\u003d83\u0026switchcmd\u003dOff","type":"domoticzDevice"}]","onUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchlight\u0026idx\u003d83\u0026switchcmd\u003dOn","type":"domoticzDevice"}]","inactive":false,"noState":false,"offState":false,"deviceState":{"on":true,"bri":254,"alert":"none","reachable":true},"onFirstDim":false,"onWhenDimPresent":false},{"id":"39","uniqueid":"00:17:88:5E:D3:27-27","name":"?couter de la musique","mapId":"37236604","mapType":"harmonyActivity","deviceType":"activity","targetDevice":"Harmony Hub","offUrl":"[{"item":"{\"name\":\"-1\",\"hub\":\"Harmony Hub\"}","type":"harmonyActivity"}]","onUrl":"[{"item":"{\"name\":\"37236604\",\"hub\":\"Harmony Hub\"}","type":"harmonyActivity"}]","inactive":false,"noState":false,"offState":false,"deviceState":{"on":false,"bri":0,"alert":"none","reachable":true},"onFirstDim":false,"onWhenDimPresent":false},{"id":"19","uniqueid":"00:17:88:5E:D3:13-13","name":"plafonnier chambre parent","mapId":"plafonnier chambre parent-domoticz","mapType":"domoticzDevice","deviceType":"switch","targetDevice":"domoticz","offUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchlight\u0026idx\u003d114\u0026switchcmd\u003dOff","type":"domoticzDevice"}]","onUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchlight\u0026idx\u003d114\u0026switchcmd\u003dOn","type":"domoticzDevice"}]","inactive":false,"noState":false,"offState":false,"deviceState":{"on":false,"bri":0,"alert":"none","reachable":true},"onFirstDim":false,"onWhenDimPresent":false},{"id":"1","uniqueid":"00:17:88:5E:D3:01-01","name":"volet buanderie descente","mapId":"volet buanderie descente-domoticz","mapType":"domoticzDevice","deviceType":"switch","targetDevice":"domoticz","offUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchlight\u0026idx\u003d52\u0026switchcmd\u003dOff","type":"domoticzDevice"}]","onUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchlight\u0026idx\u003d52\u0026switchcmd\u003dOn","type":"domoticzDevice"}]","inactive":false,"noState":false,"offState":false,"deviceState":{"on":false,"bri":0,"alert":"none","reachable":true},"onFirstDim":false,"onWhenDimPresent":false},{"id":"2","uniqueid":"00:17:88:5E:D3:02-02","name":"Samsung TV - Status","mapId":"Samsung TV - Status-domoticz","mapType":"domoticzDevice","deviceType":"switch","targetDevice":"domoticz","offUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchlight\u0026idx\u003d14\u0026switchcmd\u003dOff","type":"domoticzDevice"}]","onUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchlight\u0026idx\u003d14\u0026switchcmd\u003dOn","type":"domoticzDevice"}]","inactive":false,"noState":false,"offState":false,"deviceState":{"on":false,"bri":0,"alert":"none","reachable":true},"onFirstDim":false,"onWhenDimPresent":false},{"id":"3","uniqueid":"00:17:88:5E:D3:03-03","name":"Samsung TV - Source","mapId":"Samsung TV - Source-domoticz","mapType":"domoticzDevice","deviceType":"switch","targetDevice":"domoticz","offUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchlight\u0026idx\u003d15\u0026switchcmd\u003dOff","type":"domoticzDevice"}]","onUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchlight\u0026idx\u003d15\u0026switchcmd\u003dOn","type":"domoticzDevice"}]","inactive":false,"noState":false,"offState":false,"deviceState":{"on":true,"bri":254,"alert":"none","reachable":true},"onFirstDim":false,"onWhenDimPresent":false},{"id":"4","uniqueid":"00:17:88:5E:D3:04-04","name":"Samsung TV - Volume","mapId":"Samsung TV - Volume-domoticz","mapType":"domoticzDevice","deviceType":"switch","targetDevice":"domoticz","offUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchlight\u0026idx\u003d16\u0026switchcmd\u003dOff","type":"domoticzDevice"}]","onUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchlight\u0026idx\u003d16\u0026switchcmd\u003dOn","type":"domoticzDevice"}]","inactive":false,"noState":false,"offState":false,"deviceState":{"on":true,"bri":254,"alert":"none","reachable":true},"onFirstDim":false,"onWhenDimPresent":false},{"id":"5","uniqueid":"00:17:88:5E:D3:05-05","name":"Samsung TV - Input","mapId":"Samsung TV - Input-domoticz","mapType":"domoticzDevice","deviceType":"switch","targetDevice":"domoticz","offUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchlight\u0026idx\u003d17\u0026switchcmd\u003dOff","type":"domoticzDevice"}]","onUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchlight\u0026idx\u003d17\u0026switchcmd\u003dOn","type":"domoticzDevice"}]","inactive":false,"noState":false,"offState":false,"deviceState":{"on":true,"bri":254,"alert":"none","reachable":true},"onFirstDim":false,"onWhenDimPresent":false},{"id":"6","uniqueid":"00:17:88:5E:D3:06-06","name":"lampe bureau (Prise Fibaro WallPlug FGWPE 101)","mapId":"lampe bureau (Prise Fibaro WallPlug FGWPE 101)-domoticz","mapType":"domoticzDevice","deviceType":"switch","targetDevice":"domoticz","offUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchlight\u0026idx\u003d30\u0026switchcmd\u003dOff","type":"domoticzDevice"}]","onUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchlight\u0026idx\u003d30\u0026switchcmd\u003dOn","type":"domoticzDevice"}]","inactive":false,"noState":false,"offState":false,"deviceState":{"on":false,"bri":200,"alert":"none","reachable":true},"onFirstDim":false,"onWhenDimPresent":false},{"id":"7","uniqueid":"00:17:88:5E:D3:07-07","name":"Switch fibaro lampe chambre amis","mapId":"Switch fibaro lampe chambre amis-domoticz","mapType":"domoticzDevice","deviceType":"switch","targetDevice":"domoticz","offUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchlight\u0026idx\u003d41\u0026switchcmd\u003dOff","type":"domoticzDevice"}]","onUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchlight\u0026idx\u003d41\u0026switchcmd\u003dOn","type":"domoticzDevice"}]","inactive":false,"noState":false,"offState":false,"deviceState":{"on":false,"bri":0,"alert":"none","reachable":true},"onFirstDim":false,"onWhenDimPresent":false},{"id":"8","uniqueid":"00:17:88:5E:D3:08-08","name":"volet buanderie descente","mapId":"volet buanderie descente-domoticz","mapType":"domoticzDevice","deviceType":"switch","targetDevice":"domoticz","offUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchlight\u0026idx\u003d52\u0026switchcmd\u003dOff","type":"domoticzDevice"}]","onUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchlight\u0026idx\u003d52\u0026switchcmd\u003dOn","type":"domoticzDevice"}]","inactive":false,"noState":false,"offState":false,"deviceState":{"on":false,"bri":0,"alert":"none","reachable":true},"onFirstDim":false,"onWhenDimPresent":false},{"id":"9","uniqueid":"00:17:88:5E:D3:09-09","name":"volet buanderie mont?e","mapId":"volet buanderie mont?e-domoticz","mapType":"domoticzDevice","deviceType":"switch","targetDevice":"domoticz","offUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchlight\u0026idx\u003d53\u0026switchcmd\u003dOff","type":"domoticzDevice"}]","onUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchlight\u0026idx\u003d53\u0026switchcmd\u003dOn","type":"domoticzDevice"}]","inactive":false,"noState":false,"offState":false,"deviceState":{"on":false,"bri":0,"alert":"none","reachable":true},"onFirstDim":false,"onWhenDimPresent":false},{"id":"41","uniqueid":"00:17:88:5E:D3:29-29","name":"lancer SPOTIFY","mapId":"37236604-iPodPlay","mapType":"harmonyActivity","deviceType":"activity","targetDevice":"Harmony Hub","offUrl":"[{"item":"{\"name\":\"-1\",\"hub\":\"Harmony Hub\"}","type":"harmonyActivity"},{"item":"{\"device\":\"54765315\",\"button\":\"iPodStop\",\"hub\":\"Harmony Hub\"}","type":"harmonyButton"}]","onUrl":"[{"item":"{\"name\":\"37236604\",\"hub\":\"Harmony Hub\"}","type":"harmonyActivity","delay":"0"},{"item":"{\"device\":\"54765315\",\"button\":\"iPodPlay\",\"hub\":\"Harmony Hub\"}","type":"harmonyButton","delay":"2000"}]","inactive":false,"noState":false,"offState":false,"deviceState":{"on":true,"bri":254,"alert":"none","reachable":true},"onFirstDim":false,"onWhenDimPresent":false},{"id":"20","uniqueid":"00:17:88:5E:D3:14-14","name":"ouvrir tous les volets ","mapId":"ouvrir tous les volets -domoticz","mapType":"domoticzDevice","deviceType":"scene","targetDevice":"domoticz","offUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchscene\u0026idx\u003d1\u0026switchcmd\u003dOff","type":"domoticzDevice"}]","onUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchscene\u0026idx\u003d1\u0026switchcmd\u003dOn","type":"domoticzDevice"}]","inactive":false,"noState":false,"offState":false,"deviceState":{"on":true,"bri":254,"alert":"none","reachable":true},"onFirstDim":false,"onWhenDimPresent":false},{"id":"42","uniqueid":"00:17:88:5E:D3:2A-2A","name":"test 2 cmd","mapId":"lampe bureau (Prise Fibaro WallPlug FGWPE 101)-domoticz","mapType":"domoticzDevice","deviceType":"switch","targetDevice":"domoticz","offUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchlight\u0026idx\u003d30\u0026switchcmd\u003dOff","type":"domoticzDevice"}]","onUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchlight\u0026idx\u003d30\u0026switchcmd\u003dOn","type":"domoticzDevice"},{"item":"http:https://192.168.1.31:8080/api/rest/dashboard/gotopage?pageIdx\u003d3","type":"httpDevice","httpVerb":"GET","contentType":"application/json"}]","inactive":false,"noState":false,"offState":false,"deviceState":{"on":false,"bri":0,"alert":"none","reachable":true},"onFirstDim":false,"onWhenDimPresent":false},{"id":"21","uniqueid":"00:17:88:5E:D3:15-15","name":"fermer tous les volets ","mapId":"fermer tous les volets -domoticz","mapType":"domoticzDevice","deviceType":"scene","targetDevice":"domoticz","offUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchscene\u0026idx\u003d2\u0026switchcmd\u003dOff","type":"domoticzDevice"}]","onUrl":"[{"item":"http:https://192.168.1.45:8084/json.htm?type\u003dcommand\u0026param\u003dswitchscene\u0026idx\u003d2\u0026switchcmd\u003dOn","type":"domoticzDevice"}]","inactive":false,"noState":false,"offState":false,"deviceState":{"on":true,"bri":254,"alert":"none","reachable":true},"onFirstDim":false,"onWhenDimPresent":false},{"id":"43","uniqueid":"00:17:88:5E:D3:2B-2B","name":"test 2 volets somfy","mapId":"c70ab644-c813-49cc-b4de-35c6d8d8a81f-22fbd2ea-c39c-485c-9824-065eee665159","mapType":"somfyDevice","deviceType":"switch","targetDevice":"somfy-tahoma","offUrl":"[{"item":"{\"label\":\"Label that is ignored probably\",\"actions\":[{\"deviceURL\":\"io:https://1213-7621-4920/11318195\",\"commands\":[{\"name\":\"close\",\"parameters\":[]}]}]}","type":"somfyDevice"},{"item":"{\"label\":\"Label that is ignored probably\",\"actions\":[{\"deviceURL\":\"io:https://1213-7621-4920/5727092\",\"commands\":[{\"name\":\"close\",\"parameters\":[]}]}]}","type":"somfyDevice"}]","onUrl":"[{"item":"{\"label\":\"Label that is ignored probably\",\"actions\":[{\"deviceURL\":\"io:https://1213-7621-4920/11318195\",\"commands\":[{\"name\":\"open\",\"parameters\":[]}]}]}","type":"somfyDevice"},{"item":"{\"label\":\"Label that is ignored probably\",\"actions\":[{\"deviceURL\":\"io:https://1213-7621-4920/5727092\",\"commands\":[{\"name\":\"open\",\"parameters\":[]}]}]}","type":"somfyDevice"}]","inactive":false,"noState":false,"offState":false,"onFirstDim":false,"onWhenDimPresent":false}] com.bwssystems.HABridge.devicemanagmeent.DeviceResource
04-24-2019 05:33:05.093 DEBUG HueMulator GET called on api/* with request <<</api/devices>>>, and body <<<>>> com.bwssystems.HABridge.hue.HueMulator
04-24-2019 05:33:05.093 DEBUG Get all devices com.bwssystems.HABridge.devicemanagmeent.DeviceResource
04-24-2019 05:33:04.903 DEBUG Stats: [leased: 0; pending: 0; available: 0; max: 200] com.bwssystems.HABridge.plugins.http.HttpClientPool
04-24-2019 05:32:59.902 DEBUG Stats: [leased: 0; pending: 0; available: 0; max: 200] com.bwssystems.HABridge.plugins.http.HttpClientPool
04-24-2019 05:32:54.902 DEBUG Stats: [leased: 0; pending: 0; available: 0; max: 200] com.bwssystems.HABridge.plugins.http.HttpClientPool
04-24-2019 05:32:52.561 DEBUG HueMulator GET called on api/* with request <<</api/37f9ff6afadc4d45ae29eb17b1e5d12a/lights/24>>>, and body <<<>>> com.bwssystems.HABridge.hue.HueMulator
04-24-2019 05:32:52.561 DEBUG matchedPart: :userid = 37f9ff6afadc4d45ae29eb17b1e5d12a spark.Request
04-24-2019 05:32:52.561 DEBUG matchedPart: :id = 24 spark.Request
04-24-2019 05:32:52.561 DEBUG hue light requested: 24 for user: 37f9ff6afadc4d45ae29eb17b1e5d12a from 192.168.1.50 com.bwssystems.HABridge.hue.HueMulator
04-24-2019 05:32:52.561 DEBUG validateWhitelistUser: found a user <37f9ff6afadc4d45ae29eb17b1e5d12a> com.bwssystems.HABridge.BridgeSecurity
04-24-2019 05:32:52.561 DEBUG found device named: volet cuisine com.bwssystems.HABridge.hue.HueMulator
04-24-2019 05:32:49.902 DEBUG Stats: [leased: 0; pending: 0; available: 0; max: 200] com.bwssystems.HABridge.plugins.http.HttpClientPool
04-24-2019 05:32:48.242 DEBUG sendUpnpNotify notifyTemplate is <<<NOTIFY * HTTP/1.1 HOST: 239.255.255.250:1900 CACHE-CONTROL: max-age=100 LOCATION: http:https://192.168.1.178:80/description.xml SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.19.0 NTS: ssdp:alive hue-bridgeid: A6409AFFFE7508BF NT: uuid:2f402f80-da50-11e1-9b23-a6409a7508bf USN: uuid:2f402f80-da50-11e1-9b23-a6409a7508bf >>> com.bwssystems.HABridge.upnp.UpnpListener
04-24-2019 05:32:48.242 DEBUG sendUpnpNotify notifyTemplate is <<<NOTIFY * HTTP/1.1 HOST: 239.255.255.250:1900 CACHE-CONTROL: max-age=100 LOCATION: http:https://192.168.1.178:80/description.xml SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.19.0 NTS: ssdp:alive hue-bridgeid: A6409AFFFE7508BF NT: uuid:2f402f80-da50-11e1-9b23-a6409a7508bf USN: uuid:2f402f80-da50-11e1-9b23-a6409a7508bf >>> com.bwssystems.HABridge.upnp.UpnpListener
04-24-2019 05:32:44.902 DEBUG Stats: [leased: 0; pending: 0; available: 0; max: 200] com.bwssystems.HABridge.plugins.http.HttpClientPool
04-24-2019 05:32:39.901 DEBUG Stats: [leased: 0; pending: 0; available: 0; max: 200] com.bwssystems.HABridge.plugins.http.HttpClientPool
04-24-2019 05:32:34.901 DEBUG Stats: [leased: 0; pending: 0; available: 0; max: 200] com.bwssystems.HABridge.plugins.http.HttpClientPool
04-24-2019 05:32:29.901 DEBUG Stats: [leased: 0; pending: 0; available: 0; max: 200] com.bwssystems.HABridge.plugins.http.HttpClientPool
04-24-2019 05:32:24.901 DEBUG Stats: [leased: 0; pending: 0; available: 0; max: 200] com.bwssystems.HABridge.plugins.http.HttpClientPool
04-24-2019 05:32:19.901 DEBUG Stats: [leased: 0; pending: 0; available: 0; max: 200] com.bwssystems.HABridge.plugins.http.HttpClientPool
04-24-2019 05:32:14.900 DEBUG Stats: [leased: 0; pending: 0; available: 0; max: 200] com.bwssystems.HABridge.plugins.http.HttpClientPool
04-24-2019 05:32:09.900 DEBUG Stats: [leased: 0; pending: 0; available: 0; max: 200] com.bwssystems.HABridge.plugins.http.HttpClientPool
04-24-2019 05:32:08.302 DEBUG sendUpnpNotify notifyTemplate is <<<NOTIFY * HTTP/1.1 HOST: 239.255.255.250:1900 CACHE-CONTROL: max-age=100 LOCATION: http:https://192.168.1.178:80/description.xml SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.19.0 NTS: ssdp:alive hue-bridgeid: A6409AFFFE7508BF NT: uuid:2f402f80-da50-11e1-9b23-a6409a7508bf USN: uuid:2f402f80-da50-11e1-9b23-a6409a7508bf >>> com.bwssystems.HABridge.upnp.UpnpListener
04-24-2019 05:32:04.900 DEBUG Stats: [leased: 0; pending: 0; available: 0; max: 200] com.bwssystems.HABridge.plugins.http.HttpClientPool
04-24-2019 05:31:59.900 DEBUG Stats: [leased: 0; pending: 0; available: 0; max: 200] com.bwssystems.HABridge.plugins.http.HttpClientPool
04-24-2019 05:31:54.899 DEBUG Stats: [leased: 0; pending: 0; available: 0; max: 200] com.bwssystems.HABridge.plugins.http.HttpClientPool
04-24-2019 05:31:49.899 DEBUG Stats: [leased: 0; pending: 0; available: 0; max: 200] com.bwssystems.HABridge.plugins.http.HttpClientPool
04-24-2019 05:31:48.228 DEBUG sendUpnpNotify notifyTemplate is <<<NOTIFY * HTTP/1.1 HOST: 239.255.255.250:1900 CACHE-CONTROL: max-age=100 LOCATION: http:https://192.168.1.178:80/description.xml SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.19.0 NTS: ssdp:alive hue-bridgeid: A6409AFFFE7508BF NT: uuid:2f402f80-da50-11e1-9b23-a6409a7508bf USN: uuid:2f402f80-da50-11e1-9b23-a6409a7508bf >>> com.bwssystems.HABridge.upnp.UpnpListener
04-24-2019 05:31:48.228 DEBUG sendUpnpNotify notifyTemplate is <<<NOTIFY * HTTP/1.1 HOST: 239.255.255.250:1900 CACHE-CONTROL: max-age=100 LOCATION: http:https://192.168.1.178:80/description.xml SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.19.0 NTS: ssdp:alive hue-bridgeid: A6409AFFFE7508BF NT: uuid:2f402f80-da50-11e1-9b23-a6409a7508bf USN: uuid:2f402f80-da50-11e1-9b23-a6409a7508bf >>> com.bwssystems.HABridge.upnp.UpnpListener

@bwssytems
Copy link
Owner

In the item: Decode Json for url items: [{"item":"{"label":"Label that is ignored probably","actions":[{"deviceURL":"io:https://1213-7621-4920/11318195","commands":[{"name":"close","parameters":[]}]}]}","type":"somfyDevice"},{"item":"{"label":"Label that is ignored probably","actions":[{"deviceURL":"io:https://1213-7621-4920/5727092","commands":[{"name":"close","parameters":[]}]}]}","type":"somfyDevice"}]

I do not see your delay value set.

@bwssytems
Copy link
Owner

@jluc2808 Did you add the delay value into your multi item calls?

@jluc2808
Copy link
Author

jluc2808 commented Jun 3, 2019

hi @bwssytems , i got a huge problem with this test
when i want to create a new somfy bridge device (build items from somfy device tag), rename this new device : test somfy volet
update and test OFF or ON command
i get any time an error inthe logs

06-03-2019 15:25:52.700 WARN HTTP response code was not an expected successful response of between 200 - 299, the code was: HTTP/1.1 400 with the content of <<<{"errorCode":"INVALID_API_CALL","error":"Invalid JSON format or type in request body"}>>> com.bwssystems.HABridge.plugins.http.HTTPHandler
06-03-2019 15:25:52.700 DEBUG Somfy exec reply response <<<{"errorCode":"INVALID_API_CALL","error":"Invalid JSON format or type in request body"}>>> com.bwssystems.HABridge.plugins.somfy.SomfyInfo
06-03-2019 15:25:52.676 DEBUG Somfy login response <<<{"success":true,"version":"2019.2.4.2-7","environment":"ENV2-PROD101","events":[]}>>> com.bwssystems.HABridge.plugins.somfy.SomfyInfo
06-03-2019 15:25:52.676 INFO Making SOMFY http exec call com.bwssystems.HABridge.plugins.somfy.SomfyInfo
06-03-2019 15:25:51.993 DEBUG executing HUE api request to change activity to Somfy: "{"label":"Label that is ignored probably","actions":[{"deviceURL":"io:https://1213-7621-4920/11318195","commands":[{"name":"close","parameters":[]}]}]}" com.bwssystems.HABridge.plugins.somfy.SomfyHome
06-03-2019 15:25:51.993 DEBUG Making SOMFY http login call

when i test the same device with the original build item , no problem it's OK

i just tried to compare the 2 contents : it's seems to be the same the only change is the Unique Id (used for Hue responses)

so i could test without fixed this problem 1rst

do you have any idea ?

@bwssytems
Copy link
Owner

What do you update on the device manually when say "update and test OFF or ON command"

@jluc2808
Copy link
Author

jluc2808 commented Jun 3, 2019

just update the bridge device which is open by the built item to change the name

@bwssytems
Copy link
Owner

I think what happens and I'll put in a fix, is when a manual edit occurs it breaks the json encoding by adding double quotes around the item value.

@bwssytems bwssytems added the bug label Jun 4, 2019
@bwssytems bwssytems added this to the V5.3.0 milestone Jun 4, 2019
@bwssytems bwssytems self-assigned this Jun 5, 2019
@jluc2808
Copy link
Author

tested OK with 5.3.0RC10

@bwssytems
Copy link
Owner

keeping open and will close when released

@bwssytems bwssytems reopened this Jul 16, 2019
bwssytems added a commit that referenced this issue Jul 29, 2019
Fixes #670 Execute select Device when bridge loads [Enhancement Request] enhancement
Fixes #877 Color in Hue/Sat enhancement
Fixes #917 lock device ID #s enhancement
Fixes #1032 Support for HomeGenie enhancement
Fixes #1033 Backup & Restore enhancement
Fixes #1060 Voice command colour change bug question
Fixes #1077 several somfy action in a same Row ID doesn't work bug question
Fixes #1084 Add Mozilla IoT gateway Helper enhancement
Fixes #1092 ha-bridge incompatible with Amazon Echo Dot Gen. 3? enhancement question
Fixes #1093 Alexa Issue : ID conflict between HA Bridge an Hue Bridge enhancement question
Fixes #1094 issue with 5.2.2 and Harmony enhancement question
Fixes #1095 issue with 5.2.2 and fhem enhancement question
Fixes #1098 Home Assistant has new authentication methods and Legacy API Passwords will be removed enhancement question
Fixes #1103 Have single scroll bar for Bridge Devices page. enhancement
Fixes #1108 Add mDNS Discovery to ha-bridge
Fixes #1109 Add HTTPS to ha-bridge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants