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
Search the Community
Showing results for tags 'quickapp'.
-
QA for Netio power sockets devices. https://www.netio-products.com/en Tested for NETIO 4All and NETIO 4C Installation: 1. In Netio you have to allow JSON API and setup user and password for READ-WRITE: 2. Name, password and IP address you have to add to Variables in QA and save it. (LoginName=Username, LoginPassword=Password) 3. You can also create child devices for every socket. Netio QA version: 0.50 - 13.2.2021 Netio.fqa NetioIcons.zip
-
Hello, Did someone know if its possible to get outside temperature in garden (Tuin) room? I have installed YR weather. Can i do it with a scene or is it not possible? Thanks.
- 60 replies
-
- yr weather
- outside temperature
-
(and 2 more)
Tagged with:
-
Hello, I found a project who reverse engineered the Wi-Fi protocol from the Mertik controller connected to my fireplace. Yeay! ? With the following (simplified) NodeJS code I can send the standby command to my fireplace: var net = require('net'); const prefix = '0233303330333033303830' var msg = "3136303003"; var packet = Buffer.from(prefix + msg, 'hex'); var client = new net.Socket(); client.connect(2000, '192.168.1.1'); client.write(packet); I know how to open a socket in HC3 QA but I don't get how to convert the message to a RAW buffer. The JavaScript line does it with Buffer.from(prefix + msg, 'hex'); Does some LUA god know how to convert the message in QA LUA for the HC3?
-
Hi In a Quick App UI i can define a slider. https://manuals.fibaro.com/home-center-3-quick-apps/ function QuickApp:updateViewSample() self:updateView("label1", "text", "Device on") -- updating the text for 'label1'. self:updateView("button1", "text", "on") -- updating the text for 'button1'. self:updateView("slider1", "value", "99") -- updating the text for 'slider1'. end Is there a way to set properties on the slider - if i want to pre-define that that value accepted should be 0-5 ?
-
How are y'all updating your QuickApps? If it's just a one instance, it's easy; that's the one I'm working on. But I have my app 7 times in HC3 and going manually over all and copy-pasting new code seems pretty dumb.
-
Is there a way to get a notification into a QuickApp whenever given devices changes? I.e. register for changes from device ID xyz using callback in "init" method of QuickApp and then when the value changes the callback method will be called. I know I can poll the device every now and then, but polling seems to be waste of resources given a simple callback style programming would solve it nicely.
-
fibaro.call can't sent a class object to another QuickDevice
NLWaard posted a question in Home Center 3
Locally I can place the current class (self) in a variable and call an Object in this class. This code is working (localy): function QuickApp:onInit() local sender = {value='Yes', class=self} sender.class:localPrintValue(sender.value) end function QuickApp:localPrintValue(value) if value == nil then value = 'No' end self:debug('Can I print this : '..value) end [15.09.2020] [13:22:42] [DEBUG] [QUICKAPP105]: Can I print this : Yes If I send this variable to another class using fibaro.call(id, 'action', variable) , the call disappears into the darkness. Calling the Object in the other class(QuickApp) results in calling the nil value? !!! This next code is (because of the class=self) not working: fibaro.call(qaID,"updateMyProperty", {value=newValue, class=self}) function QuickApp:updateMyProperty (sender) local value = 0 if type(sender) == 'table' then -- Call comes from elsewhere.. value = sender.value self:debug('Device updated from: '..tostring(sender.class.id)..'.'..tostring(sender.class.name)..' with value: '..tostring(value)) else value = sender self:debug('local call, with value: '..tostring(value)) end end This is a pity because I would like to indicate in the called class where the call was coming from. Now I solve this by sending a table with : sender = {id=self.id, name=self.name, value=newValue}. Do I do something wrong? or has Fibaro disabled the oop function for sending object classes? -
Hello, I have a problem. After some time, when playing is stopped, Quickapp can't refresh fcPlayerStates and prompts :error fcPlayerStates: "Operation canceled". I'm using your app since 2 weeks or so, and that's the first situation of debug error. Similar situation was appaired when ieast device was disable and disconnected. Bart
-
I am creating a QA to list doors that are still open when I switch on the alarm. And I want to display the doors that are still open on the QA interface, one below the other. I have been trying to insert a return character in the text to be inserted in the label with self:updateView() in order to achieve a nice list of doors. But whatever I try to insert in the string to be displayed (\n, \r, string.char(13), <br \> etc) the separate lines remain on one line in the label. What is the correct procedure to insert a CR in this case? Or is there an alternative like dynamically adding labels to the QA? Thanks
-
Is there a way to cancel "callback" scheduled using `setTimeout` in QuickApp? Something like i.e. `clearTimeout` known from JS world? The `setTimeout` does not seem to return a value, but maybe there's some trick.
-
Hi, I'm new to Fibaro (HC3) and just finding my way around things. I've seen some reference in other forums that Quick Apps (buttons / controls) are not currently available in the Home Center mobile app - is this correct and still the case? Seems like a pretty basic requirement to be able to use Quick Apps doesn't it, or am I missing something? Otherwise, what is the point of them and how do you use them from your mobile other than building individual scenes for each action you want to take with it? Is anyone aware of a mobile app update on the horizon soon which will allow control of Quick Apps from the mobile app UI? Thanks
-
Hello I wrote a QuickApp for controlling my Sony Bravia TV but I can´t find it in the Android app?
-
Good evening everyone, .. I'm sending the first "taste" of the upcoming plug-in for iEAST. The purpose is to be able to establish LUA actions on the plugin and control the streamer from HC3 and its elements (tested by scene control from the NodON button). The primary purpose of this "Lite" application is to easily configure 6 Internet radio presets and name them so that a less knowledgeable user does not have to interfere with the code. As a bonus, there is control of this stream player, for example from a DLNA source. By no means does the app have any ambition to replace the original smart app on the phone / tablet. QuckApp is still in the BETA phase. I have test buttons here and some ready-made buttons for future use (master / slave multiroom, etc.). Furthermore, the test buttons "Test" for DEBUG (listing variables and JSON decoded values). I may need to modify the code, so I'll be happy if you test it and possibly send some info. I need to resolve some things about JSON some request. Still a picture, I'm working on the documentation. eM. Edit: Edited image description - Picture with Artist: Unknown, without the URL stream - this is real SLAVE speaker (you can configure from his own APP) - Picture with ERROR - some error with streamer Slave2 (not connected to the LAN) - Picture with Artist: ACDC - Actualy playing music from NAS - playing on the slave1 streamer - Picture with Artist: Unknown - Internet Radio from public stream - playing on the master streamer Configuration point Edit: 20200621 - New look. I'm just finishing the documentation before the release. The FCx3 button is switchable depending on the DEBUG mode. The play/pause button is a toggle switch.
-
Hi, Would like to have a quickapp that would enable me to start or stop a scene with a button. I tried fibaro.scene("execute", {id}) or fibaro.scene("kill", {id}) But it doesn't work and don't stop and restart the scene. The scene i want to trigger or stop is a move detection in a room to start ligne. I would sometime like this automation not being activated and stop from a QA that is controling all room parameter. thanks for the support
-
For watering our plants I develop a Virtual Device with HC2 using control buttons to open a valve during 15, 30, 45 and 60sec. I also had a emergency STOP button to close the valve immediately within the same VD. When I reproduce the same with HC3, it is not possible to call the STOP button (interrupt) untill the watering in progress is not completed. Any help? (and not entionning those buttons are not displayed on the portable Android/IOS...)
-
I am trying to get a list of sections in house, to use in a QA. From my browser I can do a http request like: http://IP_HC3/api/sections to get this list. Is there a way to do this directly with a fibaro function? Can't find anything in the API docs.
-
I have set a variable for a QuickApp in the web interface. Now I want to retrieve that variable with self:getVariable("varname") It return nil however. How come? What am I doing wrong?
-
Being completely new to Fibaro (just bought a HC3) but not to domotica and programming I am not able to find the info I need to do the following: Receive a http request from my Synology Surveillance Station telling HC3 that camera movement has occurred and then set a zone to breached and trigger an alarm. I was thinking of creating a QuickApp device of type binary sensor and turn that on with an http GET request from the surveillance station. This part works fine: when I send the request I can catch it in Quickapp:turnOn() Can see that by checking a debug message. But now.... How do I get this device to set the zone to breached? I've tried to test it in a scene, using state "Detected" but that doesn't react to the turnOn. The updateProperty("state", true) or updateProperty("state", "Detected") methods also didn't work. Big problem here is imo the lack of documentation (at least I can't find it) E.g. where can I find a list of properties and built-in methods of the QuickApp class? The page at https://manuals.fibaro.com/home-center-3-quick-apps/ certainly does not contain all these properties and methods, doesn't it? Can anyone point me in the right direction?