It would be easy to have a single switch item that runs both commands, but I think thats not possible?
so I use a rule, but there is a problem with the quotation marks in the command that confuses the rule interpreter. I tried to replace " with HTML code " or " or ’ but neither works.
What magic does the trick? thanks in advance
2019-01-30 09:04:11.718 [vent.ItemStateChangedEvent] - Camera_01_DetectionONOFF changed from ON to OFF
==> /var/log/openhab2/openhab.log <==
2019-01-30 09:04:11.747 [ERROR] [ntime.internal.engine.RuleEngineImpl] - Rule 'Kamera scharf schalten': Illegal character in query at index 106: http://192.168.1.185:8080/xxxxxxxxxx/monitorStates/xxxxxxxxxxx/detectionON/insert?data={%22monitors%22:[{%22mid%22:%22SannceCam%22,%22mode%22:%22start%22,%22details%22:{%22detector%22:%220%22}}]}