Can’t find how to trigger. if i go to http://192.168.1.50/api/devices/nachtlamp-wiebe i can see data, but what then?
http://192.168.1.50/api/devices/nachtlamp-wiebe/switch/on?? or something like that
Trigger by url
Can’t find how to trigger. if i go to http://192.168.1.50/api/devices/nachtlamp-wiebe i can see data, but what then?
http://192.168.1.50/api/devices/nachtlamp-wiebe/switch/on?? or something like that
@sweebee said:
Can’t find how to trigger. if i go to http://192.168.1.50/api/devices/nachtlamp-wiebe i can see data, but what then?
http://192.168.1.50/api/devices/nachtlamp-wiebe/switch/on?? or something like that
http://192.168.1.50/api/device/nachtlamp-wiebe/turnOn
Well, i tried to add it but there’s a problem. I have to login when i’m using that url in safari. But if i add the url to the app i can’t trigger it because i’m not logged in. How can i trigger it without logging in?
Edit: Got it:
http://user:password@192.168.1.50/api/device/bank/turnOn
Tried the app and its great! I can toggle it by the widget or even when i’m on a specific location (entering or leaving).
great to hear!
in my opinion information like that should be easier to find on the website! pimatic is so great, but i think i dont even use 100% of it capabilities!
@thymian said:
i think i dont even use 100% of it capabilities!
i guess you will never do so, pimatic is almost unlimited
since pimatic is still under development and in beta state, the documentation is behind the capabilities of pimatic. if you need more information about pimatic or its plugins you can have a look at www.pimatic.org or have a look at the past git issues https://github.com/pimatic/pimatic/issues?q= . you can also use the search at git or here at the forum.
if you do not find what you’re searching for just ask and you will be helped
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebook
make it so !
eh, short question:
i am testing some things and i just cant get the api working.
when i type
http://user:passwd@192.168.1.47:5000/api/devices/SchalterWohnzimmer/turnOff
in Chrome, Safari or even terminal i always get the error
Cannot GET /api/devices/SchalterWohnzimmer/turnOff
I really have no idea what i am doing wrong.
Ideas?
@thymian said:
http://user:passwd@192.168.1.47:5000/api/devices/SchalterWohnzimmer/turnOff
remove the s at devices
Pimatic, smart home made by smart folks, for the rest of us!
@thymian and let the fun begin
Pimatic, smart home made by smart folks, for the rest of us!