# balena home assistant: status online (heartbeat only)

**URL:** <https://forums.balena.io/t/balena-home-assistant-status-online-heartbeat-only/365397>\
**Category:** Project help\
**Created:** [November 11, 2022, 12:24pm UTC](https://forums.balena.io/t/balena-home-assistant-status-online-heartbeat-only/365397 "2022-11-11T12:24:53Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![n1md4](https://avatars.discourse-cdn.com/v4/letter/n/d9b06d/32.png) [@n1md4](https://forums.balena.io/u/n1md4)\
**Post date:** [November 11, 2022, 12:24pm UTC](https://forums.balena.io/t/balena-home-assistant-status-online-heartbeat-only/365397/1 "2022-11-11T12:24:53Z")

</div>

Looking to build balena home-assistant on a Banana Pi. Following this deployment:

> **[GitHub - balena-io-examples/balena-homeassistant: Raspberry Pi + Home...](https://github.com/balena-io-examples/balena-homeassistant)**
>
> Raspberry Pi + Home Assistant + balenaSense. Contribute to balena-io-examples/balena-homeassistant development by creating an account on GitHub.

I then etch the image to the host SD card, and power it up.

I can see the device in the cloud fleet manager, but it is constantly in Online (Heartbeat only) mode. Checking the documentation that would indicate the is device is unable to connect to cloudlink (e.g. a firewall is blocking VPN traffic), and won’t be able to provide remote SSH connections. I can’t understand why, as there is local network connectivity and I have other balena hosts that connect just fine.

what’s my next move?

---

<div class="post-metadata">

**Author:** ![n1md4](https://avatars.discourse-cdn.com/v4/letter/n/d9b06d/32.png) [@n1md4](https://forums.balena.io/u/n1md4)\
**Post date:** [November 11, 2022, 2:19pm UTC](https://forums.balena.io/t/balena-home-assistant-status-online-heartbeat-only/365397/2 "2022-11-11T14:19:53Z")

</div>

I’ll add, here is the only entries from the log:

```auto
Applying configuration change {"RESIN_SUPERVISOR_POLL_INTERVAL":"900000","RESIN_SUPERVISOR_DELTA_REQUEST_TIMEOUT":"59000"}
Applied configuration change {"RESIN_SUPERVISOR_POLL_INTERVAL":"900000","RESIN_SUPERVISOR_DELTA_REQUEST_TIMEOUT":"59000"}
Creating network 'default'

```

---

<div class="post-metadata">

**Author:** ![n1md4](https://avatars.discourse-cdn.com/v4/letter/n/d9b06d/32.png) [@n1md4](https://forums.balena.io/u/n1md4)\
**Post date:** [November 11, 2022, 2:39pm UTC](https://forums.balena.io/t/balena-home-assistant-status-online-heartbeat-only/365397/3 "2022-11-11T14:39:42Z")

</div>

My LAN → WAN setting is Allow all.

---

<div class="post-metadata">

**Author:** ![n1md4](https://avatars.discourse-cdn.com/v4/letter/n/d9b06d/32.png) [@n1md4](https://forums.balena.io/u/n1md4)\
**Post date:** [November 11, 2022, 5:23pm UTC](https://forums.balena.io/t/balena-home-assistant-status-online-heartbeat-only/365397/4 "2022-11-11T17:23:08Z")

</div>

As a test, I installed BalenaSound on the same SD and hardware and _it just works_. I’ll call this post good now, and will further investigate how home-assistant is installed.

---

<div class="post-metadata">

**Author:** ![n1md4](https://avatars.discourse-cdn.com/v4/letter/n/d9b06d/32.png) [@n1md4](https://forums.balena.io/u/n1md4)\
**Post date:** [November 12, 2022, 11:22pm UTC](https://forums.balena.io/t/balena-home-assistant-status-online-heartbeat-only/365397/5 "2022-11-12T23:22:17Z")

</div>

Actually, very strange. The same hardware with BalenaSound running on it does work as a Spotify Connect client, but still has the Online (Heartbeat Only).

Anyone have any ideas why that is the case?

---

<div class="post-metadata">

**Author:** ![n1md4](https://avatars.discourse-cdn.com/v4/letter/n/d9b06d/32.png) [@n1md4](https://forums.balena.io/u/n1md4)\
**Post date:** [November 12, 2022, 11:28pm UTC](https://forums.balena.io/t/balena-home-assistant-status-online-heartbeat-only/365397/6 "2022-11-12T23:28:46Z")

</div>

```auto
nmap -p 443 vpn.balena-cloud.com
Starting Nmap 7.80 ( https://nmap.org ) at 2022-11-12 23:28 GMT
Nmap scan report for vpn.balena-cloud.com (3.227.28.93)
Host is up (0.093s latency).
Other addresses for vpn.balena-cloud.com (not scanned): 35.169.89.252 2600:1f18:6600:7f00:3b29:5e04:b6af:68b7 2600:1f18:6600:7f01:b5fc:e785:75fc:2e80
rDNS record for 3.227.28.93: ec2-3-227-28-93.compute-1.amazonaws.com

PORT STATE SERVICE
443/tcp open https

Nmap done: 1 IP address (1 host up) scanned in 0.25 seconds

```

---

<div class="post-metadata">

**Author:** ![n1md4](https://avatars.discourse-cdn.com/v4/letter/n/d9b06d/32.png) [@n1md4](https://forums.balena.io/u/n1md4)\
**Post date:** [November 13, 2022, 12:05am UTC](https://forums.balena.io/t/balena-home-assistant-status-online-heartbeat-only/365397/7 "2022-11-13T00:05:28Z")

</div>

Think it’s time to retire the BananaPi. It did work before (on a different project), but it’s not working now. I put the same application on an RPi3 and it just worked.

---

<div class="post-metadata">

**Author:** ![reryro](https://avatars.discourse-cdn.com/v4/letter/r/f19dbf/32.png) [@reryro](https://forums.balena.io/u/reryro)\
**Post date:** [December 10, 2022, 7:35am UTC](https://forums.balena.io/t/balena-home-assistant-status-online-heartbeat-only/365397/8 "2022-12-10T07:35:19Z")

</div>

Can I suggest you either delete this thread or else edit the first post and add “Nevermind” at the top? Considering your last post, it’s all pretty pointless and was a total waste of time to read.

---

<div class="post-metadata">

**Author:** ![n1md4](https://avatars.discourse-cdn.com/v4/letter/n/d9b06d/32.png) [@n1md4](https://forums.balena.io/u/n1md4)\
**Post date:** [December 21, 2022, 10:56pm UTC](https://forums.balena.io/t/balena-home-assistant-status-online-heartbeat-only/365397/9 "2022-12-21T22:56:18Z")

</div>

I’m sorry that you totally wasted your time, unfortunately there is nothing I can do to get that back for you. Furthermore, I do not have permissions to delete posts (even my own) and nor can I edit it. Ironically replying to you now will be even more of your time wasted.

---

<div class="post-metadata">

**Author:** ![builder555](https://avatars.discourse-cdn.com/v4/letter/b/cc9497/32.png) [@builder555](https://forums.balena.io/u/builder555)\
**Post date:** [December 27, 2022, 7:58pm UTC](https://forums.balena.io/t/balena-home-assistant-status-online-heartbeat-only/365397/10 "2022-12-27T19:58:41Z")

</div>

Hello everyone. @reryro We try to keep things civil and stand against discouragement of discussion and rudeness in general; if this post was a waste of time for you to read, then that is unfortunate. @n1md4 asked some valid questions, and it is very possible that other users may have experienced the same issues. As such, stating their problem and outcome will be helpful to those users. Finally, we always try to encourage public discussion of technical issues and their solutions to promote collaboration.  
Further discouragement of such discourse will not be acceptable.

---

<div class="post-metadata">

**Author:** ![reryro](https://avatars.discourse-cdn.com/v4/letter/r/f19dbf/32.png) [@reryro](https://forums.balena.io/u/reryro)\
**Post date:** [December 28, 2022, 5:08am UTC](https://forums.balena.io/t/balena-home-assistant-status-online-heartbeat-only/365397/11 "2022-12-28T05:08:59Z")

</div>

Oh boo hoo. TL;DR

---

<div class="post-metadata">

**Author:** ![cywang117](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/cywang117/32/6307_2.png) [@cywang117](https://forums.balena.io/u/cywang117)\
**Post date:** [December 30, 2022, 1:21am UTC](https://forums.balena.io/t/balena-home-assistant-status-online-heartbeat-only/365397/13 "2022-12-30T01:21:59Z")

</div>

@n1md4, Interesting info, thank you for sharing. It looks like the VPN connection of the Banana Pi isn’t consistent. If the RPi3 which worked for you afterwards is on the same network as the Banana Pi, then the issue with home-assistant / balenaSound on the Banana Pi may be due to the device-type-specific OS, or the hardware itself. Are these 2 devices connecting to the network in the same way?

If you’d like to debug further instead of retiring the SBC, could you paste some VPN logs of the device when it’s in Online (Heartbeat Only) mode? This would require local network access to the device, and the device to be running a development OS. You can use something like `journalctl -u openvpn -xef`.

Happy holidays!  
Christina

---

<div class="post-metadata">

**Author:** ![n1md4](https://avatars.discourse-cdn.com/v4/letter/n/d9b06d/32.png) [@n1md4](https://forums.balena.io/u/n1md4)\
**Post date:** [January 3, 2023, 4:09pm UTC](https://forums.balena.io/t/balena-home-assistant-status-online-heartbeat-only/365397/15 "2023-01-03T16:09:09Z")

</div>

The devices were configured on the same network.

The host OS version available to install on the BananaPi is Resin OS 2.12.7+rev4 and the Supervisor version is 7.4.3.

I have today reinstalled BalenaSound, and the same happens. Services run, but the VPN is not available.

Attempting to connect to the device locally fails though:

```auto
~/c/g/balena> balena ssh 192.168.1.75
user1@192.168.1.75: Permission denied (publickey).
SSH: Process exited with non-zero status code "255"

Are the SSH keys correctly configured in balenaCloud? See:
https://www.balena.io/docs/learn/manage/ssh-access/#add-an-ssh-key-to-balenacloud
Are you accidentally using `sudo`?

```

SSH keys are configured correctly as I am able to access other devices in this manner.

This _feels_ like the hardware and software is fine, but perhaps there has been a subtle change in how the VPN now works compared with the older host OS or Supervisor version.

---

<div class="post-metadata">

**Author:** ![acostach](https://avatars.discourse-cdn.com/v4/letter/a/bcef8e/32.png) [@acostach](https://forums.balena.io/u/acostach)\
**Post date:** [January 4, 2023, 1:21pm UTC](https://forums.balena.io/t/balena-home-assistant-status-online-heartbeat-only/365397/17 "2023-01-04T13:21:18Z")

</div>

Hi, can you please try the new v2.108.9 image for the Banana Pi M1+ from the cloud?

---

<div class="post-metadata">

**Author:** ![n1md4](https://avatars.discourse-cdn.com/v4/letter/n/d9b06d/32.png) [@n1md4](https://forums.balena.io/u/n1md4)\
**Post date:** [February 4, 2023, 12:51am UTC](https://forums.balena.io/t/balena-home-assistant-status-online-heartbeat-only/365397/20 "2023-02-04T00:51:48Z")

</div>

Hi, I will try the new image. If that does not work I will also try the development OS. Will report back soon.

---

<div class="post-metadata">

**Author:** ![n1md4](https://avatars.discourse-cdn.com/v4/letter/n/d9b06d/32.png) [@n1md4](https://forums.balena.io/u/n1md4)\
**Post date:** [February 4, 2023, 9:52pm UTC](https://forums.balena.io/t/balena-home-assistant-status-online-heartbeat-only/365397/21 "2023-02-04T21:52:48Z")

</div>

The new 2.108.9 image works, VPN access restored. Out of curiosity, do you know what the fix was in the newest version?
