
jjacques68
Membres confirmés-
Compteur de contenus
4 364 -
Inscription
-
Dernière visite
-
Jours gagnés
39
Tout ce qui a été posté par jjacques68
-
rien à voir avec IFTTT ? sais pas pourquoi, quand je relis, je pense à ça !
-
ok d’accord, je comprends mieux, et arrive mieux à imaginer les possibilités ... oui en effet ça devient intéressant !!
-
j’ai fais une rapide recherche sur ce MQTT, mais j’avoue ne pas trop comprendre, et ne connais pas les cas d’usages... vous avez des exemples d’usages ?
-
ah oui,tout à fait, il a ajouté le code des objets dans le main. mais j’ai mal lu, je croyais que l’on pouvait changé le type du QA, mais non ... du moins pas encore...
-
ben j’ai,pas trouver comment convertir un QA... mais c’est peut-être que pour les nouveaux créés à partir de cette version !
-
et bien plutôt oui ! bon y a encore du boulo, mais c’est déjà une bonne première mise à jour !
-
donc si je comprends bien, en plus des : ==, >=, <=, !=, ... on a maintenant le "anyValue" ? si c’est ça c’est parfait pour les true/false... encore rien dans la doc...
-
sais pas, suis pas encore là
-
bon RAS. NICKEL le debug !!!
-
bon allé, je click...
-
What's new: Backup Sorting backups by creation date. Block Scenes New block in Time category - Date range. Hints for blocks in the form of tooltips for what they are used for. Removed hidden devices from the drop-down lists. Conditions and actions for FIBARO RGBW 2 device (FGRGBW-442). Conditions and actions for FIBARO Intercom device (FGIC-001). Conditions (zones, inputs, outputs) and actions (zones, outputs) for Satel Alarm plugin. Climate Changed the default mode from Auto to Heating for manually added climate zones. Dashboard Drag and drop the device to the room name on the left to move it there. Icon indicating alarm status in the header with a redirection to list of zones. Current thermostat mode displayed on the device tile. Control of thermostat type devices from the right sidebar. Control of colorController type devices from the right sidebar. More possibilities to control rollerShutter type devices from the right sidebar. Changed the ON/OFF switch from toggle switch to 2-buttons switch on the right sidebar. Displaying alarm zones to which the sensor belongs and their states on the right sidebar. Closing the right sidebar by clicking outside its area. Devices Input/output mode configuration for FIBARO RGBW device (FGRGBWM-441). Protection against adding an existing or pending association. Changed range and precision of offset for value measured by temperature sensor. Favourite roller blind position configurable from device settings. Displaying parameter values greater than 999 with additional space. Possibility to force polling for device with switched off polling interface. More effective navigation through device list using the tabulator. Notification from heatDetector and rainDetector devices available for activation. Console log for requesting neighbours when adding a Z-Wave device. Support of excluding from climate panel for a specified time for all types of thermostats. Support for MCOHome MH7H-EH and MH7H-WH version 2.7. Support for MCOHome MH8-FC and MH8-FC4 version 3.2. Support for MCOHome MH9-CO2-WA and MH9-CO2-WD version 2.4. Support for MCOHome MH10-PM2.5-WA and MH10-PM2.5-WD version 2.3. Support for MCOHome MH-F500 version 1.2. Support for MCOHome MH-3900 version 1.9. Support for MCOHome MH-3928 version 1.3. Support for MCOHome MH7-WB version 4.2. Support for MCOHome A8-9 version 6.2. Support for Aeotec Siren 6 and Doorbell 6 version 1.4. Support for Aeotec Heavy Duty Switch version 3.28. Support for HeatIt Push2, Push4, Push8 version 1.26. Sound Switch CC support. General Report of current system configuration generated as a printout. History Marking today's date in the calendar (also applies to notifications). Lua Scenes New 'duration' condition - time in seconds for which the device has not changed state. New 'anyValue' operator - any change of device value. Notifications Displaying notifications of backup and update errors. Other Brand new console/debugger, common for Z-Wave communication, scenes and Quick Apps. Searching by the name of entry in the console. Filtering entries in the console by selected tag and/or type. Full-screen view of the console available as a separate page. Notifications in toasts during the addition/deletion/configuration of Z-Wave devices. Unified display of slider values within the interface. Protection against user access to unconfigured gateway. Changed LED indication on the gateway after adding/deleting a Z-Wave device. Improved stability of Wi-Fi connection. Completing and improving translations. Plugins Improved configuration of Philips Hue plugin. Added button for reloading configuration of Satel Alarm plugin keeping unchanged IDs. Profiles Removed hidden devices and hidden scenes from the list. Added manual mode of climate zones control. Quick Apps Added MQTT client support. Possibility to create slave devices. Editing code of controls in main device editor. Conversion of added Quick Apps to new format (migrating controls to separate functions). Documentation - https://manuals.fibaro.com/home-center-3-quick-apps Marketplace - https://marketplace.fibaro.com/items?kind=quick_app Scenes Activity of the run button depending on scene restart settings. Toast notification when trying to restart a running scene. Sorting scenes by name or type. Bug fixes: Alarm Scene protected from running during the alarm is performed. Block Scenes Role of the rollerShutter does not affect the list of available actions. Using the Sunrise/sunset block prevents the scene from saving. Calendar is displayed in wrong place and does not fit the screen. Redundant fields in FIBARO Intercom device blocks. Condition of running a scene using Satel Alarm disappears after reloading the page. Push notifications are always sent to all users instead of selected ones. Cameras IP camera image preview is visible in the interface from the Installer App. Climate Setpoint is not applied to a device without support for Auto mode. Activating manual or vacation mode always sets a zone in Auto mode. Unified sets of temperature colours in climate panel and displayed on thermostat icon. Dashboard Order of rooms in the list does not match the order from settings. Icon of the colorController type device is displayed incorrectly. Devices Device list does not always load after refreshing the page. FIBARO Heat Controller (FGT-001) does not support Off and FullPower modes. Inconsistent display of thermostats on the main screen and in device settings. Incorrect parameters after changing the role or key type of FIBARO RGBW device. Interface does not load after migration from HC2/HCL due to no support of some thermostats. History Linked device state change is not displayed on the list. Lua Scenes No support for fibaro.getDevicesID function. Network Access Point switches off by itself after several hours. Other LED state on the gateway does not change during addition/deletion of Z-Wave device. Drop-down list does not close and overlaps when another one is being opened. Unified content and appearance of e-mails sent from the gateway. Quick Apps Modified Quick App view is not saved. No support of special characters and emojis in Quick App view. No view update in device edit window after using self:updateView. Double checkbox section in device Advanced tab. Scenes Incorrect operation of reporting unsaved changes. No window for entering PIN code when trying to run a PIN-protected scene.
-
Je dois certainement m'y prendre mal, pourtant j'ai l'impression de faire les choses bien... mais ça marche pas... J'ai l'impression que api.delete ne fonctionne pas : voici le code : la VG DelayVmc est une table en fait : [{"API":{"timestamp":1586419043,"id":130},"VMC":226}] où on retrouve l'ID de la VMC ainsi que les infos nécessaires pour l'API. --récupère le contenu de la VG ListeDelay = fibaro.getGlobalVariable("DelayVmc") ListeDelay = json.decode(ListeDelay) --supprime un(ou les) précédent delay si trouve for index,value in pairs(ListeDelay) do if value.VMC == v.id then --v.id vient d'une boucle plus haut dans le code, et contient l'ID de la VMC res = api.delete(string.format("/devices/action/%s/%s",value.API.timestamp,value.API.id)) print(json.encode(res)) table.remove(ListeDelay, index) end end --mémorise la VG modifiée ListeDelay = json.encode(ListeDelay) fibaro.setGlobalVariable("DelayVmc", ListeDelay) pas de message d'erreur, rien, ... Les valeurs dans la VG sont tout a fait cohérente Mais l'enregistrement du OFF n'est pas supprimée, la VMC s'éteint au bout du temps définit lors du premier OFF si quelqu'un a une idée ?
-
mouai c’est ce que je craignais... bon ben ok... va pour cette solution... merci !!
-
ok d’accord... merci c’est sympas !
-
c’est quoi que ça ?
-
topic unique Fibaro Switch 2 - FGS-213 / FGS-223
jjacques68 a répondu à un(e) sujet de BenjyNet dans Modules Fibaro
@Krikroff, si tu as un moment... tu peux regarder ? merciiiii j'ai pas voulu le mettre ici à la suite, car c'est pas exactement le sujet... -
Hello tout le monde : alors suite à une discussion dans un autre sujet, j'ai ouvert celui-ci pour ne pas polluer le précédent... Nous avons vu que l'on pouvait, sur la HC3, retarder une action sur un device, avec cette méthode : api.post("/devices/"..id.."/action/turnOff", {delay = 60}) et la commande ci-dessus nous renvoie ceci : {"id":22,"timestamp":1586330337} il s'agit de l'ID de l'action (retardée) ainsi que son timestamp où elle se déclenchera. ATTENTION : ce n'est pas l'ID du device !! ET dans mon cas, je souhaite pourvoir supprimer cette enregistrement, afin de ne plus exécuter cette action en attente !! En effet, J'ai dans la salle de bain, un PIR qui me déclenche la lumière et la VMC. Quand je quitte la SDB, au bout de 30 secondes la lumières s'éteint, mais la VMC reste allumée pendant 1 minute. d'où ce retard que j'ai mis. Mais si je rentre a nouveau dans la SDB, dans l'interval de la minute, je souhaite que le précédent timestamp de fin soit supprimé pour être remplacé par le nouveau! logique non Mais là, tel quel, si je re rentre dans la salle de bain, il se peut que la VMC se coupe, car la première minute a été atteinte. Bref si vous avez pas compris c'est pas grave... Alors il existe clairement une commande DELETE dans l'API permettant de supprimer l'action retardée !! Il suffit de saisir l'ID de l'action et son timestamp !!! super !!! sauf que !! comment je peux savoir que qu'il y a une action retardée pour ce device ? il manque une info ! si je souhaite supprimer une action retardée d'un device, il faut que je puise au moins la retrouver via l'ID du device qui en est à l'origine ! Sinon je sens bien qu'il va falloir stocker quelque part l'ID du device émetteur et le mettre en relation avec l'ID de l'action retardée et le timestamp de fin !!! du style : {"idTrigger":256, "id":22, "timestamp":123456789} Mais alors pffffffffffff, faire ça soit même !!!! c'est pénible !!!!! C'est obligé que dans l'API, cette information y soit !!! Sinon, comment la HC3 sait, qu'à ce moment là précis, c'est le device (ici 256) qu'elle doit éteindre !!!??, je suis passé à côté de quelque chose ?
-
on a tendance à l'oublier celui-là...
-
KISS
-
ah oui ok ! oui d'accord ! Je comprends, pas de recherche dans l'API du coup. Oui c'est plus simple du coup.
-
l'idée me plait... Par contre niveau ressource, effectivement... ça risque de prendre du temps si y a beaucoup de scène...
-
oui je comprends l'idée, mettre une sorte d'entête... Avoir une "convention" pour chaque scène. Et ainsi faire la recherche sur ces éléments...
-
oui oui je viens de comprendre... étrange comme méthode mais fonctionnelle par contre si l'on veut l'utiliser dans plusieurs scène, il faut changer le texte... donc pas si générique que ça !
-
aaaah ok ! I just understand it ! yes, ok, not stupid and it works... but strange
-
hi @jang ! how are you ? but what is that ???