Get list of electricity meters

https://api.sciener.com/v3/electricMeter/list

This interface retrieves electricity meters added by the user in the TechHero app, or electricity meters initialized via the initialization lock interface through the app SDK.

For electricity meters added in the TechHero app, please use the app account and password used to add the meter to obtain an access token before calling this interface.

For electricity meters initialized via the cloud-based initialization lock interface, please use the access token of the same user used when initializing the meter.

1 Request example

POST, ContentType:application/x-www-form-urlencoded

2 Request parameters

NameTypeRequiredDescription
clientIdStringYAssigned client_id from created application
accessTokenStringYAccess token, obtain by calling get access token API
dateLongYCurrent time (timestamp, in milliseconds)
groupIdIntNGroup ID
searchStrStringNSearch criteria include searching by meter name and a list of meter IDs.
pageNoIntYPage numbers start from 1
pageSizeIntYNumber of pages per page, maximum 1000

3 Response and example

NameTypeDescription
listJSONObjectList
totalIntTotal number of items

Objects in the list

NameTypeDescription
electricMeterIdIntElectricity meter ID
onlineIntOnline status: 0 - No 1 - Yes
rssiIntSignal strength
onOffIntPower-on status: 0 - No 1 - Yes 2 - Unknown
nameStringElectricity meter name
numberStringElectricity meter number
payModeIntOperating modes: 0 - Energy metering mode; 1 - Prepaid mode
totalKwhStringTotal electricity consumption
remainderKwhStringRemaining battery power
priceStringunit price