Welcome to Smart Home Forum by FIBARO
Dear Guest,
as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.
As a member you can:
- Start new topics and reply to others
- Follow topics and users to get email updates
- Get your own profile page and make new friends
- Send personal messages
- ... and learn a lot about our system!
Regards,
Smart Home Forum by FIBARO Team
Question
Guest deraaij
Hi all,
Just to share for those who did not figure it out already, the following http commands work with the beta version:
Devices:
ID = device ID
name = action
arg1 = (e.g. value dimmer)
http:///api/callAction?deviceID=4&name=turnOff
http:///api/callAction?deviceID=7&name=setValue&arg1=39
Virtual Devices
ID = device ID
arg1 = button ID
arg2 = slider value (only for slider)
http:///api/callAction?deviceID=15&name=pressButton&arg1=2
http:///api/callAction?deviceID=51&name=setSlider&arg1=8&arg2=30
Notification
ID = Device (Iphone, e-mail et cetera)
arg1 = Notification template
http:///api/callActiondeviceID=9&name=sendDefinedPushNotification&arg1=1
Arm/Disarm devices
arg1 = 1 - Armed
arg1 = 0 - Disarmed
http:///api/callAction?deviceID=51&&name=setArmed&arg1=0
Scene
ID = SceneID
http:///api/sceneControl?id=14&action=start
http:///api/sceneControl?id=14&action=stop
Get json status from api:
http:///api/rooms
http:///api/scenes
http:///api/devices
http:///api/devices?id=316 # Specific value of a device
http:///api/virtualDevices
http:///api/globalVariables
http:///api/weather
http:///api/sections
http:///api/users
http:///api/energy/now-3600/now/single/devices/power/58
Updates used by mobile:
http:///api/mobile/interface/refreshStates?last=3058
Reboot:
Post --> http:///api/settings/reboot
etc.
change variabele example:
Unfortunately will not trigger scene (yet):
Please login or register to see this code.
Regards,
Mark
Link to comment
Share on other sites
Top Posters For This Question
10
10
7
5
Popular Days
Aug 14
10
Aug 22
9
Feb 27
6
Nov 6
6
Top Posters For This Question
stevenvd 10 posts
A.Socha 10 posts
Shad 7 posts
ADN 5 posts
Popular Days
Aug 14 2013
10 posts
Aug 22 2013
9 posts
Feb 27 2013
6 posts
Nov 6 2013
6 posts
Popular Posts
jgab
This is not the HC3 api, this is some other device you try to interact with? You need to do an http request. It depends on what method (get, post,put) you have to do, if you need to do something
Lockzi
Just a quick response - I am working on exactly that. Got it working last night, although it is far ready from release. Further more, it requires PHP+MySQL+Apache besides Siriproxy. Essentially wha
Posted Images
135 answers to this question
Recommended Posts