Logger: homeassistant
Source: components/daikin/sensor.py:144
First occurred: 5 settembre 2020, 12:44:04 (70 occurrences)
Last logged: 5 settembre 2020, 13:18:35
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 583, in _update_entity_states
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 268, in async_update_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 305, in _async_write_ha_state
sstate = self.state
File "/usr/src/homeassistant/homeassistant/components/daikin/sensor.py", line 144, in state
return round(self._api.device.last_hour_cool_energy_consumption, 3)
TypeError: type NoneType doesn't define __round__ method
I have the BRP069B41 model also but my power consumptions aren’t ok. The values present on the app aren’t the same as the ones on HA. Sometimes they go to zero and most of the times are plain wrong with all the ACs having the same (wrong) power consumption. Any tips?
The way pydaikin currently monitors the energy consumption can lead to local differences. Can you please tell me which data are you comparing exactly? (which entity, and which graph in the daikin app)
The total energy consumption - the area under the curves - should be exactly the same though, despite some lags or local differences between HA and the daikin app
I have exactly the same behavior if I use the energy sensor to store the daily consumption… It seems that it sum the values when there are changes on the consumption, example, when it’s making cold for 1 min consumption goes to 400w then it stops for some time and then It starts again and so on… This 400w are being sum all the time… Instead of 400w per hour it sums 400w when values changes … I think…
Anyone has tried the BRP072A43 wifi module on an Emura or LV high wall unit with Home Assistant? Can you control fan speed and louver directions with this setup?
the heater/cooler energy consumption per AC on a hourly basis (100Wh accuracy)
the total energy consumption (all AC are summed) on live (100Wh accuracy as well)
The “current total power” HA sensor is measuring the energy consumption reported in the last 30 minutes so it will report the consumption smoothed on a 30min window (with an accuracy of 200W) which is a bit faster than the “heat / cool energy consumption” HA sensors which are smoothed on a 1hr window (with an accuracy of 100W)… On my personal HA setup I display the current total power sensor only and use the other sensors for historic data analyses
Note that I am currently working on a different way of measuring the power based on the frequency of the energy consumption updates, and also on the compressor frequency which should be somehow proportional to the power usage (it will just require some simple machine learning here). The total power sensor should then be much more responsive and accurate. @fredrike I will probably do a PR to pydaikin in the coming weeks on that matter
Great thank you for the reply! At least I know which values are real and how to use them.
@fredrike - sorry - got one more question. Is it possible that ‘comfort air’ option that’s available to enable via remote, could be enabled via api? I noticed that streamer has been added recently, maybe comfort air could be added too?
I highly doubt that the wifi controller expose that function if you don’t have it in the official Daikin app (I have a similar model with a lot of fancy stuff not exposed to the controller).
Hi there,
I have 2x Daikin ACs with BRP072C42 wifi units attached to them.
The ACs and the Wifi units are identical, and both are connected to my Hassio 2021.06.6 installation.
One of them works perfectly and identifies 7 entities.
The other one, however, only identifies 4 entities and throws the following error in the Home Assistant Log file.
Logger: homeassistant.components.sensor
Source: components/daikin/sensor.py:140
Integration: Sensor (documentation, issues)
First occurred: 9:14:43 PM (2 occurrences)
Last logged: 9:14:43 PM
Error adding entities for domain sensor with platform daikin
Error while setting up daikin platform for sensor
Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 383, in async_add_entities await asyncio.gather(*tasks) File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 588, in _async_add_entity await entity.add_to_platform_finish() File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 615, in add_to_platform_finish self.async_write_ha_state() File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 368, in async_write_ha_state self._async_write_ha_state() File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 402, in _async_write_ha_state state = self._stringify_state() File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 374, in _stringify_state state = self.state File “/usr/src/homeassistant/homeassistant/components/daikin/sensor.py”, line 140, in state return round(self._api.device.last_hour_cool_energy_consumption, 3) AttributeError: ‘DaikinBRP072C’ object has no attribute ‘last_hour_cool_energy_consumption’
Any ideas on what is wrong here?
Both units are the same model and run the same firmware… this is very strange.
Hope someone can help me with this. I live in the US and I bought the BRP069B42. I thought that if I was able to get the IP address and change the region code (using this http://ipaddress/common/set_regioncode?reg=us), the comfort control app would be able to see this unit and I could then integrate it with HA. Am I wrong or am I missing something? My cell phone is on the same network as the BRP069B42.