Skip to content

Commit

Permalink
add binary sensors keys for developing binary_sensor from api
Browse files Browse the repository at this point in the history
  • Loading branch information
jontofront authored Dec 21, 2023
1 parent ff97fa3 commit f375b6e
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 10 deletions.
14 changes: 8 additions & 6 deletions custom_components/econet300/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,17 @@
"1794": "boilerPower",
"1795": "fanPower",
"1280": "tempCOSet",

# Binary sensors for testing
"111": "weatherControl",
"113": "unseal",
"118": "pumpCOWorks",
"1536": "fanWorks",
"1540": "aditionalFeeder",
"1541": "pumpFireplaceWorks",
"1542": "pumpCWUWorks",
}

# Unknown ID's
# tempBack: "tempBack", pas mane nera tokio parametro
# "1025": "tempCOSet", pas mane nera i6jungtas :(
# quality


# Sensors units from econet dev
REG_PARAM_UNIT = {
"tempCO": UnitOfTemperature.CELSIUS,
Expand Down
7 changes: 6 additions & 1 deletion custom_components/econet300/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,17 @@
"sensor": {
"boiler_power": { "name": "Boiler power" },
"fuel_level": { "name": "Fuel level" },
"fan_power": { "name": "Fan power" },
"fan_works": { "name": "Fan" },
"lambda_status": { "name": "Lambda status" },
"lambda_set": { "name": "Lambda set" },
"lambda_level": { "name": "Lambda level" },
"main_server": { "name": "Main server" },
"mode": { "name": "Boiler mode" },
"mixer_temp1": { "name": "Mixer 1 temperature" },
"mixer_set_temp1": { "name": "Mixer target temperature" },
"pump_cwu_works": { "name": "HUW pump" },
"pump_fireplace_works": { "name": "Boiler pump" },
"signal": { "name": "Signal quality" },
"servo_mixer1": { "name": "Mixer 1 servo position" },
"status_wifi": { "name": "Wireless network connected" },
Expand All @@ -45,8 +49,9 @@
"temp_feeder": {"name": "Feeder temperature"},
"temp_co_set": { "name": "Heating target temperature" },
"thermostat": { "name": "Thermostat" },
"unseal": { "name": "Unseal" },
"valve_mixer1": { "name": "Mixer 1 valve % open" },
"fan_power": { "name": "Fan power" }
"weather_control": {"name": "Weather control the boiler"}
}
}
}
11 changes: 8 additions & 3 deletions custom_components/econet300/translations/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,27 +26,32 @@
"sensor": {
"boiler_power": { "name": "Moc kotła" },
"fuel_level": { "name": "Poziom paliwa" },
"fan_works": { "name": "Fan" },
"fan_power": { "name": "Moc nadmuchu" },
"lambda_status": { "name": "Lambda status" },
"lambda_set": { "name": "Lambda set" },
"lambda_level": { "name": "Czujnik Lambda" },
"mixer_temp1": { "name": "Temp. mieszacza 1" },
"mixer_set_temp1": { "name": "Temp. zadana mieszacza 1" },
"main_server": { "name": "Główny serwer" },
"mode": { "name": "Tryb pracy" },
"fan_power": { "name": "Moc nadmuchu" },
"temp_co_set": { "name": "Heating target temperature" },
"pump_cwu_works": { "name": "HUW pump" },
"pump_fireplace_works": { "name": "Boiler pump" },
"valve_mixer1": { "name": "Zawór mieszacza 1" },
"servo_Mixer1": { "name": "Siłownik mieszacza 1" },
"signal": { "name": "Siła sygnału" },
"status_wifi": { "name": "Połączenie z siecią bezprzewodową" },
"temp_co_set": { "name": "Heating target temperature" },
"temp_co": { "name": "Temperatura kotła" },
"temp_cwu": { "name": "Temperatura CWU" },
"temp_upper_buffer": { "name": "Temperatura bufora górna" },
"temp_lower_buffer": { "name": "Temperatura bufora dolna" },
"temp_flue_gas": { "name": "Temperatura spalin" },
"temp_external_sensor": { "name": "Temperatura zewnętrzna" },
"temp_feeder": {"name": "Temperatura podajnika"},
"thermostat": { "name": "Thermostat" }
"unseal": { "name": "Unseal" },
"thermostat": { "name": "Thermostat" },
"weather_control": {"name": "Weather control the boiler"}
}
}
}

0 comments on commit f375b6e

Please sign in to comment.