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


UKCamaroSS

Member
  • Posts

    23
  • Joined

  • Last visited

About UKCamaroSS

Profile information

  • Country
    UK
  • Gateway/s
    Home Center 2

Recent Profile Visitors

199 profile views

UKCamaroSS's Achievements

Newbie

Newbie (1/8)

2

Reputation

  1. Hi, No, sorry, this sold already. Cheers,
  2. Hi, I'm selling my HC2 as I'm moving home, and the new house comes with a Control4 system, so the HC2 is now surplus to requirements. Advertised on eBay UK, auction starting from £200 (buy it now at £300) - in perfect working and cosmetic condition. Comes in original box.
  3. Is it possible to use harmony activity status to run a Fibaro scene? What I am trying to achieve, is to have a Fibaro scene run, automatically, when a harmony activity is run -- For example, Harmony scene = Watch TV, pressing watch tv will change activity state to "On" I would then like to have scene, close blinds, run - and when activity state Watch TV changes back to Off, have scene Blinds Up, run. Is this possible, if so, how? Thanks
  4. Hi, I am using the Pioneer plugin with my HC2, and it controls the amp (turning up / down volume, change input etc.) -- what I would now like to do is, have a scene perform an action when the amp changes to the DVD input. Is this possible, and if so how? Would I create a variable, and use LUA to check the plugin status? The block scene cannot see the plugin device, so I cant use non lua for sure. Cheers
  5. I have a global cache itach flex sending commands to some items, these items can send a reponse back. Using the Global Cache itest software, I can see the reponse. I want to be able to record the response in Home Center, and when the reponse is received, change the state of variable. So, variable set to "No". If response received, variale = Yes. After "5 minutes" of variable = "Yes", set variable to "No". Can this be done, and if so, can you provide a sample lua code for this? Cheers,
  6. Thanks, What I'm trying to do is to press the button, wait two seconds and press it again, then end. I'm currently (I think, but I am new to code) rerun this every one minute for 10 minutes. The reason I am doing this is the press button does not seem to work (consistently), and therefore I want to press the button, wait a few seconds and try again -- then repeat after one minute -- I would hope to get this down to rerun only twice - so 4 button presses maximum. The button is a virtual device, global cache itach which sends a command.
  7. Hi, What is the difference between "Enabled" and "Running Instance"? The problem I have is, a scense made in Lua is not working. I have the HC2 toolkit, and I can see enabled = false, but running instance = 1 The scene is supposed to run every one minute between a set time (in this case for testing 09:08 and 09:18: - how do I know if the scense is actually being performed, and therefore the lack of resonse is not a scene issue? --[[ %% autostart %% properties %% events %% globals --]] local sourceTrigger = fibaro:getSourceTrigger(); function tempFunc() local currentDate = os.date("*t"); local startSource = fibaro:getSourceTrigger(); if ( ( (tonumber(os.date("%H%M")) >= tonumber(string.format("%02d%02d", "09", "08")) and tonumber(os.date("%H%M")) <= tonumber(string.format("%02d%02d", "09", "18"))) and (math.floor(os.time()/60)-math.floor(1470815880/60))%1 == 0 ) ) then fibaro:call(46, "pressButton", "1"); setTimeout(function() fibaro:call(46, "pressButton", "1"); end, 2000) end setTimeout(tempFunc, 60*1000) end if (sourceTrigger["type"] == "autostart") then tempFunc() else local currentDate = os.date("*t"); local startSource = fibaro:getSourceTrigger(); if ( startSource["type"] == "other" ) then fibaro:call(46, "pressButton", "1"); setTimeout(function() fibaro:call(46, "pressButton", "1"); end, 2000) end end Thanks,
  8. Are you using rfxcom with Fibaro? My blinds are Somfy Sonesse 40 RTS.
  9. Its one way only - the RTS 485 unit only enables one way, despite the controller being used (Control4, Fibaro etc). Somfy do have a ZigBee and a Zwave interface, which does enable two way communication, but I believe they are only available in the US currently, and you need one per motor - they are known as the ZDMI (part number 1870171) and the ZBDMI (part number 1870220). I think the best way to get two way comms is to use hard wired motors, hooked up to Fibaro modules, which is an option I should have looked into before buying the RTS blind version.
  10. I have 8 somfy rts blinds, which this weekend I have finally been able to control using the following: Fibaro Home Centre 2 Somfy RTS 485 transmitter Global Cache iTach wifi Global Cache rs485 cable The process is not easy, and it is not two way communication, but it works and I have scenses in Fibaro which now control my blinds by time of day etc. If you have the RTS485 transmitter and need help geting it to work, let me know and I can help out.
  11. Quick update - I now have Somfy RTS 485 is now working, via Fibaro, with the itach wifi rs485 cable as the link
  12. Thanks for your help - got it now And it works... I had to make a slight change to your code. I got a malformed number error, next to the ip address, so I know have the code as below: tcpSocket = Net.FTcpSocket("itach ip", itach port); tcpSocket:setReadTimeout(2000); tcpSocket:write(string.char(0x7F, 0xF2, 0xFA, 0x01, 0x00, 0x00, 0xAE, 0x49, 0xFA, 0xFE, 0xFD, 0x06, 0x58)); I then got the following error for line 3: ')' expected near ';' So now I have: tcpSocket:write(string.char(tcpSocket:write(string.char(0x7F, 0xF2, 0xFA, 0x01, 0x00, 0x00, 0xAE, 0x49, 0xFA, 0xFE, 0xFE, 0x06, 0x59)))); No more errors. So, full code is: tcpSocket = Net.FTcpSocket("192.x.x.x",4999); tcpSocket:setReadTimeout(2000); tcpSocket:write(string.char(tcpSocket:write(string.char(0x7F, 0xF2, 0xFA, 0x01, 0x00, 0x00, 0xAE, 0x49, 0xFA, 0xFE, 0xFE, 0x06, 0x59)))); Thank you very much for your help
  13. I just mean I created a button, and in the advanced tab, under the button label and ID, I entered the data in the black box, and set the option to "String", not LUA code.
  14. Thanks - I have now tried each of these without success. On Global Cache's iTest, I have the following setup: Serial 1 - port 4999 Ip Address - ip of itach Command string - I can enter this, and have it work, in either Hex or Mixed mode. When I click send, the process works, and I have the correct response from my equipment. In Fibaro, I have the following setup: Virtual device. Ip Address = itach ip Port = itach port Button string: tcpSocket = Net.FTcpSocket(itach ip, itach port); tcpSocket:setReadTimeout(2000); tcpSocket:write(string.char(0x7F, 0xF2, 0xFA, 0x01, 0x00, 0x00, 0xAE, 0x49, 0xFA, 0xFE, 0xFD, 0x06, 0x58)); It just seems Fibaro cant / wont send the message, or . Any other thoughts? Cheers
  15. I've need to send hex code from Fibaro HC2 to Global Cache itach rs232 / 485. The hex code is: 7F F2 FA 01 00 00 AE 49 FA FE FD 06 58 Using Global Cache's iTest, I can control my equipment as needed using the above hex code. However, entering the above into Fibaro, by way of a virtual device does not enable control. I have tried to add the "0x0D0x0A" string to the end, and that also does not enable control. Can anyone suggest what is needed to get this to work? Thanks,
×
×
  • Create New...