jontofront / econet-300-home-assistant-integration Goto Github PK
View Code? Open in Web Editor NEWThis project forked from pblxptr/econet-300-home-assistant-integration
ecoNET 300 integration to HA
This project forked from pblxptr/econet-300-home-assistant-integration
ecoNET 300 integration to HA
Please add sensor:
boilerPowerKW
pumpCOWorks
feederWorks
fuelStream
/econet/sysParams/
Key:
lan = true or false
wifi = true or false
Howdy,
I was using the original old version, not forked and it was working fine.
Tried the version that is available as successor, it connects, but have like 9 entities all unavailable.
Any reason for it not to work?
Summer/Winter mode
API URL /rmNewParam?newParamIndex=55&newParamValue=0
NewParamIndex = 55
newParamValue=0 - Summer mode
newParamValue=1 - Winter mode
newParamValue=2 - Auto mode
Check the available parameters (Max min value ..) of the parameter NewParamIndex
API /econet/rmParamsData
translations:
EN
"summer_winter": "Summer / winter",
"winter": "Winter",
"summer": "Summer",
PL
"summer_winter": "Lato / zima",
"winter": "Zima",
"summer": "Lato",
SUMMER mode act. temperature:
paramName: "56",
paramValue: temp_C
SUMMER mode deact. temperature:
"paramName": "57"
"paramValue": temp_C
Can you add data from internal thermostat connected to EcoNET? In my case attribute to this data is "ecoSterTemp1" and "ecoSterSetTemp1". Also would be nice to be able to change this set parameter.
Currently i'm doing this by creating sensors:
kociol_ecostertemp1 : friendly_name: Kociol Termostat value_template: '{{states.sensor.KOCIOL.attributes["curr"]["ecoSterTemp1"]| round (1)}}' device_class: temperature unit_of_measurement: "°C"
023-12-05 17:31:01.332 DEBUG (MainThread) [custom_components.econet300.sensor] Availability key: mixerTemp2 does not exist, entity will not be added
2023-12-05 17:31:01.332 DEBUG (MainThread) [custom_components.econet300.sensor] Availability key: mixerTemp3 does not exist, entity will not be added
2023-12-05 17:31:01.332 DEBUG (MainThread) [custom_components.econet300.sensor] Availability key: mixerTemp4 does not exist, entity will not be added
Added to HASS: Mixer 1 temperature
2023-12-05 17:31:01.405 DEBUG (MainThread) [custom_components.econet300.sensor] Update EconetSensor entity: Mixer 1 temperature
2023-12-05 17:31:01.408 DEBUG (MainThread) [custom_components.econet300.entity] Added to HASS: Mixer 1 set temperature
2023-12-05 17:31:01.410 DEBUG (MainThread) [custom_components.econet300.sensor] Update EconetSensor entity: Mixer 1 set temperature
2023-12-05 17:31:01.413 DEBUG (MainThread) [custom_components.econet300.entity] Added to HASS: Mixer 2 set temperature
2023-12-05 17:31:01.413 DEBUG (MainThread) [custom_components.econet300.sensor] Update EconetSensor entity: Mixer 2 set temperature
2023-12-05 17:31:01.415 DEBUG (MainThread) [custom_components.econet300.entity] Added to HASS: Mixer 3 set temperature
2023-12-05 17:31:01.415 DEBUG (MainThread) [custom_components.econet300.sensor] Update EconetSensor entity: Mixer 3 set temperature
2023-12-05 17:31:01.417 DEBUG (MainThread) [custom_components.econet300.entity] Added to HASS: Mixer 4 set temperature
2023-12-05 17:31:01.417 DEBUG (MainThread) [custom_components.econet300.sensor] Update EconetSensor entity: Mixer 4 set temperature
{
"settingsVer":23537,
"editableParamsVer":0,
"schedulesVer":1,
"remoteMenuVer":{
"11":17127,
"10":54629,
"13":16688,
"12":37750,
"15":20590,
"14":35328,
"1":20028,
"3":14264,
"2":61477,
"4":29459,
"7":23521,
"6":22746,
"9":18631,
"8":26533
},
"currentDataParamsEditsVer":3,
"curr":{
"thermostat":1,
"pumpCOWorks":false,
"fan2Exhaust":false,
"feederWorks":false,
"feeder":false,
"mixerPumpWorks4":true,
"lambdaSet":255,
"mixerPumpWorks1":false,
"mixerPumpWorks2":true,
"mixerPumpWorks3":true,
"statusCWU":128,
"fuelLevel":100,
"fanPower":0.0,
"mixerTemp1":22.236656188964844,
"mixerTemp3":null,
"mixerTemp2":null,
"mixerTemp4":null,
"blowFan1Active":false,
"statusCO":16,
"boilerPower":0,
"feederOuter":false,
"pumpCWUWorks":false,
"pumpCWU":true,
"alarmOutput":true,
"fan":false,
"lighter":false,
"lambdaStatus":0,
"transmission":9,
"fuelStream":null,
"lighterWorks":false,
"mode":5,
"alarmOutputWorks":true,
"pumpSolar":false,
"lambdaLevel":225,
"tempExternalSensor":4.66607666015625,
"contactGZC":false,
"blowFan1":false,
"blowFan2":false,
"tempCO":31.156976699829102,
"pumpCO":true,
"contactGZCActive":false,
"pumpCirculation":false,
"outerBoiler":true,
"tempCOSet":44,
"outerBoilerWorks":true,
"pumpFireplace":false,
"feederOuterWorks":false,
"mixerSetTemp4":26,
"boilerPowerKW":null,
"feeder2AdditionalWorks":false,
"pumpSolarWorks":false,
"mixerSetTemp1":34,
"mixerSetTemp2":30,
"mixerSetTemp3":26,
"blowFan2Active":false,
"tempCWU":77.021087646484375,
"tempCWUSet":null,
"pumpCirculationWorks":false,
"tempFlueGas":18.675113677978516,
"fan2ExhaustWorks":false,
"pumpFireplaceWorks":false,
"tempFeeder":21.26727294921875,
"fanWorks":false,
"feeder2Additional":false
}
}
{
"currentDataParamsEditsVer":1,
"data":{
"1798":{
"type":10
},
"1280":{
"max":68,
"type":4,
"value":40,
"min":27
},
"2048":{
"max":2,
"type":4,
"value":0,
"min":0
},
"2049":{
"max":2,
"type":4,
"value":0,
"min":0
}
}
}
/econet/sysParams
Keys:
controllerID
moduleASoftVer
moduleBSoftVer
moduleLambdaSoftVer
modulePanelSoftVer
2023-11-12 19:13:25.351 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.wi_fi_signal_quality (<class 'custom_components.econet300.sensor.ControllerSensor'>) is using native unit of measurement '%' which is not a valid unit for the device class ('signal_strength') it is using; expected one of ['dBm', 'dB']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/pblxptr/ecoNET-300-Home-Assistant-Integration/issues
API URL [/rmNewParam?newParamIndex=83&newParamValue=0.6
response: paramIndex:"83" paramValue: "0.6" result: "OK"
Check the available parameters (Max min value ..) of the parameter NewParamIndex
API /econet/rmParamsData
NewParamIndex = 83
newParamValue min - 0
newParamValue max - 4
newParamValue steps - 0.1
Translation :
EN - Heating curve. mixer 1
Hi, I have a wood boiler with the unit EcoMAX EM800D3.
I am very glad that you are expanding this library for HA.
I have a couple of recommendations for improvement:
If you need some help with reading and debugging commands from EcoMax unit, write me here. Or I can create some modifications and add them to a separate new branch.
Hello, I need help. I'm new to this I've seen great opportunities HA. I have an EcoNet300 device connected to a heat pump controller. The data I've learned are:
Module ecoNET version: 3.2.3842
Module A version:S002.35
Module Panel 100 version:S003.67
Panels configuration version 1.44
The ecoMAX360i is the name of the controller.
Of course I'm answering because I need help since your integration ecoNET300 doesn't find anything for me.
I get from only from: http://192.168.1.40/econet/regParams
2024-01-28 21:34:55.512 ERROR (MainThread) [homeassistant.components.sensor] Error adding entities for domain sensor with platform econet300 Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 507, in async_add_entities await asyncio.gather(*tasks) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 614, in _async_add_entity if self.config_entry and (device_info := entity.device_info): ^^^^^^^^^^^^^^^^^^ File "/config/custom_components/econet300/entity.py", line 110, in device_info identifiers={(DOMAIN, f"{self._api.uid()}-mixer-{self._idx}")}, ^^^^^^^^^ AttributeError: 'MixerSensor' object has no attribute '_api' 2024-01-28 21:34:55.653 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up econet300 platform for sensor Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 368, in _async_setup_platform await asyncio.gather(*pending) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 507, in async_add_entities await asyncio.gather(*tasks) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 614, in _async_add_entity if self.config_entry and (device_info := entity.device_info): ^^^^^^^^^^^^^^^^^^ File "/config/custom_components/econet300/entity.py", line 110, in device_info identifiers={(DOMAIN, f"{self._api.uid()}-mixer-{self._idx}")}, ^^^^^^^^^ AttributeError: 'MixerSensor' object has no attribute '_api'
https://github.com/home-assistant/core/blob/dev/homeassistant/const.py
HA: hw_version
Econet: routerType http://x.x.x.x/econet/sysParams
Hi,
The HA just poped an update for the v1.0.0-beta update. Yes I have beta updates on. Very interested in your development.
Removed the old version as instructed and installed the new beta.
Found a couple of issues.
This ones are reported by the HA.
Logger: homeassistant.setup
Source: setup.py:403
First occurred: 7:26:11 AM (2 occurrences)
Last logged: 7:36:28 AM
Unable to prepare setup for platform 'econet300.number': Platform not found (Exception importing custom_components.econet300.number).
Logger: homeassistant.loader
Source: loader.py:842
First occurred: 7:26:11 AM (2 occurrences)
Last logged: 7:36:28 AM
Unexpected exception importing platform custom_components.econet300.number
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 842, in get_platform
cache[full_name] = self._import_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 859, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/config/custom_components/econet300/number.py", line 23, in <module>
@dataclass
^^^^^^^^^
File "/usr/local/lib/python3.11/dataclasses.py", line 1230, in dataclass
return wrap(cls)
^^^^^^^^^
File "/usr/local/lib/python3.11/dataclasses.py", line 1220, in wrap
return _process_class(cls, init, repr, eq, order, unsafe_hash,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dataclasses.py", line 1027, in _process_class
_init_fn(all_init_fields,
File "/usr/local/lib/python3.11/dataclasses.py", line 545, in _init_fn
raise TypeError(f'non-default argument {f.name!r} '
TypeError: non-default argument '_attr_native_step' follows default argument
Also:
Many sensors will not display the correct data.
Regards,
Cornel
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.