Robert
Robert
issue is still open in 4.2.0 . just tried it.
sorry, but it is still not working as expected. when i put this json: `{ "name" : "TV", "id" : "22", "deviceType" : "activity", "targetDevice" : "Schlafzimmer", "mapType" : "harmonyActivity",...
more interestingly, when I put: `{ "name" : "TV", "id" : "22", "deviceType" : "activity", "targetDevice" : "Schlafzimmer", "mapType" : "harmonyActivity", "mapId" : 24337959, "onUrl" : [{ "item" : {...
ok, got it solved by sending HA Bridge a compressed JSON. But, this is a problem with the JSON parser you are using. With the following JSON: `{"name":"TV","id":"22","deviceType":"activity","targetDevice":"Schlafzimmer","mapType":"harmonyActivity","mapId":24337959,"onUrl":"[{\"item\":\"{\\\"name\\\":\\\"24337959\\\",\\\"hub\\\":\\\"Schlaf zimmer\\\"}\",\"type\":\"harmonyActivity\"}]","offUrl":"[{\"item\":\"{\\\"name\\\":\\\"-1\\\",\\\"hub\\\":\\\"Schlafzimmer\\\"}\",\"type\":\"harmonyActivity\"}]"}` ...it...
This is clear to me, but it is clearly an issue with whitespace (non-compressed) vs. no whitespaces (compressed) version...
But why does this NOT work properly: `{ "name" : "TV", "id" : "22", "deviceType" : "activity", "targetDevice" : "Schlafzimmer", "mapType" : "harmonyActivity", "mapId" : 24337959, "onUrl" : "[{ \"item\"...
only difference here is that you have mapId value in quotation marks and in my request it is an integer: `"mapId" : "24337959"` vs. `"mapId" : 24337959`
ok, good to know. will change this accordingly in my code. :)
Could you add the possibility to get the ID of the device that got fired like with ${intensity.percent} for example ${device.id} ?
Well, that is not entirely true. There was a conversation few months ago regarding this: https://github.com/bwssytems/ha-bridge/issues/54 But it was closed due to the topic opener was not interested anymore in...