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 21
  • Thanks 11


User Feedback

You may only provide a review once you have downloaded the file.


Ibie

   2 of 2 members found this review helpful 2 / 2 members

@michu25

Hi there, i think you dindt install "Emoji VD standalone 1.1" from Sankotronic.

This is why your VD's look empty

I forgot to install it too ;-)

 

 

Link to review
CastorF1

   0 of 1 member found this review helpful 0 / 1 member

Hello

Great job

Unfortunately I have  a problem with several Netatmo Virtual device .Every  night  after  midnight  I receive  a Message from Fibaro with lua error for each Netatmo device for exampleGabinet (? ) [id: 682(7)]
[ ERROR ] 00:09:28: line 75: bad argument #4 to \\\\\\\'format\\\\\\\' (string expected, got nil)

I have the HC2 with last firmware

 

Thank you for your help

Link to review
loopez

   0 of 1 member found this review helpful 0 / 1 member

Hello, setting up went ok but still I have error in main scene: 

 

[DEBUG] 00:11:10: 2019-08-24 00:11:10.808135 [ fatal] Unknown exception: /opt/fibaro/scenes/8.lua:101: attempt to concatenate local 'room' (a nil value)

 

can you assist?

Response from the author:

Hi @loopez,

 

Just move all devices from Unassigned room to some other room and error should not occur again. Thank you for reporting. Will correct that for next release.

Link to review
MarkusG

   3 of 4 members found this review helpful 3 / 4 members

Hi Sankotronic,

I´m a fan of your VDs. Everything is very good explained, so that even i can use the VDs.

But right now i have got a question:  

I would like to use Information of the global Variable "NetatmoWeather".

Right now i use this LUA code in a scene:

 

local nT = json.decode(fibaro:getGlobalValue("NetatmoWeather")) -- read global variable 
local stationNo = 1  -- set station number 
local d_Rain = wT.netatmo[stationNo].rain.day 

fibaro:debug(d_Rain)

 

But in the debug is written:

[fatal] Unknown exeption: /opt/Fibaro/scenes/179.lua:10:attempt to index global `wT`(a nil value)

 

I would be very happy if you can help me, because i want to use this parameter to decide if i have to water the garden.

 

Thanks for your support

Response from the author:

Hi @MarkusG,

 

Thank you for the review.

 

Regarding the error in your code change this line of code:

local nT = json.decode(fibaro:getGlobalValue("NetatmoWeather")) -- read global variable

to be like this:

local wT = json.decode(fibaro:getGlobalValue("NetatmoWeather")) -- read global variable

I checked user manual ant there is a typo in examples how to read values from global variable. Local variable is named nT and should be wT. Sorry for the inconvenience.

Link to review
×
×
  • Create New...