homeassistant

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

rompe, in HA redundancy options

If you succeed, how do you plan to handle ZigBee or Zwave connections? I’m a bit unhappy with my ZigBee dongle remaining a single point of failure.

ALERT, in Can anyone recommend a wireless doorbell that works with home assistant?
@ALERT@sh.itjust.works avatar

xiaomi wireless button, and any speaker like google home mini

JCreazy,

I suppose I forgot to mention that I would like a video doorbell

ALERT, (edited )
@ALERT@sh.itjust.works avatar
Lifebandit666,

Same setup here but it’s an Aqara ZigBee button.

I really like getting a notification that someone is at the door when I’m out. Yeah maybe it would be better with a video or picture, but I paid less than a fiver for it, including shipping from fucking China

TedZanzibar,

Haha I literally setup this exact thing yesterday, and then spent ages making Telegram notifications that delete themselves after a set time, so as not to clog up the feed. Because what’s the point of knowing that someone was at the door after they’ve left?

Those Aqara buttons are so tiny and cute!

lemming741, in Connection refused after latest update

You’re using the right port (:8123) and protocol (no s)?

ShepherdPie,

Also check that the server IP address didn’t change on the router.

extant, in Connection refused after latest update

Power cycle the device?

champagne_laugh,

I have been a few times. I connected a screen and nothing seemed out of the ordinary. One error message popped up though, about not starting overlayfs. It might be that my SD card has corrupted all of the sudden. Trying a restore onto a new SD card now.

markr, in HA redundancy options

I run HA as a container in a vm. I back HA data up nightly and the compose script for running HA is archived on github. If the vm dies there is another vm that can bring it back up. If the host dies (I have a pool of xenserver (xcp-ng) hosts, so it would be a major domestic disaster if they all croaked) I have a fallback to run HA on docker on wsl. If the house burns down all the scripts are on GitHub and the backups get sent to Azure monthly. I think I’m covered.

Cyber,

Ok, yep, if the house burns down (been there, done that), HA is priority 0.

But good point about the offsite backup + compose, I hadn’t considered that - thanks.

Interesting that you’re using a container inside a VM… is that just because you’re using a VM-only hypervisor (ie Xen) or was there another reason?

I’ve heard good things about Proxmox, but no idea if it has a container / VM watchdog function.

markr,

Yeah is type 1. But it pools supports network storage and is free, and I know how to use it.

chris, in HA redundancy options
@chris@l.roofo.cc avatar

HA might be possible in a active passive configuration if you don’t have any dependencies on external hardware like a zigbee stick. Active active would need support by HA and I don’t think that is implemented.

I think the most secure thing is to keep regular backups so you can roll back easily.

Cyber,

Thanks, yes, I think active-active would be another magnitude harder… and would need database, history, etc on shared storage… over the top to jist ensure the lights stay on.

And backups are essential for all use cases (and not just the built-in HA backup left on the device / VM / container that just failed!)

Thanks

ANIMATEK, in HA redundancy options

You may wanna look at Kubernetes. It’s basically docker with failover.

scrubbles,
@scrubbles@poptalk.scrubbles.tech avatar

Correct, OPs needs is describing what kubernetes was made for. Fault tolerant container orchestration. Or any other orchestration framework.

However it’s a best to learn and get set up. Migrating all of my containers over took a couple of months of learning and trial and error. Each person has to decide is that level of effort worth it in a home application

Cyber, (edited )

Ok, but that’s assuming >1 host can be managed that way… can I manage HA on the Pi3 as a backup to my new host with Kubernetes?

Edit: can Proxmox do this too?

scrubbles,
@scrubbles@poptalk.scrubbles.tech avatar

You’ll need to learn a lot more about kubernetes to decide fully if you want to do it. I’m more or less telling you that yes there are ways to keep it highly available, but they’re going to be literally 10x if not more the amount of effort to spin up and probably maintain.

Proxmox has their own flavor of HA that is a lower level of virtualization. They’ll be able to failover a specific VM/CT to another node if one fails, but again pros and cons. The major annoyance for both is where do you put your data so 2 separate nodes can access it? Both k8s and proxmox have different approaches.

c10l,

K8s and Proxmox operate at different levels. You can run k8s on Proxmox, and that’s what I’ve been (very slowly) building up to at home.

