ATAG ONE thermostaat

For heating/cooling related questions in Domoticz

Moderator: leecollings

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 »

modulation isn't available to be read at all.
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 »

You are able to read it from the thermostat itself.

Sometimes the information is not coming through anymore, do you guys have the same?
I have to disable the hardware device and enable it again.

PS: has anyone looked at this information about talking to the thermostat directly.
http://juur.link/2015/11/atag-one-app/
http://juur.link/2015/12/atag-one-app-deel-2/
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 the API documentation, unless it's only of the unknown variables in the documentation it's not there to what i read, but am not worried about that at the moment, I want to put together a working plugin first.
MarcoVe
Posts: 2
Joined: Tuesday 05 September 2017 19:27
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: ATAG ONE thermostaat

Post by MarcoVe »

I recently bought an Atag one. Could you help me with connecting te one to Domoticz. I new to this

i don't see anny data? and not show in the list.

Very many thanks, Marco
MarcoVe
Posts: 2
Joined: Tuesday 05 September 2017 19:27
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: ATAG ONE thermostaat

Post by MarcoVe »

This in the log file.

2017-09-06 06:43:49.665 Error: AtagOne: Error getting device_id!

how do a solve this
splug
Posts: 1
Joined: Wednesday 04 October 2017 8:48
Target OS: -
Domoticz version:
Contact:

Re: ATAG ONE thermostaat

Post by splug »

Hi, it is now also possible to read the modulation value from the ATAG One through the rest API. There is a "details" section under "retrieve_reply.report" that contains the key/value pair: "rel_mod_level" that will hold the modulation % as and when the boiler/cv-ketel is heating the house (otherwise it will be 0%). This data, and 20 or so other additional values, can be unlocked by sending the following message to the ATAG One:

Code: Select all

curl -H "Content-Type: application/json" -X POST -d '{ "retrieve_message": { "seqnr": 0, "account_auth": { "user_account": "", "mac_address": "<MAC>" }, "device_id": "6808-.......", "info": 64 } }' http://10.0.0.XX:10000/retrieve
It is the

Code: Select all

"info": 64
piece that unlocks the full "retrieve_reply.report" and "retrieve_reply.report.details" information.

Code: Select all

{ "retrieve_reply":{ "seqnr":0,"status":{"device_id":"6808-.......","device_status":16385,"connection_status":7,"date_time":560373413},"report":{"report_time":560373413,"burning_hours":0.20,"device_errors":"","boiler_errors":"","room_temp":20.6,"outside_temp":14.0,"dbg_outside_temp":22.1,"pcb_temp":25.1,"ch_setpoint":0.0,"dhw_water_temp":28.5,"ch_water_temp":20.6,"dhw_water_pres":0.0,"ch_water_pres":1.6,"ch_return_temp":20.6,"boiler_status":512,"boiler_config":772,"ch_time_to_temp":0,"shown_set_temp":15.0,"power_cons":0,"tout_avg":14.1,"rssi":36,"current":-80,"voltage":3896,"resets":3,"memory_allocation":2800, "details": "boiler_temp":29.7,"boiler_return_temp":29.7,"dhw_flow_rate":0.0,"min_mod_level":21,"rel_mod_level":0,"boiler_capacity":0,"target_temp":15.0,"overshoot":0.000,"max_boiler_temp":85.0,"alpha_used":0.00083,"regulation_state":0,"ch_m_dot_c":0.000,"c_house":0,"r_rad":0.0000,"r_env":0.0000,"alpha":0.00000,"alpha_max":0.00083,"delay":1000,"mu":0.00,"threshold_offs":15.0,"wd_k_factor":1.6,"wd_exponent":1.2,"lmuc_burner_starts":15,"lmuc_burner_hours":0,"lmuc_dhw_hours":0,"KP":36.100,"KI":0.00568}},"acc_status":2} }
When

Code: Select all

"info": 127
is sent as per above curl message, then all output of the ATAG One will be returned in JSON format.
nick86
Posts: 1
Joined: Sunday 05 November 2017 14:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: NL
Contact:

Re: ATAG ONE thermostaat

Post by nick86 »

Sweet, the portal died on me, I can't seem to add my One to my account. I just followed the wifi config wizard like 60 times.

I want to read and send directly to the thermostat, I'm not really good with creating scripts and stuff, how can I use this to create a lua script and add (virtual) devices with the output from the thermostat?

I was using the the thermostat via the portal, and switched my floor heating pump with values read from the thermostat. Since the portal won't work for me any more, so does the floor heating. I want to add zwave controlled radiator knobs to my system, but when the living room where the termostat is, is at temperature, i dont want my pump to be running. I just want my boiler switched on whenever 1 room asks for heat. So far I couldn't send a CH setpoint temperature, that's only accepted from the thermostat.

I hope with the direct control I can realise this.
ivom74
Posts: 52
Joined: Wednesday 03 September 2014 22:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: ATAG ONE thermostaat

Post by ivom74 »

I added the Atag one thermostat to Domoticz. I can see all the sensors. If i change the state of sensor ID for automatic programm On to off nothing happens on the thermostate.
It looks like it only reads the state but changing the settings won't work. Is this possible and what could be the problem?
User avatar
McMelloW
Posts: 427
Joined: Monday 20 November 2017 17:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.1
Location: Harderwijk, NL
Contact:

Re: ATAG ONE thermostaat

Post by McMelloW »

Can I request the Atag One data directly from the device by its deviceIP adres instead of via the website API?
The atag-one.jar made by Kozmoz has this option
Greetings McMelloW
ericvr
Posts: 5
Joined: Tuesday 17 April 2018 9:22
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: ATAG ONE thermostaat

Post by ericvr »

Hi,
My Atag one is working nicely in Domoticz, but after a few hours it will stop working and my log will show these messages,
Error: AtagOne: Invalid/no data received...
When I disable and enable the hardware in domoticz, it will start working again for a few hours.
Do more people experience this? Does anybody have an idea on how to fix this?
I'm running version 3.8153

Thanks in advance,
Eric
User avatar
McMelloW
Posts: 427
Joined: Monday 20 November 2017 17:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.1
Location: Harderwijk, NL
Contact:

Re: ATAG ONE thermostaat

Post by McMelloW »

Code: Select all

2018-04-15 10:52:06.273 Error: AtagOne: Error getting thermostat data!
2018-04-16 11:16:23.830 Error: AtagOne: Error getting target setpoint data!
Every now and then I receive this messages too. I think it has something to do with a hiccup in the connection to your atag-one web-page.
Greetings McMelloW
Frank99
Posts: 1
Joined: Wednesday 26 September 2018 19:58
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: ATAG ONE thermostaat

Post by Frank99 »

Just purchased an Atag One 2.0 thermostat. Domoticz 4.10007 (beta) on Synology. When adding in "hardware" I get a message "problem adding hardware". Any suggestions?
fredcorn
Posts: 1
Joined: Monday 29 October 2018 11:33
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: ATAG ONE thermostaat

Post by fredcorn »

Hello,
I am new to Domoticz and I am very enthousiastic about the features!
I added my Atag one and everything works like a charm. Does anybody know if there's a possibility to add also burning hours and modulation to the devices ? They are visible on the Atag portal, but not directly in Domoticz.
pietmulders
Posts: 2
Joined: Friday 02 November 2018 12:18
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: ATAG ONE thermostaat

Post by pietmulders »

Since friday 26 november i have massive problems with the Atag One Thermostat hardware interface in Domoticz!!!
I get problem messages like:
Error: Atag One hardware (6) nothing received for more than 1 Minute!....
Error: Restarting: Atag One
Error: RxQueue: cannot retrieve hardware with id: 6

I still receive thermostat data, but sometimes it just stops until the worker process is restarted...
Also the portal.atag-one.com website sometimes seems very slow.

I rebooted Domoticz, my internet router and even the Atag-One thermostat... Problem still occuring.

Do other Atag-One users experience this at the moment?!
rharmsen
Posts: 4
Joined: Sunday 31 May 2015 18:39
Target OS: -
Domoticz version:
Location: Netherlands

Re: ATAG ONE thermostaat

Post by rharmsen »

@pietmulders
I have got an ATAG One (and ATAG I28EC) installed the 6th of November, and have not yet seen this behavior.

I did have a problem last week, when my internet connection was down for about 2 hours (Maintenance bij ISP)
The current implementation in Domoticz uses the ATAG Portal to retrieve data by scraping pages (as far as I understand the code),and turning this into JSON.

In order to avoid issues with internet connections or the ATAG Portal, best would be to query the ATAG One directly.
The good part is, this can be done.

Just send the following JSON via a POST to port 10000 of the local ATAG One, and you get allot of JSON data in return.

Code: Select all

{
	"retrieve_message": {
		"seqnr": 0,
		"account_auth": {
			"user_account": "",
			"mac_address": "AA:BB:CC:DD:EE:FF"
		},
		"info": 127
	}
}
info:127 might be changed to a more suitable value as with 127 everything is returned (including Wifi Scan, Configuration and Schedule information)


PS: See example JSON output (I removed the Wifi en Schedule information)

Code: Select all

{
    "retrieve_reply": {
        "seqnr": 0,
        "status": {
            "device_id": "XXXX-XXXX-XXXX_XX-XX-XXX-XXX",
            "device_status": 1,
            "connection_status": 7,
            "date_time": 595633942
        },
        "report": {
            "report_time": 595633942,
            "burning_hours": 26.10,
            "device_errors": "",
            "boiler_errors": "",
            "room_temp": 21.1,
            "outside_temp": 5.6,
            "dbg_outside_temp": 24.7,
            "pcb_temp": 23.7,
            "ch_setpoint": 0.0,
            "dhw_water_temp": 30.6,
            "ch_water_temp": 21.1,
            "dhw_water_pres": 0.0,
            "ch_water_pres": 1.8,
            "ch_return_temp": 21.1,
            "boiler_status": 0,
            "boiler_config": 772,
            "ch_time_to_temp": 0,
            "shown_set_temp": 17.0,
            "power_cons": 0,
            "tout_avg": 7.2,
            "rssi": 24,
            "current": 103,
            "voltage": 3895,
            "charge_status": 1,
            "lmuc_burner_starts": 75,
            "dhw_flow_rate": 0.0,
            "resets": 86,
            "memory_allocation": 13776,
            "details": {
                "boiler_temp": 38.1,
                "boiler_return_temp": 35.8,
                "min_mod_level": 22,
                "rel_mod_level": 0,
                "boiler_capacity": 0,
                "target_temp": 17.0,
                "overshoot": 0.000,
                "max_boiler_temp": 85.0,
                "alpha_used": 0.00083,
                "regulation_state": 1,
                "ch_m_dot_c": 1334.722,
                "c_house": 0,
                "r_rad": 0.0022,
                "r_env": 0.0013,
                "alpha": 0.00000,
                "alpha_max": 0.00083,
                "delay": 1000,
                "mu": 0.00,
                "threshold_offs": 7.0,
                "wd_k_factor": 1.5,
                "wd_exponent": 1.3,
                "lmuc_burner_hours": 26,
                "lmuc_dhw_hours": 8,
                "KP": 36.100,
                "KI": 0.00568
            }
        },
        "control": {
            "ch_status": 41,
            "ch_control_mode": 1,
            "ch_mode": 2,
            "ch_mode_duration": 0,
            "ch_mode_temp": 17.0,
            "dhw_temp_setp": 60.0,
            "dhw_status": 13,
            "dhw_mode": 1,
            "dhw_mode_temp": 150.0,
            "weather_temp": 5.6,
            "weather_status": 1,
            "vacation_duration": 0,
            "extend_duration": 0,
            "fireplace_duration": 10800
        },
        "configuration": {
            "report_url": "https://reportprd.atag-one.com:443/api/message",
            "download_url": "http://firmware.atag-one.com:8080/atag_proto_v1",
            "boiler_id": "XXXXXXXXXX",
            "boiler_det_type": 2,
            "language": 0,
            "pressure_unit": 0,
            "temp_unit": 0,
            "time_format": 1,
            "time_zone": 0,
            "summer_eco_mode": 1,
            "summer_eco_temp": 22.0,
            "shower_time_mode": 0,
            "comfort_settings": 0,
            "room_temp_offs": 0.0,
            "outs_temp_offs": 0.0,
            "ch_temp_max": 85.0,
            "ch_vacation_temp": 16.0,
            "start_vacation": 0,
            "wd_k_factor": 1.5,
            "wd_exponent": 1.3,
            "climate_zone": -12.0,
            "wd_temp_offs": 0.0,
            "dhw_legion_day": 7,
            "dhw_legion_time": 195,
            "dhw_boiler_cap": 0,
            "ch_building_size": 2,
            "ch_heating_type": 6,
            "ch_isolation": 2,
            "installer_id": "",
            "disp_brightness": 80,
            "ch_mode_vacation": 604800,
            "ch_mode_extend": 3600,
            "support_contact": "",
            "privacy_mode": 0,
            "ch_max_set": 85.0,
            "ch_min_set": 20.0,
            "dhw_max_set": 65.0,
            "dhw_min_set": 40.0,
            "mu": 0.00,
            "dhw_legion_enabled": 1,
            "frost_prot_enabled": 3,
            "frost_prot_temp_outs": -3.0,
            "frost_prot_temp_room": 10.0,
            "wdr_temps_influence": 4,
            "max_preheat": 1440
        },
        "acc_status": 2,
    }
}
miko1979
Posts: 11
Joined: Friday 29 January 2016 14:00
Target OS: -
Domoticz version:
Contact:

