-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support HTTPS (Senec App: v825) #3
Comments
This Version is confirmed as working [UPDATED] Just as reminder - all you do, you do on your own risk! WITH the update of your SENEC.Home System - beside the fact that HTTPS has become mandatory - there is a second important issue you should be aware of: STATISTC Data is no longer available - please read all details in this separate issue. How to switch to ha-senec-v3 forkHave in mind in HACS you have to:
Suggested procedure to test:
It might be required, that you make use of SHIFT+RELOAD functionality of your browser in order that the new translation-text will be displayed. The dialog 'should' look like this: Please note, that JUST updating the integration (without configuration of a new device) will NOT work |
ok looks like that in the new build the
So the question is, when you have the original app running, from which fields of the new lala.cgi response the new LIVE data values are read... |
can you paste the API call to put in curl or postman? I just received the https update 2-3 hours ago |
I've checked the files in the component and found the old url to be: is this correct to call the API? Are any additional parameters needed? <html><head><title>Not Found</title></head><body><h1>Not Found</h1><p>Resource `lala.cgi` could not be found.</p></body></html> |
Have in mind when you use postman, that you actually make a POST not a GET to the lala.cgi... as raw request body you can use (and use JSON as ContentType):
|
Ok, got it 😄 here you go, this is the pretty output, only serialnumbers slightly adjusted: {
"BAT1": {
"CEI_LIMIT": "u1_0000",
"DRM0_ASSERT": "u8_00",
"ISLAND_ENABLE": "u8_00",
"NSP2_FW": "u1_00F3",
"NSP_FW": "u1_00F3",
"REQ_HV_UPD": "u8_00",
"REQ_LV_UPD": "u8_00",
"RESET": "u8_00",
"SELFTEST_ACT": [
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000"
],
"SELFTEST_LIMIT": [
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000"
],
"SELFTEST_OFF": [
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000"
],
"SELFTEST_OVERALL_STATE": "u8_00",
"SELFTEST_STATE": [
"u8_00",
"u8_00",
"u8_00",
"u8_00",
"u8_00",
"u8_00",
"u8_00",
"u8_00"
],
"SELFTEST_STEP": [
"st_",
"st_",
"st_",
"st_",
"st_",
"st_",
"st_",
"st_"
],
"SELFTEST_TIME": [
"u1_0000",
"u1_0000",
"u1_0000",
"u1_0000",
"u1_0000",
"u1_0000",
"u1_0000",
"u1_0000"
],
"SERIAL": "st_",
"SPARE_CAPACITY": "u8_00",
"TRIG_ITALY_SELF": "u8_00",
"TYPE": "u8_03"
},
"BAT1OBJ1": {
"COMM": "u8_00",
"I_DC": "fl_3DCCCCCD",
"P": "i1_0000",
"Q": "i1_0000",
"S": "i1_0000",
"SW_VERSION": "u3_00000295",
"SW_VERSION2": "u3_000000F3",
"SW_VERSION3": "u3_000000F3",
"TEMP1": "u1_0016",
"TEMP2": "u1_0016",
"TEMP3": "u1_0018",
"TEMP4": "u1_0000",
"TEMP5": "u1_0000",
"U_DC": "fl_42546666"
},
"BMS": {
"ALARM_STATUS": [
"u1_0000",
"u1_0000",
"u1_0000",
"u1_0000"
],
"BATTERY_STATUS": [
"u1_0000",
"u1_0000",
"u1_0000",
"u1_0000"
],
"BL": [
"u1_30C0",
"u1_30C0",
"u1_30C0",
"u1_30C0"
],
"BMS_READY_FLAG": "u8_01",
"BMS_STATUS": "u8_01",
"BMS_STATUS_TIMESTAMP": "i3_64EF4187",
"CELL_BALANCE_STATUS": [
"u1_0000",
"u1_0000",
"u1_0000",
"u1_0000"
],
"CELL_TEMPERATURES_MODULE_A": [
"i8_17",
"i8_18",
"i8_19",
"i8_18",
"i8_19",
"i8_18"
],
"CELL_TEMPERATURES_MODULE_B": [
"i8_17",
"i8_18",
"i8_18",
"i8_18",
"i8_19",
"i8_18"
],
"CELL_TEMPERATURES_MODULE_C": [
"i8_19",
"i8_1A",
"i8_1A",
"i8_19",
"i8_1A",
"i8_19"
],
"CELL_TEMPERATURES_MODULE_D": [
"i8_19",
"i8_1A",
"i8_1A",
"i8_1A",
"i8_1B",
"i8_1A"
],
"CELL_VOLTAGES_MODULE_A": [
"u1_0EE8",
"u1_0EE5",
"u1_0EE3",
"u1_0EE5",
"u1_0EE5",
"u1_0EE4",
"u1_0EE1",
"u1_0EE0",
"u1_0EE3",
"u1_0EE5",
"u1_0EE4",
"u1_0EE3",
"u1_0EE5",
"u1_0EE8"
],
"CELL_VOLTAGES_MODULE_B": [
"u1_0EE8",
"u1_0EE6",
"u1_0EE5",
"u1_0EE5",
"u1_0EE5",
"u1_0EE4",
"u1_0EE4",
"u1_0EE0",
"u1_0EE5",
"u1_0EE4",
"u1_0EE5",
"u1_0EE5",
"u1_0EE5",
"u1_0EE8"
],
"CELL_VOLTAGES_MODULE_C": [
"u1_0EE8",
"u1_0EE4",
"u1_0EE5",
"u1_0EE5",
"u1_0EE5",
"u1_0EE5",
"u1_0EE3",
"u1_0EE0",
"u1_0EE5",
"u1_0EE4",
"u1_0EE5",
"u1_0EE5",
"u1_0EE5",
"u1_0EE8"
],
"CELL_VOLTAGES_MODULE_D": [
"u1_0EEA",
"u1_0EE7",
"u1_0EE6",
"u1_0EE6",
"u1_0EE6",
"u1_0EE7",
"u1_0EE5",
"u1_0EE1",
"u1_0EE6",
"u1_0EE7",
"u1_0EE6",
"u1_0EE7",
"u1_0EE8",
"u1_0EE9"
],
"CHARGED_ENERGY": [
"u3_12A6DDCF",
"u3_129954B0",
"u3_0976E6D3",
"u3_12812BEF"
],
"CHARGE_CURRENT_LIMIT": [
"fl_40C00000",
"fl_40C00000",
"fl_40C00000",
"fl_40C00000"
],
"COMMERRCOUNT": "u1_0000",
"CURRENT": [
"fl_BCF5C28F",
"fl_BCA3D70A",
"fl_BCF5C28F",
"fl_BC23D70A"
],
"CYCLES": [
"u1_0025",
"u1_0026",
"u1_0025",
"u1_0026"
],
"DERATING": "u8_00",
"DISCHARGED_ENERGY": [
"u3_174DE28F",
"u3_174C36AE",
"u3_17633A99",
"u3_170C77C3"
],
"DISCHARGE_CURRENT_LIMIT": [
"fl_C1400000",
"fl_C1400000",
"fl_C1400000",
"fl_C1400000"
],
"ERROR": "u8_00",
"FAULTLINECOUNT": "u1_0001",
"FW": [
"u1_9AD5",
"u1_9AD5",
"u1_9AD5",
"u1_9AD5"
],
"HW_EXTENSION": [
"u1_0002",
"u1_0002",
"u1_0002",
"u1_0002"
],
"HW_MAINBOARD": [
"u1_0BBA",
"u1_0BBA",
"u1_0BBA",
"u1_0BBA"
],
"MANUFACTURER": "u8_02",
"MAX_CELL_VOLTAGE": [
"u1_0EE8",
"u1_0EE8",
"u1_0EE8",
"u1_0EEA"
],
"MAX_TEMP": "i1_010E",
"MIN_CELL_VOLTAGE": [
"u1_0EE0",
"u1_0EE0",
"u1_0EE0",
"u1_0EE1"
],
"MIN_TEMP": "i1_00E6",
"MODULES_CONFIGURED": "u8_04",
"MODULE_COUNT": "u8_04",
"NOM_CHARGEPOWER_MODULE": "fl_441C4000",
"NOM_DISCHARGEPOWER_MODULE": "fl_449C4000",
"NR_INSTALLED": "u8_04",
"PROTOCOL": "u1_0000",
"RECOVERLOCKED": "u8_00",
"SERIAL": [
"st_",
"st_",
"st_",
"st_"
],
"SN": [
"u3_029FB6DF",
"u3_029FB6E0",
"u3_029FB6DE",
"u3_029FB6C0"
],
"SOC": [
"u1_0042",
"u1_0043",
"u1_0042",
"u1_0043"
],
"SOH": [
"u8_63",
"u8_63",
"u8_63",
"u8_63"
],
"START_SELFTEST": "u8_01",
"START_UPDATE": "u8_00",
"STATUS": [
"u3_00000001",
"u3_00000001",
"u3_00000001",
"u3_00000001"
],
"SYSTEM_SOC": "u1_0294",
"TEMP_MAX": [
"i8_19",
"i8_19",
"i8_1A",
"i8_1B"
],
"TEMP_MIN": [
"i8_17",
"i8_17",
"i8_19",
"i8_19"
],
"TF_ERROR": "u8_00",
"VOLTAGE": [
"fl_42557BE7",
"fl_42558625",
"fl_42558419",
"fl_42559CAC"
],
"WIZARD_ABORT": "u8_01",
"WIZARD_CONFIRM": "u8_00",
"WIZARD_DCCONNECT": "u1_0000",
"WIZARD_START": "u8_00",
"WIZARD_STATE": "u8_00"
},
"BMS_PARA": {
"FORCE_BMS_ERROR": "u8_00",
"FORCE_OP_MODE": "u8_00",
"FULL_CELL_VOLTAGE_MV": "u1_0EF5",
"MAX_MODULE_CHARGE_CURRENT_LIMIT_A": "i1_0006",
"MAX_MODULE_DISCHARGE_CURRENT_LIMIT_A": "i1_FFFA",
"OPERATIONAL_MODE": "u8_03",
"USE_ROA_PARAMETER": "u8_00"
},
"CASC": {
"BATPOWERSUM": "fl_C099BB98",
"POWER": [
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000"
],
"PVGEN": [
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000"
],
"PVMASTER": "fl_00000000",
"SOC": [
"fl_42C80000",
"fl_42C80000",
"fl_42C80000",
"fl_42C80000",
"fl_42C80000",
"fl_42C80000"
],
"STATE": [
"u8_00",
"u8_00",
"u8_00",
"u8_00",
"u8_00",
"u8_00"
],
"TARGET": [
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000"
]
},
"DEBUG": {
"CHARGE_TARGET": "fl_44A02625",
"DC_TARGET": "fl_00000000",
"FEED_TARGET": "fl_00000000",
"LOG_ROTATE": "u8_00",
"PU_AVAIL": "fl_00000000",
"SECTIONS": [
"st_BAT1",
"st_BAT1OBJ1",
"st_BMS",
"st_BMS_PARA",
"st_CASC",
"st_DEBUG",
"st_DISPLAY",
"st_ENERGY",
"st_FACTORY",
"st_FEATURES",
"st_FILE",
"st_GRIDCONFIG",
"st_LOG",
"st_PM1",
"st_PM1OBJ1",
"st_PM1OBJ2",
"st_PV1",
"st_PWR_UNIT",
"st_RTC",
"st_SELFTEST_RESULTS",
"st_SOCKETS",
"st_STATISTIC",
"st_STECA",
"st_SYS_UPDATE",
"st_TEMPMEASURE",
"st_TEST",
"st_UPDATE",
"st_WALLBOX",
"st_WIZARD"
]
},
"DISPLAY": {},
"ENERGY": {
"CAPTESTMODULE": [
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000"
],
"GRID_POWER_OFFSET": [
"fl_00000000",
"fl_00000000",
"fl_00000000"
],
"GUI_BAT_DATA_COLLECTED": "u8_01",
"GUI_BAT_DATA_CURRENT": "fl_BDB851EC",
"GUI_BAT_DATA_FUEL_CHARGE": "fl_428C0000",
"GUI_BAT_DATA_MAX_CELL_VOLTAGE": "u1_0EEA",
"GUI_BAT_DATA_MIN_CELL_VOLTAGE": "u1_0EE0",
"GUI_BAT_DATA_POWER": "fl_C099BB98",
"GUI_BAT_DATA_VOLTAGE": "fl_42558831",
"GUI_BOOSTING_INFO": "u8_00",
"GUI_CAP_TEST_DIS_COUNT": "fl_00000000",
"GUI_CAP_TEST_START": "u8_00",
"GUI_CAP_TEST_STATE": "u8_00",
"GUI_CAP_TEST_STOP": "u8_00",
"GUI_CHARGING_INFO": "u8_00",
"GUI_FACTORY_TEST_FAN": "u8_00",
"GUI_GRID_POW": "fl_C5519214",
"GUI_HOUSE_POW": "fl_43A4CC0E",
"GUI_INIT_CHARGE_START": "u8_00",
"GUI_INIT_CHARGE_STOP": "u8_00",
"GUI_INVERTER_POWER": "fl_4565DEB8",
"GUI_TEST_CHARGE_STAT": "u8_00",
"GUI_TEST_DISCHARGE_STAT": "u8_00",
"INIT_CHARGE_ACK": "u8_00",
"INIT_CHARGE_DIFF_VOLTAGE": "fl_00000000",
"INIT_CHARGE_MAX_CURRENT": "fl_00000000",
"INIT_CHARGE_MAX_VOLTAGE": "fl_00000000",
"INIT_CHARGE_MIN_VOLTAGE": "fl_00000000",
"INIT_CHARGE_RERUN": "u8_00",
"INIT_CHARGE_RUNNING": "u8_00",
"INIT_CHARGE_STATE": "u8_00",
"INIT_CHARGE_TIMER": "u6_0000000000000000",
"INIT_DISCHARGE_MAX_CURRENT": "fl_00000000",
"LI_STORAGE_MODE_RUNNING": "u8_00",
"LI_STORAGE_MODE_START": "u8_00",
"LI_STORAGE_MODE_STOP": "u8_00",
"SAFE_CHARGE_FORCE": "u8_00",
"SAFE_CHARGE_PROHIBIT": "u8_00",
"SAFE_CHARGE_RUNNING": "u8_00",
"STAT_HOURS_OF_OPERATION": "u3_0000202E",
"STAT_LIMITED_NET_SKEW": "u8_00",
"STAT_STATE": "u8_0D",
"TEST_CHARGE_ENABLE": "u8_00",
"TEST_CYCLE": "u8_00",
"ZERO_EXPORT": "u8_00"
},
"FACTORY": {
"BAT_TYPE": "u8_03",
"CELL_TYPE": "u8_05",
"COUNTRY": "u8_00",
"DESIGN_CAPACITY": "fl_461C4000",
"DEVICE_ID": "st_38011321311920152540422961",
"EPA_GRID_FILTER": "u8_00",
"FAC_SANITY": "u8_01",
"MAX_CHARGE_POWER_DC": "fl_451C4000",
"MAX_DISCHARGE_POWER_DC": "fl_451C4000",
"PM_TYPE": "u8_01",
"SYS_TYPE": "u8_0F"
},
"FEATURES": {
"CAR": "u8_01",
"CLOUDREADY": "u8_01",
"ECOGRIDREADY": "u8_01",
"HEAT": "u8_01",
"ISLAND": "u8_00",
"ISLAND_PRO": "u8_00",
"PEAKSHAVING": "u8_01",
"SGREADY": "u8_01",
"SHKW": "u8_00",
"SOCKETS": "u8_01"
},
"FILE": {},
"GRIDCONFIG": {
"PWRCFG_COS_POINT1": "fl_3F800000",
"PWRCFG_COS_POINT3": "fl_3F733333",
"PWRCFG_COS_POINT_2A": "fl_3F800000",
"PWRCFG_COS_POINT_2B": "fl_42480000",
"PWRCFG_USE_MAX_PWR_SKEW": "u8_01",
"VDECOSPHITIME": "u1_000A",
"VDEFIXEDFAC": "fl_3F800000",
"VDEOVERFREQDROOP": "u1_0005",
"VDEOVERFREQLIMIT": "fl_4248CCCD",
"VDEPT1RESPONSETIME": "u1_0000",
"VDERECOVERTIME": "u1_000A",
"VDETARGETTY": "u1_0000",
"VDEUNDERFREQDROOP": "u1_0002",
"VDE_FREQDROPPROT": "fl_423E0000",
"VDE_FREQDROPPROTDELAY": "fl_3DCCCCCD",
"VDE_FREQRISEPROT": "fl_424E0000",
"VDE_FREQRISEPROTDELAY": "fl_3DCCCCCD",
"VDE_UNDERFREQLIMIT": "fl_42473333",
"VDE_VOLTDROPPROT": "fl_42340000",
"VDE_VOLTDROPPROTAVG": "fl_42A00000",
"VDE_VOLTDROPPROTAVGDELAY": "fl_40400000",
"VDE_VOLTDROPPROTDELAY": "fl_3E99999A",
"VDE_VOLTRISEPROT": "fl_42FA0000",
"VDE_VOLTRISEPROTAVG": "fl_42DC0000",
"VDE_VOLTRISEPROTAVGDELAY": "fl_3DCCCCCD",
"VDE_VOLTRISEPROTDELAY": "fl_3DCCCCCD"
},
"ISKRA": {
"OBJECT_NOT_FOUND": ""
},
"LOG": {
"LOG_IN_BUTT": "u8_00",
"LOG_IN_NOK_COUNT": "u8_00",
"LOG_OUT_BUTT": "u8_00",
"PASSWORD": "st_SenecInstall",
"USERNAME": "st_installateur",
"USER_LEVEL": "u8_02"
},
"PM1": {
"MB_SL2MA_CONN": "u8_00",
"MB_SLAVES_COUNT": "u8_00",
"PWR_METERS_MISSING": "u8_00",
"TYPE": "u8_01"
},
"PM1OBJ1": {
"ADR": "u8_01",
"ENABLED": "u8_01",
"FREQ": "fl_42480A3D",
"I_AC": [
"fl_40B80000",
"fl_40CBD70A",
"fl_40CC28F5"
],
"P_AC": [
"fl_C467B8F5",
"fl_C4953F0A",
"fl_C49A0852"
],
"P_TOTAL": "fl_C5519214",
"U_AC": [
"fl_436F8000",
"fl_436E0000",
"fl_436F999A"
]
},
"PM1OBJ2": {
"ADR": "u8_03",
"ENABLED": "u8_01",
"FREQ": "fl_42483D70",
"I_AC": [
"fl_40C5C28F",
"fl_40C47AE1",
"fl_40C7AE14"
],
"P_AC": [
"fl_C49B351E",
"fl_C4960570",
"fl_C49A828F"
],
"P_TOTAL": "fl_C565DEB8",
"U_AC": [
"fl_436F999A",
"fl_436DCCCD",
"fl_436F6667"
]
},
"PV1": {
"ERROR_STATE_INT": [
"u3_00000000",
"u3_00000000"
],
"INTERNAL_INV_ERROR_TEXT": [
"st_",
"st_"
],
"INTERNAL_INV_ERR_STATE_VALID": [
"u8_00",
"u8_00"
],
"INTERNAL_INV_STATE": [
"u8_05",
"u8_05"
],
"INTERNAL_MD_AVAIL": [
"u8_00",
"u8_00"
],
"INTERNAL_MD_MANUFACTURER": [
"st_",
"st_"
],
"INTERNAL_MD_MODEL": [
"st_",
"st_"
],
"INTERNAL_MD_SERIAL": [
"st_",
"st_"
],
"INTERNAL_MD_VERSION": [
"st_",
"st_"
],
"INTERNAL_PV_AVAIL": "u8_00",
"INV_MODEL": [
"st_END_OF_ARRAY"
],
"INV_SERIAL": [
"st_END_OF_ARRAY"
],
"INV_VERSIONS": [
"st_END_OF_ARRAY"
],
"MPP_AVAIL": "u8_00",
"MPP_CUR": [
"fl_00000000",
"fl_00000000",
"fl_00000000"
],
"MPP_POWER": [
"fl_00000000",
"fl_00000000",
"fl_00000000"
],
"MPP_VOL": [
"fl_00000000",
"fl_00000000",
"fl_00000000"
],
"POWER_RATIO": "fl_42C80000",
"POWER_RATIO_L1": "fl_42C80000",
"POWER_RATIO_L2": "fl_42C80000",
"POWER_RATIO_L3": "fl_42C80000",
"PV_MISSING": "u8_FF",
"P_TOTAL": "fl_00000000",
"STATE_INT": [
"u3_00000000",
"u3_00000000"
],
"TYPE": "u8_00"
},
"PWR_UNIT": {
"ADRESS": [
"u8_00",
"u8_00",
"u8_00",
"u8_00",
"u8_00",
"u8_00"
],
"CONNPWR": [
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000"
],
"CONNPWR_1": [
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000"
],
"CONNPWR_2": [
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000"
],
"CONNPWR_3": [
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000"
],
"CURRENTTEMP_MAX": [
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000"
],
"CURRENTTEMP_MAX_HW": [
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000"
],
"CURRENTTEMP_MIN": [
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000"
],
"CURRENTTEMP_MIN_HW": [
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000"
],
"ENFLURI": [
"u8_00",
"u8_00",
"u8_00",
"u8_00",
"u8_00",
"u8_00"
],
"FW_VER": [
"u1_0000",
"u1_0000",
"u1_0000",
"u1_0000",
"u1_0000",
"u1_0000"
],
"HW_REV": [
"u1_0000",
"u1_0000",
"u1_0000",
"u1_0000",
"u1_0000",
"u1_0000"
],
"POWER": [
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000"
],
"POWER_L1": [
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000"
],
"POWER_L2": [
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000"
],
"POWER_L3": [
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000"
],
"PU_MISSING": "u8_00",
"REQ_POWER": [
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000"
],
"SERIAL": [
"st_",
"st_",
"st_",
"st_",
"st_",
"st_"
],
"STATUS": [
"u3_00000000",
"u3_00000001",
"u3_00000002",
"u3_00000003",
"u3_00000004",
"u3_00000005"
],
"TEMPMAX": [
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000"
],
"TEMPMIN": [
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000"
],
"TEMPTARGET": [
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000"
],
"TEMP_COUNT": [
"u1_0000",
"u1_0000",
"u1_0000",
"u1_0000",
"u1_0000",
"u1_0000"
],
"TEMP_LIMIT_LOWER": "fl_00000000",
"TEMP_LIMIT_UPPER": "fl_42C80000",
"TYPE": [
"u8_00",
"u8_00",
"u8_00",
"u8_00",
"u8_00",
"u8_00"
],
"WATERVOL": [
"u1_0000",
"u1_0000",
"u1_0000",
"u1_0000",
"u1_0000",
"u1_0000"
]
},
"RTC": {
"UTC_OFFSET": "i3_00000078",
"WEB_TIME": "u3_64EF7810"
},
"SELFTEST_RESULTS": {},
"SOCKETS": {
"ALREADY_SWITCHED": [
"u8_00",
"u8_00"
],
"ENABLE": [
"u8_00",
"u8_00"
],
"FORCE_ON": [
"u8_00",
"u8_00"
],
"LOWER_LIMIT": [
"u1_0000",
"u1_0000"
],
"NUMBER_OF_SOCKETS": "u8_02",
"POWER_ON": [
"u8_00",
"u8_00"
],
"POWER_ON_TIME": [
"u1_0000",
"u1_0000"
],
"PRIORITY": [
"u8_00",
"u8_00"
],
"RESET_SWITCHED": "u8_00",
"SWITCH_ON_HOUR": [
"u8_00",
"u8_00"
],
"SWITCH_ON_MINUTE": [
"u8_00",
"u8_00"
],
"TIME_LIMIT": [
"u1_0000",
"u1_0000"
],
"TIME_REM": [
"u1_0000",
"u1_0000"
],
"UPPER_LIMIT": [
"u1_0000",
"u1_0000"
],
"USE_TIME": [
"u8_00",
"u8_00"
]
},
"STATISTIC": {},
"STECA": {},
"SYS_UPDATE": {
"BOOT_REPORT_SUCCESS": "u8_01",
"FSM_STATE": "u8_01",
"MISC": [
"u8_00",
"u8_00",
"u8_00",
"u8_00",
"u8_00",
"u8_00"
],
"NPU_IMAGE_VERSION": "u1_0905",
"NPU_VER": "u1_000A",
"TRIGGER_BL_UPDATE": "u8_00",
"UPDATE_AVAILABLE": "u8_00",
"USER_REBOOT_DEVICE": "u8_00",
"USER_REQ_INV_UPDATE": "u8_00",
"USER_REQ_NA_UPDATE": "u8_00",
"USER_REQ_UPDATE": "u8_00"
},
"TEMPMEASURE": {
"BATTERY_TEMP": "fl_41D80000",
"CASE_TEMP": "fl_41DB936A",
"MCU_TEMP": "fl_C31E6315",
"TEMP_DATA_COLLECTED": "u8_01"
},
"TEST": {},
"UPDATE": {},
"WALLBOX": {
"ADDITIONAL_ERROR": [
"u8_00",
"u8_00",
"u8_00",
"u8_00"
],
"ALLOW_INTERCHARGE": "u8_00",
"APPARENT_CHARGING_POWER": [
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000"
],
"BUS_ADR": [
"u8_09",
"u8_02",
"u8_03",
"u8_04"
],
"CS_ENABLED": [
"u8_00",
"u8_00",
"u8_00",
"u8_00"
],
"DETECTION_MODE": "u3_00000000",
"ERROR_DETAILS": [
"u1_0006",
"u1_0000",
"u1_0000",
"u1_0000"
],
"EV_CONNECTED": [
"u8_01",
"u8_00",
"u8_00",
"u8_00"
],
"HW_TYPE": [
"u8_01",
"u8_00",
"u8_00",
"u8_00"
],
"L1_CHARGING_CURRENT": [
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000"
],
"L1_USED": [
"u8_00",
"u8_00",
"u8_00",
"u8_00"
],
"L2_CHARGING_CURRENT": [
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000"
],
"L2_USED": [
"u8_00",
"u8_00",
"u8_00",
"u8_00"
],
"L3_CHARGING_CURRENT": [
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000"
],
"L3_USED": [
"u8_00",
"u8_00",
"u8_00",
"u8_00"
],
"LOAD_IMBALANCE_DETECTED": [
"u8_00",
"u8_00",
"u8_00",
"u8_00"
],
"LOAD_IMBALANCE_ENABLED": [
"u8_01",
"u8_00",
"u8_00",
"u8_00"
],
"MAJOR_REV": [
"u8_04",
"u8_00",
"u8_00",
"u8_00"
],
"MAX_CHARGING_CURRENT_DEFAULT": [
"fl_418028F6",
"fl_00000000",
"fl_00000000",
"fl_00000000"
],
"MAX_CHARGING_CURRENT_IC": [
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000"
],
"MAX_CHARGING_CURRENT_ICMAX": [
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000"
],
"MAX_CHARGING_CURRENT_RATED": [
"fl_41FFD70B",
"fl_00000000",
"fl_00000000",
"fl_00000000"
],
"MAX_PHASE_CURRENT_BY_GRID": "fl_00000000",
"MAX_TOTAL_CURRENT_BY_GRID": "fl_00000000",
"METER_ENABLED": [
"u8_01",
"u8_00",
"u8_00",
"u8_00"
],
"METHOD_EN1": [
"u8_02",
"u8_00",
"u8_00",
"u8_00"
],
"MINOR_REV": [
"u8_01",
"u8_00",
"u8_00",
"u8_00"
],
"MIN_CHARGING_CURRENT": [
"fl_40C00000",
"fl_00000000",
"fl_00000000",
"fl_00000000"
],
"NUMBER_OF_PHASE": [
"u8_00",
"u8_00",
"u8_00",
"u8_00"
],
"PHASES_USED": [
"u8_00",
"u8_00",
"u8_00",
"u8_00"
],
"PROHIBIT_USAGE": [
"u8_00",
"u8_00",
"u8_00",
"u8_00"
],
"SAP_NUMBER": [
"st_",
"st_",
"st_",
"st_"
],
"SERIAL_NUMBER": [
"st_1W22G123456",
"st_",
"st_",
"st_"
],
"SERIAL_NUMBER_INTERNAL": [
"st_1W22G123456",
"st_",
"st_",
"st_"
],
"SET_ICMAX": [
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000"
],
"SET_IDEFAULT": [
"fl_00000000",
"fl_00000000",
"fl_00000000",
"fl_00000000"
],
"SMART_CHARGE_ACTIVE": [
"u8_04",
"u8_00",
"u8_00",
"u8_00"
],
"SOCKET_ENABLED": [
"u8_00",
"u8_00",
"u8_00",
"u8_00"
],
"STATE": [
"u8_B2",
"u8_00",
"u8_00",
"u8_00"
],
"UID": [
"u6_1F13242436354536",
"u6_0000000000000000",
"u6_0000000000000000",
"u6_0000000000000000"
],
"UTMP": [
"u1_07E5",
"u1_0000",
"u1_0000",
"u1_0000"
]
},
"WIZARD": {
"APPLICATION_HASH": "st_478e9310f37c4f8adafd861cc723904796885136",
"APPLICATION_VERSION": "st_0825",
"BATT_IPU_MISMATCH": "u8_00",
"BOOT": "u8_01",
"CHARGE_PRIO": "u8_00",
"CONFIG_CHECKSUM": "u1_A752",
"CONFIG_LOADED": "u8_01",
"CONFIG_MODIFIED_BY_USER": "u8_00",
"CONFIG_WRITE": "u8_00",
"DEVICE_BATTERY_TYPE": "u8_03",
"DEVICE_INVERTER_TYPE": "u8_00",
"DEVICE_INV_ENABLED": [
"u8_01",
"u8_00",
"u8_00",
"u8_00",
"u8_00",
"u8_00"
],
"DEVICE_INV_PHASES_ARR": [
"u8_04",
"u8_04",
"u8_04",
"u8_04",
"u8_04",
"u8_04"
],
"DEVICE_INV_SLAVE_ADRESS": [
"u8_03",
"u8_04",
"u8_05",
"u8_06",
"u8_07",
"u8_08"
],
"DEVICE_PM_GRID_ENABLED": "u8_01",
"DEVICE_PM_HOUSE_ENABLED": "u8_01",
"DEVICE_PM_TYPE": "u8_01",
"DEVICE_WB_TYPE": "u8_01",
"FEATURECODE_ENTERED": "u8_00",
"FIRMWARE_VERSION": "st_2307",
"GRID_CONNECTION_TYPE": "u8_02",
"GUI_LANG": "u8_00",
"HEAT_CONN_TYPE": "u8_02",
"INSULATION_RESISTANCE": "u3_000003E8",
"INTERFACE_VERSION": "st_0966",
"LOGGER_SEVERITY": "u8_08",
"MAC_ADDRESS_BYTES": [
"u8_14",
"u8_1F",
"u8_BA",
"u8_21",
"u8_87",
"u8_FE"
],
"MASTER_SLAVE_ADDRESSES": [
"u8_00",
"u8_00",
"u8_00",
"u8_00",
"u8_00",
"u8_00"
],
"MASTER_SLAVE_MODE": "u8_00",
"PS_ENABLE": "u8_00",
"PS_HOUR": "u8_00",
"PS_MINUTE": "u8_00",
"PS_RESERVOIR": "u8_00",
"PV_CONFIG": [
"u8_01",
"u8_01"
],
"PWRCFG_PEAK_PV_POWER": "fl_46EA6000",
"SETUP_ABS_POWER": "u3_00000000",
"SETUP_HV_PHASE": "u8_00",
"SETUP_NUMBER_WALLBOXES": "u8_01",
"SETUP_PM_GRID_ADR": "u8_01",
"SETUP_PM_HOUSE_ADR": "u8_03",
"SETUP_POWER_RULE": "u8_64",
"SETUP_PV_INV_IP0": "u3_6300A8C0",
"SETUP_PV_INV_IP1": "u3_00000000",
"SETUP_PV_INV_IP2": "u3_00000000",
"SETUP_PV_INV_IP3": "u3_00000000",
"SETUP_PV_INV_IP4": "u3_00000000",
"SETUP_PV_INV_IP5": "u3_00000000",
"SETUP_RCR_STEPS": [
"u1_0000",
"u1_001E",
"u1_003C",
"u1_0064"
],
"SETUP_USED_PHASE": "u8_01",
"SETUP_USE_ABS_POWER": "u8_00",
"SETUP_USE_DRM0": "u8_00",
"SETUP_USE_RCR": "u8_00",
"SETUP_WALLBOX_SERIAL0": "st_1W22G123456",
"SETUP_WALLBOX_SERIAL1": "st_",
"SETUP_WALLBOX_SERIAL2": "st_",
"SETUP_WALLBOX_SERIAL3": "st_",
"SG_READY_CURR_MODE": "u8_01",
"SG_READY_ENABLED": "u8_00",
"SG_READY_ENABLE_OVERWRITE": "u8_00",
"SG_READY_EN_MODE1": "u8_00",
"SG_READY_OVERWRITE_RELAY": [
"u8_00",
"u8_00"
],
"SG_READY_POWER_COMM": "u1_FFFF",
"SG_READY_POWER_NORMAL": "u1_0000",
"SG_READY_POWER_PROP": "u1_FFFF",
"SG_READY_TIME": "u1_02D0",
"ZEROMODULE": "u8_00"
}
} |
it's strange that the STATISTIC topic is totally empty and no LIVE_ Data seems to be included at all |
Done! |
it's |
Use SHIFT-REOLAD of your browser in order that the translation text's will be displayed... The second input field is the IP/HOST-name of your device |
Same for me. I think the config flow is missing the option for https. I tried pre3.0.5https-v2 |
actually there is no need for the user to select http OR https - since the code will try http first, and if connection failed, then the code is trying to connect via https - at least that's the theory... I have tested this here locally with my device here (but with the inverse logic - trying https first and then fallback to http - and this is working here as expected... I will debug further... In the meantime - is there any output in the ha log ?! - if yes please share... TIA |
|
just enter the hostname or IP '192.168.178.172' - do not enter a URL - do not include http:// or https:// |
|
log say something different... but I am currently enrich the logging information... so we will see |
Can you clarify which version we should use? I am on pre3.0.5https-v2, using just the IP i get this log:
I looked at the code and i think the problem is that when using https, aoihttp is getting the senec self singed certificate, which is not valid, so it gets an error. You shoud set ssl=False every time you make a request in pysenec_ha to an url (get and post) to ignore the invalid self singed certificate. https://docs.aiohttp.org/en/stable/client_advanced.html#ssl-control-for-tcp-sockets |
beside additional logging in this build I have set 'ssl=False' :-D |
Thank you very much! - I just googled this few minutes ago - and created the new build (v3) - after that I saw your reply - I am happy that this might/will solve the issue... (at least I have some hope) :-D |
@neubi4 @electricdelicate - please update and try again (I am also trimming any http or https entered by the user - so the code is for sure only handing the senec host/ip...) |
It works, thank you very much :) Besides the missing Statistics, all values are working. I think i might have a workaround for this in the other issue. Please send me an Paypal "Geld an Freunde senden" Link or Mail Adress, i want to send you at least the money for an pizza or something for your hard work. |
you can use |
thanks for your great and quick assistance 👍 |
|
Work, thank you! :) |
So the 3.0.5 version / branch should be selected when adding your github repo? Yep, this is the right version. It fixed it. Most informations are back in place. |
Are there any todal day values (total grid imported/exported, solar generatet... in (kWh))? |
nope (not yet) - this data is read from the web-api - but actually I did not include any sensor entities for these values because:
So I continue enjoy the rest of my short weekend... |
Thanks for your reply. |
probably I am confused - is this a new question - or a reply? Obviously in Energy-Tab there are only consumption (kWh) values... displayed as total today/week/month (when this is running for a while)... The current power values [which have to be kW (and not W - I just released 3.0.6-test-04 to fix that)] are not available as any kind of total or total_day... Since it's the "actual" power usage... I have put actual in quotes here, since we just have every 5 minutes a value... (via the new WebAPI) |
depending on your selected 'name' - (if you use the default 'senec_webapi') it's |
Thankyou, till now I didn't use webapi. |
@marq24 |
Hi @melotti892! could you please be so kind (to double check), that a) https://mein-senec.de/endkunde/api/context/getAnlageBasedNavigationViewModel?anlageNummer=0 returning the data for your battery A and... b) https://mein-senec.de/endkunde/api/context/getAnlageBasedNavigationViewModel?anlageNummer=1 is returning the data for your second hardware? - if this is the case, then I have to make sure, that for users like you, there is the option to specify the number of devices that have to be captured... I will see, if (and how) I find there some working concept - since I would not like the "simplest approach" - just using two web-sessions and polling twice... |
@marq24 > in a) i get the slave one, and in b) i get the master one, is this you need right? |
thanks for the quick check - I assume this (specially that the anlageNummer=0 is tagged as 'slave'... So I guess I can iterate though the numbers, till a system will return master... and use then "this" number... But I hope you can understand, that I will spend my Feierabend with something different ;-) |
@marq24 |
@melotti892 can you check the latest build please? [remove the installed integration first - and than reinstall it...] |
@marq24 3.0.6 test 5, reinstalled all the senec related integration but it still recognise the slave one (i don't know what tipe of sistem of battery i have, like the 4 or 3 or 2 ) |
... after you have updated the integration - did you actually restarted your HA? - and after the restarted added the integration again? And if you have a V3 - what was your selection at the integration start? - I have "adjusted" the web-api paort only (since that's the new stuff)... now I am confused, if you are using the 'lala.cgi" LAN-local-polling based variant? |
@marq24 |
thanks... for your clarification - so we are in the new webapi context... I'll check again the code... A bit difficult to debugging "blind"...but we will see... Does the new code can/will extract the SerialNumber of you "slave" ?! and please - can you share the output/json if your: https://mein-senec.de/endkunde/api/context/getAnlageBasedNavigationViewModel?anlageNummer=0 of course you can "onfuscate" the personal/serial info Concerning connected SenecV3 via LAN... -> https://sollis.de/wp-content/uploads/TD140-057.10_SENEC.Home_V3_Installationsanleitung_1.0.pdf - page 20 - the 'ETH' Port is the one that should be connected to your LAN (but I guess that's already done) |
Here you are |
thanks - please rerun the procedure with https://github.com/marq24/ha-senec-v3/releases/tag/3.0.6-test-07 |
@marq24 |
would you mind, create a new issue "Supporting Master/Slave" - since this is really a different topic... Then we can continue the discussion there - TIA |
@marq24 made it as you suggested |
Thank you marq24 for the fix!!! I have a Senec V3 hybrid, recognized the problem today in the morning and could fix it with your integration. |
Recent Senec release introduced (self signed) https communication between browser & device
The text was updated successfully, but these errors were encountered: