@richard-g8jvm wrote:
Trying to use the relay control on a Shelly EM
I can control the relay from mqtt explorer, but not from the lovelace >developer tools>mqtt
mqtt explorer is ok with
shellies/sellyem-109664/relay/0 ( payload either 1 or 0 )
I’ve tried with and without a leading forward slash “/”
in my configuration.yaml I have- platform: mqtt name: Immersion load state_topic: "/shellies/shellyem-109664/relay/0" command_topic: "/shellies/shellyem-109664/relay/0" payload_on: "1" payload_off: "0"
on the config checker it thrown out with
Error loading /home/odroid/.homeassistant/configuration.yaml: while parsing a block mapping in "/home/odroid/.homeassistant/configuration.yaml", line 1, column 1 expected <block end>, but found '<block sequence start>' in "/home/odroid/.homeassistant/configuration.yaml", line 236, column 2
I’m confused over line 1 as no changes there, but it seems to want to have 2 spaces leading
homeassistant: # Name of the location where Home Assistant is running name: Home # Location required to calculate the time the sun rises and sets latitude: 52.66202 longitude: -2.46976
If I hash out the mqqt section above its happy with no leading spaces
Version reported in lovlace is 0.104.3 but I have updated but doesn’t show on lovelace.
The version showing doesn’t stop anything working so I left it as isWhat I’m doing with the relay is to control a relay which shorts out a series diode ( 75A,1200v)
which is in series with the immersion element , normally a 3KW load, but with the series diode the load is 1.5KW. Used on my solarPV system so power generated is less than 3KW I can switch the load level, works fine on a resistive load.what am I screwing up with the config please
Posts: 1
Participants: 1