Great ty! This looks pretty close to the setup I want except having HAOS then having z2m, mqtt outside that plumb into the VM. Is that possible?
This is awesome! Thank you so much! I get my NUC on Friday and am looking forward to getting it setup then migrating off my old VM solution
thanks for the guide. Working in Beelink U55 mini pc.
@tteck That is an awesome script thing. One question that I do have is what is the fundamental difference between the VM and the Container when it comes to these applications? Is the container more reliable over the VM?
I am very interested in doing something along the lines of moving some key components out of HA. Like @ryphez stated the resiliency is nice to have.
The resources needed to run a LXC container are much less than running a VM.
Modifying the resources assigned to a LXC container can be done without having to reboot the container.
Serial devices connected to Proxmox can be shared with multiple LXC containers.
Not really, since my case is also to monitored my docker container in my HA which is not posible using Container. So move all to VM and now HA will be able to monitor each docker easily. Just devided my docker into several VM.
I know container will used less resources but I need more sensor.
Itβs nice having key automationβs continue to function without Home Assistant.
@KingRichard I have no idea what youβre talking about but what sensory data are u looking for that a container canβt provide?
@tteck I will have to play with the containers and see how it all works. I think my hangup may be the network. The documents say it will run the same IP as the host. I donβt want that; for security reasons prox is on a separate port and VLAN. I actually have 9 ports. 1 for the server and LCAP ports in 2βs for the 4 main networks in the house.
Each LXC container will have its own IP address
Edit: I think youβre confusing Linux Containers (LXC) with Docker Containers.
@hanselljl Iβm running a docker monitor which will have much information regarding each docker container that is running on my system. That addon requires some detailed information which will not show if Iβm running my docker on proxmox container.
Currently, my setup is 3 VM. One VM running HA Supervised + addons, One VM running my MySQL + InfluxDB, and One VM running the rest of other PlugIn
Furthermore, my Synology runs my MQTT and some other plugins.
My work in progress for Monitored Docker Container
I also adding WUD to check my container version which will give me information on when to upgrade the version if required.
I think he is confusedβ¦
Yes⦠But I will get there.
I installed the z2m one but canβt get it to start. Whenever I run the βstart zigbee2mqttβ command I donβt see any output. Where would logs be to debug?
This is my config
homeassistant: true
permit_join: false
mqtt:
base_topic: zigbee2mqtt
server: mqtt://192.168.1.215:1883
user: usr
password: pwd
keepalive: 60
reject_unauthorized: true
version: 4
frontend:
port: 9190
serial:
port: /dev/serial/by-id/usb-Texas_Instruments_XDS110__03.00.00.15__Embed_with_CMSIS-DAP_L43002HR-if00
advanced:
pan_id: 26390
last_seen: ISO_8601
devices:
...
Found the container log
Aug 21 21:52:27 zigbee2mqtt npm[615]: #033[32mZigbee2MQTT:info #033[39m 2021-08-21 21:52:27: Logging to console and directory: β/opt/zigbee2mqtt/data/log/2021-08-21.21-52-26β filename: log.txt
Aug 21 21:52:27 zigbee2mqtt npm[615]: #033[32mZigbee2MQTT:info #033[39m 2021-08-21 21:52:27: Starting Zigbee2MQTT version 1.21.0 (commit #70891eec)
Aug 21 21:52:27 zigbee2mqtt npm[615]: #033[32mZigbee2MQTT:info #033[39m 2021-08-21 21:52:27: Starting zigbee-herdsman (0.13.124)
Aug 21 21:52:27 zigbee2mqtt npm[615]: #033[31mZigbee2MQTT:error#033[39m 2021-08-21 21:52:27: Error while starting zigbee-herdsman
Aug 21 21:52:27 zigbee2mqtt npm[615]: #033[31mZigbee2MQTT:error#033[39m 2021-08-21 21:52:27: Failed to start zigbee
Aug 21 21:52:27 zigbee2mqtt npm[615]: #033[31mZigbee2MQTT:error#033[39m 2021-08-21 21:52:27: Check | Zigbee2MQTT for possible solutions
Aug 21 21:52:27 zigbee2mqtt npm[615]: #033[31mZigbee2MQTT:error#033[39m 2021-08-21 21:52:27: Exitingβ¦
Aug 21 21:52:27 zigbee2mqtt npm[615]: #033[31mZigbee2MQTT:error#033[39m 2021-08-21 21:52:27: Error: Error while opening serialport βError: Error: Operation not permitted, cannot open /dev/serial/by-id/usb-Texas_Instruments_XDS110__03.00.00.15__Embed_with_CMSIS-DAP_L43002HR-if00β
Aug 21 21:52:27 zigbee2mqtt npm[615]: at SerialPort. (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/z-stack/znp/znp.ts:146:28)
Aug 21 21:52:27 zigbee2mqtt npm[615]: at SerialPort._error (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:198:14)
Aug 21 21:52:27 zigbee2mqtt npm[615]: at /opt/zigbee2mqtt/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:242:12
The OP is a guide for Installing Home Assistant using Proxmox
Somehow, it seams, that Iβve managed to hijack this thread, and for this I apologize to @kanga_who and will respect, and only reply to topic related posts.
Itβs all good, no stress
Iβm trying to update my Proxmox server with the upgrade item listed in the main post, sudo apt update && sudo apt dist-upgrade -y && sudo apt autoremove βy
, but I get an error Unable to locate package βy
. Is this the correct command for Proxmox 7?
Works fine without -y
You might be able to notice a slight difference in these.
βy -y
The second one is correct, the first will not work and give you that error, likely just a copy paste error. If you look closely, the one after autoremove
is the incorrect one.
Interesting, the joys of similar looking characters! Thanks