@datafire/netatmo
v6.0.0
Published
DataFire integration for Netatmo
Downloads
13
Readme
@datafire/netatmo
Client library for Netatmo
Installation and Usage
npm install --save @datafire/netatmo
let netatmo = require('@datafire/netatmo').create({
access_token: "",
refresh_token: "",
client_id: "",
client_secret: "",
redirect_uri: ""
});
.then(data => {
console.log(data);
});
Description
Actions
oauthCallback
Exchange the code passed to your redirect URI for an access_token
netatmo.oauthCallback({
"code": ""
}, context)
Input
- input
object
- code required
string
- code required
Output
- output
object
- access_token
string
- refresh_token
string
- token_type
string
- scope
string
- expiration
string
- access_token
oauthRefresh
Exchange a refresh_token for an access_token
netatmo.oauthRefresh(null, context)
Input
This action has no parameters
Output
- output
object
- access_token
string
- refresh_token
string
- token_type
string
- scope
string
- expiration
string
- access_token
addwebhook
Links a callback url to a user.
netatmo.addwebhook({
"url": "",
"app_type": ""
}, context)
Input
- input
object
- url required
string
: Your webhook callback url - app_type required
string
: Webhooks are only available for Welcome, enter app_camera.
- url required
Output
- output NAWelcomeWebhookResponse
createnewschedule
The method createnewschedule creates a new schedule stored in the backup list.
netatmo.createnewschedule({
"device_id": "",
"module_id": "",
"therm_program": null
}, context)
Input
- input
object
- device_id required
string
: The relay id - module_id required
string
: The thermostat id - therm_program required NAThermProgram
- device_id required
Output
- output NANewScheduleResponse
devicelist
The method devicelist returns the list of devices owned by the user, and their modules. A device is identified by its _id (which is its mac address) and each device may have one, several or no modules, also identified by an _id.
netatmo.devicelist({}, context)
Input
- input
object
- app_type
string
(values: app_thermostat, app_station): Defines which device type will be returned by devicelist. It could be app_thermostat or app_station (by default if not provided) - device_id
string
: Specify a device_id if you want to retrieve only this device informations. - get_favorites
boolean
: When set to "true", the favorite devices of the user are returned. This flag is available only if the devices requested are Weather Stations.
- app_type
Output
- output NADeviceListResponse
dropwebhook
Dissociates a webhook from a user.
netatmo.dropwebhook({
"app_type": ""
}, context)
Input
- input
object
- app_type required
string
: For Welcome, use app_camera
- app_type required
Output
- output NAWelcomeWebhookResponse
getcamerapicture
Returns the snapshot associated to an event.
netatmo.getcamerapicture({
"image_id": "",
"key": ""
}, context)
Input
- input
object
- image_id required
string
: id of the image (can be retrieved as 'id' in 'face' in Gethomedata, or as 'id' in 'snapshot' in Getnextevents, Getlasteventof and Geteventsuntil) - key required
string
: Security key to access snapshots.
- image_id required
Output
- output
string
geteventsuntil
Returns the snapshot associated to an event.
netatmo.geteventsuntil({
"home_id": "",
"event_id": ""
}, context)
Input
- input
object
- home_id required
string
: ID of the Home you're interested in - event_id required
string
: Your request will retrieve all the events until this one
- home_id required
Output
- output NAWelcomeEventResponse
gethomecoachsdata
The method gethomecoachsdata Returns data from a user Healthy Home Coach Station (measures and device specific data).
netatmo.gethomecoachsdata({}, context)
Input
- input
object
- device_id
string
: Id of the device you want to retrieve information of
- device_id
Output
gethomedata
Returns information about users homes and cameras.
netatmo.gethomedata({}, context)
Input
- input
object
- home_id
string
: Specify if you're looking for the events of a specific Home. - size
integer
: Number of events to retrieve. Default is30
.
- home_id
Output
- output NAWelcomeHomeDataResponse
getlasteventof
Returns most recent events.
netatmo.getlasteventof({
"home_id": "",
"person_id": ""
}, context)
Input
- input
object
- home_id required
string
: ID of the Home you're interested in - person_id required
string
: Your request will retrieve all events of the given home until the most recent event of the given person - offset
integer
: Number of events to retrieve. Default is 30.
- home_id required
Output
- output NAWelcomeEventResponse
getmeasure
The method getmeasure returns the measurements of a device or a module.
netatmo.getmeasure({
"device_id": "",
"scale": "",
"type": []
}, context)
Input
- input
object
- device_id required
string
: Id of the device whose module's measurements you want to retrieve. This _id can be found in the user's devices field. - module_id
string
: If you don't specify any module_id you will retrieve the device's measurements. If you specify a module_id you will retrieve the module's measurements. - scale required
string
(values: max, 30min, 1hour, 3hours, 1day, 1week, 1month): Defines the time interval between two measurements. - type required
array
: Measures you are interested in. Data you can request depends on the scale. - date_begin
integer
: Starting timestamp (utc) of the requested measurements. - date_end
string
: Ending timestamp (utc) of the request measurements. - limit
integer
: Limits the number of measurements returned (default & max is 1024) - optimize
boolean
: Allows you to choose the format of the answer. - real_time
boolean
: In scales higher than max, since the data is aggregated, the timestamps returned are by default offset by +(scale/2).
- device_id required
Output
- output NAMeasureResponse
getnextevents
Returns previous events.
netatmo.getnextevents({
"home_id": "",
"event_id": ""
}, context)
Input
- input
object
- home_id required
string
: ID of the Home you're interested in - event_id required
string
: Your request will retrieve events occured before this one - size
integer
: Number of events to retrieve. Default is 30.
- home_id required
Output
- output NAWelcomeEventResponse
getpublicdata
Retrieves publicly shared weather data from Outdoor Modules within a predefined area.
netatmo.getpublicdata({
"lat_ne": 0,
"lon_ne": 0,
"lat_sw": 0,
"lon_sw": 0
}, context)
Input
- input
object
- lat_ne required
integer
: Latitude of the north east corner of the requested area. -85 <= lat_ne <= 85 and lat_ne>lat_sw - lon_ne required
integer
: Longitude of the north east corner of the requested area. -180 <= lon_ne <= 180 and lon_ne>lon_sw - lat_sw required
integer
: Latitude of the south west corner of the requested area. -85 <= lat_sw <= 85 - lon_sw required
integer
: Longitude of the south west corner of the requested area. -180 <= lon_sw <= 180 - required_data
array
: To filter stations based on relevant measurements you want (e.g. rain will only return stations with rain gauges). Default is no filter. You can find all measurements available on the Thermostat page. - filter
boolean
: True to exclude stations with abnormal temperature measures. Default is false.
- lat_ne required
Output
- output NAPublicDataResponse
getstationsdata
The method getstationsdata Returns data from a user's Weather Stations (measures and device specific data).
netatmo.getstationsdata({}, context)
Input
- input
object
- device_id
string
: Id of the device you want to retrieve information of - get_favorites
boolean
: Whether to include the user's favorite Weather Stations in addition to the user's own Weather Stations
- device_id
Output
- output NAStationDataResponse
getthermostatsdata
The method getthermostatsdata returns information about user's thermostats such as their last measurements.
netatmo.getthermostatsdata({}, context)
Input
- input
object
- device_id
string
: Id of the device you want to retrieve information of
- device_id
Output
- output NAThermostatDataResponse
getthermstate
The method getthermstate returns the last Thermostat measurements, its current weekly schedule, and, if present, its current manual temperature setpoint.
netatmo.getthermstate({
"device_id": "",
"module_id": ""
}, context)
Input
- input
object
- device_id required
string
: The relay id - module_id required
string
: The thermostat id
- device_id required
Output
- output NAThermStateResponse
getuser
The method getuser returns information about a user such as prefered language, prefered units, and list of devices.
netatmo.getuser(null, context)
Input
This action has no parameters
Output
- output NAUserResponse
partnerdevices
The method partnerdevices returns the list of device_id to which your partner application has access to.
netatmo.partnerdevices(null, context)
Input
This action has no parameters
Output
- output NAPartnerDevicesResponse
setpersonsaway
Sets a person as 'Away' or the Home as 'Empty'. The event will be added to the user’s timeline.
netatmo.setpersonsaway({
"home_id": ""
}, context)
Input
- input
object
- home_id required
string
: ID of the Home you're interested in - person_id
string
: If a person_id is specified, that person will be set as 'Away'. If no person_id is specified, the Home will be set as 'Empty'.
- home_id required
Output
- output NAWelcomePersonsAwayResponse
setpersonshome
Sets a person as 'At home'.
netatmo.setpersonshome({
"home_id": "",
"person_ids": ""
}, context)
Input
- input
object
- home_id required
string
: ID of the Home you're interested in - person_ids required
string
: List of persons IDs
- home_id required
Output
- output NAWelcomePersonsHomeResponse
setthermpoint
The method setthermpoint changes the Thermostat manual temperature setpoint.
netatmo.setthermpoint({
"device_id": "",
"module_id": "",
"setpoint_mode": ""
}, context)
Input
- input
object
- device_id required
string
: The relay id - module_id required
string
: The thermostat id - setpoint_mode required
string
(values: program, away, hg, manual, off, max): Chosen setpoint_mode - setpoint_endtime
integer
: When using the manual or max setpoint_mode, this parameter defines when the setpoint expires. - setpoint_temp
number
: When using the manual setpoint_mode, this parameter defines the temperature setpoint (in Celcius) to use.
- device_id required
Output
- output NAOkResponse
switchschedule
The method switchschedule switches the Thermostat's schedule to another existing schedule.
netatmo.switchschedule({
"device_id": "",
"module_id": "",
"schedule_id": ""
}, context)
Input
- input
object
- device_id required
string
: The relay id - module_id required
string
: The thermostat id - schedule_id required
string
: The schedule id. It can be found in the getthermstate response, under the keystherm_program_backup
andtherm_program
.
- device_id required
Output
- output NAOkResponse
syncschedule
The method syncschedule changes the Thermostat weekly schedule.
netatmo.syncschedule({
"device_id": "",
"module_id": "",
"therm_program": null
}, context)
Input
- input
object
- device_id required
string
: The relay id - module_id required
string
: The thermostat id - therm_program required NAThermProgram
- device_id required
Output
- output NAOkResponse
Definitions
NADashboardData
- NADashboardData
object
- AbsolutePressure
number
: Real measured pressure @ time_utc (in mb) - BoilerOff
integer
- BoilerOn
integer
- CO2
number
: Last Co2 measured @ time_utc (in ppm) - GustAngle
integer
: Direction of the last 5 min highest gust wind - GustStrength
integer
: Speed of the last 5 min highest gust wind - Humidity
number
: Last humidity measured @ time_utc (in %) - Noise
number
: Last noise measured @ time_utc (in db) - Pressure
number
: Last Sea level pressure measured @ time_utc (in mb) - Rain
number
: Last rain measured (in mm) - Temperature
number
: Last temperature measure @ time_utc (in °C) - WindAngle
integer
: Current 5 min average wind direction measured @ time_utc (in °) - WindStrength
integer
: Current 5 min average wind speed measured @ time_utc (in km/h) - date_max_temp
integer
: Timestamp when max temperature was measured - date_max_wind_str
integer
: Timestamp when max wind strength was measured - date_min_temp
integer
: Timestamp when min temperature was measured - device_id
number
- health_idx
integer
: Current health index: 0 = Healthy, 1 = Fine, 2 = Fair, 3 = Poor, 4 = Unhealthy - max_temp
number
: Min temperature of the day (measured @ date_min_temp) - max_wind_str
integer
- min_temp
number
: Max temperature of the day (measured @ date_max_temp) - pressure_trend
string
: Pressure evolution trend - sum_rain_1
number
: Amount of rain in last hour - sum_rain_24
number
: Amount of rain today - temp_trend
string
: Temperature evolution trend - time_utc
integer
- AbsolutePressure
NADate
- NADate
object
- sec
integer
- usec
integer
- sec
NADevice
- NADevice
object
- _id
string
- behavior
integer
- cipher_id
string
- dashboard_data NADashboardData
- data_type
array
- items
string
- items
- date_setup NADate
- firmware
integer
- first_pid_avail
boolean
- heating_system NAHeatingSystem
- house_model NAHouseModel
- hw_version
integer
- ip
string
- last_fw_update
integer
- last_radio_store
integer
- last_status_store
integer
- last_upgrade
integer
- module_name
string
- modules
array
: It lists which modules are linked with this device- items
string
- items
- new_feature_avail
boolean
- place NAPlace
- public_ext_data
boolean
- setpoint
object
- setpoint_default_duration
integer
- setpoint_order
object
- station_name
string
- therm_program
object
- therm_program_backup
object
- therm_program_order
object
- type
string
: Included in every device or module. It defines the type of the device/module. Its values are among : - udp_conn
boolean
- user_owner
array
- items
string
- items
- wifi_status
integer
: It contains the current wifi status. The different thresholds to take into account are
- _id
NADeviceListBody
NADeviceListResponse
- NADeviceListResponse
object
- body NADeviceListBody
- status
string
- time_exec
number
- time_server
integer
NAHealthyHomeCoach
- NAHealthyHomeCoach
object
- _id
string
- cipher_id
string
- co2_calibrating
boolean
- dashboard_data NADashboardData
- data_type
array
- items
string
- items
- date_setup
integer
- firmware
integer
- last_setup
integer
- last_status_store
integer
- last_upgrade
integer
- name
string
- place NAPlace
- type
string
: Included in every device or module. It defines the type of the device/module. Its values are among : - wifi_status
integer
: It contains the current wifi status. The different thresholds to take into account are
- _id
NAHealthyHomeCoachDataBody
- NAHealthyHomeCoachDataBody
object
- devices
array
- items NAHealthyHomeCoach
- user NAUser
- devices
NAHealthyHomeCoachDataResponse
- NAHealthyHomeCoachDataResponse
object
- body NAHealthyHomeCoachDataBody
- status
string
- time_exec
number
- time_server
integer
NAHeatingSystem
- NAHeatingSystem
object
- heating_energy
string
- heating_system_window_seen
boolean
- heating_energy
NAHouseModel
- NAHouseModel
object
- algo_type
string
- ca NAHouseModelCa
- ext_temps
object
- first_anticipate_avail
boolean
- first_pid_avail
boolean
- gefs NAStation
- in_use
string
- last_compute_try NADate
- link_station NALinkStation
- pid_algo NAPidAlgo
- prefered_algo_type
string
- simple_algo NASimpleAlgo
- station NAStation
- station_firsttime_anticipate
boolean
- time NADate
- time_algo_changed
integer
- time_pid_computed
integer
- algo_type
NAHouseModelCa
- NAHouseModelCa
object
- so
string
- te
number
- ti
integer
- so
NALinkStation
- NALinkStation
object
- Temperature
number
- ext
string
- mac
string
- Temperature
NAMain
- NAMain
object
- _id
string
- cipher_id
string
- co2_calibrating
boolean
- dashboard_data NADashboardData
- data_type
array
- items
string
- items
- date_setup
integer
- favorite
boolean
: true when the device is a user favorite and not owned by them - firmware
integer
- last_setup
integer
- last_status_store
integer
- last_upgrade
integer
- module_name
string
- modules
array
- items NAStationModule
- place NAPlace
- reachable
boolean
: true when the station was seen by the Netatmo cloud within the last 4 hours - read_only
boolean
: true when the user was invited to (or has favorited) a station, false when the user owns it - station_name
string
- type
string
: Included in every device or module. It defines the type of the device/module. Its values are among : - wifi_status
integer
: It contains the current wifi status. The different thresholds to take into account are
- _id
NAMeasure
- NAMeasure
object
- gust_angle
number
- gust_strength
number
- rain_24h
number
- rain_60min
number
- rain_live
number
- rain_utc
integer
- type
array
- items
string
- items
- wind_angle
number
- wind_strength
number
- wind_timeutc"
integer
- gust_angle
NAMeasureBodyElem
- NAMeasureBodyElem
object
- beg_time
integer
- step_time
integer
- value
array
- items
array
- items
number
- items
- items
- beg_time
NAMeasureResponse
- NAMeasureResponse
object
- body
array
- items NAMeasureBodyElem
- status
string
- time_exec
number
- time_server
integer
- body
NAModule
- NAModule
object
- _id
string
- battery_percent
integer
: It contains the current battery level in percentage. - battery_vp
integer
: It contains the current battery status. The threshold depends on the kind of module, below is the list of the different threshold to take into account according the module type. - dashboard_data NADashboardData
- data_type
array
- items
string
- items
- date_setup NADate
- firmware
integer
- last_message
integer
- last_seen
integer
- main_device
string
- module_name
string
- public_ext_data
boolean
- rf_status
integer
: "It contains the current radio status. The different thresholds to take into account are :" | - therm_orientation
integer
- therm_relay_cmd
integer
- type
string
: Included in every device or module. It defines the type of the device/module. Its values are among :
- _id
NANewScheduleBody
- NANewScheduleBody
object
- schedule_id
string
: Id of the schedule. It can be use with the method "switchschedule"
- schedule_id
NANewScheduleResponse
- NANewScheduleResponse
object
- body NANewScheduleBody
- status
string
- time_exec
number
- time_server
integer
NAObject
- NAObject
object
- $id
string
- $id
NAOkResponse
- NAOkResponse
object
- body
string
- status
string
- time_exec
number
- time_server
integer
- body
NAPartnerDevicesResponse
- NAPartnerDevicesResponse
object
- body
array
- items
string
- items
- status
string
- time_exec
number
- time_server
integer
- body
NAPidAlgo
- NAPidAlgo
object
- gain
integer
- period
integer
- td
integer
- ti
integer
- gain
NAPlace
- NAPlace
object
- altitude
number
- city
string
- country
string
- from_ip
boolean
- improveLocProposed
boolean
- location
array
- items
number
- items
- timezone
string
- trust_location
boolean
- altitude
NAPlug
- NAPlug
object
- _id
string
- firmware
integer
- last_bilan NAYearMonth
- last_plug_seen
integer
- last_status_store
integer
- modules
array
- items NAThermostat
- place NAPlace
- plug_connected_boiler
integer
- station_name
string
- syncing
boolean
- type
string
: Included in every device or module. It defines the type of the device/module. Its values are among : - udp_conn
boolean
- wifi_status
integer
: It contains the current wifi status. The different thresholds to take into account are
- _id
NAPublicData
- NAPublicData
object
- _id
string
: id of the station - mark
integer
- measures
object
- module_types
object
: Latest measurements of the station, organized by module - modules
array
- items
string
- items
- place NAPlace
- _id
NAPublicDataResponse
- NAPublicDataResponse
object
- body
array
- items NAPublicData
- status
string
- time_exec
number
- time_server
integer
- body
NASetpoint
- NASetpoint
object
- setpoint_endtime
integer
- setpoint_mode
string
- setpoint_temp
number
- setpoint_endtime
NASetpointLog
- NASetpointLog
object
- setpoint NASetpoint
- timestamp
integer
NASimpleAlgo
- NASimpleAlgo
object
- high_deadband
integer
- high_deadband
NAStation
- NAStation
object
- lag_down
integer
- lag_up
integer
- off_overshoot
number
- on_overshoot
number
- pk
integer
- tau
integer
- lag_down
NAStationDataBody
NAStationDataResponse
- NAStationDataResponse
object
- body NAStationDataBody
- status
string
- time_exec
number
- time_server
integer
NAStationModule
- NAStationModule
object
- _id
string
- battery_percent
integer
: It contains the current battery level in percentage. - battery_vp
integer
: It contains the current battery status. The threshold depends on the kind of module, below is the list of the different threshold to take into account according the module type. - dashboard_data NADashboardData
- data_type
array
- items
string
- items
- firmware
integer
- last_message
integer
- last_seen
integer
- last_setup
integer
- module_name
string
- reachable
boolean
: true when the station was seen by the Netatmo cloud within the last 4 hours - rf_status
integer
: "It contains the current radio status. The different thresholds to take into account are :" | - type
string
: Included in every device or module. It defines the type of the device/module. Its values are among :
- _id
NAThermMeasure
- NAThermMeasure
object
- setpoint_temp
number
- temperature
number
- time
integer
- setpoint_temp
NAThermProgram
- NAThermProgram
object
- name
string
- program_id
string
- selected
boolean
- timetable
array
- items NATimeTableItem
- zones
array
- items NAZone
- name
NAThermStateBody
- NAThermStateBody
object
- battery_percent
integer
: It contains the current battery level in percentage. - battery_vp
integer
- last_plug_seen
integer
- last_therm_seen
integer
- measured NAThermMeasure
- plug_connected_boiler
integer
- rf_status
integer
- setpoint NASetpoint
- setpoint_order NASetpoint
- therm_orientation
integer
- therm_program NAThermProgram
- therm_program_backup
array
- items NAThermProgram
- therm_program_order NAThermProgram
- therm_relay_cmd
integer
- udp_conn
boolean
- wifi_status
integer
- battery_percent
NAThermStateResponse
- NAThermStateResponse
object
- body NAThermStateBody
- status
string
- time_exec
number
- time_server
integer
NAThermostat
- NAThermostat
object
- _id
string
- battery_percent
integer
: It contains the current battery level in percentage. - battery_vp
integer
: It contains the current battery status. The threshold depends on the kind of module, below is the list of the different threshold to take into account according the module type. - firmware
integer
- last_message
integer
- last_therm_seen
integer
- measured NAThermMeasure
- module_name
string
- rf_status
integer
: "It contains the current radio status. The different thresholds to take into account are :" | - setpoint NASetpoint
- setpoint_history
array
: The last 20 setpoints (mode, endtime, and timestamp) the thermostats has entered.- items NASetpointLog
- setpoint_order NASetpoint
- therm_orientation
integer
- therm_program_list
array
: List of the weekly heating planning used by the thermostat- items NAThermProgram
- therm_relay_cmd
integer
- type
string
: Included in every device or module. It defines the type of the device/module. Its values are among :
- _id
NAThermostatDataBody
NAThermostatDataResponse
- NAThermostatDataResponse
object
- body NAThermostatDataBody
- status
string
- time_exec
number
- time_server
integer
NATimeTableItem
- NATimeTableItem
object
- id
integer
- m_offset
integer
- id
NAUser
- NAUser
object
- _id
string
- administrative NAUserAdministrative
- date_creation NADate
- devices
array
: An array of string containing the ids of the devices owned by the user- items
string
- items
- friend_devices
array
: An array of string containing the ids of the devices on which the user has a "guest" access- items
string
- items
- mail
string
- timeline_not_read
integer
- timeline_size
integer
- _id
NAUserAdministrative
- NAUserAdministrative
object
- country
string
: user country - feel_like_algo
string
: algorithm used to compute feel like temperature, 0 -> humidex, 1 -> heat-index - lang
string
: user locale - pressureunit
string
: 0 -> mbar, 1 -> inHg, 2 -> mmHg - reg_locale
string
: user regional preferences (used for displaying date) - unit
string
: 0 -> metric system, 1 -> imperial system - windunit
string
: 0 -> kph, 1 -> mph, 2 -> ms, 3 -> beaufort, 4 -> knot
- country
NAUserResponse
- NAUserResponse
object
- body NAUser
- status
string
- time_exec
number
- time_server
integer
NAWelcomeCamera
- NAWelcomeCamera
object
- alim_status
string
: If power supply is ok (on/off) - id
string
: Id of the camera - is_local
boolean
: Only for scope access_camera. If Camera and application requesting the information are on the same IP (true/false) - light_mode_status
string
(values: on, off, auto): State of (flood-)light - name
string
: Name of the camera - sd_status
string
: If SD card status is ok (on/off) - status
string
: If camera is monitoring (on/off) - type
string
: Type of the camera - vpn_url
string
: Only for scope access_camera. Address of the camera
- alim_status
NAWelcomeEvent
- NAWelcomeEvent
object
- camera_id
string
: Camera that detected the event - category
string
(values: human, animal, vehicle): Type of the detected object. - event_list
array
- items NAWelcomeSubEvent
- id
string
: Identifier of the event - is_arrival
boolean
: If person was considered away before being seen during this event - message
string
: User facing event description - person_id
string
: Id of the person the event is about (if any) - snapshot NAWelcomeSnapshot
- sub_type
integer
: Subtypes of SD and Alim events. Go to Welcome page for further details. - time
integer
: Time of occurence of event - type
string
: Type of events. Go to the Welcome page for further details. - video_id
string
: Identifier of the video - video_status
string
: Status of the video (recording, deleted or available)
- camera_id
NAWelcomeEventData
- NAWelcomeEventData
object
- events_list
array
- items NAWelcomeEvent
- events_list
NAWelcomeEventResponse
- NAWelcomeEventResponse
object
- body NAWelcomeEventData
- status
string
- time_exec
number
- time_server
integer
NAWelcomeFace
- NAWelcomeFace
object
- id
string
: Id of the face. - key
string
: Key for this face to use in getcamerapicture. - version
integer
: Version of the face if user changed their photo.
- id
NAWelcomeGlobalInfo
- NAWelcomeGlobalInfo
object
- show_tags
boolean
: show tags
- show_tags
NAWelcomeHome
- NAWelcomeHome
object
- cameras
array
- items NAWelcomeCamera
- events
array
- items NAWelcomeEvent
- id
string
: Id of the home. - modules
array
- items NAWelcomeModule
- name
string
: Name of the home - persons
array
- items NAWelcomePerson
- place NAWelcomePlace
- cameras
NAWelcomeHomeData
- NAWelcomeHomeData
object
- global_info NAWelcomeGlobalInfo
- homes
array
- items NAWelcomeHome
- user NAWelcomeUser
NAWelcomeHomeDataResponse
- NAWelcomeHomeDataResponse
object
- body NAWelcomeHomeData
- status
string
- time_exec
number
- time_server
integer
NAWelcomeModule
- NAWelcomeModule
object
- battery_percent
integer
: remaining battery percentage - id
string
: mac address of the module - last_activity
integer
: Timestamp of last move detected by the module - name
string
: name of the module (given by the user) - rf
string
: Radio status - status
string
: status of the module - type
string
: NACamDoorTag for tags
- battery_percent
NAWelcomePerson
- NAWelcomePerson
object
- face NAWelcomeFace
- id
string
: Id of the person. - last_seen
integer
: Time at which the person was last seen. - out_of_sight
boolean
: True if the Person is out of sight. - pseudo
string
: Name of the person, if pseudo is missing, person is unknown.
NAWelcomePersonsAwayResponse
- NAWelcomePersonsAwayResponse
object
- status
string
- time_exec
number
- time_server
integer
- status
NAWelcomePersonsHomeResponse
- NAWelcomePersonsHomeResponse
object
- status
string
- time_exec
number
- time_server
integer
- status
NAWelcomePlace
- NAWelcomePlace
object
- city
string
: City of the home. - country
string
: Country of the home. - timezone
string
: Timezone of the home.
- city
NAWelcomeSnapshot
- NAWelcomeSnapshot
object
- id
string
: Id of the snapshot. - key
string
: Key for this snapshot. - version
integer
: Version of the snapshot.
- id
NAWelcomeSubEvent
- NAWelcomeSubEvent
object
- id
string
: Identifier of the sub event - message
string
: User facing sub event description - offset
integer
- snapshot NAWelcomeSnapshot
- time
integer
: Time of occurence of the sub event - type
string
(values: human, animal, vehicle): Type of the detected object.
- id
NAWelcomeUser
- NAWelcomeUser
object
- lang
string
: user locale - reg_locale
string
: user regional preferences (used for displaying date)
- lang
NAWelcomeWebhookResponse
- NAWelcomeWebhookResponse
object
- status
string
- time_exec
number
- status
NAYearMonth
- NAYearMonth
object
- m
integer
- y
integer
- m
NAZone
- NAZone
object
- id
integer
- name
string
- temp
number
- type
integer
- id