Jump to content

Netatmo Weather Station VD-scene standalone 3.2

   (3 reviews)

1 Screenshot

About This File

Netatmo Weather Station VD-scene standalone

 

INTRODUCTION

Netatmo Weather station VD-scene 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

  • 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

 

PACKAGE CONTENT

  • Netatmo Indoor Base module VD (main)
  • 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
  • User manual EN

 

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.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:

1014755462_NetatmoWeatherstationVD-scenev3.0.thumb.png.5ba88dd1df33551b8a9bae0a92095cb5.png

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

Sankotronic

 


What's New in Version 3.2   See changelog

Released

CHANGELOG

  • Corrected rain sensor code in scene to properly get data for different periods.
  • Corrected some bugs in scene code for calculation for different units of measurement
  • Improved updating code in main loop of Netatmo Indoor Main Base module
  • Added checking of CO2 reading for indoor modules to properly update data if measuring of CO2 is not available due to calibration

 

UPGRADE PROCEDURE

  • Delete old version of Main base module and Additional indoor module and replace with new ones.
  • Replace scene with new one and restore your setup.
  • If after upgrade you notice any strange behavior during updating then just delete NetatmoMain global variable and Indoor Main Base module will rebuild it. 

 

  • Like 18
  • Thanks 8

User Feedback

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


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 comment
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 comment
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 comment
×
×
  • Create New...