Python script for Netatmo weather station

Python and python framework

Moderator: leecollings

User avatar
krazny
Posts: 27
Joined: Saturday 01 November 2014 23:31
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Netherlands
Contact:

Re: Python script for Netatmo weather station

Post by krazny »

gizmocuz wrote:There is now native support for netatmo in domoticz from the hardware page
.... i'm not sure if the rain gauge is working 100%, maybe someone can look at this...
(Also big thanks to Seb)
Updated a few moments ago and added the Netatmo.
U sir, deserve a medal!

Bare in mind there's a windmeter coming also in the next few weeks. Will this be (automatically) supported?
https://www.netatmo.com/en-US/product/w ... #last-view
Raspberry Pi, Aeon Z-Stick, Fibaro Motion Sensor, 4x Fibaro Wall Plug, 2x Fibaro Dimmer, Netatmo Weatherstation
fwehrle
Posts: 41
Joined: Tuesday 11 February 2014 18:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python script for Netatmo weather station

Post by fwehrle »

Works like a charm. Gg. Thank you.
RFAH
Posts: 15
Joined: Monday 16 March 2015 11:10
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.6395
Location: Netherlands
Contact:

Re: Python script for Netatmo weather station

Post by RFAH »

I also (re)added netatmo and it works nicely. Thanks.
The sign next to the rain gauge looks good, but i'll have to wait for the rain to see if it is working ;)

But i do have a question.
In the wiki (http://www.domoticz.com/wiki/NetatmoWeatherStation),
a screen is shown that you have to fill in a client id, the client secrect, username and password.
I only had to fill in the username and password. There are no fields for the client secret and client id.
Is that changed or is something wrong?
(I do have the "old" netatmo python script still running)
I am currently using domoticz version 2.2622
fwehrle
Posts: 41
Joined: Tuesday 11 February 2014 18:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python script for Netatmo weather station

Post by fwehrle »

Hi,
I just notice that the integrated netatmo hardware is missing noise and co2 sensors. Why?
fwehrle
Posts: 41
Joined: Tuesday 11 February 2014 18:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python script for Netatmo weather station

Post by fwehrle »

fwehrle wrote:Hi,
I just notice that the integrated netatmo hardware is missing noise and co2 sensors. Why?
Sorry. Forget it. Im stupid. :)
panser
Posts: 27
Joined: Thursday 03 April 2014 21:19
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Sandnes / Norway
Contact:

Re: Python script for Netatmo weather station

Post by panser »

gizmocuz wrote:There is now native support for netatmo in domoticz from the hardware page
.... i'm not sure if the rain gauge is working 100%, maybe someone can look at this...
(Also big thanks to Seb)
Thanks a alot! :D - Works perfect!
jordimasmi
Posts: 2
Joined: Saturday 08 August 2015 21:43
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python script for Netatmo weather station

Post by jordimasmi »

RFAH wrote:I also (re)added netatmo and it works nicely. Thanks.
The sign next to the rain gauge looks good, but i'll have to wait for the rain to see if it is working ;)

