Jump to content

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


cervicor

Member
  • Posts

    6
  • Joined

  • Last visited

About cervicor

Profile information

  • Gender
    Male
  • Country
    Germany
  • Gateway/s
    Home Center 3 Lite

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

cervicor's Achievements

Newbie

Newbie (1/8)

0

Reputation

  1. jgab@ thanks for the answer. Can you give me please a hint how you call the refreshStates from the HC3? That can not work with the REST-API, except you poll in a high frequency. --Oh, I saw you wrote a QA "EventRunner4". Do you mean, that this QA is calling the refreshStates and not a other device like a SmartPhone-App. I think I misunderstood this. I guess, that you QA EventRunner4 is not working on a HC3L? On the other hand the smartphone -Apps can react very fast on events without a special program on the HomeCenter.
  2. Hi, Tanks for the answer. That's a real pity. That would be a very powerful function. I wonder, how the app developer solve the problem to react very fast on a change of e.g. a switch status? I think it is not the best solution to poll every second the status of all devices? best regards
  3. Hello, I use a scene that transmits changes of any value of all devices. I use at the moment the following condition (and ist works) { conditions = { { id = 25, isTrigger = true, operator = "anyValue", property = "value", type = "device" }, { . . . }, { id = 156, isTrigger = true, operator = "anyValue", property = "value", type = "device" } }, operator = "any" } the three points in the center stands for all other devices. Now I have to adopt the scene with every device I add to my network. Is there a possibility to trigger to all devices in one block? Like this: { operator = "any", conditions = { { id = 000, isTrigger = true, operator = "anyValue", property = "value", type = "device" } } } The "ID = 000" should stand for any device? Is such a condition possible? Thanks for hints Oliver
  4. Hello, I have learned, that I have to use a QuikApp so send data via HTTPClient. Within the QA, I can send data as expected. Thank and Regards Cervicor
  5. Hello, I have a "HomeCenter 3 lite" and would like to send a "PUT" request to another client via HTTPClient. In the HCL (2) I solved this with a virtual module. For example, I can enter the following URL in the browser: http://192.168.178.70:3777/hook/hc3l.php?Test=1. With this URL, I can properly evaluate the parameter Test = 1 in my PHP-script. Now I'm trying to send this data (e.g 'Test=1') within a Lua script via HTTPClient. Unfortunately I am not successful. In this example, I tried to send a json-string. Table = {ID = 44, Status = true, Power = 20, Energy = 2.601, Test = 1} JTable = json.encode(Table) selfhttp = net.HTTPClient() url = 'http://192.168.178.70:3777/hook/hc3l.php' sendData = JTable header = { ["content-type"] = 'application/x-www-form-urlencoded; charset: UTF-8', ["content-type"] = "application/json" } selfhttp:request(url, { options = { method = 'PUT', headers = header, data = sendData, timeout = 5000 }, success = function(response) print('response data: '..response.data) print('response status: '..response.status) end, }) The called PHP script is executed and the outputs of the program are reported back via success (response.data) - response.status is 200. Unfortunately, the transferred data is not recognized in the program. Even simpler data packets do not arrive (e.g. '{Test = 1}'). I have also tried this simplified version as an alternative: ocal http = net.HTTPClient() http:request('http://192.168.178.70:3777/hook/hc3l.php?Test=24', { success = function(response) print('response data: '..response.data) print('response status: '..response.status) end, }) Can someone give me an hint, how to transfer data to the target URL. Thanks and regards cervicor
  6. Hello, I use the HCL (FW 4.160) as a secondary controller and made a reconfiguraion of a device (wall plug) in my HCL. Unfortunately the reconfiguration comes not to an end. I get since 20 hours the message [Reconfiguration In Progress] - Device is being reconfigured. in the nortification center. I made some reboots and a new start of the HCL without stopping this process. How can I stop the reconfiguration process? Thanks and regards cervicor
×
×
  • Create New...