Thank you Rich,
But when I send this command:
Switch Light_map “Light_map” (FF_Bed, Lights) { http=">[*:POST:http://192.168.1.166:8800:MAP(placa1.map)]" }
I get this error:
2017-08-18 08:06:13.456 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item ‘PlacaMarkLiga’ for widget org.eclipse.smarthome.model.sitemap.Switch
2017-08-18 08:06:13.456 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Switch
2017-08-18 08:06:13.457 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Switch
2017-08-18 08:06:13.457 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Switch
2017-08-18 08:06:13.457 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item ‘PlacaMarkLiga’ for widget org.eclipse.smarthome.model.sitemap.Switch
2017-08-18 08:06:13.457 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item ‘PlacaMarkLiga’ for widget org.eclipse.smarthome.model.sitemap.Switch
2017-08-18 08:06:13.458 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item ‘PlacaMarkLiga’ for widget org.eclipse.smarthome.model.sitemap.Switch
2017-08-18 08:06:18.385 [WARN ] [org.apache.karaf.services.eventadmin] - EventAdmin: Exception during event dispatch [org.osgi.service.event.Event [topic=openhab/command/Light_map] {bridgemarker=true, item=Light_map, command=ON} | {org.osgi.service.cm.ManagedService, org.osgi.service.event.EventHandler}={event.topics=openhab/*, service.pid=org.openhab.http, component.name=org.openhab.binding.http, component.id=18, service.id=332, service.bundleid=220, service.scope=bundle} | Bundle(org.openhab.binding.http_1.10.0 [220])]
java.lang.IllegalArgumentException: Invalid uri ‘http://192.168.1.166:8800:MAP(placa1.map)’: invalid port number
at org.apache.commons.httpclient.HttpMethodBase.(HttpMethodBase.java:222)[58:org.apache.servicemix.bundles.commons-httpclient:3.1.0.7]
at org.apache.commons.httpclient.methods.ExpectContinueMethod.(ExpectContinueMethod.java:93)[58:org.apache.servicemix.bundles.commons-httpclient:3.1.0.7]
at org.apache.commons.httpclient.methods.EntityEnclosingMethod.(EntityEnclosingMethod.java:119)[58:org.apache.servicemix.bundles.commons-httpclient:3.1.0.7]
at org.apache.commons.httpclient.methods.PostMethod.(PostMethod.java:106)[58:org.apache.servicemix.bundles.commons-httpclient:3.1.0.7]
at org.openhab.io.net.http.HttpUtil.createHttpMethod(HttpUtil.java:318)[197:org.openhab.core.compat1x:2.1.0]
at org.openhab.io.net.http.HttpUtil.executeUrl(HttpUtil.java:167)[197:org.openhab.core.compat1x:2.1.0]
at org.openhab.io.net.http.HttpUtil.executeUrl(HttpUtil.java:130)[197:org.openhab.core.compat1x:2.1.0]
at org.openhab.binding.http.internal.HttpBinding.formatAndExecute(HttpBinding.java:285)[220:org.openhab.binding.http:1.10.0]
at org.openhab.binding.http.internal.HttpBinding.internalReceiveCommand(HttpBinding.java:130)[220:org.openhab.binding.http:1.10.0]
at org.openhab.core.binding.AbstractBinding.receiveCommand(AbstractBinding.java:97)[197:org.openhab.core.compat1x:2.1.0]
at org.openhab.core.events.AbstractEventSubscriber.handleEvent(AbstractEventSubscriber.java:45)[197:org.openhab.core.compat1x:2.1.0]
at org.apache.felix.eventadmin.impl.handler.EventHandlerProxy.sendEvent(EventHandlerProxy.java:415)[6:org.apache.karaf.services.eventadmin:4.0.8]
at org.apache.felix.eventadmin.impl.tasks.HandlerTask.run(HandlerTask.java:90)[6:org.apache.karaf.services.eventadmin:4.0.8]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_112]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_112]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_112]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_112]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_112]
The port is open in the Windows firewall, but I still get this error.
Could help?