Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/battery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ sensor:
value_type: U_WORD

- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
modbus_controller_id: ${modbus_controller_id_hf}
name: "${entities_name_prefix}-Battery Output Power"
id: "${entities_id_prefix}_Battery_Output_power"
register_type: holding
Expand Down
10 changes: 5 additions & 5 deletions modules/external.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
sensor:
- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
modbus_controller_id: ${modbus_controller_id_hf}
skip_updates: 2
name: "${entities_name_prefix}-External CT Active Power L1"
id: "${entities_id_prefix}_External_CT_Active_Power_L1"
Expand All @@ -12,7 +12,7 @@ sensor:
value_type: S_WORD

- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
modbus_controller_id: ${modbus_controller_id_hf}
skip_updates: 2
name: "${entities_name_prefix}-External CT Active Power L2"
id: "${entities_id_prefix}_External_CT_Active_Power_L2"
Expand All @@ -24,7 +24,7 @@ sensor:
value_type: S_WORD

- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
modbus_controller_id: ${modbus_controller_id_hf}
skip_updates: 2
name: "${entities_name_prefix}-External CT Active Power L3"
id: "${entities_id_prefix}_External_CT_Active_Power_L3"
Expand All @@ -36,7 +36,7 @@ sensor:
value_type: S_WORD

- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
modbus_controller_id: ${modbus_controller_id_hf}
skip_updates: 2
name: "${entities_name_prefix}-External CT Active Power Total"
id: "${entities_id_prefix}_External_CT_Active_Power_Total"
Expand All @@ -49,7 +49,7 @@ sensor:

# External Power Grid - Total Apparent Power
- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
modbus_controller_id: ${modbus_controller_id_hf}
skip_updates: 2
name: "${entities_name_prefix}-External CT Apparent Power Total"
id: "${entities_id_prefix}_External_CT_Apparent_Power_Total"
Expand Down
8 changes: 4 additions & 4 deletions modules/general.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
binary_sensor:
- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
modbus_controller_id: ${modbus_controller_id_hf}
skip_updates: 2
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does this need a high refresh Rate ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is outdated, right?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@KastB: I think this was one of your earlier Commits. Most of the Stuff I feel like you implemented the modbus_controller_id_hf Controller, then a few Commits later you removed it (and switched back to the modbus_controller_id), but originally I expected that you removed it only for a few Signals.

But I think you once again removed it for all of them. I kinda got lost there already.

Basically you tried to change to a high Refresh Rate / dual rate Controller, then I guess you saw it didn't work and preferred to change the Modbus Baud Rate to 115200 instead in Advanced Menu ?

name: "${entities_name_prefix}-AC INV Relay" # bit 0
id: "${entities_id_prefix}_AC_INV_Relay"
Expand All @@ -18,7 +18,7 @@ binary_sensor:
bitmask: 0x2

- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
modbus_controller_id: ${modbus_controller_id_hf}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does this need a high refresh Rate ?

skip_updates: 2
name: "${entities_name_prefix}-General - AC Grid Relay" # bit 2
id: "${entities_id_prefix}_General_AC_Grid_Relay"
Expand All @@ -27,7 +27,7 @@ binary_sensor:
bitmask: 0x4

- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
modbus_controller_id: ${modbus_controller_id_hf}
skip_updates: 2
name: "${entities_name_prefix}-General - AC Generator Relay" # bit 3
id: "${entities_id_prefix}_General_AC_Generator_Relay"
Expand All @@ -36,7 +36,7 @@ binary_sensor:
bitmask: 0x8

- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
modbus_controller_id: ${modbus_controller_id_hf}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does this need a high refresh Rate ?

skip_updates: 2
name: "${entities_name_prefix}-General - Turn off/on status"
id: "${entities_id_prefix}_General_Turn_off_on_status"
Expand Down
24 changes: 17 additions & 7 deletions modules/generator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@ sensor:
unit_of_measurement: "W"
state_class: "measurement"
accuracy_decimals: 1
filters:
- multiply: 0.1
value_type: U_WORD
value_type: S_WORD
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did I get the Data Type wrong ? The Reference Guide didn't specify neither U16 nor S16 and I never tested the Generator, so it could very well be. Did you check your Results ?


- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
Expand All @@ -60,7 +58,7 @@ sensor:
unit_of_measurement: "W"
state_class: "measurement"
accuracy_decimals: 1
value_type: U_WORD
value_type: S_WORD
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did I get the Data Type wrong ? The Reference Guide didn't specify neither U16 nor S16 and I never tested the Generator, so it could very well be. Did you check your Results ?


- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
Expand All @@ -71,15 +69,27 @@ sensor:
unit_of_measurement: "W"
state_class: "measurement"
accuracy_decimals: 1
value_type: U_WORD
value_type: S_WORD
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did I get the Data Type wrong ? The Reference Guide didn't specify neither U16 nor S16 and I never tested the Generator, so it could very well be. Did you check your Results ?


- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
modbus_controller_id: ${modbus_controller_id_hf}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did I get the Data Type wrong ? The Reference Guide didn't specify neither U16 nor S16 and I never tested the Generator, so it could very well be. Did you check your Results ?

name: "${entities_name_prefix}-Generator Power Total"
id: "${entities_id_prefix}_Generator_Power_Total"
register_type: holding
address: 667
unit_of_measurement: "W"
state_class: "measurement"
accuracy_decimals: 1
value_type: U_WORD
value_type: S_WORD
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you test and check your Results of this new Parameter ?


number:
- platform: modbus_controller
use_write_multiple: true
modbus_controller_id: ${modbus_controller_id}
id: "${entities_id_prefix}_Generator_Minimum_Solar_Power"
name: "${entities_name_prefix}-Generator Minimum Solar Power to Enable"
address: 139
unit_of_measurement: W
value_type: U_WORD
min_value: 0
max_value: 8000
8 changes: 4 additions & 4 deletions modules/grid.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ sensor:
value_type: U_WORD

- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
modbus_controller_id: ${modbus_controller_id_hf}
name: "${entities_name_prefix}-Grid Power L1"
id: "${entities_id_prefix}_Grid_Power_L1"
register_type: holding
Expand All @@ -80,7 +80,7 @@ sensor:
value_type: S_WORD

- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
modbus_controller_id: ${modbus_controller_id_hf}
name: "${entities_name_prefix}-Grid Power L2"
id: "${entities_id_prefix}_Grid_Power_L2"
register_type: holding
Expand All @@ -91,7 +91,7 @@ sensor:
value_type: S_WORD

- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
modbus_controller_id: ${modbus_controller_id_hf}
name: "${entities_name_prefix}-Grid Power L3"
id: "${entities_id_prefix}_Grid_Power_L3"
register_type: holding
Expand All @@ -102,7 +102,7 @@ sensor:
value_type: S_WORD

- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
modbus_controller_id: ${modbus_controller_id_hf}
name: "${entities_name_prefix}-Grid Power Total"
id: "${entities_id_prefix}_Grid_Power_Total"
register_type: holding
Expand Down
2 changes: 1 addition & 1 deletion modules/internal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ sensor:
value_type: S_WORD

- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
modbus_controller_id: ${modbus_controller_id_hf}
skip_updates: 2
name: "${entities_name_prefix}-Internal CT Power Total "
id: "${entities_id_prefix}_Internal_CT_Power_Total"
Expand Down
4 changes: 2 additions & 2 deletions modules/inverter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ sensor:
value_type: S_WORD

- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
modbus_controller_id: ${modbus_controller_id_hf}
name: "${entities_name_prefix}-Inverter Output Active Power Total"
id: "${entities_id_prefix}_Inverter_Output_Active_Power_Total"
register_type: holding
Expand All @@ -122,7 +122,7 @@ sensor:
value_type: S_WORD

- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
modbus_controller_id: ${modbus_controller_id_hf}
name: "${entities_name_prefix}-Inverter Output Apparent Power Total"
id: "${entities_id_prefix}_Inverter_Output_Apparent_Power_Total"
register_type: holding
Expand Down
10 changes: 5 additions & 5 deletions modules/load.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ sensor:
value_type: S_WORD

- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
modbus_controller_id: ${modbus_controller_id_hf}
name: "${entities_name_prefix}-Load Active Power L1"
id: "${entities_id_prefix}_Load_Active_Power_L1"
register_type: holding
Expand All @@ -122,7 +122,7 @@ sensor:
value_type: S_WORD

- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
modbus_controller_id: ${modbus_controller_id_hf}
name: "${entities_name_prefix}-Load Active Power L2"
id: "${entities_id_prefix}_Load_Active_Power_L2"
register_type: holding
Expand All @@ -133,7 +133,7 @@ sensor:
value_type: S_WORD

- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
modbus_controller_id: ${modbus_controller_id_hf}
name: "${entities_name_prefix}-Load Active Power L3"
id: "${entities_id_prefix}_Load_Active_Power_L3"
register_type: holding
Expand All @@ -144,7 +144,7 @@ sensor:
value_type: S_WORD

- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
modbus_controller_id: ${modbus_controller_id_hf}
name: "${entities_name_prefix}-Load Active Power Total"
id: "${entities_id_prefix}_Load_Active_Power_Total"
register_type: holding
Expand All @@ -155,7 +155,7 @@ sensor:
value_type: S_WORD

- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
modbus_controller_id: ${modbus_controller_id_hf}
name: "${entities_name_prefix}-Load Apparent Power Total"
id: "${entities_id_prefix}_Load_Apparent_Power_Total"
register_type: holding
Expand Down
10 changes: 5 additions & 5 deletions modules/out-of-grid.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ sensor:
value_type: S_WORD

- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
modbus_controller_id: ${modbus_controller_id_hf}
name: "${entities_name_prefix}-Out-of-Grid Active Power L1"
id: "${entities_id_prefix}_Out_of_Grid_Active_Power_L1"
register_type: holding
Expand All @@ -50,7 +50,7 @@ sensor:
value_type: S_WORD

- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
modbus_controller_id: ${modbus_controller_id_hf}
name: "${entities_name_prefix}-Out-of-Grid Active Power L2"
id: "${entities_id_prefix}_Out_of_Grid_Active_Power_L2"
register_type: holding
Expand All @@ -61,7 +61,7 @@ sensor:
value_type: S_WORD

- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
modbus_controller_id: ${modbus_controller_id_hf}
name: "${entities_name_prefix}-Out-of-Grid Active_Power L3"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you remove the High Refresh Rate Controller for this Signal ?

id: "${entities_id_prefix}_Out_of_Grid_Active_Power_L3"
register_type: holding
Expand All @@ -72,7 +72,7 @@ sensor:
value_type: S_WORD

- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
modbus_controller_id: ${modbus_controller_id_hf}
name: "${entities_name_prefix}-Out-of-Grid Active Power Total"
id: "${entities_id_prefix}_Out_of_Grid_Active_Power_Total"
register_type: holding
Expand All @@ -83,7 +83,7 @@ sensor:
value_type: S_WORD

- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
modbus_controller_id: ${modbus_controller_id_hf}
name: "${entities_name_prefix}-Out-of-Grid Apparent Power Total"
id: "${entities_id_prefix}_Out_of_Grid_Apparent_Power_Total"
register_type: holding
Expand Down
4 changes: 2 additions & 2 deletions modules/solar.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
sensor:
- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
modbus_controller_id: ${modbus_controller_id_hf}
name: "${entities_name_prefix}-Solar Power PV1"
id: "${entities_id_prefix}_Solar_Power_PV1"
register_type: holding
Expand All @@ -11,7 +11,7 @@ sensor:
value_type: U_WORD

- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
modbus_controller_id: ${modbus_controller_id_hf}
name: "${entities_name_prefix}-Solar Power PV2"
id: "${entities_id_prefix}_Solar_Power_PV2"
register_type: holding
Expand Down
16 changes: 8 additions & 8 deletions modules/status.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
text_sensor:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this removed ?

- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
modbus_controller_id: ${modbus_controller_id_hf}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this really need to have a high Refresh Rate ?

skip_updates: 2
bitmask: 0
register_type: holding
Expand All @@ -22,7 +22,7 @@ text_sensor:

sensor:
- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
modbus_controller_id: ${modbus_controller_id_hf}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this really need to have a high Refresh Rate ?

skip_updates: 2
name: "${entities_name_prefix}-Status - Warning1"
id: "${entities_id_prefix}_Status_Warning1"
Expand All @@ -32,7 +32,7 @@ sensor:
value_type: U_WORD

- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
modbus_controller_id: ${modbus_controller_id_hf}
skip_updates: 2
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this really need to have a high Refresh Rate ?

name: "${entities_name_prefix}-Status - Warning2"
id: "${entities_id_prefix}_Status_Warning2"
Expand All @@ -42,7 +42,7 @@ sensor:
value_type: U_WORD

- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
modbus_controller_id: ${modbus_controller_id_hf}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this really need to have a high Refresh Rate ?

skip_updates: 2
name: "${entities_name_prefix}-Status - Warning3"
id: "${entities_id_prefix}_Status_Warning3"
Expand All @@ -52,7 +52,7 @@ sensor:
value_type: U_WORD

- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
modbus_controller_id: ${modbus_controller_id_hf}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this really need to have a high Refresh Rate ?

skip_updates: 2
name: "${entities_name_prefix}-Status - Error1"
id: "${entities_id_prefix}_Status_Error1"
Expand All @@ -62,7 +62,7 @@ sensor:
value_type: U_WORD

- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
modbus_controller_id: ${modbus_controller_id_hf}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this really need to have a high Refresh Rate ?

skip_updates: 2
name: "${entities_name_prefix}-Status - Error2"
id: "${entities_id_prefix}_Status_Error2"
Expand All @@ -72,7 +72,7 @@ sensor:
value_type: U_WORD

- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
modbus_controller_id: ${modbus_controller_id_hf}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this really need to have a high Refresh Rate ?

skip_updates: 2
name: "${entities_name_prefix}-Status - Error3"
id: "${entities_id_prefix}_Status_Error3"
Expand All @@ -82,7 +82,7 @@ sensor:
value_type: U_WORD

- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
modbus_controller_id: ${modbus_controller_id_hf}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this really need to have a high Refresh Rate ?

name: "${entities_name_prefix}-Status - Failure Status of Communication Board"
id: "${entities_id_prefix}_Status_Failure_Status_of_Communication_Board"
register_type: holding
Expand Down
2 changes: 1 addition & 1 deletion modules/ups.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ sensor:
value_type: U_WORD

- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
modbus_controller_id: ${modbus_controller_id_hf}
name: "${entities_name_prefix}-UPS Load Side Active Power Total"
id: "${entities_id_prefix}_UPS_Load_Side_Active_Power_Total"
register_type: holding
Expand Down