The best would be to download e.g. the Homematic Manger to find out which HM or HmIP device and which state you want to change:
https://github.com/hobbyquaker/homematic-manager
E.g. the HM-LC-Sw1-DR which I use to control my floor light.
So I need BidCos-RF.MEQ1564932
Than which value you want to change e.g. in my case value "State"
true - Light On
false - Light OFF
And now you can build your URL to control the device:
Code: Alles auswählen
http://Your.IP:8181/system.exe?sagt=datapoints.Get("BidCos-RF.MEQ1564932:1.STATE").State(true)
Homematic Device: BidCos-RF
Homematic Wired Device: BidCos-Wired
CuxD Device: CUxD
Homematic IP Device: HmIP-RF
Homematic IP Wired Device: HmIP-Wired