But i do have a question.
In the wiki (http://www.domoticz.com/wiki/NetatmoWeatherStation),
a screen is shown that you have to fill in a client id, the client secrect, username and password.
I only had to fill in the username and password. There are no fields for the client secret and client id.
Is that changed or is something wrong?
(I do have the "old" netatmo python script still running)
I am currently using domoticz version 2.2622
I've the same problem, using V2.2703, there are no fields for the client secret and client id.
User avatar
krazny
Posts: 27
Joined: Saturday 01 November 2014 23:31
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Netherlands
Contact:

Re: Python script for Netatmo weather station

Post by krazny »

I've the same problem, using V2.2703, there are no fields for the client secret and client id.
Als far als I know domoticz does not need the client secret and client ID. It works just fine without it?
Raspberry Pi, Aeon Z-Stick, Fibaro Motion Sensor, 4x Fibaro Wall Plug, 2x Fibaro Dimmer, Netatmo Weatherstation
jordimasmi
Posts: 2
Joined: Saturday 08 August 2015 21:43
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python script for Netatmo weather station

Post by jordimasmi »

krazny wrote:
I've the same problem, using V2.2703, there are no fields for the client secret and client id.
Als far als I know domoticz does not need the client secret and client ID. It works just fine without it?
Yes, works fine without client secret and client ID, thanks !
User avatar
gizmocuz
Posts: 2363
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Python script for Netatmo weather station

Post by gizmocuz »

RFAH wrote:I also (re)added netatmo and it works nicely. Thanks.
The sign next to the rain gauge looks good, but i'll have to wait for the rain to see if it is working ;)

But i do have a question.
In the wiki (http://www.domoticz.com/wiki/NetatmoWeatherStation),
a screen is shown that you have to fill in a client id, the client secrect, username and password.
I only had to fill in the username and password. There are no fields for the client secret and client id.
Is that changed or is something wrong?
(I do have the "old" netatmo python script still running)
I am currently using domoticz version 2.2622
I removed the wiki, as you now have to provide a simple username/password as with other hardware.
But a big thanks to the initial creator!

Ps. in the last beta update, some code has been modified, and hopefully the rain gauge is now working correctly.
(Unfortunately it is not raining here for the next days... but i tested it when it was)
Quality outlives Quantity!
course66
Posts: 28
Joined: Monday 10 August 2015 23:51
Target OS: Raspberry Pi / ODroid
Domoticz version: V2.3202
Location: Italy
Contact:

Re: Python script for Netatmo weather station

Post by course66 »

I noticed,
I read this morning the wiki page to connect Netatmo to Domoticz; I loaded right now the page to apply it and ...have been deleted! why?
I just remember have to go to Netatmo site for developers and that's all.
Now, what should I do?

thanks and ciao,
gabriele
course66
Posts: 28
Joined: Monday 10 August 2015 23:51
Target OS: Raspberry Pi / ODroid
Domoticz version: V2.3202
Location: Italy
Contact:

Re: Python script for Netatmo weather station

Post by course66 »

wow, very easy. Just need to enter user and password in the hardware section.

One thing (cause I'm not skilled in domoticz): I see the right data in the "Device" list section, but in the "Temperature" and "Weather" section I cannot see any sensor. Could you tell me how to made netatmo sensors appear in such sections?

thanks,
gabriele
course66
Posts: 28
Joined: Monday 10 August 2015 23:51
Target OS: Raspberry Pi / ODroid
Domoticz version: V2.3202
Location: Italy
Contact:

Re: Python script for Netatmo weather station

Post by course66 »

solved, but manual is not very clear in that sense (it says "press the add button" but the add button is an arrow!). However great jobs with Netatmo over Domoticz. Thanks guys.

ciao,
gabriele
Bibikill
Posts: 3
Joined: Sunday 27 December 2015 23:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python script for Netatmo weather station

Post by Bibikill »

Hi all,

I have a problem to get devices in netatmo_settings.xml.
The first steps is OK.
The file token.xml is created.
But when i launch netatmo.py for the first time, the fields "domoticz_dev_id" is empty like the fields domoticz_dev_subtype et domoticz_dev_type in file netatmo_settings.xml.

Best regards.

Nicolas
alfredo
Posts: 21
Joined: Thursday 04 June 2015 21:32
Target OS: Linux
Domoticz version:
Contact:

Re: Python script for Netatmo weather station

Post by alfredo »

Netatmo is built-in to Domoticz now, so there is no need to use this script anymore.
Bibikill
Posts: 3
Joined: Sunday 27 December 2015 23:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python script for Netatmo weather station

Post by Bibikill »

Alfredo,

What is the pocess or different step to include netatmo station?

Nicolas
Bibikill
Posts: 3
Joined: Sunday 27 December 2015 23:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python script for Netatmo weather station

Post by Bibikill »

Oh sorry for this stupid question.

It's too easy !!

Regards
bullrin
Posts: 38
Joined: Friday 29 January 2016 22:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.4403
Location: Germany/BW/Mannheim
Contact:

Re: Python script for Netatmo weather station

Post by bullrin »

I have not yet purchased a Netatmo, but i saw someone has a weather station in my street on the netatmo wheater map. Is there any possiblity to use the data in domoticz? Would be great to save the money :D
joda
Posts: 4
Joined: Sunday 16 October 2016 8:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python script for Netatmo weather station

Post by joda »

There is a way to have battery status and wifi level?
User avatar
emme
Posts: 909
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: Python script for Netatmo weather station

Post by emme »

bullrin wrote:I have not yet purchased a Netatmo, but i saw someone has a weather station in my street on the netatmo wheater map. Is there any possiblity to use the data in domoticz? Would be great to save the money :D
if the user uploads his data to Weatherunderground or OpenWeather... yes.. it is possibile:
go to the site, seek for your position hand hope you found it.

than you can create an API ID and specify the station unique ID ;)

ciao
M
The most dangerous phrase in any language is:
"We always done this way"
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest