Invalid zone type

The Netatmo API is a set of webservices allowing developers and third parties to access Netatmo device's data.
Post Reply
antechrestos
Posts: 11
Joined: 27 Jan 2015, 11:38

Invalid zone type

Post by antechrestos » 30 Aug 2017, 15:27

Hi,

According to the documentation( https://dev.netatmo.com/en-US/resources ... t#schedule), the zone type is supposed to be an ID between 0 and 5. Yet, I have some users that have a zone type of 8.
Could you please update the documentation?

Code: Select all

             devices": [
            {
                "_id": "70:ee:50:1a:bf:5e",
                "firmware": 150,
                "last_setup": 1503993815,
                "last_status_store": 1504097970,
                "plug_connected_boiler": 0,
                "type": "NAPlug",
                "wifi_status": 33,
                "modules": [
                    {
                        "_id": "04:00:00:1a:cc:9e",
                        "type": "NATherm1",
                        "firmware": 59,
                        "last_message": 1504097964,
                        "rf_status": 33,
                        "battery_vp": 4762,
                        "therm_orientation": 2,
                        "therm_relay_cmd": 0,
                        "anticipating": false,
                        "module_name": "Thermostat",
                        "battery_percent": 100,
                        "last_therm_seen": 1504097964,
                        "setpoint": {
                            "setpoint_mode": "program"
                        },
                        "therm_program_list": [
                            {
                                "zones": [
                                    {
                                        "type": 0,
                                        "id": 0,
                                        "temp": 19
                                    },
                                    {
                                        "type": 1,
                                        "id": 1,
                                        "temp": 16
                                    },
                                    {
                                        "type": 8,
                                        "id": 3,
                                        "temp": 19
                                    },
                                    {
                                        "type": 5,
                                        "id": 4,
                                        "temp": 16
                                    },
                                    {
                                        "type": 2,
                                        "id": 2,
                                        "temp": 12
                                    },
                                    {
                                        "type": 3,
                                        "id": 5,
                                        "temp": 7
                                    }
                                ],
                                "timetable": [
                                   ...
                                ],
                                "name": "Standard",
                                "program_id": "59a51fd7ac34a5d93f8b6eac",
                                "selected": true
                            }
                        ],
                        "measured": {
                            "time": 1504097448,
                            "temperature": 24.7,
                            "setpoint_temp": 16
                        }
                    }
                ],
                "station_name": "Relais",
                "place": {
                    "altitude": 0,
                    "city": "Bagneux",
                    "country": "FR",
                    "location": [
                        2.2950662,
                        48.7994785
                    ],
                    "timezone": "Europe/Paris"
                },
                "udp_conn": true,
                "last_plug_seen": 1504097970
            }
Thank you.

Ben

Post Reply

Return to “Netatmo API”