ATAG ONE thermostaat

For heating/cooling related questions in Domoticz

Moderator: leecollings

DanD
Posts: 159
Joined: Saturday 05 March 2016 9:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: UK
Contact:

Re: ATAG ONE thermostaat

Post by DanD »

Hi,

I've had a quick google around about fopen & OSX, but can't really help sorry. What a pain. A random suggestion is to try creating the files yourself with full read/write access and see if this allows the program to write to them successfully. The two key debug files are AtagOne_requesttoken.txt and AtagOne1.txt.

Dan
Windows 7, Raspberry Pi3, Honeywell Evohome Wifi, HGI80 + RFBee(s)
redlob
Posts: 6
Joined: Friday 22 July 2016 11:21
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands
Contact:

Re: ATAG ONE thermostaat

Post by redlob »

Hi Dan,

I've created the 2 files manually but nothing gets written to them.

Maybe it will start working automagically again sometime, no problem :)

Thanks!
redlob
Posts: 6
Joined: Friday 22 July 2016 11:21
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands
Contact:

Re: ATAG ONE thermostaat

Post by redlob »

Hi Dan,

I suspect Atag changed something on their end. There's another project on Github which retrieves data from the thermostat (https://github.com/kozmoz/atag-one-api) in local mode (directly from thermostat) or remote mode (atag portal) which I used a couple of times before but remote mode is now broken for me too. I've been using the remote mode a couple of time in the past without any problems.

Maybe Atag now requires a user-agent or something.

I really like the idea of getting data from the thermostat directly instead of the portal.

Dick
DanD
Posts: 159
Joined: Saturday 05 March 2016 9:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: UK
Contact:

Re: ATAG ONE thermostaat

Post by DanD »

Hi,

I agree and it sounds like switch to local mode commands will be more reliable as the web api seems to keep changing and requiring code updates. I'll be able to take a look at the code properly to see how easy a switch to local access might be when I'm back in 2 weeks time.

Dan
Windows 7, Raspberry Pi3, Honeywell Evohome Wifi, HGI80 + RFBee(s)
DanD
Posts: 159
Joined: Saturday 05 March 2016 9:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: UK
Contact:

Re: ATAG ONE thermostaat

Post by DanD »

Hi,

I'm back after my travels and happy to look into the Atag One problem and get it fixed. I don't have one of the Atag One devices myself so I need someone who's willing to temporarily share their device login details (via PM) so I can troubleshoot and test out fixes.

Dan
Windows 7, Raspberry Pi3, Honeywell Evohome Wifi, HGI80 + RFBee(s)
Masterblaster
Posts: 8
Joined: Monday 12 September 2016 20:12
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: ATAG ONE thermostaat

Post by Masterblaster »

Dan, i just got the atag one installed . And when i connect to it i get the request token error.
I am just beginning with domoticz on a synology and i am happy to give you all the access you need to make this work.
DanD
Posts: 159
Joined: Saturday 05 March 2016 9:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: UK
Contact:

Re: ATAG ONE thermostaat

Post by DanD »

Hi Masterblaster,

Thanks for your message, I've sent you a PM.

Dan
Windows 7, Raspberry Pi3, Honeywell Evohome Wifi, HGI80 + RFBee(s)
someones_domoticz
Posts: 21
Joined: Monday 12 January 2015 23:46
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: ATAG ONE thermostaat

Post by someones_domoticz »

Dan, masterblaster,
Hope you find the problem again.
If you need something/my account, let me know!

Good luck
DanD
Posts: 159
Joined: Saturday 05 March 2016 9:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: UK
Contact:

Re: ATAG ONE thermostaat

Post by DanD »

Yay progress! It's been frustrating trying to troubleshoot the problem as nothing seemed to work, but I've just had a breakthrough! It turns out that the updated AtagOne website doesn't like the fact that Domoticz doesn't report it's USERAGENT value when it sends its CURL request :x. By simply adding the 'CURLOPT_USERAGENT, "libcurl-agent/1.0' option the website now sends its response :D . I've still got a little more work to do to make sure that the search strings are more robust to minimise the chance of further webpage changes breaking the Domoticz code again, but hopefully will have the fix completed in the next few days and can then submit for inclusion in the next beta.

Dan
Windows 7, Raspberry Pi3, Honeywell Evohome Wifi, HGI80 + RFBee(s)
someones_domoticz
Posts: 21
Joined: Monday 12 January 2015 23:46
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: ATAG ONE thermostaat

Post by someones_domoticz »

Magic Dan to the rescue!!!!
User avatar
gizmocuz
Posts: 2350
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: ATAG ONE thermostaat

Post by gizmocuz »

Strange, as in the HTTPClient.cpp/SetGlobalOptions this is set... set to "domoticz/1.0"
Quality outlives Quantity!
DanD
Posts: 159
Joined: Saturday 05 March 2016 9:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: UK
Contact:

Re: ATAG ONE thermostaat

Post by DanD »

Hi Gizmocuz,

Thanks, yes your 100% correct (obviously as it's your code :D ). I wrote my message a little too soon before completing all my checks and I'd missed the fact that it's set in SetGlobalOptions. It looks like the AtagOne server is specifically blocking the 'Domoticz/1.0' client requests :x . Hence, if I use a generic 'libcurl-agent/1.0' string it works. I need to complete some more testing to confirm exactly the acceptable strings and the format required of the subsequent POST requests as these have changed too.

Regards,
Dan
Windows 7, Raspberry Pi3, Honeywell Evohome Wifi, HGI80 + RFBee(s)
DanD
Posts: 159
Joined: Saturday 05 March 2016 9:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: UK
Contact:

Re: ATAG ONE thermostaat

Post by DanD »

All working again thanks to Gizmocuz! The latest beta code on Github contains the AtagOne fix and should find its way into the next beta release pretty soon. Hopefully this time the fix lasts a long, long time.

Thanks for everyone's help with this.

Dan
Windows 7, Raspberry Pi3, Honeywell Evohome Wifi, HGI80 + RFBee(s)
Masterblaster
Posts: 8
Joined: Monday 12 September 2016 20:12
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: ATAG ONE thermostaat

Post by Masterblaster »

Dan,

I installed the latest beta and yes it works.
I get all sorts of data, so i am happy.

One quick question.
Is it only info or can you also change something.
Turn my heating system on/off for example or change the temp setting.
JoHi
Posts: 3
Joined: Friday 13 May 2016 21:21
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: ATAG ONE thermostaat

Post by JoHi »

On my Windows machine it is not working. After installing 'hardware', there is no device at all.

Do I miss something?
someones_domoticz
Posts: 21
Joined: Monday 12 January 2015 23:46
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: ATAG ONE thermostaat

Post by someones_domoticz »

Works for me! All data is back!!
sijones
Posts: 70
Joined: Wednesday 15 October 2014 14:16
Target OS: Linux
Domoticz version: Git
Location: UK
Contact:

Re: ATAG ONE thermostaat

Post by sijones »

I have just started writing another version of this that works locally with the thermostat rather than the website.

I have no expected release time at the moment as it's as and when i get chance to do it, but just so it's known that something is being worked on.

Regards,

Simon
Decyph
Posts: 10
Joined: Monday 07 November 2016 11:43
Target OS: Linux
Domoticz version: 11838
Location: Hoofddorp, NL
Contact:

Re: ATAG ONE thermostaat

Post by Decyph »

Looked at this topic a while back as i have a Domoticz server and an ATAG ONE thermostat.
The link wasn't working before, but i am excited to see if it now works with the new build of Domoticz.

Thanks for all the hard work so far.
I am also curious to see if the local connection to the thermostat will work :)
Decyph
Posts: 10
Joined: Monday 07 November 2016 11:43
Target OS: Linux
Domoticz version: 11838
Location: Hoofddorp, NL
Contact:

Re: ATAG ONE thermostaat

Post by Decyph »

Nice it is working, but i don't think it is possible to edit the set point and feed it back to the thermostat, right?

I edited the temperature and updated it, but it seems just to be a visual thing and won't send anything to the ATAG.

I would love to be able to make events where if the temperature in another room drops, domoticz tells the thermostat to heat up to a certain set point, hopefully with the heaters in the living room closed :). Basically, create a poor mans evohome.
Decyph
Posts: 10
Joined: Monday 07 November 2016 11:43
Target OS: Linux
Domoticz version: 11838
Location: Hoofddorp, NL
Contact:

Re: ATAG ONE thermostaat

Post by Decyph »

I haven't had any updates in Domoticz since the 14th, did ATAG change anything on the website?
Anyone has the same experience?

EDIT: I disabled the hardware and enabled it again, now it is working.

Would it be possible to read out the modulation % of the burner is that info only visible on the thermostat itself? as is is also not visible on the website.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest