Dragoniacs Posté(e) le 16 juillet Signaler Posté(e) le 16 juillet Ouf, ça va alors...Je vais faire ça avant de me retrouver bloquée.MerciEnvoyé de mon 23078PND5G en utilisant Tapatalk
jojo Posté(e) le 17 juillet Signaler Posté(e) le 17 juillet (modifié) faisable sur des QA dont on a la source, mais pas pour les QA protégés. En effet on est alors doublement pénalisé : 1) par le fournisseur 2) par le développeur Modifié le 17 juillet par Lazer Message déplacé
Lazer Posté(e) le 17 juillet Signaler Posté(e) le 17 juillet (modifié) @jojo j'ai inversé tes messages entre les 2 topics pour remettre un peu d'ordre. Ici on parle du QuickApp sur HC3 pour la station Netatmo. Et sur l'autre topic, on parle de la Station Netatmo en elle-même... et donc un message qui parle de la jeter à la poubelle pour la remplacer par autre chose a sa place... même si bon... Modifié le 17 juillet par Lazer
Verdure Posté(e) le 25 juillet Signaler Posté(e) le 25 juillet (modifié) Bonjour j ai respecté scrupuleusement le processus intégration de ma station Netatmo à mon Fibaro hc3 en vain rien ne remonte qui pourrait m apporter son aide ? mille merci Modifié le 25 juillet par Lazer Message fusioné
Lazer Posté(e) le 25 juillet Signaler Posté(e) le 25 juillet Il faudra donner un peu plus d'informations. Quel QuickApp ? (il y a plusieurs variantes) Tu as quels messages dans les logs ?
Verdure Posté(e) le 25 juillet Signaler Posté(e) le 25 juillet {"name":"station métro Netatmo","type":"com.fibaro.temperatureSensor","apiVersion":"1.3","initialProperties":{"viewLayout":{"$jason":{"body":{"header":{"style":{"height":"0"},"title":"quickApp_device_156"},"sections":{"items":[{"components":[{"components":[{"name":"button_ID_6_1","style":{"weight":"0.20"},"text":"Btn","type":"button","visible":true},{"name":"button_ID_6_2","style":{"weight":"0.20"},"text":"Btn","type":"button","visible":true},{"name":"button_ID_6_3","style":{"weight":"0.20"},"text":"Btn","type":"button","visible":true},{"name":"button_ID_6_4","style":{"weight":"0.20"},"text":"Btn","type":"button","visible":true},{"name":"button_ID_6_5","style":{"weight":"0.20"},"text":"Btn","type":"button","visible":true}],"style":{"weight":"1.2"},"type":"horizontal"},{"style":{"weight":"0.5"},"type":"space"}],"style":{"weight":"1.2"},"type":"vertical"},{"components":[{"components":[{"name":"button_ID_0_1","style":{"weight":"0.20"},"text":"Btn","type":"button","visible":true},{"name":"button_ID_0_2","style":{"weight":"0.20"},"text":"Btn","type":"switch","value":"false","visible":true},{"name":"button_ID_0_3","style":{"weight":"0.20"},"text":"Btn","type":"button","visible":true},{"name":"button_ID_0_4","style":{"weight":"0.20"},"text":"Btn","type":"button","visible":true},{"name":"button_ID_0_5","style":{"weight":"0.20"},"text":"Btn","type":"button","visible":true}],"style":{"weight":"1.2"},"type":"horizontal"},{"style":{"weight":"0.5"},"type":"space"}],"style":{"weight":"1.2"},"type":"vertical"},{"components":[{"components":[{"name":"button_ID_2_1","style":{"weight":"0.33"},"text":"Btn","type":"button","visible":true},{"name":"button_ID_2_2","style":{"weight":"0.33"},"text":"Btn","type":"button","visible":true},{"name":"button_ID_2_3","style":{"weight":"0.33"},"text":"Btn","type":"button","visible":true}],"style":{"weight":"1.2"},"type":"horizontal"},{"style":{"weight":"0.5"},"type":"space"}],"style":{"weight":"1.2"},"type":"vertical"},{"components":[{"components":[{"name":"button_ID_3_1","style":{"weight":"0.50"},"text":"Btn","type":"button","visible":true},{"name":"button_ID_3_2","style":{"weight":"0.50"},"text":"Btn","type":"button","visible":true}],"style":{"weight":"1.2"},"type":"horizontal"},{"style":{"weight":"0.5"},"type":"space"}],"style":{"weight":"1.2"},"type":"vertical"},{"components":[{"name":"button_ID_4_1","style":{"weight":"1.2"},"text":"Btn","type":"button","visible":true},{"style":{"weight":"0.5"},"type":"space"}],"style":{"weight":"1.2"},"type":"vertical"},{"components":[{"components":[{"name":"button_ID_5_1","style":{"weight":"0.50"},"text":"direction du vent","type":"button","visible":true},{"name":"button_ID_5_2","style":{"weight":"0.50"},"text":"Btn","type":"button","visible":true}],"style":{"weight":"1.2"},"type":"horizontal"},{"style":{"weight":"0.5"},"type":"space"}],"style":{"weight":"1.2"},"type":"vertical"}]}},"head":{"title":"quickApp_device_156"}}},"uiView":[{"components":[{"eventBinding":{"onLongPressDown":[{"params":{"actionName":"UIAction","args":["onLongPressDown","button_ID_6_1"]},"type":"deviceAction"}],"onLongPressReleased":[{"params":{"actionName":"UIAction","args":["onLongPressReleased","button_ID_6_1"]},"type":"deviceAction"}],"onReleased":[{"params":{"actionName":"UIAction","args":["onReleased","button_ID_6_1"]},"type":"deviceAction"}]},"name":"button_ID_6_1","style":{"weight":"0.20"},"text":"Btn","type":"button","visible":true},{"eventBinding":{"onLongPressDown":[{"params":{"actionName":"UIAction","args":["onLongPressDown","button_ID_6_2"]},"type":"deviceAction"}],"onLongPressReleased":[{"params":{"actionName":"UIAction","args":["onLongPressReleased","button_ID_6_2"]},"type":"deviceAction"}],"onReleased":[{"params":{"actionName":"UIAction","args":["onReleased","button_ID_6_2"]},"type":"deviceAction"}]},"name":"button_ID_6_2","style":{"weight":"0.20"},"text":"Btn","type":"button","visible":true},{"eventBinding":{"onLongPressDown":[{"params":{"actionName":"UIAction","args":["onLongPressDown","button_ID_6_3"]},"type":"deviceAction"}],"onLongPressReleased":[{"params":{"actionName":"UIAction","args":["onLongPressReleased","button_ID_6_3"]},"type":"deviceAction"}],"onReleased":[{"params":{"actionName":"UIAction","args":["onReleased","button_ID_6_3"]},"type":"deviceAction"}]},"name":"button_ID_6_3","style":{"weight":"0.20"},"text":"Btn","type":"button","visible":true},{"eventBinding":{"onLongPressDown":[{"params":{"actionName":"UIAction","args":["onLongPressDown","button_ID_6_4"]},"type":"deviceAction"}],"onLongPressReleased":[{"params":{"actionName":"UIAction","args":["onLongPressReleased","button_ID_6_4"]},"type":"deviceAction"}],"onReleased":[{"params":{"actionName":"UIAction","args":["onReleased","button_ID_6_4"]},"type":"deviceAction"}]},"name":"button_ID_6_4","style":{"weight":"0.20"},"text":"Btn","type":"button","visible":true},{"eventBinding":{"onLongPressDown":[{"params":{"actionName":"UIAction","args":["onLongPressDown","button_ID_6_5"]},"type":"deviceAction"}],"onLongPressReleased":[{"params":{"actionName":"UIAction","args":["onLongPressReleased","button_ID_6_5"]},"type":"deviceAction"}],"onReleased":[{"params":{"actionName":"UIAction","args":["onReleased","button_ID_6_5"]},"type":"deviceAction"}]},"name":"button_ID_6_5","style":{"weight":"0.20"},"text":"Btn","type":"button","visible":true}],"style":{"weight":"1.0"},"type":"horizontal"},{"components":[{"eventBinding":{"onLongPressDown":[{"params":{"actionName":"UIAction","args":["onLongPressDown","button_ID_0_1"]},"type":"deviceAction"}],"onLongPressReleased":[{"params":{"actionName":"UIAction","args":["onLongPressReleased","button_ID_0_1"]},"type":"deviceAction"}],"onReleased":[{"params":{"actionName":"UIAction","args":["onReleased","button_ID_0_1"]},"type":"deviceAction"}]},"name":"button_ID_0_1","style":{"weight":"0.20"},"text":"Btn","type":"button","visible":true},{"eventBinding":{"onLongPressDown":[{"params":{"actionName":"UIAction","args":["onLongPressDown","button_ID_0_2","$event.value"]},"type":"deviceAction"}],"onLongPressReleased":[{"params":{"actionName":"UIAction","args":["onLongPressReleased","button_ID_0_2","$event.value"]},"type":"deviceAction"}],"onReleased":[{"params":{"actionName":"UIAction","args":["onReleased","button_ID_0_2","$event.value"]},"type":"deviceAction"}]},"name":"button_ID_0_2","style":{"weight":"0.20"},"text":"Btn","type":"switch","value":"false","visible":true},{"eventBinding":{"onLongPressDown":[{"params":{"actionName":"UIAction","args":["onLongPressDown","button_ID_0_3"]},"type":"deviceAction"}],"onLongPressReleased":[{"params":{"actionName":"UIAction","args":["onLongPressReleased","button_ID_0_3"]},"type":"deviceAction"}],"onReleased":[{"params":{"actionName":"UIAction","args":["onReleased","button_ID_0_3"]},"type":"deviceAction"}]},"name":"button_ID_0_3","style":{"weight":"0.20"},"text":"Btn","type":"button","visible":true},{"eventBinding":{"onLongPressDown":[{"params":{"actionName":"UIAction","args":["onLongPressDown","button_ID_0_4"]},"type":"deviceAction"}],"onLongPressReleased":[{"params":{"actionName":"UIAction","args":["onLongPressReleased","button_ID_0_4"]},"type":"deviceAction"}],"onReleased":[{"params":{"actionName":"UIAction","args":["onReleased","button_ID_0_4"]},"type":"deviceAction"}]},"name":"button_ID_0_4","style":{"weight":"0.20"},"text":"Btn","type":"button","visible":true},{"eventBinding":{"onLongPressDown":[{"params":{"actionName":"UIAction","args":["onLongPressDown","button_ID_0_5"]},"type":"deviceAction"}],"onLongPressReleased":[{"params":{"actionName":"UIAction","args":["onLongPressReleased","button_ID_0_5"]},"type":"deviceAction"}],"onReleased":[{"params":{"actionName":"UIAction","args":["onReleased","button_ID_0_5"]},"type":"deviceAction"}]},"name":"button_ID_0_5","style":{"weight":"0.20"},"text":"Btn","type":"button","visible":true}],"style":{"weight":"1.0"},"type":"horizontal"},{"components":[{"eventBinding":{"onLongPressDown":[{"params":{"actionName":"UIAction","args":["onLongPressDown","button_ID_2_1"]},"type":"deviceAction"}],"onLongPressReleased":[{"params":{"actionName":"UIAction","args":["onLongPressReleased","button_ID_2_1"]},"type":"deviceAction"}],"onReleased":[{"params":{"actionName":"UIAction","args":["onReleased","button_ID_2_1"]},"type":"deviceAction"}]},"name":"button_ID_2_1","style":{"weight":"0.33"},"text":"Btn","type":"button","visible":true},{"eventBinding":{"onLongPressDown":[{"params":{"actionName":"UIAction","args":["onLongPressDown","button_ID_2_2"]},"type":"deviceAction"}],"onLongPressReleased":[{"params":{"actionName":"UIAction","args":["onLongPressReleased","button_ID_2_2"]},"type":"deviceAction"}],"onReleased":[{"params":{"actionName":"UIAction","args":["onReleased","button_ID_2_2"]},"type":"deviceAction"}]},"name":"button_ID_2_2","style":{"weight":"0.33"},"text":"Btn","type":"button","visible":true},{"eventBinding":{"onLongPressDown":[{"params":{"actionName":"UIAction","args":["onLongPressDown","button_ID_2_3"]},"type":"deviceAction"}],"onLongPressReleased":[{"params":{"actionName":"UIAction","args":["onLongPressReleased","button_ID_2_3"]},"type":"deviceAction"}],"onReleased":[{"params":{"actionName":"UIAction","args":["onReleased","button_ID_2_3"]},"type":"deviceAction"}]},"name":"button_ID_2_3","style":{"weight":"0.33"},"text":"Btn","type":"button","visible":true}],"style":{"weight":"1.0"},"type":"horizontal"},{"components":[{"eventBinding":{"onLongPressDown":[{"params":{"actionName":"UIAction","args":["onLongPressDown","button_ID_3_1"]},"type":"deviceAction"}],"onLongPressReleased":[{"params":{"actionName":"UIAction","args":["onLongPressReleased","button_ID_3_1"]},"type":"deviceAction"}],"onReleased":[{"params":{"actionName":"UIAction","args":["onReleased","button_ID_3_1"]},"type":"deviceAction"}]},"name":"button_ID_3_1","style":{"weight":"0.50"},"text":"Btn","type":"button","visible":true},{"eventBinding":{"onLongPressDown":[{"params":{"actionName":"UIAction","args":["onLongPressDown","button_ID_3_2"]},"type":"deviceAction"}],"onLongPressReleased":[{"params":{"actionName":"UIAction","args":["onLongPressReleased","button_ID_3_2"]},"type":"deviceAction"}],"onReleased":[{"params":{"actionName":"UIAction","args":["onReleased","button_ID_3_2"]},"type":"deviceAction"}]},"name":"button_ID_3_2","style":{"weight":"0.50"},"text":"Btn","type":"button","visible":true}],"style":{"weight":"1.0"},"type":"horizontal"},{"components":[{"eventBinding":{"onLongPressDown":[{"params":{"actionName":"UIAction","args":["onLongPressDown","button_ID_4_1"]},"type":"deviceAction"}],"onLongPressReleased":[{"params":{"actionName":"UIAction","args":["onLongPressReleased","button_ID_4_1"]},"type":"deviceAction"}],"onReleased":[{"params":{"actionName":"UIAction","args":["onReleased","button_ID_4_1"]},"type":"deviceAction"}]},"name":"button_ID_4_1","style":{"weight":"1.0"},"text":"Btn","type":"button","visible":true}],"style":{"weight":"1.0"},"type":"horizontal"},{"components":[{"eventBinding":{"onLongPressDown":[{"params":{"actionName":"UIAction","args":["onLongPressDown","button_ID_5_1"]},"type":"deviceAction"}],"onLongPressReleased":[{"params":{"actionName":"UIAction","args":["onLongPressReleased","button_ID_5_1"]},"type":"deviceAction"}],"onReleased":[{"params":{"actionName":"UIAction","args":["onReleased","button_ID_5_1"]},"type":"deviceAction"}]},"name":"button_ID_5_1","style":{"weight":"0.50"},"text":"direction du vent","type":"button","visible":true},{"eventBinding":{"onLongPressDown":[{"params":{"actionName":"UIAction","args":["onLongPressDown","button_ID_5_2"]},"type":"deviceAction"}],"onLongPressReleased":[{"params":{"actionName":"UIAction","args":["onLongPressReleased","button_ID_5_2"]},"type":"deviceAction"}],"onReleased":[{"params":{"actionName":"UIAction","args":["onReleased","button_ID_5_2"]},"type":"deviceAction"}]},"name":"button_ID_5_2","style":{"weight":"0.50"},"text":"Btn","type":"button","visible":true}],"style":{"weight":"1.0"},"type":"horizontal"}],"useUiView":true,"uiCallbacks":[{"callback":"","eventType":"onReleased","name":"button_ID_0_1"},{"callback":"","eventType":"onLongPressDown","name":"button_ID_0_1"},{"callback":"","eventType":"onLongPressReleased","name":"button_ID_0_1"},{"callback":"","eventType":"onReleased","name":"button_ID_0_2"},{"callback":"","eventType":"onLongPressDown","name":"button_ID_0_2"},{"callback":"","eventType":"onLongPressReleased","name":"button_ID_0_2"},{"callback":"","eventType":"onReleased","name":"button_ID_0_4"},{"callback":"","eventType":"onLongPressDown","name":"button_ID_0_4"},{"callback":"","eventType":"onLongPressReleased","name":"button_ID_0_4"},{"callback":"","eventType":"onReleased","name":"button_ID_0_5"},{"callback":"","eventType":"onLongPressDown","name":"button_ID_0_5"},{"callback":"","eventType":"onLongPressReleased","name":"button_ID_0_5"},{"callback":"","eventType":"onReleased","name":"button_ID_3_1"},{"callback":"","eventType":"onLongPressDown","name":"button_ID_3_1"},{"callback":"","eventType":"onLongPressReleased","name":"button_ID_3_1"},{"callback":"","eventType":"onReleased","name":"button_ID_3_2"},{"callback":"","eventType":"onLongPressDown","name":"button_ID_3_2"},{"callback":"","eventType":"onLongPressReleased","name":"button_ID_3_2"},{"callback":"","eventType":"onReleased","name":"button_ID_5_1"},{"callback":"","eventType":"onLongPressDown","name":"button_ID_5_1"},{"callback":"","eventType":"onLongPressReleased","name":"button_ID_5_1"}],"quickAppVariables":[{"name":"jeton d actuali","type":"string","value":"5ea407a19bf53b78b83f1fa8|ccb3e0337c4a6f52bdf44e40235e2388"},{"name":"jeton d acces","type":"string","value":"5ea407a19bf53b78b83f1fa8|b61ae297f705689dd416e3260412a228"}],"typeTemplateInitialized":true,"userDescription":""},"initialInterfaces":[],"files":[{"name":"main","isMain":true,"isOpen":true,"content":"-- Temperature sensor type have no actions to handle\n-- To update temperature, update property \"value\" with floating point number, supported units: \"C\" - Celsius, \"F\" - Fahrenheit\n-- Eg. self:updateProperty(\"value\", { value= 18.12, unit= \"C\" }) \n\n-- To update controls you can use method self:updateView(<component ID>, <component property>, <desired value>). Eg: \n-- self:updateView(\"slider\", \"value\", \"55\") \n-- self:updateView(\"button1\", \"text\", \"MUTE\") \n-- self:updateView(\"label\", \"text\", \"TURNED ON\") \n\n-- This is QuickApp inital method. It is called right after your QuickApp starts (after each save or on gateway startup). \n-- Here you can set some default values, setup http connection or get QuickApp variables.\n-- To learn more, please visit: \n-- * https://manuals.fibaro.com/home-center-3/\n-- * https://manuals.fibaro.com/home-center-3-quick-apps/\n\nfunction QuickApp:onInit()\n self:debug(\"onInit\")\nend\n"}]} MERCI POUR LA REPONSE APPORTEE
Verdure Posté(e) le 25 juillet Signaler Posté(e) le 25 juillet {"name":"station métro Netatmo","type":"com.fibaro.temperatureSensor","apiVersion":"1.3","initialProperties":{"viewLayout":{"$jason":{"body":{"header":{"style":{"height":"0"},"title":"quickApp_device_156"},"sections":{"items":[{"components":[{"components":[{"name":"button_ID_6_1","style":{"weight":"0.20"},"text":"Btn","type":"button","visible":true},{"name":"button_ID_6_2","style":{"weight":"0.20"},"text":"Btn","type":"button","visible":true},{"name":"button_ID_6_3","style":{"weight":"0.20"},"text":"Btn","type":"button","visible":true},{"name":"button_ID_6_4","style":{"weight":"0.20"},"text":"Btn","type":"button","visible":true},{"name":"button_ID_6_5","style":{"weight":"0.20"},"text":"Btn","type":"button","visible":true}],"style":{"weight":"1.2"},"type":"horizontal"},{"style":{"weight":"0.5"},"type":"space"}],"style":{"weight":"1.2"},"type":"vertical"},{"components":[{"components":[{"name":"button_ID_0_1","style":{"weight":"0.20"},"text":"Btn","type":"button","visible":true},{"name":"button_ID_0_2","style":{"weight":"0.20"},"text":"Btn","type":"switch","value":"false","visible":true},{"name":"button_ID_0_3","style":{"weight":"0.20"},"text":"Btn","type":"button","visible":true},{"name":"button_ID_0_4","style":{"weight":"0.20"},"text":"Btn","type":"button","visible":true},{"name":"button_ID_0_5","style":{"weight":"0.20"},"text":"Btn","type":"button","visible":true}],"style":{"weight":"1.2"},"type":"horizontal"},{"style":{"weight":"0.5"},"type":"space"}],"style":{"weight":"1.2"},"type":"vertical"},{"components":[{"components":[{"name":"button_ID_2_1","style":{"weight":"0.33"},"text":"Btn","type":"button","visible":true},{"name":"button_ID_2_2","style":{"weight":"0.33"},"text":"Btn","type":"button","visible":true},{"name":"button_ID_2_3","style":{"weight":"0.33"},"text":"Btn","type":"button","visible":true}],"style":{"weight":"1.2"},"type":"horizontal"},{"style":{"weight":"0.5"},"type":"space"}],"style":{"weight":"1.2"},"type":"vertical"},{"components":[{"components":[{"name":"button_ID_3_1","style":{"weight":"0.50"},"text":"Btn","type":"button","visible":true},{"name":"button_ID_3_2","style":{"weight":"0.50"},"text":"Btn","type":"button","visible":true}],"style":{"weight":"1.2"},"type":"horizontal"},{"style":{"weight":"0.5"},"type":"space"}],"style":{"weight":"1.2"},"type":"vertical"},{"components":[{"name":"button_ID_4_1","style":{"weight":"1.2"},"text":"Btn","type":"button","visible":true},{"style":{"weight":"0.5"},"type":"space"}],"style":{"weight":"1.2"},"type":"vertical"},{"components":[{"components":[{"name":"button_ID_5_1","style":{"weight":"0.50"},"text":"direction du vent","type":"button","visible":true},{"name":"button_ID_5_2","style":{"weight":"0.50"},"text":"Btn","type":"button","visible":true}],"style":{"weight":"1.2"},"type":"horizontal"},{"style":{"weight":"0.5"},"type":"space"}],"style":{"weight":"1.2"},"type":"vertical"}]}},"head":{"title":"quickApp_device_156"}}},"uiView":[{"components":[{"eventBinding":{"onLongPressDown":[{"params":{"actionName":"UIAction","args":["onLongPressDown","button_ID_6_1"]},"type":"deviceAction"}],"onLongPressReleased":[{"params":{"actionName":"UIAction","args":["onLongPressReleased","button_ID_6_1"]},"type":"deviceAction"}],"onReleased":[{"params":{"actionName":"UIAction","args":["onReleased","button_ID_6_1"]},"type":"deviceAction"}]},"name":"button_ID_6_1","style":{"weight":"0.20"},"text":"Btn","type":"button","visible":true},{"eventBinding":{"onLongPressDown":[{"params":{"actionName":"UIAction","args":["onLongPressDown","button_ID_6_2"]},"type":"deviceAction"}],"onLongPressReleased":[{"params":{"actionName":"UIAction","args":["onLongPressReleased","button_ID_6_2"]},"type":"deviceAction"}],"onReleased":[{"params":{"actionName":"UIAction","args":["onReleased","button_ID_6_2"]},"type":"deviceAction"}]},"name":"button_ID_6_2","style":{"weight":"0.20"},"text":"Btn","type":"button","visible":true},{"eventBinding":{"onLongPressDown":[{"params":{"actionName":"UIAction","args":["onLongPressDown","button_ID_6_3"]},"type":"deviceAction"}],"onLongPressReleased":[{"params":{"actionName":"UIAction","args":["onLongPressReleased","button_ID_6_3"]},"type":"deviceAction"}],"onReleased":[{"params":{"actionName":"UIAction","args":["onReleased","button_ID_6_3"]},"type":"deviceAction"}]},"name":"button_ID_6_3","style":{"weight":"0.20"},"text":"Btn","type":"button","visible":true},{"eventBinding":{"onLongPressDown":[{"params":{"actionName":"UIAction","args":["onLongPressDown","button_ID_6_4"]},"type":"deviceAction"}],"onLongPressReleased":[{"params":{"actionName":"UIAction","args":["onLongPressReleased","button_ID_6_4"]},"type":"deviceAction"}],"onReleased":[{"params":{"actionName":"UIAction","args":["onReleased","button_ID_6_4"]},"type":"deviceAction"}]},"name":"button_ID_6_4","style":{"weight":"0.20"},"text":"Btn","type":"button","visible":true},{"eventBinding":{"onLongPressDown":[{"params":{"actionName":"UIAction","args":["onLongPressDown","button_ID_6_5"]},"type":"deviceAction"}],"onLongPressReleased":[{"params":{"actionName":"UIAction","args":["onLongPressReleased","button_ID_6_5"]},"type":"deviceAction"}],"onReleased":[{"params":{"actionName":"UIAction","args":["onReleased","button_ID_6_5"]},"type":"deviceAction"}]},"name":"button_ID_6_5","style":{"weight":"0.20"},"text":"Btn","type":"button","visible":true}],"style":{"weight":"1.0"},"type":"horizontal"},{"components":[{"eventBinding":{"onLongPressDown":[{"params":{"actionName":"UIAction","args":["onLongPressDown","button_ID_0_1"]},"type":"deviceAction"}],"onLongPressReleased":[{"params":{"actionName":"UIAction","args":["onLongPressReleased","button_ID_0_1"]},"type":"deviceAction"}],"onReleased":[{"params":{"actionName":"UIAction","args":["onReleased","button_ID_0_1"]},"type":"deviceAction"}]},"name":"button_ID_0_1","style":{"weight":"0.20"},"text":"Btn","type":"button","visible":true},{"eventBinding":{"onLongPressDown":[{"params":{"actionName":"UIAction","args":["onLongPressDown","button_ID_0_2","$event.value"]},"type":"deviceAction"}],"onLongPressReleased":[{"params":{"actionName":"UIAction","args":["onLongPressReleased","button_ID_0_2","$event.value"]},"type":"deviceAction"}],"onReleased":[{"params":{"actionName":"UIAction","args":["onReleased","button_ID_0_2","$event.value"]},"type":"deviceAction"}]},"name":"button_ID_0_2","style":{"weight":"0.20"},"text":"Btn","type":"switch","value":"false","visible":true},{"eventBinding":{"onLongPressDown":[{"params":{"actionName":"UIAction","args":["onLongPressDown","button_ID_0_3"]},"type":"deviceAction"}],"onLongPressReleased":[{"params":{"actionName":"UIAction","args":["onLongPressReleased","button_ID_0_3"]},"type":"deviceAction"}],"onReleased":[{"params":{"actionName":"UIAction","args":["onReleased","button_ID_0_3"]},"type":"deviceAction"}]},"name":"button_ID_0_3","style":{"weight":"0.20"},"text":"Btn","type":"button","visible":true},{"eventBinding":{"onLongPressDown":[{"params":{"actionName":"UIAction","args":["onLongPressDown","button_ID_0_4"]},"type":"deviceAction"}],"onLongPressReleased":[{"params":{"actionName":"UIAction","args":["onLongPressReleased","button_ID_0_4"]},"type":"deviceAction"}],"onReleased":[{"params":{"actionName":"UIAction","args":["onReleased","button_ID_0_4"]},"type":"deviceAction"}]},"name":"button_ID_0_4","style":{"weight":"0.20"},"text":"Btn","type":"button","visible":true},{"eventBinding":{"onLongPressDown":[{"params":{"actionName":"UIAction","args":["onLongPressDown","button_ID_0_5"]},"type":"deviceAction"}],"onLongPressReleased":[{"params":{"actionName":"UIAction","args":["onLongPressReleased","button_ID_0_5"]},"type":"deviceAction"}],"onReleased":[{"params":{"actionName":"UIAction","args":["onReleased","button_ID_0_5"]},"type":"deviceAction"}]},"name":"button_ID_0_5","style":{"weight":"0.20"},"text":"Btn","type":"button","visible":true}],"style":{"weight":"1.0"},"type":"horizontal"},{"components":[{"eventBinding":{"onLongPressDown":[{"params":{"actionName":"UIAction","args":["onLongPressDown","button_ID_2_1"]},"type":"deviceAction"}],"onLongPressReleased":[{"params":{"actionName":"UIAction","args":["onLongPressReleased","button_ID_2_1"]},"type":"deviceAction"}],"onReleased":[{"params":{"actionName":"UIAction","args":["onReleased","button_ID_2_1"]},"type":"deviceAction"}]},"name":"button_ID_2_1","style":{"weight":"0.33"},"text":"Btn","type":"button","visible":true},{"eventBinding":{"onLongPressDown":[{"params":{"actionName":"UIAction","args":["onLongPressDown","button_ID_2_2"]},"type":"deviceAction"}],"onLongPressReleased":[{"params":{"actionName":"UIAction","args":["onLongPressReleased","button_ID_2_2"]},"type":"deviceAction"}],"onReleased":[{"params":{"actionName":"UIAction","args":["onReleased","button_ID_2_2"]},"type":"deviceAction"}]},"name":"button_ID_2_2","style":{"weight":"0.33"},"text":"Btn","type":"button","visible":true},{"eventBinding":{"onLongPressDown":[{"params":{"actionName":"UIAction","args":["onLongPressDown","button_ID_2_3"]},"type":"deviceAction"}],"onLongPressReleased":[{"params":{"actionName":"UIAction","args":["onLongPressReleased","button_ID_2_3"]},"type":"deviceAction"}],"onReleased":[{"params":{"actionName":"UIAction","args":["onReleased","button_ID_2_3"]},"type":"deviceAction"}]},"name":"button_ID_2_3","style":{"weight":"0.33"},"text":"Btn","type":"button","visible":true}],"style":{"weight":"1.0"},"type":"horizontal"},{"components":[{"eventBinding":{"onLongPressDown":[{"params":{"actionName":"UIAction","args":["onLongPressDown","button_ID_3_1"]},"type":"deviceAction"}],"onLongPressReleased":[{"params":{"actionName":"UIAction","args":["onLongPressReleased","button_ID_3_1"]},"type":"deviceAction"}],"onReleased":[{"params":{"actionName":"UIAction","args":["onReleased","button_ID_3_1"]},"type":"deviceAction"}]},"name":"button_ID_3_1","style":{"weight":"0.50"},"text":"Btn","type":"button","visible":true},{"eventBinding":{"onLongPressDown":[{"params":{"actionName":"UIAction","args":["onLongPressDown","button_ID_3_2"]},"type":"deviceAction"}],"onLongPressReleased":[{"params":{"actionName":"UIAction","args":["onLongPressReleased","button_ID_3_2"]},"type":"deviceAction"}],"onReleased":[{"params":{"actionName":"UIAction","args":["onReleased","button_ID_3_2"]},"type":"deviceAction"}]},"name":"button_ID_3_2","style":{"weight":"0.50"},"text":"Btn","type":"button","visible":true}],"style":{"weight":"1.0"},"type":"horizontal"},{"components":[{"eventBinding":{"onLongPressDown":[{"params":{"actionName":"UIAction","args":["onLongPressDown","button_ID_4_1"]},"type":"deviceAction"}],"onLongPressReleased":[{"params":{"actionName":"UIAction","args":["onLongPressReleased","button_ID_4_1"]},"type":"deviceAction"}],"onReleased":[{"params":{"actionName":"UIAction","args":["onReleased","button_ID_4_1"]},"type":"deviceAction"}]},"name":"button_ID_4_1","style":{"weight":"1.0"},"text":"Btn","type":"button","visible":true}],"style":{"weight":"1.0"},"type":"horizontal"},{"components":[{"eventBinding":{"onLongPressDown":[{"params":{"actionName":"UIAction","args":["onLongPressDown","button_ID_5_1"]},"type":"deviceAction"}],"onLongPressReleased":[{"params":{"actionName":"UIAction","args":["onLongPressReleased","button_ID_5_1"]},"type":"deviceAction"}],"onReleased":[{"params":{"actionName":"UIAction","args":["onReleased","button_ID_5_1"]},"type":"deviceAction"}]},"name":"button_ID_5_1","style":{"weight":"0.50"},"text":"direction du vent","type":"button","visible":true},{"eventBinding":{"onLongPressDown":[{"params":{"actionName":"UIAction","args":["onLongPressDown","button_ID_5_2"]},"type":"deviceAction"}],"onLongPressReleased":[{"params":{"actionName":"UIAction","args":["onLongPressReleased","button_ID_5_2"]},"type":"deviceAction"}],"onReleased":[{"params":{"actionName":"UIAction","args":["onReleased","button_ID_5_2"]},"type":"deviceAction"}]},"name":"button_ID_5_2","style":{"weight":"0.50"},"text":"Btn","type":"button","visible":true}],"style":{"weight":"1.0"},"type":"horizontal"}],"useUiView":true,"uiCallbacks":[{"callback":"","eventType":"onReleased","name":"button_ID_0_1"},{"callback":"","eventType":"onLongPressDown","name":"button_ID_0_1"},{"callback":"","eventType":"onLongPressReleased","name":"button_ID_0_1"},{"callback":"","eventType":"onReleased","name":"button_ID_0_2"},{"callback":"","eventType":"onLongPressDown","name":"button_ID_0_2"},{"callback":"","eventType":"onLongPressReleased","name":"button_ID_0_2"},{"callback":"","eventType":"onReleased","name":"button_ID_0_4"},{"callback":"","eventType":"onLongPressDown","name":"button_ID_0_4"},{"callback":"","eventType":"onLongPressReleased","name":"button_ID_0_4"},{"callback":"","eventType":"onReleased","name":"button_ID_0_5"},{"callback":"","eventType":"onLongPressDown","name":"button_ID_0_5"},{"callback":"","eventType":"onLongPressReleased","name":"button_ID_0_5"},{"callback":"","eventType":"onReleased","name":"button_ID_3_1"},{"callback":"","eventType":"onLongPressDown","name":"button_ID_3_1"},{"callback":"","eventType":"onLongPressReleased","name":"button_ID_3_1"},{"callback":"","eventType":"onReleased","name":"button_ID_3_2"},{"callback":"","eventType":"onLongPressDown","name":"button_ID_3_2"},{"callback":"","eventType":"onLongPressReleased","name":"button_ID_3_2"},{"callback":"","eventType":"onReleased","name":"button_ID_5_1"},{"callback":"","eventType":"onLongPressDown","name":"button_ID_5_1"},{"callback":"","eventType":"onLongPressReleased","name":"button_ID_5_1"}],"quickAppVariables":[{"name":"jeton d actuali","type":"string","value":"5ea407a19bf53b78b83f1fa8|ccb3e0337c4a6f52bdf44e40235e2388"},{"name":"jeton d acces","type":"string","value":"5ea407a19bf53b78b83f1fa8|b61ae297f705689dd416e3260412a228"}],"typeTemplateInitialized":true,"userDescription":""},"initialInterfaces":[],"files":[{"name":"main","isMain":true,"isOpen":true,"content":"-- Temperature sensor type have no actions to handle\n-- To update temperature, update property \"value\" with floating point number, supported units: \"C\" - Celsius, \"F\" - Fahrenheit\n-- Eg. self:updateProperty(\"value\", { value= 18.12, unit= \"C\" }) \n\n-- To update controls you can use method self:updateView(<component ID>, <component property>, <desired value>). Eg: \n-- self:updateView(\"slider\", \"value\", \"55\") \n-- self:updateView(\"button1\", \"text\", \"MUTE\") \n-- self:updateView(\"label\", \"text\", \"TURNED ON\") \n\n-- This is QuickApp inital method. It is called right after your QuickApp starts (after each save or on gateway startup). \n-- Here you can set some default values, setup http connection or get QuickApp variables.\n-- To learn more, please visit: \n-- * https://manuals.fibaro.com/home-center-3/\n-- * https://manuals.fibaro.com/home-center-3-quick-apps/\n\nfunction QuickApp:onInit()\n self:debug(\"onInit\")\nend\n"}]} MERCI POUR LA REPONSE APPORTEE version du 26 04 2020 du fibaro marketplace (station metro qa pour hc3)
Lazer Posté(e) le 25 juillet Signaler Posté(e) le 25 juillet Tu ne devrais pas partager tes jetons sur un forum public Tes messages sont illisibles, je suppose qu'il s'agit du JSON du module, mais ça ne nous sert à rien. Ce qu'il faut, c'est que tu répondes aux questions que j'ai posé, sinon impossible de t'aider : Tu utilises quel QuickApp, car il y a plusieurs variantes disponibles sur le forum Les messages qui s'affichent dans la fenêtre de logs de ton QuickApp
Verdure Posté(e) le 25 juillet Signaler Posté(e) le 25 juillet Je suis largué là … à ma connaissance version du 26 04 2020 du market place pour le reste je ne vois pas où obtenir l info Encore merci
Lazer Posté(e) le 25 juillet Signaler Posté(e) le 25 juillet Ah OK, celui là donc je suppose : https://marketplace.fibaro.com/items/netatmo-qa-for-hc3 C'est GSmart.pl l'auteur, je n'ai pas suivi les dernières évolutions de son code, perso j'avais fait une variante que j'avais partagé sur le forum, mais celle-ci n'est plus utilisable à cause du jeton à renouveler régulièrement. Mais bref, si la version de GSmart.pl ne fonctionne plus... Bah... euh... je ne sais pas quoi te dire là, désolé. De mémoire il passait par un site tiers pour héberger la page nécessaire à l'obtention du jeton... si son site est mort, alors ça pourrait expliquer pourquoi le QuickApp ne fonctionne plus. Peut être que quelqu'un qui utilise la même version pourra t'en dire plus.
Sankotronic Posté(e) samedi à 07:34 Signaler Posté(e) samedi à 07:34 Hello, You can try this one on Fibaro marketplace: https://marketplace.fibaro.com/items/netatmo-weather-station-qa-v1-1 I just update it to version 2.1 Latest update is to use Netatmo servers endpoint that will not be removed. To install QA just follow instructions in provided User manual. If you need any further assistance I'm available on Fibaro forum. There is also QA for Netatmo Smart indoor air quality monitor on Fibaro marketplace: https://marketplace.fibaro.com/items/netatmo-indoor-air-quality-monitor-qa-v1-1 It is also updated to version 2.1 for the latest Netatmo API changes. 1
Nico Posté(e) samedi à 13:05 Signaler Posté(e) samedi à 13:05 Pour la HC2, c'est à modifier à 4 endroits de la scène, fonctionne nickel.
Verdure Posté(e) dimanche à 06:24 Signaler Posté(e) dimanche à 06:24 j ai bien installé Netatmo weather QA v 2.1 standalone mais ma station météo Netatmo n est pas connectée à Fibaro hc 3 que faire merci
Sankotronic Posté(e) dimanche à 07:55 Signaler Posté(e) dimanche à 07:55 Hello @Verdure, For this QA to work you need to go to https://dev.netatmo.com/ and if you do not have one then create your account to login. After you login, in the top right corner click on your account name and select My apps option. Best option is to create new app for this QA. You can give name to this app so you know it is used with this QA on HC3. You also need to provide data protection officer name and e-mail. As soon as app is added, its client ID and client secret will be generated. Copy those since you will need to paste them in QA variables. Last step is to generate tokens. Just choose scope read_station and click on generate tokens button. You will be redirected to web page to confirm token generation and then returned to app. Copy/paste refresh token to QA variable and save QA. Note that access token is not needed since QA will generate one on the first run. There is a detailed instructions how to install QA in provided user manual, see chapter 3. Thank you for choosing my work!
Verdure Posté(e) dimanche à 11:04 Signaler Posté(e) dimanche à 11:04 Ça ne marche pas malgré le protocole respecté
jojo Posté(e) dimanche à 15:52 Signaler Posté(e) dimanche à 15:52 voilà pourquoi j'ai définitivement abandonné la "solution" Netatmo
Sankotronic Posté(e) lundi à 06:32 Signaler Posté(e) lundi à 06:32 Hello @Verdure, either you are doing something wrong or there is a problem with your station. Cant say since you didn't provide any debug info. Even I know that QA is working I just installed Netatmo QA on my Yubii Home box, added app on Netatmo developer site and copy/pasted client ID, client secret and refresh token to QA and it started working immediately as expected: And debug from importing QA until it is configured and use my second station (has wind and rain) as weather provider:
Verdure Posté(e) lundi à 16:41 Signaler Posté(e) lundi à 16:41 Merci à SANKOTRONIC qui a fait preuve d une belle réactivité et de son savoir faire en me permettant d appairer ma Fibaro hc 3 et ma station météo encore bravo !
flacon030 Posté(e) hier à 19:43 Signaler Posté(e) hier à 19:43 (modifié) Sankotronic quel dommage de devoir reinstaller le QA a chaque mise a jour Car a chaque fois on dois modifier les scènes liée a ce QA, et pire encore devoir perdre les données sous influxDB et donc sous graphana N'est t'il pas possible de faire une simple mise a jour sans devoir tous perdre? Sans quoi je vais vraiment finir par me débarrasser des modules netatmo... Modifié hier à 19:46 par flacon030
Sankotronic Posté(e) il y a 14 heures Signaler Posté(e) il y a 14 heures Hi @flacon030, You are completely right about needing to reinstall encrypted QA each time when there is an update released. I guess with encrypted QA that will be always the case, needing to replace QA, because I do not believe that Fibaro will change anything related to encrypted QA and security in the future. On the other hand I do not find that as a big problem. Most of my work does not need much of the upgrades except in case like with Netatmo decided to again change their API or server domain. Since that is something that does not happen very often... In case of my work, there is always possibility to get unencrypted version that can be then easily upgraded by changing code, but that has a price.
jojo Posté(e) il y a 13 heures Signaler Posté(e) il y a 13 heures Il y a 12 heures, flacon030 a dit : et pire encore devoir perdre les données sous influxDB et donc sous graphana tu peux changer les device-id directement dans la DB, c'est ce que je fais avec phpMyAdmin pour MariaDB
flacon030 Posté(e) il y a 13 heures Signaler Posté(e) il y a 13 heures Oui c’est se que je fait aussi pour domochart, mais pour grafana et influx db c’est pas la même histoire, sans parler des scènes et de gea que je dois modifier à chaque fois brefs j’en ai marre, je voie pour supprimer un maximum d’éléments de netatmo et pour le peut que je ne peut pas je ferais une passerelle des modules ha vers hc3 car sous ha le plugin et mis a jour plus rapidement et sans devoir tous créer a nouveau donc en conservant les id des modules
flacon030 Posté(e) il y a 13 heures Signaler Posté(e) il y a 13 heures (modifié) Il y a 2 heures, Sankotronic a dit : Hi @flacon030, In case of my work, there is always possibility to get unencrypted version that can be then easily upgraded by changing code, but that has a price. Bonjour c’est quoi le prix à payer? il est possible d’avoir le qa moyennant finance? si oui je veux bien payer le qa non crypté pour avoir une version qui puisse être mise à jour sans devoir tous réinstaller si le prix est raisonnable si non autre suggestion, faire un qa crypté avec jeton payant avec mise à jour automatique comme le qa de influx db qui est payant mais avec mise à jour automatique Modifié il y a 12 heures par flacon030
Messages recommandés