Skip to content

Instantly share code, notes, and snippets.

adminAuth: {
type: "strategy",
strategy: {
name: "google",
label: 'Sign in with Google',
icon: "fa-google",
strategy: require('passport-google-oauth').OAuth2Strategy,
options: {
clientID: 'id',
clientSecret: 'secret',
{"name":"SMS","type":"com.fibaro.genericDevice","apiVersion":"1.2","initialProperties":{"viewLayout":{"$jason":{"body":{"header":{"style":{"height":"0"},"title":"quickApp_device_52"},"sections":{"items":[{"components":[{"name":"label","style":{"weight":"1.2"},"text":"Label","type":"label"},{"style":{"weight":"0.5"},"type":"space"}],"style":{"weight":"1.2"},"type":"vertical"},{"components":[{"components":[{"name":"button3_1","style":{"weight":"0.33"},"text":"SMS1","type":"button"},{"name":"button3_2","style":{"weight":"0.33"},"text":"SMS2","type":"button"},{"name":"button3","style":{"weight":"0.33"},"text":"SMS3","type":"button"}],"style":{"weight":"1.2"},"type":"horizontal"},{"style":{"weight":"0.5"},"type":"space"}],"style":{"weight":"1.2"},"type":"vertical"}]}},"head":{"title":"quickApp_device_52"}}},"uiCallbacks":[{"callback":"sendSMS1","eventType":"onReleased","name":"button3_1"},{"callback":"sendSMS2","eventType":"onReleased","name":"button3_2"},{"callback":"sendSMS3","eventType":"onReleased","name":"but
@sameeraakbar
sameeraakbar / MemoryQuickApp.fqa
Created January 25, 2022 11:45
Memory QuickApp
{"name":"Memory QuickAPP","type":"com.fibaro.genericDevice","apiVersion":"1.2","initialProperties":{"viewLayout":{"$jason":{"body":{"header":{"style":{"height":"0"},"title":"quickApp_device_51"},"sections":{"items":[{"components":[{"components":[{"name":"button2_1","style":{"weight":"0.50"},"text":"ON","type":"button"},{"name":"button2","style":{"weight":"0.50"},"text":"OFF","type":"button"}],"style":{"weight":"1.2"},"type":"horizontal"},{"style":{"weight":"0.5"},"type":"space"}],"style":{"weight":"1.2"},"type":"vertical"}]}},"head":{"title":"quickApp_device_51"}}},"uiCallbacks":[{"callback":"turnOnActive","eventType":"onReleased","name":"button2_1"},{"callback":"turnOffActive","eventType":"onReleased","name":"button2"}],"quickAppVariables":[{"name":"activedevice","value":"37,38"},{"name":"livingalldevice","value":"37,38"}],"typeTemplateInitialized":true},"files":[{"name":"main","isMain":true,"isOpen":true,"content":"-- Generic device type have no default actions to handle\n\n-- To update controls you can use
@sameeraakbar
sameeraakbar / Camipro_AC.fqa
Created February 18, 2021 08:46
Fibaro HC3 Global Cache/Zmote Quick App
{"name":"Camipro AC","type":"com.fibaro.genericDevice","apiVersion":"1.2","initialProperties":{"viewLayout":{"$jason":{"body":{"header":{"style":{"height":"0"},"title":"quickApp_device_87"},"sections":{"items":[{"components":[{"components":[{"name":"button2_1","style":{"weight":"0.50"},"text":"ON","type":"button"},{"name":"button2","style":{"weight":"0.50"},"text":"OFF","type":"button"}],"style":{"weight":"1.2"},"type":"horizontal"},{"style":{"weight":"0.5"},"type":"space"}],"style":{"weight":"1.2"},"type":"vertical"},{"components":[{"components":[{"name":"button5_1_1","style":{"weight":"0.20"},"text":"17","type":"button"},{"name":"button5_2_1","style":{"weight":"0.20"},"text":"18","type":"button"},{"name":"button5_3_1","style":{"weight":"0.20"},"text":"19","type":"button"},{"name":"button5_4_1","style":{"weight":"0.20"},"text":"20","type":"button"},{"name":"button5_5","style":{"weight":"0.20"},"text":"21","type":"button"}],"style":{"weight":"1.2"},"type":"horizontal"},{"style":{"weight":"0.5"},"type":"space"
@sameeraakbar
sameeraakbar / Node-Red-Fibaro-Siri.txt
Created January 15, 2021 05:31
Example Flow for Fibaro Integration to Siri
[
{
"id": "5cee10b1.d9d94",
"type": "homekit-service",
"z": "e1cb516d.95b3b",
"accessory": "5fef66f4.60fb78",
"name": "Porch Light",
"serviceName": "Lightbulb",
"x": 270,
"y": 140,
<!doctype html>
<html>
<head>
<title>Network | FIBARO HC2</title>
<style type="text/css">
#mynetwork {
top: 0;
left: 0;
margin: 0 auto;