I found this little app and i’m very satisfied with it, so i wanted to share it
With this app you can trigger devices from pimatic.
This is wat i looks like:
So, download the app to your iphone/ipad. Open the app and click on ‘Add Action…’.
Here you can create a button. You can name it the way you want:
And click on ‘URL’. Here you have to enter the pimatic api url to control a device.
So what url do you need to enter?
You always start with http://username:password@( ip to pimatic)/api/device/( device id )/
To turn on a switch you have to add turnOn.
To turn off a switch you have to add turnOff.
To set dimmer you have to add changeDimlevelTo?dimlevel=XX
Example with 50% dim: http://admin:email@example.com/api/device/kitchen-light/changeDimlevelTo?dimlevel=50
After entering the url you can save it by clicking on ‘Add Action’.
The last thing is adding the widget to the notification center by opening the today screen and click on ‘Edit’ on the bottom.
For every device there is a action. To see what actions are available with your devices you can check http://admin:firstname.lastname@example.org/api/devices and look for actions within the devices.