Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


Netatmo Weather Station suite standalone 3.4

   (4 reviews)

1 Screenshot

About This File

Netatmo Weather Station suite standalone v3.4

 

INTRODUCTION

Netatmo Weather station suite brings complete integration of Netatmo weather station to HC2 users including rain and wind gauges and support for more than one station.

 

PREREQUISITES

  • Fibaro Home Center 2 with firmware 4.160 or greater

  • Sankotronic Lab. Emoji VD standalone (not required since v3.4)

  • Netatmo Weather station

 

FEATURES

  • Complete integration of Netatmo weather station with HC2 including rain gauge and anemometer

  • Support for multiple Netatmo weather stations

  • Support for maximum 3 additional indoor modules

  • Smart update system that follows Netatmo weather station cloud updates

  • Completely independent installation does not require any more Weather State VD or Main scene FTBE

  • Netatmo weather station measurements can be shown on Weather State VD and HC2 web GUI and mobile applications by means of Weather State VD and Weather

    provider plugin

  • VD has built in multi-language support with 27 languages included (see APPENDIX 1 for the list). VD can use HC selected language or user can select any other available

    language.

  • Easy setup for VD icons (on UHASTM compatible version is this even easier)

  • Global variables are automatically added, monitored and repaired and does not require user intervention

 

INSTALLATION

Please check provided User Manual and video from @MarcoTorino71:

 

PACKAGE CONTENT

  • Netatmo Main module VD
  • Netatmo Outdoor module VD
  • Netatmo Additional indoor module VD
  • Netatmo Wind sensor VD
  • Netatmo Rain sensor VD
  • Netatmo Weather station scene
  • Set of icons for all VD's and scene

 

UPRADE PACKAGE CONTENT

  • Netatmo Main module VD main loop and update button new code
  • Netatmo Outdoor module VD main loop and update button new code
  • Netatmo Additional indoor module VD main loop and update button new code
  • Netatmo Wind sensor VD main loop and update button new code
  • Netatmo Rain sensor VD main loop and update button new code
  • Netatmo Weather station scene

 

NOTE - User manual is now provided as separate download.

 

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.

Fibar Group S.A. and their employees are not responsible for support of the ABC VD. Please contact the author Sankotronic, on the Fibaro Forum, for any questions or support required.

 

VERSION HISTORY

  • 3.4 - Scene code changed to use new Netatmo API grant access by replacing username and password with tokens. All VD's since v3.4 do not need Emoji VD to be installed to work properly.
  • 3.3.1 - Scene code changed to get rain amount for past 3 adn 6 hours to better support Irrigation Control VD. All VD's corrected some translations. Rain gauge VD changed labels content to display last 3 hours rain amount
  • 3.3 - Check below version description or consult User manual for more details
  • 3.2 - Corrected rain sensor code and cleaned some bugs in scene. Indoor modules corrected handling of CO2 measurement, improved updating code.
  • 3.0 – This new version is completely redesigned and made independent. Does not require Main scene FTBE and Weather State VD anymore. Updating is now synced with Netatmo cloud so readings are always up to date.
  • 2.0.2 – Code optimized and resolved some bugs
 

Here is look of the Netatmo Weather set:

2133744657_NetatmoWeatherstationsuite.thumb.png.5ff41148a5091a5a3b2b657b3f7371ad.png

 

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

Sankotronic

 

Edited by Sankotronic
Uploaded new version 3.4


What's New in Version 3.4   See changelog

Released

Changes in version 3.4

  • Scene code changed to use new Netatmo API grant access credentials with access and refresh tokens instead of username and password

  • All VD update buttons removed usage of Emoji database to work without needing to install Emoji VD

  • All VD main loops updated to reflect new version with minor corrections.

 

Upgrade instructions from any previous version to v3.4

  • Please download upgrade package: Netatmo Weather Station suite v3.4 standalone upgrade.zip
  • Paste new scene code over the old one. Reenter credentials and station MAC ID and save. Manually runs scene at least once to save settings. Instructions how to get tokens you can find in user manual.
  • Paste new main loop code on all VD's. Reenter settings and save
  • Paste new Update button code on all VD's and save.
  • Like 22
  • Thanks 10


User Feedback

Recommended Comments



Please tell me where you can download Weather State VD for version 2.0.2. I apparently deleted it, but now there are problems with the variable.

Link to comment
Share on other sites

Hi @Flash226,

 

I recommend that you delete global variables from the old version and then install this latest version 3.3.1

Older versions than 3.0 are not available anymore. Sorry. 

Link to comment
Share on other sites

Hello, first of all, thanks for the plugin, great effort, grat work. Just facing two problems now, maybe i missed something, but can not figure it out 😕

Connection works, VD displays everything without any problems on my HC2 on PC, but becuse it is VD, I can not choose it as primary weather provider, or to choose it to display as a widget on the tablet app which I am using as a wall display to control the FIBARO itself. Did I missed something? I also installed "weather provider" plugin but still can not see VD to pick it up ... Thank you in advance for your advice, Viktor.

Link to comment
Share on other sites

Hi @Biggles_VDP,

 

To have temperature, humidity and wind speed on HC2 home page in upper corner, beside installing Weather provider plugin and Netatmo Weather Station suite you also need to install my Weather State & Forecast suite.

 

When all mentioned is installed then in Weather State main loop setup to use Netatmo weather station as source for some of the available measurements. At the end you will get your local temperature, humidity and wind speed on Fibaro app and Fibaro home page.

 

Also by installing Weather State & Forecast suite you will have nice weather forecast provided, depending of course which weather service you selected to use.

 

Link to comment
Share on other sites

Since yesterday I started receiving following error in the main scene: 

 

[DEBUG] 10:10:09: Standalone Netatmo weather scene version 3.4 - (c) 2018-23 Sankotronic
[DEBUG] 10:10:09: [13.07.23]: Scene run by [904] SA Main module v3.4 in room Vardagsrum
[DEBUG] 10:10:09: 2023-07-13 10:10:09.585991 [ fatal] Unknown exception: /opt/fibaro/scenes/120.lua:78: attempt to concatenate global 'refresh_token' (a nil value)

 

I'm then also bombed with errors from the wing gauge VD: 

A Wind gauge v3.4 (:arrows_counterclockwise: ) [id: 978(7)]
[ ERROR ] 10:09:39: line 41: attempt to call global \'debug\' (a nil value)

 

Any ideas? 

Link to comment
Share on other sites

Hello Sankotronic,

First of all, thank you very much for your work.
After several hours of research to find a VD allowing me to have feedback from my Netatmo station, I installed the standalone Netatmo v3.4
I ask for your help after installing the code below which allows to read the parameters of the global variable NetatmoMain "error debug" see below
Thanks in advance

 

Capture.PNG

Edited by Diuck
Link to comment
Share on other sites

Hello Sankotronic,

After the new NetAtmo API to grant access (and the lack of response from Fibaro to update of the plugin), I found your work a nice alternative.

I followed your manual but nevertheless cannot recuperate the data from NetAtmo in Fibaro HC2. The scene gives the following debug report:

 

image.png.7241e7c45fda5e0d2907acaec9f0d3ce.png

 

Any idea what went wrong ?

 

Thanks in advance !

 

Link to comment
Share on other sites

uou should start the scene by the refresh button on vd.

when scene is run manually you will get this result like the scene is telling you 

Link to comment
Share on other sites

Hi Twannie,

Thanks for your reply!

If I push the refresh button on VD, I still dont get the data. Debug VD gives following error:

 

image.png.881cf8c021ea9445ab2b3fd07214b2f9.png

 

However (as indicated in my previous message) the scene is well present...

Link to comment
Share on other sites

To me it looks like something went in the wrong order when installing
What you can try is delete the global variabeles NetatmoMain and NetatmoWeather
Then run the scene one time manually and try again (the variabeles will be created again when running the scene)

Edited by Twannie
Link to comment
Share on other sites


Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...