Created At

Dec 10, 2023

Last Update

Jul 01, 2024

Platforms

HC 3 Lite, Yubii Home Pro, Yubii Home, HC 3

Views

1201

Download

184

Type Quick App

Netatmo Weather Station QA standalone v2.0

INTRODUCTION

Netatmo Weather station QA brings complete integration of Netatmo weather station to HC3, HC3Lite and Yubii Home users including rain and wind gauges and support for more than one station.

PREREQUISITES

  • Fibaro HC3, HC3Lite or Yubii Home with firmware 5.150 or greater
  • One or more Netatmo Weather station

FEATURES

  • Complete integration of Netatmo weather station with HC3, HC3Lite and Yubii Home including rain gauge and anemometer
  • Only one QA is needed for any number of Netatmo Weather stations and their included modules.
  • Support for Netatmo weather station main module without outdoor module included
  • Support for maximum 3 additional indoor modules per station
  • Smart update system that follows Netatmo weather station cloud updates
  • Netatmo weather station measurements are shown on child devices added for each measurement of all stations and their modules found
  • QA has built in multi-language support with 32 languages included. QA can use HC selected language or user can select any other available language.

DOWNLOAD PACKAGE CONTENT

  • Netatmo Weather station QA v2.0
  • Netatmo Weather station QA User manual v2.0

INSTALLATION & UPGRADE

Please follow provided user manual.

TERMS AND CONDITIONS

Permission to use, copy, modify and distribute this software and its documentation for educational, research, personal use and non-profit purposes, without fee and without a signed licensing agreement is hereby granted, provided that the copyright notice, with "Terms and conditions" and "Disclaimer" appear in all copies, modifications and distributions. It is strictly forbidden to sell, rent, lease and/or lend this software for profit without prior consent from the Author.

DISCLAIMER

This software is provided by copyright owner "as is" and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the author and distributor be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.

Fibaro a Nice company and their employees are not responsible for support of this QA. Please contact the author Sankotronic, on the Fibaro Forum, for any questions or support required.

VERSION HISTORY

  • 1.1 - first public release as open source. 
  • 2.0 - changes in this release:
  1. Changed license from open source to donationware.
  2. QA type is changed from general to weather provider and therefore it can be now selected as default weather provider to update HC weather (except weather condition)
  3. Added variable auto_name which is by default set to value false and main QA will not
    change child devices to default names, but will keep names set by user.
  4. Added variable connection which value is set by QA depending on the connection status. If connection to Netatmo servers is OK then variable is set to value true. If there is problem with connection, e.g. refresh token is not valid anymore or there is no
    internet connection etc. then variable is set to value false.
  5. Adjusted authentication process to the latest changes done by Netatmo. User need to
    add app under My apps section on Netatmo connect and will be provided with client id and client secret needed for refreshing tokens. Also, refresh token can be then generated and pasted to the QA variable. The QA is now monitoring validity time of the access token and refreshes it only when is needed.
  6. Added QA icons setup variable main_icon. If set to 1 then QA will not set main QA and child devices icons so user can setup icons manually. If user import all 17 icons and then setup first imported icon ID to this variable then main QA and child devices icons will be set as soon as the QA is restarted. In case icons are setup then child devices for CO2, wind and gusts speed and rain will also change icons to reflect current measurements.
  7. QA is now checking if option "Use the new views in mobile application" is set adjusts HTML tags for labels accordingly.

LOOK & FEEL

Enjoy coding and your new Netatmo weather station QA! :-)

Sankotronic

 

5 Comments,  Want to add comment please login
E3b9636d47cefa804114a8fc2079cb68

Hello Zoran, it seems to work. Thank you very much. Both for the directing, but also your great QA!

C14be64ddb0849c435c468f148df94b7

Hello Peter, I will do some changes to the code in the near future. Workaround to stop updating names is to comment out line 127 in the function parseDashboardData() which makes call to function self:updateChildName(child,name). This can be found in app.lua.

E3b9636d47cefa804114a8fc2079cb68

Hello, The device names updates each time new data is downloaded. Can you point the in the right direction in the code where this can be manipulated? It is not ideal in my setup that the room name from Netatmo is included in the device name.

C14be64ddb0849c435c468f148df94b7

Hello FU unnamed, it is possible, but not without changing code. Still, there is no use of updating more frequently since station updates its data every 10 minutes. This QA gets time when station is last updated and then updates just 10 minutes after last update and gets fresh data. In case that station did not update after 10 minutes then QA checks for new updates more frequently until data is updated from station.

E523637f0fb5899e78b06b0ed4f75933

hi, for NETATMO WEATHER STATION it is possible to update the measurements with less time? every 3 minutes for example?

Load more comments
© 2024. Nice-Polska Sp. z o.o.Privacy policyTerms & ConditionsFeedback