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

McxFlowTempDesired in HA vr71 #451

Open
pascalwinters opened this issue Dec 2, 2024 · 15 comments
Open

McxFlowTempDesired in HA vr71 #451

pascalwinters opened this issue Dec 2, 2024 · 15 comments

Comments

@pascalwinters
Copy link

pascalwinters commented Dec 2, 2024

How do I get those sensors in HA with the mqtt-hassio.cfg file?

And especially the McxFlowTempDesired values because the both SensorData sensors are there.

https://github.com/john30/ebusd-configuration/blob/master/ebusd-2.1.x/en/vaillant/26.vr_71.csv

@pascalwinters pascalwinters changed the title Sensors in HA vr71 McxFlowTempDesired in HA vr71 Dec 2, 2024
@Koky05
Copy link

Koky05 commented Dec 3, 2024

You need to change filter name to include Flow:
filter-name = Flow|...
and also directions to show writable values:
filter-direction = r|u|^w

@pascalwinters
Copy link
Author

You need to change filter name to include Flow: filter-name = Flow|...

This doesn't help and the filter-direction was already configured on that way.
So the entity is not added to HA

And also temp was already added to the filer-name, so it should be already added. Also because sensor.ebusd_basv_hc1actualflowtempdesired_value is already added.

@chrizzzp
Copy link

chrizzzp commented Dec 4, 2024

@pascalwinters

Changing the message type from 'w' to 'uw' (update-write) works for me (all filters disabled in mqtt-hassio.cfg):

*r,,,,,,B523,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
*uw,,,,,,B523,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
uw,,Mc1FlowTempDesired,,,,,0200,FTStatus,,onoff,,,,FTDesired,,temp1,,,,MixerStatus,s,onoff,,,,MixerMovement,s,percents,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
uw,,Mc2FlowTempDesired,,,,,0201,FTStatus,,onoff,,,,FTDesired,,temp1,,,,MixerStatus,s,onoff,,,,MixerMovement,s,percents,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
uw,,Mc3FlowTempDesired,,,,,0202,FTStatus,,onoff,,,,FTDesired,,temp1,,,,MixerStatus,s,onoff,,,,MixerMovement,s,percents,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

@pascalwinters
Copy link
Author

@pascalwinters

Changing the message type from 'w' to 'uw' (update-write) works for me (all filters disabled in mqtt-hassio.cfg):

*r,,,,,,B523,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
*uw,,,,,,B523,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
uw,,Mc1FlowTempDesired,,,,,0200,FTStatus,,onoff,,,,FTDesired,,temp1,,,,MixerStatus,s,onoff,,,,MixerMovement,s,percents,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
uw,,Mc2FlowTempDesired,,,,,0201,FTStatus,,onoff,,,,FTDesired,,temp1,,,,MixerStatus,s,onoff,,,,MixerMovement,s,percents,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
uw,,Mc3FlowTempDesired,,,,,0202,FTStatus,,onoff,,,,FTDesired,,temp1,,,,MixerStatus,s,onoff,,,,MixerMovement,s,percents,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

What do you mean with uw?
At the moment I have configured it like this: filter-direction = r|u|^w

@Koky05
Copy link

Koky05 commented Dec 4, 2024

@chrizzzp points to modify 26.vr_71.csv, because it show that sensors are only for write not for read.

@chrizzzp
Copy link

chrizzzp commented Dec 4, 2024

What do you mean with uw?
At the moment I have configured it like this: filter-direction = r|u|^w

Message type is defined in the CSV. I use local CSVs and edited 26.vr_71.csv.

@pascalwinters
Copy link
Author

Should we use those files: https://github.com/john30/ebusd-configuration/tree/master/src for the latest version?

@chrizzzp
Copy link

chrizzzp commented Dec 4, 2024

As far as I understood they apply to ebusd version >24.x where the CSV files are generated from these source files. I haven't really looked into 24.x yet. So I still use ebusd version 23.x with local CSVs. But I'm quite sure this is possible also in version 24.x
Anyway, the repo I mentioned above has a lot more message definitions than the original repo.

@pascalwinters
Copy link
Author

chrizzzp

When I use the csv locally, I see this error:

image

Can you share the content of the file you have?

@pascalwinters
Copy link
Author

I think I need those generated files: https://ebus.github.io/mapping.html
For example: https://ebus.github.io/en/vaillant/26.vr_71.csv
@john30 But where to download those for using them locally?

@chrizzzp
Copy link

chrizzzp commented Dec 4, 2024

When I use the csv locally, I see this error:

Are you sure you also changed the default message type to 'uw'?
*uw,,,,,,B523,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

This is the local 26.vr_71.csv I use:

*r,,,,,,B523,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
*uw,,,,,,B523,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
uw,,SetActorState,,,,,05,R1,,UCH,0=off;20=on,,,R2,,UCH,0=off;20=on,,,R3,,UCH,0=off;20=on,,,R4,,UCH,0=off;20=on,,,R5,,UCH,0=off;20=on,,,R6,,UCH,0=off;20=on,,,R7,,UCH,0=off;20=on,,,R8,,UCH,0=off;20=on,,,R9,,UCH,0=off;20=on,,,R10,,UCH,0=off;20=on,,,R11,,UCH,0=off;20=on,,,R12,,UCH,0=off;20=on,,,Rx,,HEX:2,,,
uw,,Mc1FlowTempDesired,,,,,0200,FTStatus,,onoff,,,,FTDesired,,temp1,,,,MixerStatus,s,onoff,,,,MixerMovement,s,percents,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
uw,,Mc2FlowTempDesired,,,,,0201,FTStatus,,onoff,,,,FTDesired,,temp1,,,,MixerStatus,s,onoff,,,,MixerMovement,s,percents,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
uw,,Mc3FlowTempDesired,,,,,0202,FTStatus,,onoff,,,,FTDesired,,temp1,,,,MixerStatus,s,onoff,,,,MixerMovement,s,percents,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
r,,SensorData1,,,,,06,S1,,temp,,,,S2,,temp,,,,S3,,temp,,,,S4,,temp,,,,S5,,temp,,,,S6,,temp,,,,S7,,temp,,,,ignore,,HEX:2,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
r,,SensorData2,,,,,07,S8,,temp,,,,S9,,temp,,,,S10,,temp,,,,S11,,temp,,,,ignore,,HEX:2,,,,ignore,,HEX:2,,,,ignore,,HEX:3,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
!include,errors.inc,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

@chrizzzp
Copy link

chrizzzp commented Dec 4, 2024

But where to download those for using them locally?

WIth local CSVs you have to run ebusd with the option

-c, --configpath=PATH

If you use the HA ebusd addon you can define the local path in the configuration tab of the addon. Local files have to be in a location ebusd can access (important if you run it in a container like the HA ebusd addon does).

@pascalwinters
Copy link
Author

I have the entities finally in HA. Thanks For support.
But it needs a change in the 26.vr_71.csv to support it native. So it's up to @john30 to decide how to proceed with this ticket.

@john30
Copy link
Owner

john30 commented Jan 14, 2025

I don't see any action to be taken as the mentioned vr71 is already part of the repo.
someone likes to explain what is supposed to be done?

@chrizzzp
Copy link

chrizzzp commented Jan 14, 2025

A change from message type 'w' to 'uw' is requested for the following definitions of the 26.vr_71.csv:

*uw,,,,,,B523,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
uw,,SetActorState,,,,,05,R1,,UCH,0=off;20=on,,,R2,,UCH,0=off;20=on,,,R3,,UCH,0=off;20=on,,,R4,,UCH,0=off;20=on,,,R5,,UCH,0=off;20=on,,,R6,,UCH,0=off;20=on,,,R7,,UCH,0=off;20=on,,,R8,,UCH,0=off;20=on,,,R9,,UCH,0=off;20=on,,,R10,,UCH,0=off;20=on,,,R11,,UCH,0=off;20=on,,,R12,,UCH,0=off;20=on,,,Rx,,HEX:2,,,
uw,,Mc1FlowTempDesired,,,,,0200,FTStatus,,onoff,,,,FTDesired,,temp1,,,,MixerStatus,s,onoff,,,,MixerMovement,s,percents,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
uw,,Mc2FlowTempDesired,,,,,0201,FTStatus,,onoff,,,,FTDesired,,temp1,,,,MixerStatus,s,onoff,,,,MixerMovement,s,percents,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
uw,,Mc3FlowTempDesired,,,,,0202,FTStatus,,onoff,,,,FTDesired,,temp1,,,,MixerStatus,s,onoff,,,,MixerMovement,s,percents,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

Explanation: when the type of the write messages is changed from w (write) to uw (update write), the respective entitities are autodiscovered in HA and can be monitored (e.g. every write command sent by the regulator to the vr71).

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

4 participants