# Linking victron to eWeLink- to switch states

**URL:** <https://forum.ewelink.cc/t/linking-victron-to-ewelink-to-switch-states/9975>\
**Category:** Uncategorized\
**Tags:** advanced-plan\
**Created:** [December 9, 2022, 2:10pm UTC](https://forum.ewelink.cc/t/linking-victron-to-ewelink-to-switch-states/9975 "2022-12-09T14:10:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonathan1](https://avatars.discourse-cdn.com/v4/letter/j/f14d63/32.png) [@jonathan1](https://forum.ewelink.cc/u/jonathan1)\
**Post date:** [December 9, 2022, 2:10pm UTC](https://forum.ewelink.cc/t/linking-victron-to-ewelink-to-switch-states/9975/1 "2022-12-09T14:10:39Z")

</div>

I have a victron inverter and Solar / backup that runs my core home systems.

All my geysers & utilities are connected to eWeLink monitors.

most automatically fail when mains power fails, as they’re not on the backup db.

However, I would like to add an ITTT to detect when power fails or is restored, and then optionally activate some of my utilities, depending on time / date etc.

Anyone know of a ready made integration I can use to detect whether mains has failed, then use it as a trigger for scenes?

To clarify: I don’t just want to use “last state” but do actions on power restore like turn a geyser on manually 25 mins after power is restored, or turn outside lights on, if it is after 8pm.

---

<div class="post-metadata">

**Author:** ![yitie](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/yitie/32/3613_2.png) [@yitie](https://forum.ewelink.cc/u/yitie)\
**Post date:** [December 14, 2022, 9:54am UTC](https://forum.ewelink.cc/t/linking-victron-to-ewelink-to-switch-states/9975/2 "2022-12-14T09:54:31Z")

</div>

POW R3 series would be help, setup a scene like this, when power restored, let’s assume the power monitored \> 50W, then delay 25 minutes to trun on Switch A, and turn on the light with effective period as you demand.
