# Loxone Integration

**URL:** <https://forum.bondhome.io/t/loxone-integration/2532>\
**Category:** Integrations\
**Created:** [June 16, 2021, 1:45am UTC](https://forum.bondhome.io/t/loxone-integration/2532 "2021-06-16T01:45:58Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![uha](https://avatars.discourse-cdn.com/v4/letter/u/48db29/32.png) [@uha](https://forum.bondhome.io/u/uha)\
**Post date:** [July 15, 2021, 4:29am UTC](https://forum.bondhome.io/t/loxone-integration/2532/21 "2021-07-15T04:29:11Z")

</div>

Thanks @nausser. Glad this worked.

---

<div class="post-metadata">

**Author:** ![xeroiv](https://avatars.discourse-cdn.com/v4/letter/x/d26b3c/32.png) [@xeroiv](https://forum.bondhome.io/u/xeroiv)\
**Post date:** [November 17, 2022, 6:23pm UTC](https://forum.bondhome.io/t/loxone-integration/2532/22 "2022-11-17T18:23:08Z")

</div>

Thanks for the tutorial here on how to get the Bond API hooked into Loxone. I was able to get the lights and fan to respond to commands using the REST API, but the one issue I haven’t cracked is how to get status information in order to make sure Loxone and Bond stay in sync with each other. I tried to use the BPUDP but only managed to get the initial acknowledgement packet and never got topic updates on the state. Is there another way to get the state bond information into the Loxone program since I don’t believe there is a way to use the token for virtual http inputs (not to mention 10s polling isn’t ideal)?

---

<div class="post-metadata">

**Author:** ![jpkeenanjr](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.bondhome.io/jpkeenanjr/32/545_2.png) [@jpkeenanjr](https://forum.bondhome.io/u/jpkeenanjr)\
**Post date:** [November 17, 2022, 7:32pm UTC](https://forum.bondhome.io/t/loxone-integration/2532/23 "2022-11-17T19:32:30Z")

</div>

Are you sending pings to keep the BPUDP connection alive? Here’s my Python code for that.

```auto
    def udp_receive(self):
        while True:
            now = time.time()
            if now > self.next_ping:
                self.sock.sendto('\n'.encode("utf-8"), (self.address, 30007))
                self.next_ping = now + PING_TIMEOUT

            try:
                json_data, address = self.sock.recvfrom(2048)
            except socket.timeout as err:
                continue
            except socket.error as err:
                raise

            data = json.loads(json_data.decode("utf-8"))

            # ignore ping messages
            if len(data) == 1:
                continue

            # fix up the data
            topic = data['t'].split('/')
            data['id'] = topic[1]

            self.callback(data)

```

---

<div class="post-metadata">

**Author:** ![Icarus](https://avatars.discourse-cdn.com/v4/letter/i/e19b73/32.png) [@Icarus](https://forum.bondhome.io/u/Icarus)\
**Post date:** [October 14, 2023, 8:54am UTC](https://forum.bondhome.io/t/loxone-integration/2532/24 "2023-10-14T08:54:32Z")

</div>

Having the same problem with BPUDP feedback. I’m working with a Bond Bridge Pro on firmware v3.17.4.

The Bond Bridge is being polled every 60 seconds and I see a reply immediately -

```auto
{"B":"ZPGE12345","d":0,"v":"v3.17.4"}\n

```

Just no more replies outside of the keep-alive response.

---

<div class="post-metadata">

**Author:** ![Icarus](https://avatars.discourse-cdn.com/v4/letter/i/e19b73/32.png) [@Icarus](https://forum.bondhome.io/u/Icarus)\
**Post date:** [October 21, 2023, 1:28am UTC](https://forum.bondhome.io/t/loxone-integration/2532/25 "2023-10-21T01:28:17Z")

</div>

Bump… Hello Support.

While not particularly specific to Loxone integration, I’m still having problems with BPUDP feedback. There is no feedback outside of the immediate reply -

```auto
{"B":"ZPGE12345","d":0,"v":"v3.17.4"}\n

```

I’m working with a Bond Bridge Pro on firmware v3.17.4.

[Previous page](https://forum.bondhome.io/t/loxone-integration/2532.md?page=1)
