arthurdent75 / SimpleScheduler

An Home Assistant AddOn to schedule entities on/off on weekly base
183 stars 36 forks source link

Hvac set value #143

Closed villar3 closed 8 months ago

villar3 commented 9 months ago

The setting value dont work from some day. Before the my scheduling work fine but now i have an issue.

thank for great work

arthurdent75 commented 9 months ago

Please, enable the "debug mode" in the addon configuration and paste here the part of the log where the issue happens.

To give you an idea, this is what I need:

_[2023-12-17 13:58:00] SCHED: Executing ON actions for [11 test] [2023-12-17 13:58:00] SCHED: Turning ON [Hvac] [2023-12-17 13:58:00] DEBUG: climate/turn_on {"entity_id":"climate.hvac"} [2023-12-17 13:58:00] DEBUG: climate/set_temperature {"entity_id":"climate.hvac","temperature":"33"} [2023-12-17 13:58:00] SCHED: Setting [Hvac] temperature to 33° [2023-12-17 13:58:00] DEBUG: Parsing [Test Recurring (2) ] [2023-12-17 13:58:00] DEBUG: Parsing [Light] [2023-12-17 13:58:00] DEBUG: Parsing [Deumidificatore] [2023-12-17 13:58:05] DEBUG: Max Retry: 3 [2023-12-17 13:58:05] DEBUG: Starting Queue management - Queue length: 1 [2023-12-17 13:58:05] DEBUG: ID:ec87c6b8a8934578bfe15dd35dae7967 | Entity status:ON | Queue item:{'entity_id': 'climate.hvac', 'sched_id': '624aa6b95f45f', 'state': 'on', 'value': '33', 'countdown': 3, 'maxretry': 3} [2023-12-17 13:58:05] SCHED: [Hvac] is ON as requested! [2023-12-17 13:58:05] DEBUG: Finished Queue management - Queue length: 0

Thank you.

villar3 commented 9 months ago

[2023-12-19 08:30:05] DEBUG: Finished Queue management - Queue length: 0 [2023-12-19 08:31:00] DEBUG: Parsing [Radiateur SdB Eco] [2023-12-19 08:31:00] DEBUG: Parsing [PAC Jour Blanc] [2023-12-19 08:31:05] DEBUG: Max Retry: 3 [2023-12-19 08:31:05] DEBUG: Starting Queue management - Queue length: 0 [2023-12-19 08:31:05] DEBUG: Finished Queue management - Queue length: 0 [2023-12-19 08:32:00] DEBUG: Parsing [Radiateur SdB Eco] [2023-12-19 08:32:00] DEBUG: Parsing [PAC Jour Blanc] [2023-12-19 08:32:05] DEBUG: Max Retry: 3 [2023-12-19 08:32:05] DEBUG: Starting Queue management - Queue length: 0 [2023-12-19 08:32:05] DEBUG: Finished Queue management - Queue length: 0 [2023-12-19 08:33:00] DEBUG: Parsing [Radiateur SdB Eco] [2023-12-19 08:33:00] DEBUG: Parsing [PAC Jour Blanc] [2023-12-19 08:33:05] DEBUG: Max Retry: 3 [2023-12-19 08:33:05] DEBUG: Starting Queue management - Queue length: 0 [2023-12-19 08:33:05] DEBUG: Finished Queue management - Queue length: 0 [2023-12-19 08:34:00] DEBUG: Parsing [Radiateur SdB Eco] [2023-12-19 08:34:00] DEBUG: Parsing [PAC Jour Blanc] [2023-12-19 08:34:05] DEBUG: Max Retry: 3 [2023-12-19 08:34:05] DEBUG: Starting Queue management - Queue length: 0 [2023-12-19 08:34:05] DEBUG: Finished Queue management - Queue length: 0 [2023-12-19 08:35:00] DEBUG: Parsing [Radiateur SdB Eco] [2023-12-19 08:35:00] DEBUG: Parsing [PAC Jour Blanc] [2023-12-19 08:35:05] DEBUG: Max Retry: 3 [2023-12-19 08:35:05] DEBUG: Starting Queue management - Queue length: 0 [2023-12-19 08:35:05] DEBUG: Finished Queue management - Queue length: 0 [2023-12-19 08:36:00] DEBUG: Parsing [Radiateur SdB Eco] [2023-12-19 08:36:00] DEBUG: Parsing [PAC Jour Blanc] [2023-12-19 08:36:05] DEBUG: Max Retry: 3 [2023-12-19 08:36:05] DEBUG: Starting Queue management - Queue length: 0 [2023-12-19 08:36:05] DEBUG: Finished Queue management - Queue length: 0 [2023-12-19 08:37:00] DEBUG: Parsing [Radiateur SdB Eco] [2023-12-19 08:37:00] DEBUG: Parsing [PAC Jour Blanc] [2023-12-19 08:37:05] DEBUG: Max Retry: 3 [2023-12-19 08:37:05] DEBUG: Starting Queue management - Queue length: 0 [2023-12-19 08:37:05] DEBUG: Finished Queue management - Queue length: 0 [2023-12-19 08:38:00] DEBUG: Parsing [Radiateur SdB Eco] [2023-12-19 08:38:00] DEBUG: Parsing [PAC Jour Blanc] [2023-12-19 08:38:05] DEBUG: Max Retry: 3 [2023-12-19 08:38:05] DEBUG: Starting Queue management - Queue length: 0 [2023-12-19 08:38:05] DEBUG: Finished Queue management - Queue length: 0 [2023-12-19 08:39:00] DEBUG: Parsing [Radiateur SdB Eco] [2023-12-19 08:39:00] DEBUG: Parsing [PAC Jour Blanc] [2023-12-19 08:39:05] DEBUG: Max Retry: 3 [2023-12-19 08:39:05] DEBUG: Starting Queue management - Queue length: 0 [2023-12-19 08:39:05] DEBUG: Finished Queue management - Queue length: 0 [2023-12-19 08:40:00] DEBUG: Parsing [Radiateur SdB Eco] [2023-12-19 08:40:00] DEBUG: Parsing [PAC Jour Blanc] [2023-12-19 08:40:05] DEBUG: Max Retry: 3 [2023-12-19 08:40:05] DEBUG: Starting Queue management - Queue length: 0 [2023-12-19 08:40:05] DEBUG: Finished Queue management - Queue length: 0 [2023-12-19 08:41:00] DEBUG: Parsing [Radiateur SdB Eco] [2023-12-19 08:41:00] DEBUG: Parsing [PAC Jour Blanc] [2023-12-19 08:41:05] DEBUG: Max Retry: 3 [2023-12-19 08:41:05] DEBUG: Starting Queue management - Queue length: 0 [2023-12-19 08:41:05] DEBUG: Finished Queue management - Queue length: 0 [2023-12-19 08:42:00] DEBUG: Parsing [Radiateur SdB Eco] [2023-12-19 08:42:00] DEBUG: Parsing [PAC Jour Blanc] [2023-12-19 08:42:05] DEBUG: Max Retry: 3 [2023-12-19 08:42:05] DEBUG: Starting Queue management - Queue length: 0 [2023-12-19 08:42:05] DEBUG: Finished Queue management - Queue length: 0 [2023-12-19 08:43:00] DEBUG: Parsing [Radiateur SdB Eco] [2023-12-19 08:43:00] DEBUG: Parsing [PAC Jour Blanc] [2023-12-19 08:43:05] DEBUG: Max Retry: 3 [2023-12-19 08:43:05] DEBUG: Starting Queue management - Queue length: 0 [2023-12-19 08:43:05] DEBUG: Finished Queue management - Queue length: 0 [2023-12-19 08:44:00] DEBUG: Parsing [Radiateur SdB Eco] [2023-12-19 08:44:00] DEBUG: Parsing [PAC Jour Blanc] [2023-12-19 08:44:05] DEBUG: Max Retry: 3 [2023-12-19 08:44:05] DEBUG: Starting Queue management - Queue length: 0 [2023-12-19 08:44:05] DEBUG: Finished Queue management - Queue length: 0 [2023-12-19 08:45:00] DEBUG: Parsing [Radiateur SdB Eco] [2023-12-19 08:45:00] DEBUG: Parsing [PAC Jour Blanc] [2023-12-19 08:45:05] DEBUG: Max Retry: 3 [2023-12-19 08:45:05] DEBUG: Starting Queue management - Queue length: 0 [2023-12-19 08:45:05] DEBUG: Finished Queue management - Queue length: 0 [2023-12-19 08:46:00] DEBUG: Parsing [Radiateur SdB Eco] [2023-12-19 08:46:00] DEBUG: Parsing [PAC Jour Blanc] [2023-12-19 08:46:05] DEBUG: Max Retry: 3 [2023-12-19 08:46:05] DEBUG: Starting Queue management - Queue length: 0 [2023-12-19 08:46:05] DEBUG: Finished Queue management - Queue length: 0 [2023-12-19 08:47:00] DEBUG: Parsing [Radiateur SdB Eco] [2023-12-19 08:47:00] DEBUG: Parsing [PAC Jour Blanc] [2023-12-19 08:47:05] DEBUG: Max Retry: 3 [2023-12-19 08:47:05] DEBUG: Starting Queue management - Queue length: 0 [2023-12-19 08:47:05] DEBUG: Finished Queue management - Queue length: 0 [2023-12-19 08:48:00] DEBUG: Parsing [Radiateur SdB Eco] [2023-12-19 08:48:00] DEBUG: Parsing [PAC Jour Blanc] [2023-12-19 08:48:05] DEBUG: Max Retry: 3 [2023-12-19 08:48:05] DEBUG: Starting Queue management - Queue length: 0 [2023-12-19 08:48:05] DEBUG: Finished Queue management - Queue length: 0 [2023-12-19 08:49:00] DEBUG: Parsing [Radiateur SdB Eco] [2023-12-19 08:49:00] DEBUG: Parsing [PAC Jour Blanc] [2023-12-19 08:49:05] DEBUG: Max Retry: 3 [2023-12-19 08:49:05] DEBUG: Starting Queue management - Queue length: 0 [2023-12-19 08:49:05] DEBUG: Finished Queue management - Queue length: 0 [2023-12-19 08:50:00] DEBUG: Parsing [Radiateur SdB Eco] [2023-12-19 08:50:00] DEBUG: Parsing [PAC Jour Blanc] [2023-12-19 08:50:05] DEBUG: Max Retry: 3 [2023-12-19 08:50:05] DEBUG: Starting Queue management - Queue length: 0

villar3 commented 9 months ago

my home assistant is in french setting.

arthurdent75 commented 9 months ago

Nothing seems to be executed at all... What time and day of the week the event is scheduled? Can you paste here a screenshot of the schedulers?

villar3 commented 9 months ago

Capture d’écran 2023-12-19 à 09 33 15

arthurdent75 commented 9 months ago

I need a log of the time when the schedule should trigger... 06:00 / 10:00 / 16:00 / 23:30 You paste a log 8:30-8:50 and (of course) there is no action there...

villar3 commented 9 months ago

Sans titre yes, it's 10 a clock now and no log appear in the logger. i click on refresh button and nothing. No value change on my HVAC.

arthurdent75 commented 9 months ago

image

I need to see the log between 09:59 and 10:05 . Scroll back the log and paste it here. I can't help you, otherwise...

villar3 commented 9 months ago

2023-12-19 09:58:05] DEBUG: Max Retry: 3 [2023-12-19 09:58:05] DEBUG: Starting Queue management - Queue length: 0 [2023-12-19 09:58:05] DEBUG: Finished Queue management - Queue length: 0 [2023-12-19 09:59:00] DEBUG: Parsing [Radiateur SdB Eco] [2023-12-19 09:59:00] DEBUG: Parsing [PAC Jour Blanc] [2023-12-19 09:59:05] DEBUG: Max Retry: 3 [2023-12-19 09:59:05] DEBUG: Starting Queue management - Queue length: 0 [2023-12-19 09:59:05] DEBUG: Finished Queue management - Queue length: 0 [2023-12-19 10:00:00] DEBUG: Parsing [Radiateur SdB Eco] [2023-12-19 10:00:00] DEBUG: Parsing [PAC Jour Blanc] [2023-12-19 10:00:00] SCHED: Executing ON actions for [PAC Jour Blanc] [2023-12-19 10:00:00] SCHED: Turning ON [Pac Maison] [2023-12-19 10:00:00] DEBUG: climate/turn_on {"entity_id":"climate.pac_maison"} [2023-12-19 10:00:00] DEBUG: climate/set_temperature {"entity_id":"climate.pac_maison","temperature":"-1"} [2023-12-19 10:00:00] SCHED: Setting [Pac Maison] temperature to -1° [2023-12-19 10:00:00] SCHED: Turning ON [Activer Mode Chauffe PAC] [2023-12-19 10:00:00] DEBUG: script/turn_on {"entity_id":"script.activer_mode_chauffe_pac"} [2023-12-19 10:00:05] DEBUG: Max Retry: 3 [2023-12-19 10:00:05] DEBUG: Starting Queue management - Queue length: 1 [2023-12-19 10:00:05] DEBUG: ID:dbe86cbcc35b4bfb8c747ed5cbaffbb4 | Entity status:ON | Queue item:{'entity_id': 'climate.pac_maison', 'sched_id': 'eb24bf0a285e46ad8de86f0a652a319c', 'state': 'on', 'value': '-1', 'countdown': 3, 'max_retry': 3} [2023-12-19 10:00:05] SCHED: [Pac Maison] is ON as requested! [2023-12-19 10:00:05] DEBUG: Finished Queue management - Queue length: 0 [2023-12-19 10:01:00] DEBUG: Parsing [Radiateur SdB Eco] [2023-12-19 10:01:00] DEBUG: Parsing [PAC Jour Blanc] [2023-12-19 10:01:05] DEBUG: Max Retry: 3 [2023-12-19 10:01:05] DEBUG: Starting Queue management - Queue length: 0 [2023-12-19 10:01:05] DEBUG: Finished Queue management - Queue length: 0 [2023-12-19 10:02:00] DEBUG: Parsing [Radiateur SdB Eco] [2023-12-19 10:02:00] DEBUG: Parsing [PAC Jour Blanc] [2023-12-19 10:02:05] DEBUG: Max Retry: 3 [2023-12-19 10:02:05] DEBUG: Starting Queue management - Queue length: 0 [2023-12-19 10:02:05] DEBUG: Finished Queue management - Queue length: 0 [2023-12-19 10:03:01] DEBUG: Parsing [Radiateur SdB Eco] [2023-12-19 10:03:01] DEBUG: Parsing [PAC Jour Blanc] [2023-12-19 10:03:06] DEBUG: Max Retry: 3 [2023-12-19 10:03:06] DEBUG: Starting Queue management - Queue length: 0 [2023-12-19 10:03:06] DEBUG: Finished Queue management - Queue length: 0 [2023-12-19 10:04:00] DEBUG: Parsing [Radiateur SdB Eco] [2023-12-19 10:04:00] DEBUG: Parsing [PAC Jour Blanc] [2023-12-19 10:04:05] DEBUG: Max Retry: 3 [2023-12-19 10:04:05] DEBUG: Starting Queue management - Queue length: 0 [2023-12-19 10:04:05] DEBUG: Finished Queue management - Queue length: 0 [2023-12-19 10:05:00] DEBUG: Parsing [Radiateur SdB Eco] [2023-12-19 10:05:00] DEBUG: Parsing [PAC Jour Blanc] [2023-12-19 10:05:05] DEBUG: Max Retry: 3

arthurdent75 commented 9 months ago

According to the log, everything is working fine. If you try to set the temperature by calling the service from Developer Tools, does it work?

image

What are the actions performed by 'script.activer_mode_chauffe_pac'? Since is executed after the set_temperature action, maybe it somehow overrides it?

Try to execute the service in the Developer Tool, check the PAC temperature, and then execute the script.

villar3 commented 9 months ago

if i change my schedule "[PAC Jour Blanc]" with new value it's work again.

2023-12-19 13:00:00] DEBUG: Parsing [Radiateur SdB Eco] [2023-12-19 13:00:00] DEBUG: Parsing [PAC Jour Blanc] [2023-12-19 13:00:00] SCHED: Executing ON actions for [PAC Jour Blanc] [2023-12-19 13:00:00] SCHED: Turning ON [Pac Maison] [2023-12-19 13:00:00] DEBUG: climate/turn_on {"entity_id":"climate.pac_maison"} [2023-12-19 13:00:00] DEBUG: climate/set_temperature {"entity_id":"climate.pac_maison","temperature":"-1"} [2023-12-19 13:00:00] SCHED: Setting [Pac Maison] temperature to -1° [2023-12-19 13:00:00] SCHED: Turning ON [Activer Mode Chauffe PAC] [2023-12-19 13:00:00] DEBUG: script/turn_on {"entity_id":"script.activer_mode_chauffe_pac"} [2023-12-19 13:00:05] DEBUG: Max Retry: 3 [2023-12-19 13:00:05] DEBUG: Starting Queue management - Queue length: 1 [2023-12-19 13:00:05] DEBUG: ID:b608e9a5fb3c4031acd60d7cc17d33f9 | Entity status:ON | Queue item:{'entity_id': 'climate.pac_maison', 'sched_id': 'eb24bf0a285e46ad8de86f0a652a319c', 'state': 'on', 'value': '-1', 'countdown': 3, 'max_retry': 3} [2023-12-19 13:00:05] SCHED: [Pac Maison] is ON as requested! [2023-12-19 13:00:05] DEBUG: Finished Queue management - Queue length: 0 [2023-12-19 13:01:00] DEBUG: Parsing [Radiateur SdB Eco]

arthurdent75 commented 9 months ago

if i change my schedule "[PAC Jour Blanc]" with new value it's work again.

Can you explain in detail what you did to solve it? Thank you

villar3 commented 9 months ago

I change a value in the « turn on » section and i save my schedule .

villar3 commented 9 months ago

my script : alias: Activer Mode Chauffe PAC sequence:

i use this script because after a setting value on the temperature with the scheduler my HVAC is in "auto mode" and not in "heat mode" #113

arthurdent75 commented 8 months ago

I change a value in the « turn on » section and i save my schedule .

I think we may consider it solved