Netatmo thermostat support Topic is solved

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

sbebrone
Posts: 2
Joined: Wednesday 11 November 2015 7:15
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Netatmo thermostat support

Post by sbebrone »

Tested and approved as well.
Just one thing that doesn't seem to work: I cannot set a setpoint through an event?

Image
User avatar
Westcott
Posts: 423
Joined: Tuesday 09 December 2014 17:04
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: UK - Glos
Contact:

Re: Netatmo thermostat support

Post by Westcott »

This also doesn't seem to work for my STELLAZ....
Zwave - Sigma Z+ stick, Fibaro, Horstmann, Neo Coolcam, EUROtronic
RFlink - IR detectors and temperatures
Wifi - YeeLights, ESP32s, Anoop sockets
Zigbee - lots with zigbee2mqtt and ZbBridge
course66
Posts: 28
Joined: Monday 10 August 2015 23:51
Target OS: Raspberry Pi / ODroid
Domoticz version: V2.3202
Location: Italy
Contact:

Re: Netatmo thermostat support

Post by course66 »

Hi,
since more or less one month all netatmo sensors (both weather station and thermostat) loose the connection in domoticz (while they properly upload data on netatmo server). Only way to have back the sensors is to stop and restart domoticz but ...after few hours sensors got lost again.
Screen Shot 2015-12-21 at 22.01.58.jpg
Screen Shot 2015-12-21 at 22.01.58.jpg (99.28 KiB) Viewed 8181 times
PS: I'm running mydomoticz version
fabd
Posts: 11
Joined: Friday 15 January 2016 11:21
Target OS: -
Domoticz version:
Contact:

Re: Netatmo thermostat support

Post by fabd »

Hi,

I was looking for a topic like this one

I have 2 versions of Domoticz (RPI and Windows, both last version when i write)

Under the Windows version, Netatmo thermostat is viewed
but Under the RPI, it seems to be not implemented

Is there a specific reason ? when will the next version of RPI domoticz be released ? with the implementation ?

Thanks
User avatar
deejc
Posts: 168
Joined: Tuesday 22 September 2015 18:50
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5641
Location: UK
Contact:

Re: Netatmo thermostat support

Post by deejc »

HI i just got a Netatmo Thermostat and was looking for Domoticz support, i am on RPI but i so not see Netatmo Thermostat, i am using Netatmo Weather so i i already see the Netatmo hardware entry with my username and password

Domoticz reports version 2.4351
Domoticz 3.5641 on RPI (Raspbian GNU/Linux 8)
User avatar
deejc
Posts: 168
Joined: Tuesday 22 September 2015 18:50
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5641
Location: UK
Contact:

Re: Netatmo thermostat support

Post by deejc »

i just enabled "Accept new Hardware Devices" and turned the Thermostat up and down via the iPhone app and it showed up in Domoticz!
Domoticz 3.5641 on RPI (Raspbian GNU/Linux 8)
course66
Posts: 28
Joined: Monday 10 August 2015 23:51
Target OS: Raspberry Pi / ODroid
Domoticz version: V2.3202
Location: Italy
Contact:

Re: Netatmo thermostat support

Post by course66 »

Hi,

I did installed from zero, both the operating system (noobs) and domoticz (from source), but domoticz still loose connection to all netatmo devices. Please notice that device values are properly stored in netatmo server and accessibile via app. In order to let domoticz see the devices again I need to stop and restart the service.
screenshot1.png
screenshot1.png (249 KiB) Viewed 7991 times
any idea how to solve this issue?

thanks and ciao,
gabriele
User avatar
deejc
Posts: 168
Joined: Tuesday 22 September 2015 18:50
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5641
Location: UK
Contact:

Re: Netatmo thermostat support

Post by deejc »

I set mine (in hardware) if no response in 15 minutes it restarts the worker

Image


Sent from my iPhone using Tapatalk
Domoticz 3.5641 on RPI (Raspbian GNU/Linux 8)
Pierryck
Posts: 24
Joined: Saturday 27 February 2016 20:39
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Netatmo thermostat support

Post by Pierryck »

After the Domoticz update, there're back.
woody4165
Posts: 476
Joined: Monday 14 March 2016 13:55
Target OS: Linux
Domoticz version: beta
Location: Rome, Italy
Contact:

Re: Netatmo thermostat support

Post by woody4165 »

Hi

Just understood how to use the actual temp and the setpoint and away mode in the fromtpage.html.
I made it like this:

Image

Two things are I need to be clarified.

1) The actual temp does not show decimal, but it's rounded. How can I show them up, since in the devices list it shows decimal?
2) The setpoint does not update correctly a lot of times.

I have set the Data Timeout in the definition of the Netatmo at 5 minutes.
If I set the therm away, it should change the setpoint, but it will change on the screen only when the timing of the Data Connection is reached.
Is there any other way to sync the setpoint faster?

Thanks
Woody
Cubietruck - Linux cubietruck 4.13.16 (Debian GNU/Linux 8 (jessie)) + Domoticz + RFLink, Xiaomi Gateway, Owl USB, Yeelight Color and B/W, ESP8266, Broadlink RM2, Netatmo Thermostat
woody4165
Posts: 476
Joined: Monday 14 March 2016 13:55
Target OS: Linux
Domoticz version: beta
Location: Rome, Italy
Contact:

Re: Netatmo thermostat support

Post by woody4165 »

Hi

solved the two request of previous post.
The decimal was not showing up due to a misconfiguration of the type.
The setpoint not updating I solved defining a Data Timeout of 5 minutes.

One other thing is if there is a way to know if the boiler is on or off, like in the Netatmo app.

Thanks
Cubietruck - Linux cubietruck 4.13.16 (Debian GNU/Linux 8 (jessie)) + Domoticz + RFLink, Xiaomi Gateway, Owl USB, Yeelight Color and B/W, ESP8266, Broadlink RM2, Netatmo Thermostat
jumping
Posts: 14
Joined: Tuesday 19 July 2016 14:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.9227
Location: Italy
Contact:

Re: Netatmo thermostat support

Post by jumping »

Hello,
Is Netatmo a valid thermostat? Or do you suggest other products like Nest, Momit or Tado?
Thanks
Domoticz + Mysensors 2.0 ESP8266 GW + RFlink + Philips Hue 2.0 + Netatmo Thermostat
jmleglise
Posts: 192
Joined: Monday 12 January 2015 23:27
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: FRANCE
Contact:

Re: Netatmo thermostat support

Post by jmleglise »

I 'm very happy with the Netatmo thermostat. (I have a gaz heating)

The native application (Web, ios, android) are very good. (graph, planning, monthly report ...).
The algorithm is state of the art (Anticipate the heating, according to the inertia of your house and the wheather)
The integration in domoticz works well.
The installation is easy (several mode included between relay wired of wireless ...)

And the company is growing : camera, weather station.

Perfect for me.
My script : https://github.com/jmleglise
RFXTRX433E: Blind Somfy RTS, Portal Somfy Evolvia, chacon IO, Oregon, PIR sensor PT2262
My Last project : Location de vacances a Ouistreham vue mer
KMTronic USB relay
Chinese Z-WAVE: Neo CoolCam
User avatar
BazsoDombiAndras
Posts: 56
Joined: Thursday 08 January 2015 9:52
Target OS: Raspberry Pi / ODroid
Domoticz version: v4.10717
Location: Cluj-Napoca, Romania
Contact:

Re: Netatmo thermostat support

Post by BazsoDombiAndras »

Feature request: please implement support in Domoticz for the "Frost-guard mode" of the Netatmo thermostat.

Domoticz currently provides a switch device for the "Away mode", but there is no switch device for the "frost-guard mode" of the Netatmo thermostat. Can you please add it similarly to the Away mode switch?

Reproduced with version 3.6334 of Domoticz.

Thank you!
User avatar
gizmocuz
Posts: 2478
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Netatmo thermostat support

Post by gizmocuz »

This is a program state... you should be able to do this via a JSon command

looking in the netatmo.cpp file you can see:

CNetatmo::SetProgramState

0= program
1= away
2= hg (frost-guard)
3= off

json command is 'thermostatstate'

a bit googling found

/json.htm?type=command&param=thermostatstate&idx=28&state=3

idx = idx of thermostat sensor
Quality outlives Quantity!
User avatar
BazsoDombiAndras
Posts: 56
Joined: Thursday 08 January 2015 9:52
Target OS: Raspberry Pi / ODroid
Domoticz version: v4.10717
Location: Cluj-Napoca, Romania
Contact:

Re: Netatmo thermostat support

Post by BazsoDombiAndras »

Wow! I did not know that the thermostat switch could have more than two (on/off) states!
Million thanks, gizmocuz!
User avatar
BazsoDombiAndras
Posts: 56
Joined: Thursday 08 January 2015 9:52
Target OS: Raspberry Pi / ODroid
Domoticz version: v4.10717
Location: Cluj-Napoca, Romania
Contact:

Re: Netatmo thermostat support

Post by BazsoDombiAndras »

Hmm, strange thing.. doing this via JSON does not seem to work. In the Domoticz log I do see that the user initiated a thermostat change command, but nothing really happens, the state of the device remains unchanged. If I toggle the switch with same idx form UI, it works. It also does not seem to work from lua...

In lua this works:

Code: Select all

commandArray['Thermostat Away']='On'
This also works:

Code: Select all

commandArray['Thermostat Away']='Off'
But his does nothing:

Code: Select all

commandArray['Thermostat Away']='2'
Where the "Thermostat Away" is the switch which can be toggled from the UI to turn on/off the away mode for the Netatmo thermostat.

In JSON you can give any value to thermostatstate, nothing happens:

Code: Select all

/json.htm?type=command&param=thermostatstate&idx=99&state=2
You can try state=On, state=Off, state=0, state=1, state=2, state=3, the Domoticz log shows that the user initiated a set thermostat command and it even says that it's setting the thermostat, but nothing happens, the thermostat remains in its previous mode...

Code: Select all

2017-01-22 23:53:31.946 User: user initiated a Thermostat State change command
2017-01-22 23:53:31.946 Setting Thermostat State....
The browser shows a success response:

Code: Select all

{
   "status" : "OK",
   "title" : "Set Thermostat State"
}
User avatar
BazsoDombiAndras
Posts: 56
Joined: Thursday 08 January 2015 9:52
Target OS: Raspberry Pi / ODroid
Domoticz version: v4.10717
Location: Cluj-Napoca, Romania
Contact:

Re: Netatmo thermostat support

Post by BazsoDombiAndras »

I've tried this from LUA:

Code: Select all

commandArray[0]={['UpdateDevice']='ThermostatDeviceIdx|1|17.5'}
The setpoint temperature is modified to 17.5 degrees as requested, but the thermostat state is not modified to Away as requested.
It seems that changing the thermostat state from LUA or JSON does not work at all.
woody4165
Posts: 476
Joined: Monday 14 March 2016 13:55
Target OS: Linux
Domoticz version: beta
Location: Rome, Italy
Contact:

Re: Netatmo thermostat support

Post by woody4165 »

Hi all

just returning to this old 3d to understand if it's possible to integrate the Netatmo HW with a device that tells if the relay is On or Off.
The /api.netatmo.com/api/getthermostatsdata returns a "therm_relay_cmd" in the {devices} section. This has a value of "0" for Off and I see "100" for On. I don't know if this is documented anywhere. The fact that the "ON" value is not a "1" might mean it is bit-encoded to say why it is On.
So the status should be, "0" equal to Off, different than "0" should be On.

I've customized the script found in this 3d like this and I get the proper value.
Don't know if it can be of interested of anyone else except me.

Code: Select all

#!/bin/bash
#request token
curl -s -d "grant_type=password&client_id=123456&client_secret=1234567890&[email protected]&password=anypwd&scope=read_thermostat write_thermostat" "https://api.netatmo.net/oauth2/token" >/tmp/netatmo_token
#extract token values
access=`jq -r '.access_token' /tmp/netatmo_token`
refresh=`jq -r '.refresh_token' /tmp/netatmo_token`
#use token to request data
curl -s -d "access_token=$access&device_id=xx:xx:xx:xx:xx:xx" "https://api.netatmo.net/api/getthermostatsdata" >/tmp/netatmo_data
relay=`jq -r '[.body.devices[].modules[].therm_relay_cmd] | unique | .[]' /tmp/netatmo_data`
echo "$relay"

Thanks
Cubietruck - Linux cubietruck 4.13.16 (Debian GNU/Linux 8 (jessie)) + Domoticz + RFLink, Xiaomi Gateway, Owl USB, Yeelight Color and B/W, ESP8266, Broadlink RM2, Netatmo Thermostat
pipiche
Posts: 2005
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Netatmo thermostat support

Post by pipiche »

I have a Netatmo Thermostat Valve, but I don't see the sensors/interrupter coming in Domoticz. Anything special to do ?
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest