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


Miha1l

Member
  • Posts

    16
  • Joined

  • Last visited

About Miha1l

Profile information

  • Country
    Russia
  • Gateway/s
    Home Center 2

Miha1l's Achievements

Newbie

Newbie (1/8)

1

Reputation

1

Community Answers

  1. Hello, i have over 30 devices far away from my HC2, some of them need 2-3 attempt to get a command so i'm trying to find a way to quick turn off all ligtning from a scene. Here is some questions: 1. Is there are way to broadcast ALL OFF command from HC2? 2. How to know last polling timestamp of the device? I'm trying to off only devices which now have "on" state but i need to check last polling time because not all my devices have polling interval. 3. I'm trying to use fibaro:getModificationTime(actuatorId, 'log') but it works not so good(
  2. Hello, here is 8 zones Ethernet panel to control lightning. It can be controller by virtual device over TCP, but i don't know manufacturer and model of the device( Please help to find it.
  3. Hello, since i'm updated to 4.110 there is Out of memory error and 503 Services Unavailable every 2-3 days. Even if NO ONE scenes running! All works fine on previous firmwares, last one which was ok is 4.106 Beta WTF?
  4. please help, i'm still have no thermostat device! how to add this?
  5. Hello, i have HC2 v 4.110. When a create new connected heating devices from relay and temperature sensor at Connections Panel and make heating schedule at Heating Panel - how do i change current temperature from smart phone? is there new device (like video door bell) should be automatically added to main screen? I have no new virtual device
  6. yes, it's my false, thanks! here is a working VD code and virtual device in attachement to switch wall plug colors (put wall plug id to TCP port if virtual device) thisdevice = fibaro:getSelfId(); device = fibaro:getValue(thisdevice, 'TCPPort'); data = '{"properties":{"parameters":[{"id":61,"lastReportedValue":1,"lastSetValue":1,"size":1,"value":3}]}'; httpSession = Net.FHttp("127.0.0.1", 11111); --httpSession:setBasicAuthentication("admin", "admin"); --response = httpSession:GET("/api/devices/6"); response = httpSession:PUT("/api/devices/" .. device, data); httpSession = nil; is there any documentation for VD NET methods? plug_night.zip
  7. thanks a lot! here is a working example with PUT method to change Fibaro Wall plug ring color: local http = net.HTTPClient() http:request("http://127.0.0.1:11111/api/devices/6", { options = { method = 'PUT', headers = {}, data = '{"properties":{"parameters":[{"id":61,"lastReportedValue":1,"lastSetValue":1,"size":1,"value":2}]}', timeout = 10000 }, success = function(response) --print(json.encode(response)) -- raw data local result = response.data; if response.status == 200 then -- http 200 OK fibaro:debug(response.data); else fibaro:debug(response.status) end end, error = function(err) fibaro:debug('[ERROR] ' .. err) end })
  8. there is an error [DEBUG] 00:51:12: line 13: attempt to index global 'Net' (a nil value)
  9. Hello, since 4.082 firmware no longer working "Net.FHttp" method to send HTTP request..(( And lot's of network scripts are not working now too. Here is an example to change Fibaro Wall Plug color (source): HC2 = Net.FHttp("127.0.0.1", 11111) jtable = '{"properties":{"parameters":[{"id":61,"size":1,"value":3}]}}' HC2:PUT("/api/devices/" .. 300 ,jtable) -- 300 - wall plug device id so, i have found new solution to send HTTP GET from HC2 scene, could someone also provide http POST method example?
  10. What about Fibaro THE PLAYER ? Anybody heard anything?
×
×
  • Create New...