Voice preview auto switch from cloud to local during internet outage?

I’m curious to know if it is possible to have the Voice Preview Edition run on the cloud (nabu casa) normally, but auto switchover to local during an internet outage?

I know it would be much slower and less robust (depending on hardware) when local but it would be nice as a backup.

It seems that fairly robust hardware would be necessary for full local control and not really an option for every instance (especially for things I don’t have like a cabin in the woods, motorhome, or small yacht!)

Set up an automation that triggers on the internet going out and have it change the Assistant select entities of your devices to your local assistant pipeline.

triggers:
  - trigger: state
    entity_id: binary_sensor.ping_1_1_1_1
    for: "00:01:00"
conditions: []
actions:
  - action: select.select_option
    target:
      entity_id: select.vpe_1_assist_pipeline
    data:
      option: |
        {{ "local" if trigger.to_state.state == 'off' else "preferred" }}
1 Like

Thanks for the super quick answer! I haven’t been on since I posted or I would have thanked you earlier. I’m going to give it go….but it will be difficult remembering the exact, specific phrases that local responds to vs cloud. Mines a bit temperamental! Cloud is amazingly forgiving as far as interpreting my spoken commands….local, not so much. ha!