Requesting websocket data - davidm-glitch/home-assistant-eheim-digital GitHub Wiki
CCV
Request
{
"title": "REQ_CCV",
"to": "<MAC_ADDRESS>",
"from": "USER"
}
Response
{
"title": "CCV",
"from": "<MAC_ADDRESS>",
"currentValues": [
1,
0,
0
],
"to": "USER"
}
Acclimate
Request{
"title": "GET_ACCL",
"to": "<MAC_ADDRESS>",
"from": "USER"
}
Response
{
"title": "ACCLIMATE",
"from": "<MAC_ADDRESS>",
"duration": 30,
"intensityReduction": 50,
"currentAcclDay": 0,
"acclActive": false,
"pause": false,
"to": "USER"
}
DYCL
Request
{
"title": "GET_DYCL",
"to": "<MAC_ADDRESS>",
"from": "USER"
}
Response
{
"title": "DYCL",
"from": "<MAC_ADDRESS>",
"configuration": [
[
0,
0,
0,
0
],
[
900,
0,
0,
0
],
[
960,
100,
100,
100
],
[
1260,
100,
100,
100
],
[
1320,
0,
0,
0
],
[
1440,
0,
0,
0
]
],
"to": "USER"
}
Moon
Request
{
"title": "GET_MOON",
"to": "<MAC_ADDRESS>",
"from": "USER"
}
Response
{
"title": "MOON",
"from": "<MAC_ADDRESS>",
"maxmoonlight": 40,
"minmoonlight": 10,
"moonColor": [
0,
68,
75
],
"moonlightActive": true,
"moonlightCycle": true,
"to": "USER"
}
Cloud
Request
{
"title": "GET_CLOUD",
"to": "<MAC_ADDRESS>",
"from": "USER"
}
Response
{
"title": "CLOUD",
"from": "<MAC_ADDRESS>",
"probability": 35,
"maxAmount": 100,
"minIntensity": 60,
"maxIntensity": 100,
"minDuration": 120,
"maxDuration": 600,
"cloudActive": true,
"mode": 2,
"to": "USER"
}
Description
Request
{
"title": "GET_DSCRPTN",
"to": "<MAC_ADDRESS>",
"from": "USER"
}
Response
{
"title": "DSCRPTN",
"from": "<MAC_ADDRESS>",
"description": "confId:7;expMode:false;start:900;end:1320;sunrise:60;sunset:60;intensity:45;individual:true;intensities:100,100,100",
"scene": 0,
"effectDuration": 1440,
"rainbow": 1,
"colors": [
[
0,
173,
192,
33849,
0
],
[
255,
0,
0,
0,
0
]
],
"to": "USER"
}
Eheater data
Request
{
"title": "GET_EHEATER_DATA",
"to": "<MAC_ADDRESS>",
"from": "USER"
}
Response
{
"active": 1,
"alertState": 0,
"dayStartT": 390,
"from": "<MAC_ADDRESS>",
"hystHigh": 5,
"hystLow": 5,
"isHeating": 0,
"isTemp": 268,
"mUnit": 0,
"mode": 0,
"nReduce": -2,
"nightStartT": 1080,
"offset": 0,
"partnerName": "",
"sollTemp": 260,
"sync": "",
"title": "HEATER_DATA",
"to": "USER"
}
Explanation of values
Key | Type | Mode | Meaning |
---|---|---|---|
active |
int |
all | 0 = turned off, 1 = turned on |
alertState |
int |
all | 0 = no alert, ? |
dayStartT |
int |
all | unknown |
from |
string |
all | MAC address of device |
hystHigh |
int |
all | unknown |
hystLow |
int |
all | unknown |
isHeating |
int |
all | 0 = not heating, 1 = heating |
isTemp |
int |
all | currently measured temperature, value / 10 = temperature |
mUnit |
int |
all | unknown |
mode |
int |
all | unknown |
nReduce |
int |
smart |
reduction of temperature at night |
nightStartT |
int |
all | unknown |
offset |
int |
all | unknown |
partnerName |
string |
smart |
Devicename when synced |
sollTemp |
int |
all | target temperature, value / 10 = temperature |
sync |
string |
smart |
partner MAC address |
title |
int |
all | = HEATER_DATA
|
to |
string |
all | = USER
|
Filter data
Request
{
"title": "GET_FILTER_DATA",
"to": "<MAC_ADDRESS>",
"from": "USER"
}
Response
{
"actualTime": 2784,
"dfs": 1375,
"dfsFaktor": 2927,
"end_time_night_mode": 480,
"filterActive": 1,
"freq": 4700,
"freqSoll": 4700,
"from": "<MAC_ADDRESS>",
"isEheim": 0,
"maxFreq": 7500,
"maxFreqRglOff": 8000,
"minFreq": 3500,
"nm_dfs_soll_day": 9,
"nm_dfs_soll_night": 0,
"pm_dfs_soll_high": 7,
"pm_dfs_soll_low": 4,
"pm_time_high": 45,
"pm_time_low": 40,
"pumpMode": 1,
"rotSpeed": 28,
"runTime": 2784,
"serviceHour": 4320,
"sollStep": 8,
"start_time_night_mode": 1200,
"title": "FILTER_DATA",
"to": "USER",
"turnOffTime": 0,
"turnTimeFeeding": 0,
"version": 78
}
Explanation of values
Key | Type | Mode | Meaning |
---|---|---|---|
actualTime |
int |
all | operating time in minutes |
dfs |
int |
all | unknown |
dfsFaktor |
int |
all | unknown |
end_time_night_mode |
int |
bio |
endtime of night, value / 60 = time |
filterActive |
int |
all | 1 = running, 0 = stopped |
freq |
int |
all | current speed, freq / maxFreqRglOff * 100 = value in % |
freqSoll |
int |
all | target speed, freqSoll / maxFreqRglOff * 100 = value in % |
from |
string |
all | MAC address of device |
isEheim |
int |
all | unknown |
maxFreq |
int |
constant , bio , pulse
|
maximum possible freq in these modes (unsure) |
maxFreqRglOff |
int |
manual |
maximum possible freq in this mode (100% power) (unsure) |
minFreq |
int |
constant , bio , pulse
|
minimum possible freq in these modes (unsure) |
nm_dfs_soll_day |
int |
bio |
0 - 10 power setting for day (0 = minFreq , 10 = ?) |
nm_dfs_soll_night |
int |
bio |
0 - 10 power setting for night (0 = minFreq , 10 = ?) |
pm_dfs_soll_high |
int |
pulse |
0 - 10 power setting for high phase (0 = minFreq , 10 = ?) |
pm_dfs_soll_low |
int |
pulse |
0 - 10 power setting for low phase (0 = minFreq , 10 = ?) |
pm_time_high |
int |
pulse |
duration of high phase in s |
pm_time_low |
int |
pulse |
duration of low phase in s |
pumpMode |
int |
all | manual = 16, pulse = 8, bio = 4, constant = 1, calibrating = 24577 or 8193 (other values have been seen as well) |
rotSpeed |
int |
all | unknown |
serviceHour |
int |
all | hours until next cleaning |
sollStep |
int |
all | unknown |
start_time_night_mode |
int |
bio |
starttime of night, value / 60 = time |
title |
string |
all | = FILTER_DATA
|
to |
string |
all | = USER
|
turnOffTime |
int |
all | time in s until automatic turn on after turning off via webinterface |
turnTimeFeeding |
int |
all | unknown, maybe something for connection to autofeeder+ ? |
version |
int |
all | unknown |
PH Data
Request
{
"title": "GET_PH_DATA",
"to": "<MAC_ADDRESS>",
"from": "USER"
}
Response
{
"acclimatization": 0,
"active": 1,
"alertState": 0,
"dayStartT": 450,
"expert": 0,
"from": "<MAC_ADDRESS>",
"hystHigh": 1,
"hystLow": 1,
"isPH": 68,
"kH": 6,
"mode": 1,
"nReduce": -7,
"nightStartT": 1320,
"offset": 0,
"partnerName": "",
"schedule": [
[
450,
70
],
[
1380,
74
]
],
"serviceTime": 58,
"sollPH": 68,
"sync": "",
"title": "PH_DATA",
"valveIsActive": 0
}