language
keyboard_arrow_up
language

Changelog : NetatmoOpenData

November 2023

  • Code optimization on request for user which hostedApp method
  • Code optimization when token has expired. => less message in Message Center :-)

August 2023

This new version brings only technical optimizations for the link with Netatmo:

  • Jeedom Core 4.2 is a prerequisite. Removal of support for lower versions.
  • Removal of the hourly Cron. No more 16 calls to Netatmo per day.
  • Netatmo SDK no longer required, instead using generic libraries (native in 4.3, embedded here for 4.4).
  • New - additional - authentication method with the application hosted on my server. This new method no longer requires CLIENT_ID and CLIENT_SECRET!
  • Miscellaneous corrections.

July 2023

  • Authentication method changed: “Association” button added. Removed password and e-mail fields. Thanks to @thanaus ❤ for his code snippets.️

July 2022

  • UI improvement, thanks to @Salvialf ❤️

March 2021

  • Add option to remove alert Message, in Message Center.

February 2021

  • Decrease maximum Rain value for widget display. User can customize it without impact during next “Synchronization” ( Thanks @thienell

January 2021

  • Decrease of message sent to ‘Message center’
  • “Synchronization” button remove Commands which values not reachable any more
  • YOUR weather station can be display (lucky guys), only for public data.
  • Add Timeout of 60 min from Jeedom on each Equipment. You can see alert on this page : Analysis > Equipments > Equipments on alert.
  • Reformat code to update values

Big Thanks to Aix-Marseille university (Location : Gap. Licence Pro Internet MIW) which lend me an Netatmo Station to optimize this plugin.

October 2020

  • Add translations

13 june 2020

  • Notification in Message Center when data’s is not reachable

07 june 2020

  • Remove management of additional module, type NAModule4 ( CO2, Température et Humidité )
  • Change update time value, with Netatmo value UTC
  • Code optimization

24 may 2020

  • Adjust widget size on creation
  • Widget’s optimization for V3

23 may 2020

  • Add new data : Gust Strength, Gust Angle, Rain on the last hour and rain for the day

16 may 2020

  • First release in ‘beta’
$(document).ready(function () { var title = 'jeedom-netatmoPublicData'; title = title.replace('plugin-', ''); $('#doc_title').append(title[0].toUpperCase() + title.substring(1)) document.title = 'Documentation Jeedom | ' + title[0].toUpperCase() + title.substring(1) $(".button-collapse").sideNav(); $('meta[name=description]').remove(); $('head').append(''); $('img').addClass('responsive-img'); $('#div_content table').addClass('striped'); init(); var regex = /\/([a-z]{2}_[A-Z]{2})\//g; var corresp = regex.exec(window.location.href) if (corresp !== null && corresp[1]) { $('.sel_lang').val(corresp[1]) } $('select').material_select(); $('.sel_lang').on('change', function () { var regex = /\/([a-z]{2}_[A-Z]{2})\//g; var corresp = regex.exec(window.location.href); var url = window.location.href.replace(corresp[1], $(this).find('option:selected').attr('value')); if (url.endsWith('/')) { url += 'index'; } window.location.href = url; }) $('#bt_up').on('click', function () { window.scrollTo(0, 0); }) $(window).on("orientationchange", function (event) { init(); }); $(window).on("resize", function (event) { init(); }); function init() { $('#div_summary2,#div_summary,#div_summary3').empty(); var titlePlugin = title.charAt(0).toUpperCase() + title.substring(1).toLowerCase() if (window.innerWidth < 992) { $('#div_main').addClass('container'); $('#div_content').toc({ renderIn: "#div_summary2", selectors: 'h1,h2' }); } else { $('#div_main').removeClass('container'); $('#div_content').toc({ renderIn: "#div_summary", selectors: 'h1,h2' }); } $('#div_content').toc({ renderIn: "#div_summary3", selectors: 'h1,h2' }); $('#div_summary #toctitle').html('

' + titlePlugin + '

'); $('#div_summary2 #toctitle').html('

' + titlePlugin + '

'); $('#div_summary3 #toctitle').html('

' + titlePlugin + '

'); $('.toclevel-2').parent().css('color', 'blue'); } var i = 1, j = 1; $('h1, h2', $('#div_content')).each(function () { if ($(this)[0].tagName.toLowerCase() == 'h1') { $('#' + $(this).attr('id')).text(i + ') ' + $(this).text()); i++; } if ($(this)[0].tagName.toLowerCase() == 'h2') { $('#' + $(this).attr('id')).text((i - 1) + '.' + j + ') ' + $(this).text()); j++; } else { j = 1; } }); }); var idChapitre = null, nbrChapitre = 0, idAncre = null; $('#div_content h1, #div_content h2').on('inview', function (event, isInView) { nbrChapitre = $('a.active').length; idAncre = $(this).attr('id'); if (isInView) { $('a[href="#' + idAncre + '"]').addClass('active'); if (idChapitre != null) { $('a[href="#' + idChapitre + '"]').removeClass('active'); idChapitre = null; } } else if (nbrChapitre > 1) { $('a[href="#' + idAncre + '"]').removeClass('active'); } else { idChapitre = idAncre; } $('#div_summary3 a').removeClass('active'); });