I have a weather station with rain bucket heating I switch on and off with actual temperature as the trigger.
I have a website grandix.nl that shows all weather data and also if the heating is on or off.
For this I have an automation, a script and a executable bash script. It is all very basic but doesn’t work.
Is there someone who could give me some help please?
- id: '201912201120'
alias: bericht verwarming aan naar website grandix
description: ''
trigger:
platform: state
entity_id: switch.everspring_an157_plug_in_appliance_module_switch
to: 'on'
action:
service: script.turn_on
entity_id: script.grandix_verwarming_aan
In my logfile I see this:
[homeassistant.components.automation] Executing bericht verwarming aan naar website grandix#033[0m
[homeassistant.helpers.script] Script bericht verwarming aan naar website grandix: Running script#033[0m
[homeassistant.helpers.script] Script bericht verwarming aan naar website grandix: Executing step call service#033[0m
And then nothing happens anymore. My website is not changing.
Yes, the user can do that. I tried from the command line and it works. The problem is that Hass apperntly can’t fire the bash script.
After reading again and again my files I came to this:
automation:
- id: '201912201120'
alias: bericht verwarming aan naar website grandix
description: ''
trigger:
platform: state
entity_id: switch.everspring_an157_plug_in_appliance_module_switch
to: 'on'
action:
service: script.turn_on
entity_id: script.grandix_verwarming_aan
- id: '201912201125'
alias: bericht verwarming uit naar website grandix
description: ''
trigger:
platform: state
entity_id: switch.everspring_an157_plug_in_appliance_module_switch
to: 'off'
action:
service: script.turn_on
entity_id: script.grandix_verwarming_uit
For me it looks completly logical code, but for me this is new stuff so I am open to all suggestions.
BTW the full path didn’t solve it. Same errors remain.