hassio-ecoflow icon indicating copy to clipboard operation
hassio-ecoflow copied to clipboard

River - Input Entity + Input Not Powered Trigger - False Alerts?

Open jiriteach opened this issue 2 years ago • 10 comments

Hi - I am using the latest version 2.2.3 and still seeing false alerts with the input entity and the trigger for input not powered. See the screenshot.

This device is on bypass and I know input power was not lost so not sure why I am seeing these? Any ideas?

Thanks

Screen Shot 2022-08-03 at 12 10 21

jiriteach avatar Aug 03 '22 00:08 jiriteach

became unavailable means that the connection to the device has been lost. Unlike undetected, it does not mean that the input is turned off.

I'm sure I've fixed the problem with the connection becoming unavailable before, but if it's recurring, I'll need to investigate...

vwt12eh8 avatar Aug 03 '22 21:08 vwt12eh8

Thanks and good to know. I monitor uptime on the River's via my monitoring tools and havent noticed any drops but I will keep an eye on this.

The trigger for input not powered shouldnt fire for become unavailable though right?

jiriteach avatar Aug 03 '22 21:08 jiriteach

Yes, When there is really no input, the state should be off, not unavailable.

vwt12eh8 avatar Aug 03 '22 22:08 vwt12eh8

Ok - after some testing I can confirm that the trigger for input not powered is firing if network connectivity drops (ie. the River drops off wifi).

This should not be happenning as its false alert since actual power has not dropped. So looks like a bug. Thanks

jiriteach avatar Aug 04 '22 22:08 jiriteach

Are you sure you didn't set the warning condition to state ! = 'on'? To make it work correctly, you need to set either state == 'off' or state ! = 'on' and state ! = 'unavailable'.

vwt12eh8 avatar Aug 06 '22 04:08 vwt12eh8

Are you sure you didn't set the warning condition to state ! = 'on'?

To make it work correctly, you need to set either state == 'off' or state ! = 'on' and state ! = 'unavailable'.

Am using the provided trigger as follows. Perhaps I should set a duration in there.

image

jiriteach avatar Aug 06 '22 04:08 jiriteach

Perhaps that device trigger internally uses state ! = 'on' and not expecting unavailable.

It's a bit more challenging, but I think you can ignore unavailable by setting the trigger type to State.

image

trigger:
  - platform: state
    entity_id:
      - binary_sensor.river_******_input
    to: "off"

vwt12eh8 avatar Aug 06 '22 04:08 vwt12eh8

Note that a device is considered disconnected when it has not sent any data for 15 consecutive seconds.

vwt12eh8 avatar Aug 06 '22 04:08 vwt12eh8

Note that a device is considered disconnected when it has not sent any data for 15 consecutive seconds.

Good to know! Have set a duration longer than 30 sec so it will wait so should work well. Thanks

jiriteach avatar Aug 06 '22 05:08 jiriteach

So even with the delays, still getting lots of alerts and pretty confident the devices are not disconnecting from wifi so - I have now changed my automations to use a state trigger as you have suggested and will see how this goes.

jiriteach avatar Aug 08 '22 10:08 jiriteach