Open GoganGogan opened 10 months ago
I think first need to finish do all integration things :)
@GoganGogan
in file Sensor.py find "EconetSensorEntityDescription" and before this line add
EconetSensorEntityDescription( key="T1", name="Solar temperature", icon="mdi:thermometer", native_unit_of_measurement=TEMP_CELSIUS, state_class=SensorStateClass.MEASUREMENT, device_class=SensorDeviceClass.TEMPERATURE, process_val=lambda x: round(x, 2) ), EconetSensorEntityDescription( key="T2", name="Bottom tank temperature", icon="mdi:thermometer", native_unit_of_measurement=TEMP_CELSIUS, state_class=SensorStateClass.MEASUREMENT, device_class=SensorDeviceClass.TEMPERATURE, process_val=lambda x: round(x, 2) ), EconetSensorEntityDescription( key="T3", name="Top tank temperature", icon="mdi:thermometer", native_unit_of_measurement=TEMP_CELSIUS, state_class=SensorStateClass.MEASUREMENT, device_class=SensorDeviceClass.TEMPERATURE, process_val=lambda x: round(x, 2) ), EconetSensorEntityDescription( key="T4", name="Fireplace temperature", icon="mdi:thermometer", native_unit_of_measurement=TEMP_CELSIUS, state_class=SensorStateClass.MEASUREMENT, device_class=SensorDeviceClass.TEMPERATURE, process_val=lambda x: round(x, 2) ),
or send me output of http://*IPECONET*/econet/editParams and what you need (temperature or something)
@arni077r Thank you very much for your guidance!
I'm now able to get data from T1 (solar temp.), T2 (Tank temp) and P1 (pump power).
For anyone following this should be added after "EconetSensorEntityDescription", like the ones already present
EconetSensorEntityDescription( key="T1", name="Solar temperature", icon="mdi:thermometer", native_unit_of_measurement=TEMP_CELSIUS, state_class=SensorStateClass.MEASUREMENT, device_class=SensorDeviceClass.TEMPERATURE, process_val=lambda x: round(x, 2) ), EconetSensorEntityDescription( key="T2", name="Bottom tank temperature", icon="mdi:thermometer", native_unit_of_measurement=TEMP_CELSIUS, state_class=SensorStateClass.MEASUREMENT, device_class=SensorDeviceClass.TEMPERATURE, process_val=lambda x: round(x, 2) ), EconetSensorEntityDescription( key="P1", name="Pump", icon="mdi:gauge", native_unit_of_measurement=PERCENTAGE, state_class=SensorStateClass.MEASUREMENT, process_val=lambda x: round(x, 2) ),
We can do it together if you provide more information.
Hey guys sorry that I am not responsive however I am totally overwhelmed at work and can't work on this right now. I don't even have a time to test your changes.
Hello
Any plans for a EcoNET SOL integration? I have a working one and can assist within my limitations