Jump to content

Search the Community

Showing results for tags 'http'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • FIBARO Community
    • FIBARO Portal and Forum policy
    • FIBARO
    • Say hello!
    • Off-topics
  • FIBARO Update
    • FIBARO System Update
    • FIBARO Mobile Update
  • FIBARO Community Support
    • Scenes and Interface
    • FIBARO Products
    • FIBARO Mobile
    • FIBARO HomeKit
    • FIBARO Assistant Integrations
    • Other Devices / Third-party devices
    • Tutorials and Guides
    • Home Automation
    • Suggestions
  • FIBARO Społeczność
    • FIBARO
    • Przywitaj się!
    • Off-topic
  • FIBARO Aktualizacja
    • FIBARO System Aktualizacja
    • FIBARO Mobile Aktualizacja
  • FIBARO Wsparcie Społeczności
    • Sceny i Interfejs
    • FIBARO Urządzenia
    • FIBARO Mobilnie
    • FIBARO HomeKit
    • Integracja z Amazon Alexa i Google Home
    • Urządzenia Firm Trzecich
    • Poradniki
    • Automatyka Domowa
    • Sugestie

Categories

  • Scenes
  • Virtual Devices
  • Quick Apps
  • Icons

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Facebook


Google+


Skype


Website URL


WhatsApp


Country


Gateway/s


Interests

  1. My goal is to send device changes from +- 20 fibaro devices to another api system. My devices are motion sensors, door sensors, smoke sensors and wallplugs. I started to make a lua script: { operator = "any", conditions = { { type = "device", id = 21, property = "value", operator = "anyValue", isTrigger = true }, { type = "device", id = 24, property = "value", operator = "anyValue", isTrigger = true } } } How
  2. Introduction to API and http requests Like the other 'Introduction to' posts I'm h0ping this may help some of the people begining their HC2 and lua journey Corrections and suggestions to improve always welcome. What is an API An API can be used to execute commands but the majority are used to request a response or status. Most API’s are interrogated through a http or https request. Some API’s require authentication in the form of a username or a password or an API key. There are public API’s and private API’s. There are a number of API types and the one of the most wide
  3. Hi all, I am trying to create a virtual light switch which will fire out an on and off command to a network interface from a third party. I already have a server on the network listening for the commands for example the on command is http://(server ip address:port)/commands for on off command is http://(server ip address:port) commands for off Can it be done? any help would be super appreciated
  4. I need to control a Daikin VRV multi-split HVAC system which has their intelligent touch controller with the HTTP interface option installed. To control each individual indoor unit I need to send an HTTP POST. Below is an example of the information the controller is expecting the HTTP POST to contain... Here is an example to get A/C "1:1-02" current status. HTTP Request POST /cmd/ HTTP/1.1 ¥r¥n Content-Length: 32¥r¥n Content-Type: application/octet-stream¥r¥n ¥r¥n 20 000000 {Command Size;32} 74 110100 {Command ID;70004} 00 000000 {Reserved 1} 00 0000
  5. I am building a small app (in Flutter) that needs to get data from the API of my HC3. I am not quite sure how to log in programmatically from within this app. Does the API provide a token to use with all requests, or do I need to provide username and password with each request? An how do the header have to look? Many thanks!
  6. Can someone help me with Node-Red? I need to tell node-Red to change a global value in HC2. Thanks for the Help
  7. I have a sliding gate, which can send http commands when its state is opened or closed. Is it possible, that the HC2 can receive such a command, so that I can trigger for example a scene?
  8. Guys, i simple need to send this command using a VD: Button1: PUT http://admin:[email protected]/ISAPI/ContentMgmt/record/control/manual/start/tracks/101 Button2:PUT http://admin:[email protected]/ISAPI/ContentMgmt/record/control/manual/stop/tracks/101 How can i do? Do u have some example? There ia also a way to check the status of the command? Regards Gianluca
  9. Hello, I'm trying to modify a already define global variable using the REST API for the HC2. This is done from a ESP2866 (nodeMCU-isch) board. I can do a http.get towards the HC" and I get the correct JSON information. When I do http.put I seem not to be able to set the variable. My message headers contains a basic auth, and I have payload that looks like this {"value":"On"} The address looks like this http://1.2.3.4/api/globalVariables/thevariable According to the httpclient i'm using i seem to get return code 200 but no result and the var
  10. Dear forum readers, I wanted to make HTTP request to an IP device of mine. to make it possible to send a body to a Url so that the variables wil change. i have 4 buttons in my virual device and each have to send its one variables to the ip device the Data of the body has to go to this link and de body variables are : <"eec0c0b41b4c43119d33e2bdafe1fc08"><name>Woonkamer</name><type>livingroom</type><preset>asleep</preset></location></locations> I know that i have to use the put comman
  11. Hi all, I have an issue trying to make and HTTPS POST request from my LUA scnene in Fibaro HC. I am getting "short read" error with the URL "https://api2.magicair.tion.ru/idsrv/oauth2/token" This is my scene: ============================================= --[[ %% properties %% events %% globals --]] local authData = "username=XXX&password=YYY" function doTest() print('Test!') local requestUrl = "https://api2.magicair.tion.ru/idsrv/oauth2/token" local httpClient = net.HTTPClient() httpClient:requ
  12. Hello, I've recently moved to the ZWave world when I bought a HC2 and some devices. But I still have some i Nexa and Telldus switch devices I can use outside and have not found any suitable ZWave ones. Therefore the idea to control the Nexa/Telldus devices using HTTP requests to the API of Telldus Live. Just simple things like turn on and turn off the switches. The IDs of the switches I thought I could input into the LUA code of each Virtual Device to keep it simple. What I don't seem to find any good information about is the whole Oauth thing with authorization request
  13. I have an issue trying to make and HTTPS POST request. I am getting "short read" error with the URL "https://api2.magicair.tion.ru/idsrv/oauth2/token" This is my scene: ============================================= --[[ %% properties %% events %% globals --]] local authData = "username=XXX&password=YYY" function doTest() print('Test!') local requestUrl = "https://api2.magicair.tion.ru/idsrv/oauth2/token" local httpClient = net.HTTPClient() httpClient:request(requestUrl, { options = {
  14. Hello Fibaro team, Internet as we speak is transforming towards more and more use of HTTPS and TSL. My question is simply, is there a timeplan for HC2 to transfer from HTTP to HTTPS also on the local site access solution? I understand there can be difficulties with the certificates...... For example, I would prefer to send an HTTPS request to HC2 for starting scenes or altering status on a device, where username and password are protected with TSL transmission. Kindly, DrPepper
  15. DonZap

    IFTTT HC2

    Hi I am new here, so sorry if I post this at the wrong forum I'm using fibaro HC2 together with google home by ifttt. I have created a user who only has access to a virtual device that I send the http command to. It works fine when I using device ID directly: http://User:[email protected]/api/callAction?deviceID=93&name=turnOn but when i usen the button indside the virtual device, it dose not work at all: ht
  16. Hi all, I have an Itho Eco RFT ventilation box, wich can be controlled by a wifi interface. You can make api requests, wich work fine i.e. a browser. Here are te requests that are available: http://192.168.x.x/api?action=Low http://192.168.x.x/api?action=Medium http://192.168.x.x/api?action=High http://192.168.x.x/api?action=Timer http://192.168.x.x/api?action=Learn http://192.168.x.x/api?action=reset&value=true I want to put this in a VD. 3 buttons for "Low, medium and high". How can I put these URL's under the buttons? Thanks!
  17. http://admin:[email protected]/api/devices/15/action/pressButton=1 http://admin:[email protected]/api/callAction?deviceID=15&name=pressButton&arg1=Button11 I tried a lot of links like these and got only {} response. Please can anyone write how to trigger VD button with http? VD with ID : 15 Button ID : Button11 +also tried with postman basic auth didnt work.
  18. Hi, i got a HCL a few hours ago. I added a VD with 2 buttons. 1-on 2-off First button "on": GET /0/true HTTP/1.1 Second button "off": GET /0/false HTTP/1.10x0D0x0A0x0D0x0A Do i have to add Host:xxx.xxx.xxx.xxx because it works fine without Host Buttons work with this hex "0x0D0x0A0x0D0x0A" and without hex... How to get status of device? Normally when i wrote http://ip/0/status response is : {"id":0,"state":1} I want to set VD on-off position from this response any help please?
  19. Hey Guys, Trying to send a HTTP String from my HCL VD but it's not working.. anyone see what I'm doing wrong, String I'm trying to send is http://marantz-sr5010.local./MainZone/index.put.asp?cmd0=PutZone_OnOff%2FOn&cmd1=aspMainZone_WebUpdateStatus%2F&ZoneName=ZONE2 I tried with this VD
  20. Hey Guys, Trying to send a HTTP String from my HCL VD but it's not working.. anyone see what I'm doing wrong, String I'm trying to send is: GET https://api.thingspeak.com/update?api_key=MYKEY&field1=
  21. robd

    http module

    to make a connection between the HC2 and other IP base units like a raspberry PI you need to use the LUA code local name = Net.FHttp("IP adress", port) in my case this leads to a error message telling me that I am trying to index or assign a nil value to the variable "Net". some investigation leads to the assumption that my HC2 is missing a HTTP module. to test this I used the lines if Net == nil then fibaro:debug("no net") end alternatively if Net ~= nil then fibaro:debug("net") end I get "no net" as result. then I read
  22. Hey Guys, Trying to send a HTTP String from my HCL VD but it's not working.. anyone see what I'm doing wrong, String I'm trying to send is: GET https://api.thingspeak.com/update?api_key=MYKEY&field1=
  23. Hi, Simple Control (Roomie) is a great iOS app to integrate Audio/Video in your smart home. Simple Hub supports starting activities and executing device commands over a standard HTTP interface made available on port 47147 (HTTPS is available on port 47148). The HTTP interface sends and receives JSON payloads for each API. More information: https://www.simplecontrol.com/wp-conten ... erface.pdf I would like to create a Virtual Device in HC2 for the Simple Control scenes. Is this possible? How? Thank you in advance
  24. Morning all! i am looking to send a plain text command from Fibaro into other systems; however I am struggling getting the command to send. From my understanding you cannot put the username/password in the string that is inside the 'Virtual Device' button. The command I want to send from a VD button is - http://Username:[email protected]:50000/dev/sps/HallLight/Pulse It works using web browsers and applications like Postman. Any ideas?
  25. ZXT-120 is an IR extender for air conditioners, but it can be learned up to 20 defferent ir code for multimedia. The process of learning of zxt-120 is written in its manual, but i want to show a way to use that codes in fibaro HC. For this purpose we have to make a virtual device, and fill its IP Address with your HC ip, and write 80 in TCP port box: Then make buttons according to your multimedia device: Now you have to write commands for corresponding buttons. For example for first button: We can learn up to 20 code according to
×
×
  • Create New...