With Proxmox you can failover VMs between nodes as long as storage (including VM boot disk) is external to the nodes. This can be NFS on a NAS, iSCSI, Ceph or many other options.

It’s even possible to failover a USB device (e.g. a Zigbee controller or similar) by attaching one on each node and mapping them using Resource Mappings (search on the announcement post: proxmox.com/…/proxmox-virtual-environment-8-0).

This can also be used if you’re deploying k8s on top of Proxmox just as well.

Cyber,

Ah, ok, thanks… I’ll have to dig in to this some more

NarrativeBear, in Help with BHT-002-GCLZB thermostat

Take a look at zigbee2mqtt this is what I use to add any of my ZigBee devices to home assistant. You may find there is more frequent reporting/polling with this so you have more updated information in your home assistant instance.

ZigBee is the way to go IMO for the most “local control”. Your thermostat is probably pretty good and would not need replacing for a long time.

For automation of your thermostat and other items in the house you will need to setup your own automations that work for you. Home assistant won’t do this for you automatically like other 3rd party thermostats that “learn” your patterns.

Home assistant is pretty powerful in what you can do with automation as it’s allows you to use other sensors around the house, even poll outside stats like weather. So in theory you can set automations that turn off your heathing if your phone or all phones have left the house. You can set automations that turn on the heathing when the outside temperature reaches a certain temperature and the house temperature drops to a certain point.

chunkystyles, (edited )

I definitely recommend zigbee2mqtt over ZHA. I originally went with ZHA and just recently went through the hassle of converting over. It was worth it. IMO, it’s best to just start with zigbee2mqtt, and to convert before you have a lot of devices and automations.

Edit: before I posted this comment, I couldn’t see any comments other than the one I was responding to.

unixorn,
@unixorn@hachyderm.io avatar

@chunkystyles @NarrativeBear

I did the -> migration last year and it was totally worth the hassle.

I took the opportunity to normalize the naming scheme for my devices since I was going to have to update my automations anyway.

sabreW4K3,
@sabreW4K3@lemmy.tf avatar

So I’m trying to update the reporting interval and it’s not letting me.

https://lemmy.tf/pictrs/image/aa907e75-87f9-4c08-8602-02a3b8893951.jpeg

NarrativeBear,

I have not played with these setting touch, most of it I just leave as default. Not sure if anyone else can chim in here to help you out.

I did see something here regarding your device that you may need to add to your configuration yaml file.

www.zigbee2mqtt.io/devices/BHT-002-GCLZB.html#sto…

sabreW4K3,
@sabreW4K3@lemmy.tf avatar

This is super helpful. Thank you

sabreW4K3,
@sabreW4K3@lemmy.tf avatar

Regarding the thermostat, this is in the state tab of Zigbee2MQTT


<span style="color:#323232;">{
</span><span style="color:#323232;">    "child_lock": "UNLOCK",
</span><span style="color:#323232;">    "current_heating_setpoint": 12,
</span><span style="color:#323232;">    "heat": "OFF",
</span><span style="color:#323232;">    "linkquality": 184,
</span><span style="color:#323232;">    "local_temperature": 20,
</span><span style="color:#323232;">    "local_temperature_calibration": -2,
</span><span style="color:#323232;">    "max_temperature": 45,
</span><span style="color:#323232;">    "min_temperature_limit": 1,
</span><span style="color:#323232;">    "preset": "program",
</span><span style="color:#323232;">    "preset_mode": "program",
</span><span style="color:#323232;">    "program": {
</span><span style="color:#323232;">        "saturday_p1_hour": 6,
</span><span style="color:#323232;">        "saturday_p1_minute": 0,
</span><span style="color:#323232;">        "saturday_p1_temperature": 14,
</span><span style="color:#323232;">        "saturday_p2_hour": 8,
</span><span style="color:#323232;">        "saturday_p2_minute": 0,
</span><span style="color:#323232;">        "saturday_p2_temperature": 16,
</span><span style="color:#323232;">        "saturday_p3_hour": 8,
</span><span style="color:#323232;">        "saturday_p3_minute": 30,
</span><span style="color:#323232;">        "saturday_p3_temperature": 15,
</span><span style="color:#323232;">        "saturday_p4_hour": 20,
</span><span style="color:#323232;">        "saturday_p4_minute": 0,
</span><span style="color:#323232;">        "saturday_p4_temperature": 12,
</span><span style="color:#323232;">        "sunday_p1_hour": 6,
</span><span style="color:#323232;">        "sunday_p1_minute": 0,
</span><span style="color:#323232;">        "sunday_p1_temperature": 14,
</span><span style="color:#323232;">        "sunday_p2_hour": 12,
</span><span style="color:#323232;">        "sunday_p2_minute": 30,
</span><span style="color:#323232;">        "sunday_p2_temperature": 16,
</span><span style="color:#323232;">        "sunday_p3_hour": 14,
</span><span style="color:#323232;">        "sunday_p3_minute": 30,
</span><span style="color:#323232;">        "sunday_p3_temperature": 15,
</span><span style="color:#323232;">        "sunday_p4_hour": 18,
</span><span style="color:#323232;">        "sunday_p4_minute": 30,
</span><span style="color:#323232;">        "sunday_p4_temperature": 12,
</span><span style="color:#323232;">        "weekdays_p1_hour": 6,
</span><span style="color:#323232;">        "weekdays_p1_minute": 0,
</span><span style="color:#323232;">        "weekdays_p1_temperature": 14,
</span><span style="color:#323232;">        "weekdays_p2_hour": 8,
</span><span style="color:#323232;">        "weekdays_p2_minute": 0,
</span><span style="color:#323232;">        "weekdays_p2_temperature": 16,
</span><span style="color:#323232;">        "weekdays_p3_hour": 8,
</span><span style="color:#323232;">        "weekdays_p3_minute": 30,
</span><span style="color:#323232;">        "weekdays_p3_temperature": 15,
</span><span style="color:#323232;">        "weekdays_p4_hour": 20,
</span><span style="color:#323232;">        "weekdays_p4_minute": 0,
</span><span style="color:#323232;">        "weekdays_p4_temperature": 12
</span><span style="color:#323232;">    },
</span><span style="color:#323232;">    "running_state": "idle",
</span><span style="color:#323232;">    "sensor": "AL",
</span><span style="color:#323232;">    "system_mode": "heat",
</span><span style="color:#323232;">    "deadzone_temperature": null,
</span><span style="color:#323232;">    "max_temperature_limit": null
</span><span style="color:#323232;">}
</span>

I theorize that I need to give it a hard reset to clear everything that got ported over from the previous set-up?

NarrativeBear,

I should add you need to install Mqtt broker from the addin store as well.

Once you get this installed under integrations you should see Mqtt and this is where your new ZigBee devices will be listed. (As opposed to the ZigBee integration)

No need to hard reset the thermostat as once you add it through zigbee2mqtt and get mqtt integration added the device will be new to your HA installation.

sabreW4K3,
@sabreW4K3@lemmy.tf avatar

I have it coming through Z2M, hence why I thought maybe a hard reset might fix it and give me the new climate card.

sabreW4K3, in Problems with Zigbee2mqtt
@sabreW4K3@lemmy.tf avatar

I haven’t had the problem and am really new to HA, but it sounds like the switches weren’t added properly. Perhaps try a reset?

AlternateRoute, in Problems with Zigbee2mqtt

www.zigbee2mqtt.io/guide/…/homeassistant.html

Did you enable home assistant discovery since you were doing a manual installation?


<span style="color:#323232;"># Optional: Home Assistant integration (MQTT discovery) (default: false)
</span><span style="color:#323232;">homeassistant: true
</span>
nogooduser,

I have thanks. I have tried just doing the basic setting of ‘true’ and the more advanced options with no joy.

AlternateRoute,

Odd I have done the full setup several times As I run pure dockers / separate HA, Mosquito MQTT and Zigbee2mqtt and the devices all just auto discover and appear in HA has devices with entities with full control.

gazoinksboe, in Problems with Zigbee2mqtt

I haven’t had this issue specifically but I’ve noticed when adding color changing bulbs, the color changing ability doesn’t show up in Home Assistant until I change the color in the dashboard of zigbee2mqtt. After that, home assistant recognizes the bulb’s capabilities. What hub do you have?

nogooduser,

I have the older SONOFF stick.

I’m pretty sure that I have tried that. The kind of sure that means I’m going to have to try it again. 😀

  • All
  • Subscribed
  • Moderated
  • Favorites
  • homeassistant@lemmy.world
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #