Page 2 of 4
Re: Netatmo thermostat support
Posted: Saturday 21 November 2015 9:55
by sbebrone
Tested and approved as well.
Just one thing that doesn't seem to work: I cannot set a setpoint through an event?

Re: Netatmo thermostat support
Posted: Saturday 21 November 2015 12:23
by Westcott
This also doesn't seem to work for my STELLAZ....
Re: Netatmo thermostat support
Posted: Monday 21 December 2015 22:06
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 (99.28 KiB) Viewed 8259 times
PS: I'm running mydomoticz version
Re: Netatmo thermostat support
Posted: Thursday 21 January 2016 17:38
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
Re: Netatmo thermostat support
Posted: Saturday 30 January 2016 22:21
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
Re: Netatmo thermostat support
Posted: Sunday 31 January 2016 0:15
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!
Re: Netatmo thermostat support
Posted: Wednesday 02 March 2016 22:05
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 (249 KiB) Viewed 8069 times
any idea how to solve this issue?
thanks and ciao,
gabriele
Re: Netatmo thermostat support
Posted: Thursday 03 March 2016 11:54
by deejc
I set mine (in hardware) if no response in 15 minutes it restarts the worker
Sent from my iPhone using Tapatalk
Re: Netatmo thermostat support
Posted: Thursday 03 March 2016 17:56
by Pierryck
After the Domoticz update, there're back.
Re: Netatmo thermostat support
Posted: Wednesday 16 March 2016 18:01
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:
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
Re: Netatmo thermostat support
Posted: Friday 18 March 2016 18:27
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
Re: Netatmo thermostat support
Posted: Wednesday 14 September 2016 14:33
by jumping
Hello,
Is Netatmo a valid thermostat? Or do you suggest other products like Nest, Momit or Tado?
Thanks
Re: Netatmo thermostat support
Posted: Tuesday 15 November 2016 22:29
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.
Re: Netatmo thermostat support
Posted: Sunday 22 January 2017 10:33
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!
Re: Netatmo thermostat support
Posted: Sunday 22 January 2017 14:47
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¶m=thermostatstate&idx=28&state=3
idx = idx of thermostat sensor
Re: Netatmo thermostat support
Posted: Sunday 22 January 2017 20:08
by BazsoDombiAndras
Wow! I did not know that the thermostat switch could have more than two (on/off) states!
Million thanks, gizmocuz!
Re: Netatmo thermostat support
Posted: Sunday 22 January 2017 20:46
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¶m=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"
}
Re: Netatmo thermostat support
Posted: Monday 30 January 2017 12:28
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.
Re: Netatmo thermostat support
Posted: Tuesday 31 October 2017 18:13
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
Re: Netatmo thermostat support
Posted: Tuesday 03 April 2018 22:35
by pipiche
I have a Netatmo Thermostat Valve, but I don't see the sensors/interrupter coming in Domoticz. Anything special to do ?