Closed syssi closed 8 months ago
@Sven177 The feature is ready. Do you like to give it a try?
Awesome, thanks! I´ll give it a try... 👍
Was trying to use that manual switches in the ESP32 multiple UART code, but it throws me that one when adding that underneath the emergency off switches:
_[manual_mode] is an invalid option for [switch.solax_metergateway]. Please check the indentation.
Am I missing something?
Here the according section:
switch:
- platform: solax_meter_gateway
solax_meter_gateway_id: solax_meter_gateway0
emergency_power_off:
name: "${device0} emergency power off"
restore_mode: RESTORE_DEFAULT_OFF
manual_mode:
name: "${device0} manual mode"
restore_mode: RESTORE_DEFAULT_OFF
- platform: solax_meter_gateway
solax_meter_gateway_id: solax_meter_gateway1
emergency_power_off:
name: "${device1} emergency power off"
restore_mode: RESTORE_DEFAULT_OFF
manual_mode:
name: "${device1} manual mode"
restore_mode: RESTORE_DEFAULT_OFF
number:
- platform: solax_meter_gateway
solax_meter_gateway_id: solax_meter_gateway0
manual_power_demand:
name: "${device0} manual power demand"
- platform: solax_meter_gateway
solax_meter_gateway_id: solax_meter_gateway1
manual_power_demand:
name: "${device1} manual power demand"
The new feature isn't merged into the main
branch yet. Did you change the external component section to the feature branch?
Ah, no. That is still @main. So change that as well?
OK - changed to the feature branch, saved and validated the yaml file - now it´s error free. Cool - will move on and test it... 👍
Awesome! Both switches and both Numeric Input Fields show up as entities already. Will test tomorrow, when Inverter(s) are up and running, and will report (but looking fine so far) :-)
Seems working. 👍 Had one Meter Fault as operation mode from the gateway, after switching back from manual to auto-mode, but couldn´t reproduce it yet when switching modes...
The short meter fault while turning off the manual mode is fine (and harmless) because the implementation does need a cycle to pick up the measurement of your smart meter and make it available as valid power demand.
I've prepared a new release. You should switch back to the @main
branch again.
Discussed in https://github.com/syssi/esphome-solax-x1-mini/discussions/60