Re: ATAG ONE thermostaat

Post by miko1979 »

Hello,

i was using an Atag one for a long time now, but last week my ATAG thermostat died.I installed a new atag one. I first removed the old atag one from the ATAG one APP, then i added the new Atag one.

The new Atag ONE is now available in the ATAG APP, and also active in the ATAG ONE portal. But sinds that moment domoticz does not get any data.

Then i decided to remove the ATAG from the hardware list in Domoticz, and tried added it again.

But no luck, the log shows: Error: AtagOne: Error getting device_id

Any ideas how to solve this?
olsonn
Posts: 5
Joined: Monday 13 November 2017 19:42
Target OS: Linux
Domoticz version:
Contact:

Re: ATAG ONE thermostaat

Post by olsonn »

Trying to add a brand new Atag one but this plugin is not working. Error adding hardware.
Also tried with a more simple password but no luck
olsonn
Posts: 5
Joined: Monday 13 November 2017 19:42
Target OS: Linux
Domoticz version:
Contact:

Re: ATAG ONE thermostaat

Post by olsonn »

Just send the following JSON via a POST to port 10000 of the local ATAG One, and you get allot of JSON data in return.

Code: Select all

{
	"retrieve_message": {
		"seqnr": 0,
		"account_auth": {
			"user_account": "",
			"mac_address": "AA:BB:CC:DD:EE:FF"
		},
		"info": 127
	}
}
what script are you using in the command field?
wizzard72
Posts: 116
Joined: Friday 20 December 2013 7:45
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: ATAG ONE thermostaat

Post by wizzard72 »

Due to the problems I had with the ATAG One thermostat they replaced the unit. After that I cannot connect to the thermostat from Domoticz, i got the error message "Atag: Invalid/no data received...".

I removed the Atag from the hardware page, restarted domoticz, but still the error. I can login to the Atag One website and I see my new thermostat. So that is working, the username and password are correct.

I found the AtagOne.cpp file on git. I tried this "/Home/Index/6808-1401-3109_15-30-001-544" (with my own hardware number) on the Atag website and it works.

Is there somehow a configuration file on domoticz where the old config is stored? Or any thoughts how to solve this?
wizzard72
Posts: 116
Joined: Friday 20 December 2013 7:45
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: ATAG ONE thermostaat

Post by wizzard72 »

Just did a clean install and its working again
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest