Replies: 1 comment 4 replies
-
Yeah I knew this question would come . Relays in YaSolR are not designed to work like the F1ATB for example, to control any kind of load. They were designed to complement the routing and offer a way to add steps to a water tank having for example 3 heating elements, in order to reduce the nominal power going through the triac or SSR. They could be used also on other external resistive and constant loads. The problem with external loads is that the router cannot correctly measure their consumption / resistance value and also cannot know whether the load is constant or variable (like a pump). Consequently, there is no way to accurately know when to stop the load. Hysteresis/ averaging for that use case will just make the routing worse because there will be a lot of import and export. So I decided to let this feature to the user and instead focus YaSolR on what it should fo best: ensure a correct and reliable routing. YaSolR provides all the API necessary (rest, mqtt, ha intégration). It exposes the routed power, grid power and virtual grid power, which is the grid power as it would be if the router was not routing. Thanks to this value, the user can control through HA or Shelly's his own on/off and hystereis depending on the equipment type, virtual grid power, etc. But the real issue is to determine when to switch the load and when to stop. For example, a pump starting takes a lot of power, then consumes less. What the user wants ? Start when enough excess to cover the load spike of the pump or only it's power consumption when running ? And at which pace ? Some systems with pumps can have several speeds... HA or Shelly's are better to handle this kind of automations. So I didn't want to overcomplicate YaSolR with such feature because this is not reliable as explained above, which would highly impact the routing accuracy, even on a constant load because of the hystesis/averaging . If there is a way / design to have this feature work in a reliable way, and be able to correctly determine the power consumption of the external elements to still provide a good routing accuracy, I will consider, but for now I found no way to correctly ensure a good routing with such feature. |
Beta Was this translation helpful? Give feedback.
-
When using relay1 and relay2 (not the PWM output or whatsoever) just to drive some loads on device where PWM is not possible (electronic Heaters or Heating Pump for example) I was thinking it could be great to have some Hysteresis or dual setup to avoid flooding ON/OFF relay when production varies close to setup. Let's example:
ON
above 700W but goesOFF
under 500WWhat do you think?
Beta Was this translation helpful? Give feedback.
All reactions