Skip to content

Commit

Permalink
v121 - logger.log
Browse files Browse the repository at this point in the history
add logging to component
  • Loading branch information
nliaudat authored Dec 30, 2024
1 parent 9f62496 commit 2ee0dc4
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 4 deletions.
4 changes: 3 additions & 1 deletion heating_channel_PID.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,9 @@ number:
script:
- id: calibrate_CH${channel_number}_cover
then:
- logger.log: "Calibrate CH${channel_number}_cover"
- logger.log:
format: "Calibrate CH${channel_number}"
tag: heat_ctrl_main
- cover.close: CH${channel_number}_cover
- delay: 5s
- cover.open: CH${channel_number}_cover
Expand Down
4 changes: 3 additions & 1 deletion heating_channel_linear.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ number:
script:
- id: calibrate_CH${channel_number}_cover
then:
- logger.log: "Calibrate CH${channel_number}_cover"
- logger.log:
format: "Calibrate CH${channel_number}"
tag: heat_ctrl_main
- cover.close: CH${channel_number}_cover
- delay: 5s
- cover.open: CH${channel_number}_cover
Expand Down
4 changes: 3 additions & 1 deletion heating_channel_remote_controlled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ number:
script:
- id: calibrate_CH${channel_number}_cover
then:
- logger.log: "Calibrate CH${channel_number}_cover"
- logger.log:
format: "Calibrate CH${channel_number}"
tag: heat_ctrl_main
- cover.close: CH${channel_number}_cover
- delay: 5s
- cover.open: CH${channel_number}_cover
Expand Down
4 changes: 3 additions & 1 deletion heating_channel_tanh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ number:
script:
- id: calibrate_CH${channel_number}_cover
then:
- logger.log: "Calibrate CH${channel_number}_cover"
- logger.log:
format: "Calibrate CH${channel_number}"
tag: heat_ctrl_main
- cover.close: CH${channel_number}_cover
- delay: 5s
- cover.open: CH${channel_number}_cover
Expand Down
6 changes: 6 additions & 0 deletions script_calibrate_valves.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,17 @@ script:

- id: valve_maintenance
then:
- logger.log:
format: "Valve maintenance : all even valves"
tag: heat_ctrl_main
- script.execute: calibrate_CH1_cover
- script.execute: calibrate_CH3_cover
- script.execute: calibrate_CH5_cover
- script.execute: calibrate_CH7_cover
- delay: 300s
- logger.log:
format: "Valve maintenance : all odd valves"
tag: heat_ctrl_main
- script.execute: calibrate_CH2_cover
- script.execute: calibrate_CH4_cover
- script.execute: calibrate_CH6_cover
Expand Down

0 comments on commit 2ee0dc4

Please sign in to comment.