# Merging 2 setups

**URL:** <https://community.info-beamer.com/t/merging-2-setups/48>\
**Category:** Help\
**Created:** [October 22, 2018, 12:17pm UTC](https://community.info-beamer.com/t/merging-2-setups/48 "2018-10-22T12:17:41Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![tabcafe](https://community.info-beamer.com/letter_avatar_proxy/v3/letter/t/eb8c5e/32.png) [@tabcafe](https://community.info-beamer.com/u/tabcafe)\
**Post date:** [October 22, 2018, 12:17pm UTC](https://community.info-beamer.com/t/merging-2-setups/48/1 "2018-10-22T12:17:41Z")

</div>

Hi team,

I would like to use both the Scheduler setup and power setup simultaneously, is it possible?  
I have a digital menu which runs under scheduler setup and simultaneously I would like to run power schedule setup so the devices can be turned off automatically as per schedule under power setup.

---

<div class="post-metadata">

**Author:** ![infobeamer-fw](https://community.info-beamer.com/user_avatar/community.info-beamer.com/infobeamer-fw/32/3_2.png) [@infobeamer-fw](https://community.info-beamer.com/u/infobeamer-fw)\
**Post date:** [October 22, 2018, 12:56pm UTC](https://community.info-beamer.com/t/merging-2-setups/48/2 "2018-10-22T12:56:08Z")

</div>

You can only ever have a single setup installed on a device. But you can have multiple packages within a single setup. Most combinations make no sense and don’t work, but the [power saver package](https://info-beamer.com/pkg/1262) is designed for exactly the use case you describe. Follow the **Adding this package to your existing setups** section of the linked package, to add the power saver package to your existing setup as a child package. Hope that helps.

---

<div class="post-metadata">

**Author:** ![tabcafe](https://community.info-beamer.com/letter_avatar_proxy/v3/letter/t/eb8c5e/32.png) [@tabcafe](https://community.info-beamer.com/u/tabcafe)\
**Post date:** [October 22, 2018, 3:55pm UTC](https://community.info-beamer.com/t/merging-2-setups/48/3 "2018-10-22T15:55:45Z")

</div>

Great…!  
thanks a lot.

---

<div class="post-metadata">

**Author:** ![andy.ravilious](https://community.info-beamer.com/letter_avatar_proxy/v3/letter/a/85f322/32.png) [@andy.ravilious](https://community.info-beamer.com/u/andy.ravilious)\
**Post date:** [October 23, 2018, 8:15am UTC](https://community.info-beamer.com/t/merging-2-setups/48/4 "2018-10-23T08:15:20Z")

</div>

be great it you could include multi able setups within a setup  
ie we have 5 screens which have 5 different setups create, But the setup are made up of the sames screens  
screen1 = Setup A, Setup B  
Screen2 = Setup B, Setup C  
screen 3 = Setup A, B and C  
Screen 4 = Setup A,and C  
Bit like a playlist but with a packages.

thanks

---

<div class="post-metadata">

**Author:** ![infobeamer-fw](https://community.info-beamer.com/user_avatar/community.info-beamer.com/infobeamer-fw/32/3_2.png) [@infobeamer-fw](https://community.info-beamer.com/u/infobeamer-fw)\
**Post date:** [October 23, 2018, 11:06am UTC](https://community.info-beamer.com/t/merging-2-setups/48/5 "2018-10-23T11:06:31Z")

</div>

That’s not possible. A “_setup_” is something that is “_currently running on a device_”. You can’t have 2 things running at once. That would require some impossible magic that fuses two (or more?) different source codes and their logic together.

The info-beamer system doesn’t and can’t know what logic is currently running on a device, as everything that’s controls the output on a device isn’t provided by the info-beamer hosted system but by independent packages that use the info-beamer hosted system as their runtime. So the system can’t fuse two setups together because that would require it to understand their intention which is impossible.

What you can do is switch between multiple setups programmatically (or manually of course). Using the [Update Device API](https://info-beamer.com/doc/api#updatedevice) you can assign a new `setup_id` to a device. If the old and new setup are based on the same package, the switch is usually smooth, so there is no sudden black screen while switching. Does that help?

---

<div class="post-metadata">

**Author:** ![andy.ravilious](https://community.info-beamer.com/letter_avatar_proxy/v3/letter/a/85f322/32.png) [@andy.ravilious](https://community.info-beamer.com/u/andy.ravilious)\
**Post date:** [October 23, 2018, 11:46am UTC](https://community.info-beamer.com/t/merging-2-setups/48/6 "2018-10-23T11:46:23Z")

</div>

Hi Florian  
Thanks for your reply  
How would you go about using the api so once it has finished SetupA it then moved to setupB, then back to SetupA?

---

<div class="post-metadata">

**Author:** ![infobeamer-fw](https://community.info-beamer.com/user_avatar/community.info-beamer.com/infobeamer-fw/32/3_2.png) [@infobeamer-fw](https://community.info-beamer.com/u/infobeamer-fw)\
**Post date:** [October 23, 2018, 12:01pm UTC](https://community.info-beamer.com/t/merging-2-setups/48/7 "2018-10-23T12:01:40Z")

</div>

The API call looks like this (using `curl`, if you use any other http request tool/library, you’d have to adapt the call):

```auto
curl -u :$API_KEY https://info-beamer.com/api/v1/device/$DEVICE_ID -d "setup_id=$SETUP_ID"

```

with `$API_KEY` being the API key from your [account page](https://info-beamer.com/account), `$DEVICE_ID` being the id of the device (you can get that from the url of your device config page or from the API) and `$SETUP_ID` being the new setup you want the device to switch to (get the id from the setup page url or the API).

As to when to switch: Similar issue. The info-beamer system can’t know if a setup has finished. There is no such status anywhere as a setup can do anything. But you could switch setups every 15 minutes for example.

If you want to programmatically merge setups and you can describe the logic of how to merge, you might take a look at this [blog post](https://info-beamer.com/blog/automating-video-walls-with-the-api). But that’s a bit more advanced.

I guess in the future, the [schedule player package](https://info-beamer.com/pkg/4765) should have a built-in option of assigning its internal playlists to just some of the assigned devices and not all of them. I think that would solve your use case as you can then have everything in a single setup and control which playlists get scheduled on which devices.

---

<div class="post-metadata">

**Author:** ![andy.ravilious](https://community.info-beamer.com/letter_avatar_proxy/v3/letter/a/85f322/32.png) [@andy.ravilious](https://community.info-beamer.com/u/andy.ravilious)\
**Post date:** [October 23, 2018, 12:19pm UTC](https://community.info-beamer.com/t/merging-2-setups/48/8 "2018-10-23T12:19:29Z")

</div>

Thanks if playlist could be like the content and not just images, that would work

thanks
