Skip to content

Latest commit

 

History

History
140 lines (88 loc) · 2.5 KB

documentation.md

File metadata and controls

140 lines (88 loc) · 2.5 KB

/api/web-login/token – POST

grant_type password
client_id Emos
client_secret 56951025
username admin
Password {password}

RETURN – JSON

access_token <token> string
expires_id <expire-time> int
token_type Bearer

When requesting api send Authorization Header with Bearer Token requested here:


Get smart meter config as protobuf

/api/data-transfer/protobuf/gdr/local/config/smart-meter – GET

RETURN – PROTOBUF

Not yet researched unknown

Get smart meter system details

/api/device-settings/devicestatus – GET

RETURN – JSON

CpuLoad Int
CpuTemp Int
FlashAppFree long
FlashAppTotal long
FlashDataFree long
FlashDataTotal long
RamFree Int
RamTotal Int
Status String <e.g. idle>

Get smart meter system real-time-stats

ws:// <host> /api/data-transfer/ws/protobuf/gdr/local/values/smart-meter – WEBSOCKET

Socket messages are binary PROTOBUF!

Structure not yet researched todo

Get smart meter tarif data

/api/tariffs/contract – GET

RETURN JSON

version 1 int
currency <currency> Shorthand string
days Json obj
Key Value
<uuid> hours" array (24 length)

| | monthly_base_fee | Int | | tariffs | JSON obj

Key Value
<uuid>
label String
obis String
source String
weekdays Array (uuids)

|

|


Get smart meter tarif detail data (further research needed)

/api/tariffs/data/<uuid>/1642719600/1642805999 – GET

<time_from>/<time_to>

RETURN JSON ARRAY

time Int
diff Int
price int

Get smart meter modbus infos

/api/modbus/<config/presets/groups/sensors> – GET

RETURN JSON

FURTHER RESEARCH NEEDED


Get smart meter system info

/api/device-settings – GET

RETURN JSON

FURTHER RESEARCH NEEDED


Get smart meter network info

/api/device-settings/network – GET

RETURN JSON

FURTHER RESEARCH NEEDED****