Skip to content
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

Unknown entity state after restart. #55

Closed
SzymaneKwr opened this issue Sep 6, 2023 · 7 comments
Closed

Unknown entity state after restart. #55

SzymaneKwr opened this issue Sep 6, 2023 · 7 comments

Comments

@SzymaneKwr
Copy link

Hello, I have a question about the entity state after ESP reset. All entities are in an unknown state until they are replaced or updated. Is there any way to make entities show their current state after a reset/update?
2023-09-06_13h47_31

@xhess
Copy link

xhess commented Sep 6, 2023

Thank you for asking this question. I have got the same problem. I think I know what the problem is and that currently there is no solution in this code. As I understand that comfoair-esp32 just listens for messages on the can-bus. The ventilation unit only sends the values when they change. A quick "fix" would be to restart the ventilation unit or you wait until the value changes...

While writing this comment there is currently the possibility to send raw hex commands like described below.

But a real solution would be that the esp32 could ask the ventilation unit for some/all sensor values like described here:
https://github.com/michaelarnauts/comfoconnect/blob/master/PROTOCOL-RMI.md#general-commands

This command reads a single property identified by the Unit, SubUnit and Property Id. Each writable property may have a definitionrange & recommended step size which are also accesible
The syntax is: 01 UnitId SubUnitId GetType PropertyId The answer is depended on the type of the property and the GetType. If the value, range and step (everything) is requested, the answer is: Value, lower boundry of range, upper boundry of range, step size.

The ESP could know that there are unknown values and ask specific for these or it could ask for all values.

@sfleuren
Copy link

Same here; + 1 on this issue.

@albertofralbe
Copy link

Hi, I was wondering if this issue has already been addressed by someone? If so, would you mind to share? Thanks

@vekexasia
Copy link
Owner

Hey all,

as far as I know nobody addressed this. tbh i still struggle to understand the usecase of this. I've mine up and running for weeks and apart from esphome updates my esp32 never reboots... maybe some of you cuts power to their VMC unit?

@vekexasia
Copy link
Owner

Can u guys let me know if this is working for u?

@albertofralbe
Copy link

Where is the PDOID list?

@vekexasia
Copy link
Owner

Where is the PDOID list?

https://github.com/vekexasia/comfoair-esp32/blob/master/components/comfoair/__init__.py#L26

Also can u please take a look @ #74 I am trying to build a compatibility list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants