Hello everyone,
I just logged in and haven’t introduced myself yet. I’m a bit older but also new here. My name is Nick, and I dabble in IT and “smart” stuff from time to time, mostly at home.
Anyway, currently, I’m trying to prevent my heater and my home battery from arguing with each other. Both are trying to consume the surplus PV power, with the battery system naturally being faster than the heater. Later on, the heater punishes it by ruthlessly draining it empty. Not ideal. It would be better if I could distribute the surplus power. Since I lack the appropriate system, I started integrating and rudimentarily controlling the systems. I found a guide regarding my heater here:
[Link to the guide]
However, I didn’t feel like installing Node-RED, so I wanted to solve everything using REST commands and automation. Based on the guide, I added the following entry to my configuration.yaml:
rest_command:
sme_auto:
url: http://username:password@ipaddress/menupage.cgi?page=0301580E&changeadr=039003301D&changeto=2
method: GET
This link isn’t correct, but I can paste the one from my configuration.yaml into my browser, press Enter, and the action triggers on my heater. So, it should work.
I designed the automation as follows for testing:
alias: Test RESTful
description: ""
trigger: []
condition: []
action:
- service: rest_command.sme_auto
data: {}
mode: single
That’s all. As you can see, without any triggers. I have to manually trigger the automation. In my opinion, this should work. I’ve also restarted HA. But when I trigger the automation, my heater doesn’t respond. Since I’m stuck, I thought I’d reach out to you guys.