Glad you could join the forum, thanks for joining, someone posted a link to your shop earlier today and I was impressed with your product range. For the guys here and the amount of home automation happening in their homes, I am sure your product range can be beneficial. Its always a mission shopping around for sonoffs, Astudes and who knows what else. Seems like you have all of that in one place. Good work.
I have taken a look at it, should start playing with it as it can help my clients with Victron systems. I have heard through the grapevine that Victron wants to employ guys to assist with node-Red flows for their customers. I hope its not just a rumour.
Plus they could offer an included set of basic flows for customers “out the box”…
Okay, the secret of running automations on the ESP itself is to define an id when setting up for example a switch.
Running an Automation on the ESP itself uses the ID, running an Automation from the Home Assistants side used the Name.
Work is far from done, but I am at last making progress in the right direction, and it works.
Tested it on a spare relay and Ds18b20 already connected to the setup but without any Automations set up on the HA side.
switch:
- platform: gpio
pin: 15
name: "Heater 1"
id: relay1
inverted: True
sensor:
- platform: dallas_temp
name: "Tank 1"
address: "0x5d3cc9e38163f028"
update_interval: 10s
on_value_range:
- above: 28
then:
- switch.turn_off: relay1
- below: 28
then:
- switch.turn_on: relay1
Your post above had the answer in it, i just needed to see it. Thanks for the help. Will shout again when i get to the difficult part.