#add-ons-archived
1 messages · Page 32 of 1
how do you paste snips on discord?
well somehow \homeassistant\config mapped to a second laptop
type the ip address directly in file explorer's address bar with the backslahes.
don't start with network browsing or mapping
somehow \192.168.1.14\config doesn't work in the explorer but \homeassistant\config works.. why is my ip not letting me in. did i unknowingly do something to limit this IP being used
yes,
i used ipscan to check it
and set a static up for it
even FING lists as homeassistant in its results - checked again now
if that ip works in a browser with :8123 at the end then there's no need
@sly kindle ahahaha surprise!! Just so glad it's working and I learned a lot, thanks!!
i cant access frontend lovelace using IP:8123 only duckdns works for both internal and external
@limber cedar I thought you disabled that
i did disable the ssl with # the two line you suggested
that let me access the front end but its still connected with https:\name.duckdns.org and not the IP:8123
earlier i was not even able to reach the frontend
@limber cedar can you go back to the terminal and get back to the # prompt
yes
so "root", then to the HA CLI, then "login"
i just did nmcli -p device show
and the ip address is what you expect?
ok and 192.168.1.14:8123 in your browser does nothing?
2nd image...... no the browser keeps looking for the url and return 'This site can’t be reached'
or if i use https then 'An error occurred during a connection to 192.168.1.14:8123. PR_CONNECT_RESET_ERROR'
I removed an add on dnsmasq and checking if that fixed the issue of IP not reachable. this should be the culprit. ...reboot
No luck. still same
you've got dnsmasq, nginx...I really don't have any sense of how your networking is going
Anybody here try that Grocy addon and find it useful/worthwhile? Ive been thinking about trying it out but the upkeep with stock and expiration dates of items is a lil daunting: https://github.com/hassio-addons/addon-grocy/
Hello. totally new to HA dude here. Just got it installed on a odroid xu4. has anyone got VS Code running on an xu4? Is it really not compatible?
Has anyone gotten the Xbox One addon working through docker/docker-compose?
When i try to install the REST portion though the container's console, I get a ton of errors: https://pastebin.com/7Uc3FuGh
@green spade I kinda suggested that as an addon a ways back and then it got made and while I loved the idea of it, I found it cumbersome as well. Makes coming up with grocery lists and keeping track of stock another job.
I removed an add on dnsmasq and checking if that fixed the issue of IP not reachable. this should be the culprit. ...reboot
@limber cedar Hi, I have same issue. in my case simple config DuckDNS does not work with dnsmasq. I have to use nginx plus DuckDNS, than I have an access bys DNS for outside connections and IP:PORT from inside connections. About Samba configuration you should put interface (optional) variable to correct working Add-On.
@ALL I have a question - It is possible to change shared directories in samba Add-On on Docker Installation ? I tried co edit config.json, optional.json and one more file - without success, maybe someone of you know how to ?
Hi all! A question about MotionEye addon... about this: This change enables the user to activate the motion webcontrol endpoint for other than localhost which is the default. This is controlled by a new bool in the add-on configuration motion_webcontrol. I'm not too sure if without enabling this motion_webcontrol parameter the webcontrol endpoint is available at localhost? Or do I need to enable it to access at localhost too? Someone knows?
I think I can answer myself... a wget http://localhost:7999 returns the HTML with the info, so it seems enabled 🙂
im again. i hope now i make all right :)
can someone help me with the add-on "hassio-google-drive-backup"?
https://github.com/sabeechen/hassio-google-drive-backup
I have the problem that I get the following error message when I try to upload a snapshot:
https://paste.ubuntu.com/p/HJ2whs5Ydj/
[error] 33#33: *1 upstream prematurely closed connection while reading response header from upstream, client: 144.XXX.XXX.XXX, server: domain.duckdns.org, request: "GET / HTTP/2.0", upstream: "http://172.30.32.1:8123/", host: "domain.duckdns.org"
someone help with nginx proxy? it's redirecting to docker's internal ip
Have any of you set up duckdns/letsencrypt with your own domain name (maybe even with name.com)?
i have duckdns/letsencrypt working fine with the duckdns domain, but not with my own domain name. tried setting a TXT DNS entry on name.com (my domain provider) where the host is my subdomain, and the "answer" is what duckdns' logs returns when letsecntrypt fails the challenge
but i think that's not 100% right
it seems like is till need a cname
i figured out the issue. i was trying to setup smarthings integration which required me to have ssl domain. i set it up with certs in config yaml. but this stopped nginx from . i kept the base url enabled but rest disabled and now it works
but i can't do a cname and txt entry both with the same host *subdcomain.domain.tld"
ProTip: If you have your own domain, point it to cloudflare, (use the cloudflare integration to keep the IP up to date), and get a 15y free SSL certificate from cloudflare.
but the certs are working fine
now its working fine. i use base_url and nginx (have to use nginx as port forwarding 443 to 8123 doesnt work)
for some reason 443 to 443 works, so yeah
@dark yoke that is a fantastic protip!
checking it now
@dark yoke happen to have a referral link or anything you'd like to use?
Don't think they have that
https://dash.cloudflare.com/login just sign up and they take you though the steps you need
I don't suppose anybody might have a few minutes to help me debug my appdaemon setup? I've built the docker image for my pi and attempted to provide it the right arguments, however it is not connecting to my HA instance, I've run it with debug and didn't seem to get too much useful error message back
@dark yoke thanks again for that info! so, a final up question, did you resolve your CNAME to your static ip? no real need for duckdns at that point (or letsencrypt).. did you remove the http entry for the generated certs/keys from your config?
thanks again for your help!
A record pointing to my IP
much thanks!
i know you're not support for cloudflare, so i understand if you don't want to answer this.. have you seen an issue where cloudflare doesn't like having a cname record created where the target is an ip?
DNS Validation Error (Code: 1004) Content for CNAME record is invalid
about to dig into their faq/support
ugh.. thank 😦
hmm, having another look it might be an issue with the docker build process... anybody recently built appdaemon docker image on a rpi4?
Hello everyone. Is anyone using Samba add-on with MacOS? After last add-on update, I can no longer access my config files via Samba. It's OK from a Windows 10, just not from MacOS. Anyone has the same issue? Already uninstalled and installed add-on...
Thanks in advance for any help
Ahh, further inspection has me realise the example config file is wrong and needs to include longitude / latitude etc. D'oh!
does anyone have VS Code running on odroid?
I have an xu4, am I out of luck?
what does it say?
n2 isn't arm?
oops
n2 is arm8
is xu4 arm7?
cortex a7 is arm7 looks like
which...makes sense looking at the name
heh
I have it, but using samba and a local install of vscode is my preference
Hi, if I rename lights in the deconz addon they won't fully show up renamed in home assistant. If I enter dev tools and search for the light the original name shows up. If I tap on it the new name shows up. I tried to clear browser cache did a couple of restarts and refreshed the deconz integrations. Someone experienced this? I have everything updated to the newest version, iam running HA in docker on Ubuntu lts 18.04
Thanks for the inv
@jaunty mantle sent an invite to the deconz discord which will probably have folks in the know
@sly kindle interesting, how does local install work? you mean installed on another computer but editing the remote HA?
smb service (samba addon) shares the default HA directories from your installation, then you just open those while on your local network
that's from windows
then I open whatever file with whatever I want. Usually vscode
I've got it as a 2nd HA instance which is connected to a z-stick for zigbee/zwave device. It isn't doing much other than passing those to my main HA instance
For that purpose it is very stable. I have to remind myself that it exists
can I ask why you have that on a second instance instead of just using the first?
of course. The main instance is a VM in the basement and the range of the z-stick from down there to the second floor is no bueno
@knotty egret Odroid N2? I'm using it for ~5 months and it works great if you mean that :D
@sick minnow thanks.. I'm considering picking one up and using that instead of my old xu4, since I'm just getting started here
Well the XU4 is good too. I had Home Assistant on a Raspberry Pi 3 before (it worked fine but it was pretty slow when I had to restart it).. The Odroid N2 really works a lot better
@sly kindle You're using a second instance to pass your devices to your first instance? Interesting, I didn't know that's possible
I'm using a custom component so not supported, but it works well. You can have any number of "client" HA pass their entities to a "host" HA
and those all appear in the main HA with a prefix of your choosing, so like binary_sensor.n2_door_sensor for example
where "n2" is the prefix
it is "remote home assistant" in HACS, and here is the repo https://github.com/lukas-hetzenecker/home-assistant-remote
You could link together another remote instance on another network too, but that's not something I've tried. If my mother ever gets decent internet it may be something I'll do.
Does anyone know where the add-on files are stored on HassOS?
I have an add-on that I'd like to move to docker on a different system. I figured the easiest way to migrate would be to copy over the appdata but I don't know how to find the files.
if using the mosquitto mqtt broker addon should I be able to send and receive messages using the mqtt developer tool?
@restive lily yes
hmm.. If I'm subscribed to the same topic and send a message it doesn't do anything. I see connections in the mosquitto addon log
@restive lily @sly kindle I am seeing the same response out of mosquitto... in my case I am trying to communicate with EventGhost to startup/shutdown/disconnect outputs via MQTT. I am getting the successful connection in the log of the mosquitto add-on, however when trying to send the message with the developer tool, it doesn’t seem to go anywhere and the “listen to a topic” option never “starts listening”. Any thoughts on this as well? I am trying to see if there is another step to setting this up in the config file? Any advice on MQTT between HA and EG would be great since there’s not many resources out there for this...
@iron lichen you start listening to the topic first
then you publish, or turn the light on, etc
you can open up another tab for that or...
@sly kindle that's what I'm doing. start listening. I saw the same thing where it doesn't start listening but I think I reloaded a few times and then it worked, in that it looked liked it connected, but it never showed anything
I've also tried just using the mosquitto-clients in a shell and they both look like they connect but no data every moves from one toe the other
I have other mosquitto servers setup where using this setup works so I'm not sure what it is.
Hi ALL, brand new to HA, got my synology running HASS.IO from a virtual machine. I can not seem to get samba shares to work. could use some suggestions as I am at a total loss as to why they are not working
could i fix this like ubuntu? IE see here: https://askubuntu.com/questions/1089694/problems-setting-up-samba-and-connect-with-windows-you-cant-access-this-share
problem is i dont know where the smb.config is located
the error i get after login to the shares is: "the specified network name is no longer available"
i also cannot access from a mac, so its not just a windows machine having this issue
i ran netstat -an |find /i "listening" and 445 shows as listening so its not an issue with the windows pc then right?
ahh well hope you all have a good night.. damn samba wins another day
@wicked harbor connecting from windows?
smb service (samba addon) shares the default HA directories from your installation, then you just open those while on your local network
@sly kindle is the chance to change this dir ?
ubuntu/docker
change for example to not share ssl dir and addons dir, create new for exampe media dir and this share
You can't change those. But you could uninstall it and install samba server on ubuntu
as I wrote earlier, I tried to edit config.json / options.json and restart hassiom without success, I found generally 4 or 5 smb.cfg files on my ubuntu, one under /usr/share/hassio/homeassistant and other in docker containers
ok, if not, thank you for your help !:)
Hi all,
I'm currently setting upp hass.io on a VM running docker and I have a question regarding the AdGuard add-on. In the instruction it tells me to set a static IP and external DNS server but I can't figure out where to set this configuration. Does anyone know where the file is located? The documentation seems to be using hassos but I'm running ubuntu.
Thanks!
I think I was just confused, I just got it set-up and it's working perfectly fine. Of course documentation meant the host itself.
16.04 ubuntu ? hello blast from the past @weary stratus 🤣 probably not related to your issue though
but its a 4 year old release
Ubuntu 16.04.6 LTS
This is the only one that could work because 32bit
My problem: i can't install deCONZ on my supervisor
"This add-on is not available on your system."
my Hassio run on a eepc 32bit Intel Atom N270 - 1,60Ghz Ubuntu 16.04.6 LTS
can i solve ?
does anyone know how to use the influxdb + grafana addons? in particular does anyone know what may have changed in the last... n months (where n is something between 12 - 4) that would make it APPEAR as if things are configured correctly when they actually aren't?
because it seems like influxdb is configued correctly.. and it seems like grafana is linking to it... but it's like there's no data in the database.. of any sort.. and there should be even if from before.. I mean why is it so many gigabytes large if it's empty?
can't seem to figure out where the link has broken
Using the SSH & Web Terminal Add-on. date command is off by 4 hours. System is setup with the proper timezone (America/New_York). What do I need to do to get the correct time-zone?
'''config $ date
Thu Apr 16 14:43:50 UTC 2020
'''
I tried searching but did not find my answer. Why is the VS Code editor unavailable for me?
@zealous prism it is available for amd64 and arm8 and arch64
@young oxide UTC time in NY is -4 hours offset
system time is in UTC
So as long as it is correct for where you are, it's fine
@sly kindle the time that is printed out as a result of the date cmn - is 4 hours ahead of my actual time
what does you HA log say? dev tools > logs
log timestamps look good
then you should be fine
@wicked harbor connecting from windows?
@sly kindle yes windows but also mac osx
from a windows machine you just want to enter the ip address of your ha instance in the file explorer address bar like \\192.168.1.57
don't go browsing for it in the network panel
yes ive done that it does not work
ive tried to map it usually that will work it actually pops up with a login but then i put in the info and it says this resource is no longer available. same on OSX
when i try what you said it just says diagnose connection problem. when i try \hassio i get this specific network device is no longer available
when i mess with the password it seems to make it show up or disappear sometimes. not sure why that is
@wicked harbor got on a phone call...
np.. here is the relevant error from the log... check_ntlm_password: Authentication for user [Madhits] -> [Madhits] FAILED with error NT_STATUS_NO_SUCH_USER, authoritative=1
maybe i need to set the same password as i do on hass.io it self
thats not it.. cuz now i see this in the log. check_ntlm_password: authentication for user [madhits] -> [madhits] -> [madhits] succeeded
just tried the mac osx, same results "there was a problem connecting."
after login
@wicked harbor what I do is set the user as my windows user, but it can be anything you want
in windows you can check if there are existing credentials with the credential manager
for that connection
you can add a new one if it isn't already present and set the user/pass to match what you have set in samba config
well i changed the user to match hass.io but it made no difference except it allowed the login but then it simply says connection lost (windows) or there was a problem (OSX)
this is not a problem with windows. i did check the credential manager last night
🤷♂️
all those you see in my screneshot are samba, multiple HA instances or others
hmm ill try adding it
but does not explain osx failing alos
also
i even checked my router for open 445 port and its good
what are you running on?
home assistant?
yes vmdk
os is synology is that what you mean
its a NAS
its got its own IP seperate from the synology
when you go to supervisor > system it is HassOS
i added the credintials to the cred manager in windows.. same results
that you see in the host system card
ok so...maybe the NAS is somehow in the way?
it has its own ip...so that should be fine, but maybe there's something else
i do have samba working on the nas
and it works
yes now i think we are onto something
ive tried everything else
maybe the logins need to match the nas?
for it to go through
that would kinda make sense
but you got the authentication for user [madhits] -> [madhits] -> [madhits] succeeded
😕
yes true and they already match i just checked
if osx could get in it would be a windows problem but osx has a simular failure after logging in.. so strange
here is my samba config.. i know its a lil weird. i was trying a lot of things but ive gone back to defaults a million times and its the same.
@wicked harbor posted a code wall, it is moved here --> https://paste.ubuntu.com/p/BfwW9Jjr3G/
ive tried ssl true and false.. no difference
i know but the samba share keeps going to 172 ip and i have no 172
it sorta works this way but honestly i just want 192.168.25 subnet
the default hosts cover your needs
even 192.168.25.x
yes
How can I enable a addon-that i disabled it from terminal view
ok
I cant reach my IP:8123 anymore
id just uninstall reinstall
- 192.168.0.0/16 covers all that
ok
- 10.0.0.0/8
- 172.16.0.0/12
- 192.168.0.0/16```
and those map: options aren't needed
config: 'true,'
addons: 'true,'
ssl: 'false,'
share: 'true,'
backup: true```
get rid of that...and some have commas for some reason
so that config is all a big mess 😄
yeah i just went back to defaults see if it fixes anything
all you need to do for the majority of users is add a user/pass and start it
yeah i copied from some other topics cuz i was trying to fix the issue.. i figured the shares were not mapped
that is not a user i setup
weird
wait its under credential mgmt
fixing
to get to "zero" where it prompts you for user/pass you can just remove all existing credential entries for that ip
yeah i just did that
now i cant get back to the login lol
got it but login failed the specific network name is no longer available as usual
check_ntlm_password: authentication for user [madhits] -> [madhits] -> [madhits] succeeded
it did work but cant see the drives
or it disappears after login
it seems very much related to something like this https://serverfault.com/questions/395486/i-can-connect-to-samba-server-but-cannot-access-shares
i'm going to add this back to config.. "guest": false,
interesting adding guest: false seems to have killed the login.. i cant even open it now.. ive restarted samba also
i'll make guest:true
yeah windows really hates guest:true.. makes all the samba shares go away
3.13 came out.. updating maybe it will magically fix it.. lol
ESPHome and sonoff question
Is it possible to turn on the relay of a sonoff basic as soon as voltage is high, without input from HA?
Hi there, I've an annoying problem with the Visual Studio Code addon since it always gives an error message that it has an unsecure connection to my code server. Apparently this is because im using the NGINX addon to have my HA avaliable via http on my local network and https from outside (duckDNS). Is there any way to get rid of this errormessage?
hey attempting to connect via ssh with key getting below error in logs
Connection closed by authenticating user root 172.30.32.1 port 58092 [preauth]
@sly kindle OMG WTF https://www.youtube.com/watch?v=afHieDHizjc
i did not do that.. so that maybe why it never lets me connect
doing that now
that's just setting up cifs/samba on a vm
you can't do that in haOS and the add-on does that anyway
I didn't finish the whole video so I may be wrong
hmmm
well i cant seem to login to the terminal but isnt this the same as using SSH on windows? or no
well under putty i dont have apt so it wont work there but the terminal login is different, i cant figure out why i cant get in.. must be a higher level login or something
Does hassos include a package manager?
maybe its an addon itself
ok i keep getting hass.io mixed up its a container that is not running a full linux underneath. so is there a way to add apt-get a different way
@sly kindle So this https://www.youtube.com/watch?v=afHieDHizjc is basicly the same as the samba addon right?
i gave up and went to FTP. at least I can see the folders but what about seeing the lovelace configs
you can take control of Lovelace in the upper right corner 3 dots and get a little of both UI editing and file editing, or go to full yaml mode with lovelace
until you do that there are no lovelace config files
@sly kindle yep i finally figured out how to reset it.. simply delete everything in raw editor and reload.. bam
Hi all, ok there is no way around it. i need smb to work. and it wont allow me to connect under hassio. I believe this is because I am running hassio as a virtual machine. Is there any possibility my theory on that is correct?
I've been running it as a VM of one kind or another for a couple years
no problem with samba
and you never had issues with SMB?
nope
This is always docker
Addons are docker containers, so they don't exist without docker
im not using docker.. im using synology virtual machine manager
Yes but the virtual machine you are running IS using docker
i think this is the issue
It comes with it
what?
The vmdk is the base of your vm
yes
it is an image of what you would otherwise flash to an SD card
yes
But instead you are running it as a virtual machine
im with u
That "computer" has an OS and that OS has docker installed
ok how does docker come in
That's how all of this works
no
yes
i could have installed docket but instead i used synology virtual machine manager.. look here
you should have some terminal you can use to access your VM
a console
I don't know synology but I'm betting they provide this
yes i do
thats how i installed
Option 3 uses the Synology Based Virtual Machine Manager. You can import the VDI image to be found at the Home Assistant installation page. Download the image and add it to the image store. The go to “Virtual Machine” in the interface and create a new VM with the image you just added.
The main benefit from this method is that you can assign Home Assistant its own IP number, so there is no risk regarding TCP/UDP port conflicts. USB dongles an be connected to the VM without the need to install a driver in DSM.
thats how and why i did it.. docker has limitations
No. Synology has it's own docker system
ok
You are confusing the two
its a virtual machine manager
That is your VM
it is an OS (at the bottom) with docker
Everything in the big blue box above runs as docker containers
yeah i basically understand how it works
If you want to see it for yourself, open a console to your VM, use "root" to login and then you'll be at the HA custom command line
Use "login" from there and you'll be at the host console. From there you can use docker ps and you'll see your containers
yeah i know the terminal your refering to but i cant seem to login.. is this a different login then ssh?
yes
hmmm ive tried my ssh login and it wont work. weird
it is not ssh
same login credentials
ohhh damn
ok let me try this
so wait is this higher level terminal allow me to use apt-get?
i got in
no
think of this like the firmware for your phone. you aren't going to be apt-getting anything
where are you
and you see the Home Assistant ascii art?
yes
ok now type "login" like it says
and hit enter
and you will be at a # prompt
use docker ps there
ok its in
wow yeah of course your right all the addon are a different container.. weird that i cant see that inside the virtual machine manager.. i guess its part of a sub system made up inside the VM image right?
so the fix i sent you earlier where the guy had issues with samba because he was missing parts to make it work.. could that apply to me?
no
that was just a video about installing samba on a machine running ubuntu or whatever
it just happens to also be a virtual machine
no idea. while you're at the # prompt, enter nmcli
confirm the ip address
it should show as the green connection at the top
Hello HA friends.. trying to renew my cert with LetsEncrypt ... it's never easy for me for some reason.... this time when I hit the start button it turns red .. I have some errors i'm not understanding... any chance someone in this chat could help
I created a community post but hoping to get some visibility - https://community.home-assistant.io/t/lets-encrypt-issues/187482
Yes I can try to post the error from the system log... what do I wrap it in again?
are you using emulated hue?
not using emulated hue... I set up my router to forward port 80 to the hassio device during this process
it's ok you shared the log I was referring to in your link. It is showing that 80 is used. LE authenticates using port 80
@cold sparrow something else on your machine is using 80
gotta find it
maybe another addon...emulated hue was a possibility
what does 'fe80::/10'? do i see fe80::/64 should i switch that 10 to 64?
no
damn im out of ideas..
yeah let me check if its on this machien
is there any difference between a VDI image and a VMDK?
i used a VMDK it was recommended but I also saw a VDI
i dont know if thats related to this issue but maybe
it's not related
ok
Good Afternoon Everyone, I've been banging my head against the wall for most of the day now trying to get my Mosquitto integration working. So I'm using the Home Assistant Add On for Mosquitto, and it appears to be working. In order to see any published messages I had to use the "MQTT" Integration through the "+" button on the bottom right of the integration page. With this done I am now able to see published messages through the Developer Tools. My current problem is that I am unable to get any informaiton that I publish added as an entity to HA. Is there something that I'm doing wrong? I've tried both adding sensors to the config file as well as sending the Motion Detection discovery topics, however, in both cases HA does not appear to have seen anything. I'm happy to copy any of my current configs and send if someone is in a position to help, and I'd really appreciate any assistance anyone can give. FYSA I'm currently using MQTTBox to generate and publish MQTT messages.
anyone running hacks?
hacs*
their installation documentation says put it in /config/custom_components
it says thats proper location for docker container
but my configuration.yaml is here:
root@unraid:/mnt/user/appdata/HomeAssistantCore#
Is anyone able to help me debug mosquitto as my mqtt broker? I’m trying something as simple as having two browser windows open, one subcribes to topic test and one publishing data to test. The subscribed browser doesn’t see anything.
HI ALL, I installed hacs.. how do I know its well installed?
ive got it inside the custom_componets folder.. but what changes in the UI? is it supposed to be listed under addons now?
as a follow up what is the HACS (Home Assistant Community Store) under integrations?
is that another way to install hacs? it appears it maybe something else because i cant install it unless i add my github token
yeah the install for hacs has to involve more then just coping a folder to custom componets.
but i cant find better details on the install
does anyone know of a relatively easy way to figure out where/what is growing in size when I take snapshots of the system? I assume it's the recorder and/or influxdb but I don't know how to figure out how big they are or how to work out exactly how that's distributed
Alright, so after another few hours of troubleshooting, I was finally able to get the system to work, and found my problem, however, to be honest I don't quite understand why it didn't work. Here is what prevented it from working:
sensor:
- platform: mqtt
name: "Temperature"
state_topic: "office/sensor1"
unit_of_measurement: '°C'
value_template: "{{ value_json.temperature }}"
qos: 0 - platform: mqtt
name: "Humidity"
state_topic: "office/sensor1"
unit_of_measurement: '%'
value_template: "{{ value_json.humidity }}"
sensor:
- platform: badnest
You can't have duplicate sensor
so I changed the name of the first call to sensor 2: and it worked
if you put a label after sensor, is that used as a pointer or referrer else where?
nope
my assumption was that sensor simply referred to an over arching class, so it seems strange to me that you can refer to something as sensor: while other have sensor <name>:
is there a benefit to providing a name to each sensor entry?
no
sorry, no as in no benefit? Just trying to wrap my head around how I should be writing my config file
thanks for the help btw
Always run the configuration check command when you make changes. Don't trust the UI check - it misses some problems.
thanks man, already read first link and will give this one a read
I'm just glad I was able to get the damned thing working finally... I don't really want to admit how long this one took me to troubleshoot
we have all been there
The add-on, or ZeroTier?
Hi guys. I can't start my dnsmasq addon. Start buttun going to Red and not starting.
@grim silo When an addon start button goes red, or doesn't install, check the logs on the system tab
You should see a reason there.
@sly kindle ok thanks. I will
Hi guys,
I‘m trying to use wallpanel on my Android 9 Tablet with mqtt to Senf the battery status.
I installed mosquitto Add-On an configured it as read in the description.
In Home Assistant I can connect to the mqtt broker. But from my Tablet (Wallpanel) or my iPhone i can‘t get connected.
I have no idea anymore. Are there any experiences with the mqtt connection to mosquitto from other devices in your home?
I disabled Port 1883 as written in the description.
you only disable it if you need to
(if you are forcing ssl)
@serene ruin what are your client settings set as?
Client Settings are only:
The Mosquitto IP-Adress
The Port: 8883
Username and Passwort
Hi folks! I'm trying to install the DHCP server addon (found here: https://github.com/home-assistant/hassio-addons/tree/master/dhcp_server) but it's not in any repositories I can see. Any ideas?
@serene ruin the mosquitto ip address is your HA ip address?
Yes.
have you tried port 1883 instead?
I will activate 1883 and will give it a try.
Mom.
ok son.
German slang 😉
😛
you can delete the logins: and enter an HA user/pass for credentials on your client device instead
Feeling a bit stupid here. I spend a few hours figuring out how to flash a Sonoff Mini OTA with a Tasmota firmware and I did it. I then installed TasmoAdmin and got it working. I can turn the light on/off via the webui. Now I'm stuck with what I assumed would be the easy part. How do I add the light into HA? I assumed it'd just turn up as a device.
@sly kindle works with 1883. I dont understand hey
@left flame mqtt
@serene ruin unless you're on a public network, I would just leave it.
👍🏼 Thanks
@sly kindle Ah, OK! Thanks.
@left flame Does that device support Setoption19
@left flame if so, go into your console on the Sonoff and enter Setoption19 1
@bright cipher I have no idea.
@left flame https://i.imgur.com/Q6iVJa5.png
That enables discovery for the device, assuming you have also enabled discovery on the mqtt broker integration
Command send successfull!
ID 1 (SidePatioLight) => {"SetOption19":"ON"}
@bright cipher there's nothing to find, really. It is just there
Do you not have the Official add-ons showing?
Hmm.
Can't post image here
@left flame do you have the mosquitto addon configured?
you can post a link to imgur
@sly kindle No, I removed it. I'll add it. Do I need the integration too or is the MQTT broker add-on all I'll need?
the addon is an mqtt broker/server. Once you get it running HA will see it and offer to configure it as an integration. At that point, you'll see the discovery check box
You just install the addon and start it. You don't need to configure anything
Got to go start the BBQ. Thanks for the help so far. I feel like I got my big boy pants on managing to flash the Sonoff 😉
@sly kindle Cheers, thanks again!
ha. flashing something with tasmota the 1st time is satisfying
@left flame if you need help configuring the tasmota mqtt end just ask
Can anyone explain to me on the benefits of AdGuard vs Pi-Hole. I currently have Pi-hole running on a Raspi-v4 and noticed that HA has a deprecated Pi-hole but a up to date Adguard. As I'd like to simplify my workstations, i want to know why adguard vs pihole
They do the same thing, but there is an adguard integration for HA which is better
But they both act as dns servers on your network which filter out ads
You add more blocklists, going as strict or as loose as you like
PiHole became a frustration to maintain, as far as the addon goes
ok
But you can still use it, and there's an integration for it. It's just not as good
I mean, you can use it elsewhere on your network
You would not want to use the addon at this point, because it won't see updates
The integration for adguard gives you switches for the various adguard settings, so you can automate these like anything else, or use them with voice assistants. "hey google turn off adguard filtering" for example
Ok, I was trying to figure out if the pi-hole is better, equal, or worse then adguard. if pi-hole is better then i'll just keep running my rasp. if it's the same or worse then i'll switch
oh
Yeah, you just add the adguard integration, and boom, you have all these entities to graph or automate or whatever.
My card is rather boring
<--- make boring stuff cause he isn't versed enough in HA to make non-boring
I mostly just use it as an example when people ask this question 😆
wait you mean my question wasn't original?? lol
@craggy atlas you can install it and check it out without actually implementing it, so there's no risk there
check the settings available, the filters, query log etc
I used to use the addon, but it now runs elsewhere.
Yeah looking at it now
@sly kindle do I need the MQTT Mosquito Broker I need or the MQTT integration?
both
Your devices talk to the broker. Your broker talks to HA when you add the integration
wait...
I think you are looking at the two addons
addons and integrations are not the same thing
you want that addon
and that integration
Got that one
You don't add any configuration.yaml
So now on your sonoff config page, configure mqtt
In TasmoAdmin?
no on the device admin page
for that device
I usually make the topic the same as the client, but that's up to you
I don't like seeing a lot of "DVES_XXXXX" entities in HA
you can also use your HA's ip address instead of homeassistant.local
did the device show up?
I've got to eat dinner with the fan. Amazed I didn't burn everything in the grill multi-tasking ;)
Fam
I'm actually going to start a marinade for a pork shoulder in just a couple minutes
OK, I'm really confused.
I've now updated my version of Homeassistant from 0.103.0 to the latest version
Loads of official addons are still missing!
I'll upload a screenshot
So I'm missing DHCP server, which I want
oh... 🤦
I know what it is
🙂
these are addons which can screw up your network
you need to turn on advanced mode for your user
whaaa
that's a new thing I forgot about, and I've always had advanced mode on forever
Yep, got it. Now for some reason that page isn't loading...
toggle advanced mode on
I'll just fix an error in my config and reboot
how can i disable iptables on hassio in a virtual machine container? is it even running?
this is related to samba addon
does it use iptables?
is there a firewall running on HA that could be blocking samba?
according this this thread there is something blocking ports. it seems this guy installed a firewall also but its still blocking some
?
If I have this in the log for the MQTT Add-on can I safely say my Sonoff/Tasmota Mini is connected with the MQTT Broker?
1587154540: New client connected from 192.168.188.53 as DVES_4C6EDF (p2, c1, k30, u'mqttuser').
yes
That IP is my Mini
they are communicating
Good. Step in thr right direction. Still can't get it to auto discover
when you added the integration, did you check the box for discovery?
Yes
you could try deleting the integration and then restarting HA and then adding it again
OK, easy enough to try
and I've noticed that sometimes my tasmota devices need a full restart
when I make a change
In the Tasmota config I just need my HA IP address for the host and my mqtt user/pw I setup in the config for the MQTT Add-on correct?
In one video on the Sonoff mini is said it communicated via a different port, 8081. The default in the config for Tasmota is 1883
Could be
Still not discovering in the MQTT integration
Do I need to send the SetOption19 1 command again?
If it's connecting to the MQTT Broker, it can only be a config issue with the Sonoff correct?
Maybe it's the user config too.
LEt me see if I need to creat an access control list
which tasmota binary are you using?
lite
Off to bed for me. I'll deal with this invisible Sonoff Mini tomorrow 🙂
lite doesn't have autodiscovery support
Thanks again for all the help. It is always much appreciated.
@empty garden Ha, crap! 😄
No I need to manually add it in the config.yaml?
"So I need to..."
I was going to say yes, then I saw your link. I did not see that page.
LEt me get reading it.
then you read the wrong instructions
I was focused on the add-in instructions and the flashing/etc. Thanks for the point. I'll dig into it.
when all else fails read the instructions 😄
It's a bit of can't see the forest for the trees for us noobs.
@empty garden will the normal bin fit on the Mini?
the name mini refers only to its physical size
what gave you the impresion it won't fit?
Somewhere I saw it needed the basic and I somehow got the impression that the basic bin was replaced with the lite bin.
that somewhere is outdated and also incorrect
So, an easier option would be just to reflash it with the normal bin
you already flashed it, there's no need to reflash
Sorry, upload it via the webui
or simply run the ota update
Yes, just found that
IT WORKS!
Man, that one crap assumption of mine really screwed me up for a few hours! 🤦♂️ 😄
@empty garden Cheers, much appreciated.
Why I cant login through SSH from my win10 (putty) to hassio?
Im using my ip and port22, and I can to access to my terminal via browser and ssh addon in HA
@sudden tartan did you add port 22 in the addon config network options?
Anybody know how HASS handles configuration that is defined in both YAML and the UI? Does it merge the two sources? Is this handled by some central HASS config logic or does each addon / integration handle it separately? Specifically, I'm curious about BWAlarm
@jolly niche Addons and integrations are different things. BWAlarm is a custom, unsupported integration. So you probably want #integrations-archived
@sly kindle now it shows console, but it prompts me for username..I tried with hassio and the password that I added into my config, but it doesnt pass
oh, I found it..its root username
Hi, GM!
currently dealing with Samba add-on
is there a way to share a folder with the rest of the folders inside? (backup, config, etc.)
@unique cape by default, Samba add-on shares all these folders. Did you check that your computer is in same group that you defined in Samba configuration?
Yes, I can see the shares and access them, but I'm trying to organize folders in such a way they are sub-folders of "HA" for instance
that way I would have for instance <host>/HA/config, <host>/HA/backup
I'm planning on using the same host for media sharing as well
so the idea is to have something like <host>/HA (only accesible by me) and <host>/Share (for the whole family)
do you run on hassio (raspberry pi) or nuc/nas?
I'm running HA as a docker container on a laptop
sorry, Im running on Pi, I dont have a clue how to setup
no worries, thanks anyway! 👍
Hi all - have Home Assistant installed on a RPi and installed Samba addon, all working fine - just struggling to work out how to access through a Windows PC via the network. Tried adding a network location / mapping shared drive to \192.168.1.10\ but doesn't work. Can anyone give pointers?
@tardy charm beginning of share is two \ not one. Also can we see your samba config? remove usernames/passwords
Does anyone know of a plugin or something that would allow YT music to be sent to minis/chromecasts in an orderly fashion? Does OMV or something like it do that?
dhcp server addon is not showing up on add on store i am using a pi 4a anyone know how to get it to show up
What version are you on
@keen drum
@solemn kindle what do you mean by manage the docker instance, like the host instance for HA, or the addon ones?
AFAIK you can just SSH into your HA and do all docker-y commands there
anyone know how to add a chore in grocy?
Maybe this is something for you too @solemn kindle https://github.com/hassio-addons/addon-portainer/blob/v1.1.0/README.md
Welp...figured it out
Built-in addon in the store
hassos_rpi4-3.13.img is what i installed
Can you take a picture of the store or tell which addons you do see?
@lethal root thanks. Maybe can create another container to test, and in futur use swarm, because I have another pi ... do you know if it’s possible ?
I can't say I have much experience with that, so no idea 🙂
Ok thanks, maybe if portainer can manager the docker instance, i suppose i can run another container... I must try.
I go to #672217570283094017 to ask this question.
@inner hare sorry, yes have used double \ in testing - of course, config is here: https://paste.ubuntu.com/p/J9nQPNpSPh/ I've seen some people on forums talking about setting hosts to accept all which seemed to help, but not sure of the config approach - assume a . style command somewhere??
uh
The /254 at the end
That's messing you up
You are basically allowing no access from local networks except 10.0.0.0/8
What's your IP range for home network @tardy charm ?
@keen drum that's an add-on the can screw up your network. to see these you need to enabled advanced mode for your user
@tardy charm don't change allow hosts
it is already set to cover the majority of home networks
Um
Are we talking about the same /254 here?
Or is that already changed from default
that isn't the default
Oh good
I was thinking the defaults were crazy for a sec
@weary stratus the higher the number at the end the less hosts are allowed
Also you max out at 32 😛
Ah - sorry, that's me being daft so what does the statement mean, I thought it was a range!
ie include 0 to 254
mindblown ok, mind explaining to a numpty?? How does 24 = full range?
That's because 0 is full range
Basically the /24 frees up 1 to 254 of the last block, so 192.168.0.X
24 is the amount of bits
Ah it's bits - gotcha, thought it was last digit of ip addresses
Cool - ok, so now reading
allow_hosts:
- 10.0.0.0/8
- 172.16.0.0/24
- 192.168.1.0/24
This look more sensible?
Yes they are - I'm accessing from Win 10 PC via ethernet to Hassio on RPi
If you're not sure put /20 or even /16 to cover the entire 192.168 range
Should drives pop up once restart of samba plugin complete or do I need to restart PC, Rpi etc?
Best restart the plugin
Cool - will add /16 then just to be idiot proof... 😉 Definitely on 192.168.1 range though
It'll cover any devices with crazy defaults as well
http://jodies.de/ipcalc here's a handy website to calculate what net/hostmask does to a range
Yeah exactly - great link - ta!
Ok, restarted
Can't see in explorer network folder - will try mapping, looks like it's connecting on logs
@tardy charm if you hit the reset button you'll get back the default
netbios connect: name1=HOMEASSISTANT 0x20 name2=UBER-PC 0x0
netbios connect: local=homeassistant remote=uber-pc, name type = 0
you just add user/pass and done
uber-pc is my desktop (I upgraded to 128gb ram, hence name... 😉 )
don't browse for it in the network folder
And user /pass is this for the Hassio install or windows pc?
Ok will map network drive?
<BOOM!>
\\192.168.1.39
Perfect - that's me in!
now pin things or map them
Great - thanks all for help - you know when you feel like a freakin' 'tard, but you're glad you got the answer.... 😉
Can you take a picture of the store or tell which addons you do see?
@lethal root almond, cecserver, check home assistant configuration, deconz, duck dns,file editor, hey ada,monematic ccu,lets encrypt, mariadb, mosquitto broker,nginx rpc shutdown, samba , tellstick
@keen drum I answered up there
@keen drum I answered up there
@sly kindle thanks
I activated that switch without even checking what it does :V
@keen drum if you can help it, I recommend not adding networking roles to your home automation hub
but 🤷♂️
I installed samba share and it wont shut itself off
After like 5 reboots still wont do it, ive pressed stop, and reboot and all of that
@sly kindle I use the dns addon to resolve the hostname to local IP for SSL
@lapis radish set it not to start at boot?
@lethal root just explaining that they can get users into trouble, and that's why they are now visible only in advanced mode
Right right
Wish SSL and google tts worked better so I wouldn't have to resort to these shenanigans though
Hi ALL, Can anyone explain this to me. Using a docker image on synology VMM I can not get samba addon to show shares on my network. However I went ahead and did a second install this time inside the docker package also inside synology but just using this install method: https://community.home-assistant.io/t/hass-io-on-synology-dsm-native-package/125559/14 Whats interesting is samba now works and I want to knwo WHY?
I believe it has something to do with the shared IP between the NAS and the Hass.io install. In one case (docker) the IP is shared and in the other synology VMM its not shared. I thought this was an advantage at first but maybe not. Its clearly an issue with VMM as no matter what samba cant be used inside VMM.
Love to hear some input from you guys. Maybe the samba addon is expecting things a certain way and VMM just does it differently enough to break the samba shares
@wicked harbor it has to have something to do with synology's virtualization. You might ask OP of the thread you linked instead
fredrike is also in here on occasion
yeah i asked fredrike
its very weird
here they suggest VMM https://www.home-assistant.io/docs/installation/synology/
so who wrote that?
The main benefit from this method is that you can assign Home Assistant its own IP number, so there is no risk regarding TCP/UDP port conflicts. USB dongles an be connected to the VM without the need to install a driver in DSM.
that's what you used?
i think that needs to be updated
or a waring put on there that addons like samba may not work
i wish i could talk to another person that used VMM and was also using samba to know for sure
but i do know the samba problem had to be in the virtualization because both OSX and WIndows had the same problem. so its not a windows issue or OSX
anyway im switching to docker i guess. just wonder what issues ill face going that way now
@sly kindle I did try that
my log says become_local_master_browser: Error - cannot find server HOMEASSISTANTLINUXINSTALL in workgroup WORKGROUP on subnet 192.168.86.39
eurika.. its a hostname issue with SAMBA.. I was able to break the docker samba the same way by adding a hostname to the samba addon.
now i cant seem to fix it
but the issue is tied to hostname somehow
I think my issue is hostname as well, thats what the errors seem to say
yeah look at this.. I have 2 installs of hassio running.. its seems 1 is trying to break the other.. process_reset_browser: received diagnostic browser reset request from HASSOS<00> IP 192.168.25.12 state=0x2
i have name named different things but it seems the broken 1 is resetting the working 1
another note.. docker images running hassio get no hostname once you start them up because they share an ip and i guess it causes a conflict. so the hostname is set to null. by adding a hostname to my samba docker install i seem to have broken it. my other install uses synology virtual machine manager and it has a hostname from the first run. Maybe none of the can have a hostname, im going to try to remove hostname from the VMM install and see what happens
i cant fix it.. adding removing hostname still stays broken
even after rebooting
hostname for samba is going to be the same hostname you see in the system tab
is that what you are changing?
@wicked harbor
@lapis radish same for you
yeah i tried to erase it on my synology VMM install. in the docker image it has NO hostname
Oh I fixed mine, by rebooting the VM its on, then reinstallin
yeah i changed it to hassio. but adding the hostname to docker with samba addon cause samba to stop working
But another thing, is there an addon to screen share on a chromecast through airplay?
hmm yeah i did reboot but did not do both.. ill try that
samba addon is going to use the system hostname
yeah but u can add a line hostname: to samba and it works
@raven tinsel does your aircast add on support screen sharing from an iphone as well?
hmm well maybe thats why it broke the mapping on my network
I see it supports airplay for music, but idk about screen sharing
is there a way to reboot the docker image inside hass.io.. going into suoervisor system no reboot option is available
Unless you see it in the documentation, you can't make up options and add them
only in docker.. not VMM
ok its prob why it broke
i took it out but its still broken
yeah ive done that
but did not reboot and uninstall
so the only way to reboot a docker hassio is within docker?
not in the hassio image itself
synology native install is its own beast. I don't know how it lines up and doesn't
I would assume, you aren't using a host OS in the same way, so the host reboot option isn't available
it would reboot the NAS or something maybe
and you wouldn't want that
yeah ill try to reboot the nas.. i was thinking that also about the host os... perhaps because docker uses the same ip as the nas, maybe its sharing more of the synology linux environment and maybe it has more of the samba functions or is sharing the library that the nas uses for samba. the samba nas shares work.
but when using a VM it should just reboot the VM as if it were any other machine
That's how it works on whatever platform I've tried
yeah i was just wondering if there was a way to reboot inside the webui for hass.io. it seems its missing that. so the only way to reboot is to use docker slider to reboot the home assistant container
that's not a reboot. That's a restart of Home Assistant
ohh ok.. so is there a way to reboot without rebooting the nas?
this is what I'm saying
i guess your saying no
i was hoping i just missed something
ok i will
well rebooting did not fix the samba issue.. ive broken it perminatly by adding hostname to the samba addon, weird uh? Ive removed it and it still remains borked.
this is interesting..
curl: (28) Failed to connect to supervisor port 80: Operation timed out
[22:32:43] ERROR: Something went wrong contacting the API
[22:32:43] WARNING: Can't read hostname, using default.
[22:32:43] INFO: Hostname: hassio
addgroup: group 'hassio' in use
how do i remove a hostname from my workgroup?
flush dns maybe
i ran ipconfig /flushdns got Registration of DNS records failed: The binding handle is invalid.
actually it was this error.. Registration of DNS records failed: The binding handle is invalid.
Could not flush the DNS Resolver Cache: Function failed during execution.
i fixed that error. DNS client service was not running..
When I installed NODE_RED a couple days ago, I accidentally did it thought HACS, and it didn't work, so then I did it thought integrations and it worked fine. But now I receive a notification that tells me there is a problem with Node Red and asks me to check my configuration (which is valid), so how do I get rid of whatever I did through HACS that is screwing this up?
@sly wing Everything HACS installs is in costum_components
Ok ty
@sly wing The integration in HACS isn't node red itself. It's a custom integration which does something specific for node red users
Do you know what I should do to get rid of that notification error I get? I uninstalled it from HACS
did you also go and remove the integration from configuration > integrations ?
Hey Guys, anyone using DeconZ Add-On with a conbee2 and a xiaomi smart plug? Do you get power consumption values? if yes how? Can only add them as "lights"
I am trying to figure out how to do an offline certificate with home assistant os. The guide at https://www.home-assistant.io/docs/ecosystem/certificates/tls_domain_certificate/ is giving an error when I run certbot: "Sorry, I don't know how to bootstrap Certbot on your operating system!"
probably what it says. What's your operating system @mellow iris ?
I am running HassOS 3.13
Why not lets encrypt + duckdns for online certs?
How to connect Sharp GP2Y1010AU0F with ESPHOME using ESP8266
I used this docker command for installing homeassistant
docker run --init -d --name="home-assistant" -e "TZ=America/New_York" -v /PATH_TO_YOUR_CONFIG:/config --net=host homeassistant/home-assistant:stable
where is the addon store, or is it the wrong image for the docker
Hi @weary stratus - see https://www.home-assistant.io/docs/installation/ "The only installation methods that allow you to use Home Assistant Add-ons is using the Home Assistant image and manual Supervised installer. All other methods only install the base Home Assistant packages, however the software from the add-ons may still usually be installed manually like any other program". Recommend either installing the add-on software manually via docker or installing homeassistant via supervised installer https://www.home-assistant.io/hassio/installation/#alternative-install-home-assistant-supervised-on-a-generic-linux-host
Anyone available to help troubleshoot why the Plex Server add-on is not starting up for me? I'm on raspian supervised HA install, and when I attempt to install and start-up the add-on, the last message I see in the add-on logs is "Starting the Plex Media Server..". When I check Supervisor System logs, I don't see anything notable, other than the container starting: "[supervisor.docker.addon] Start Docker add-on hassioaddons/plex-armv7 with version 2.3.2 \n [supervisor.api.security] /host/info access from a0d7b954_plex".
Any ideas why the Plex Server add-on would be stuck on 'starting' and/or what other logs I can look for to troubleshoot?
@pseudo lagoon thx help, if you look at the link, there are lots of docker images and I think they are all offical
There is a supervised installer you'd want to use instead of home-assistant installed directly through docker if you want add-ons built-in. See my link above. Else if you want to manually install through docker the software that add-ons normally provide you can, it's just not an add-on store but manually installed one-by-one (for example node-red through docker rather than add-ons). That would be your only option if you decide to keep your current docker install method.
@pseudo lagoon thank you I found everything and installed and make it working 🙂
Glad to hear!
Hi everyone, this may be silly question, but I can't get Almond to connect with home assistant. It installs fine, but throws the error of "Almond registration of local Home Assistant failed!". I added it through the add-on store, and enabled the integration. If I tell Almond to configure home assistant, it starts the process, then tells me that "Home Assistant is not supported on this version of Almond". I'm not quite sure what I am doing wrong?
Hey there guys.. any suggestion how can I increase the font-size of the add-on log-viewer? For now, my only option is increasing the browser's zoom... sorry if it's not the right place/way to ask this..
@loud horizon Unfortunately, it cannot
not even by yaml or CSS? =/
hi, I installed the hassio ad blocker addon but now I am getting 502 bad gateway? where should I start looking?
@loud horizon Unless you build your own version of the add-on: No.
@remote flame The add-on logs
@loud horizon Maybe the Stylus add-on is a solution for you? Depends on your use case
Hi all, is there any way to install a CUPS server on HassOS or is there an addon for it? I've got a network printer that doesn't support the IPP protocol and would like to have it in Home Assistant. The setup instructions for CUPS don't mention how to get it to run on HassOS, hoping that's possible though. https://www.home-assistant.io/integrations/cups/
Hi all. Pretty new user to HA here. If my Duck DNS domain points to my routers interface, its because there is something wrong with the port forwarding? I followed all steps in JuanMTechs Beginners guide, but still no joy...
@restive frost thats a sensor to track a cups server, not an actual server
@restive frost There is an issue for a CUPS addon: https://github.com/hassio-addons/repository/issues/33
@manic scarab Sounds like you didn't forwarded this port? What do you mean with "point"?
thanks for the reply, guys. I saw that issue on github earlier but it only confused me more. haha. So I guess my best shot would be to install CUPS on a separate raspberry or install HA on Raspbian?
makes sense.
@restive frost Or search for a good CUPS docker container and run it on HassOS
Or post a bounty to https://www.bountysource.com/issues/51002231-cups-print-server 😄
I got a mail from my Unifi controller that I got low diskspace. And when i checked df -h it's totally full indeed. 139gb, I use to have over 100gb free.
Anyone now what can suddenly eaten up my diskspace?
The mysql database is only 460mb.
I got the Addon Unifi Controller..
Try du -hc --max-depth=1
start at root
It'll show how much space each folder is taking up
--max-depth=1 limits it to 1 subfolder, -h is human readable, -c is I forgot what it is but you need it
You can cd to the subfolder taking up the space and start anew
Thank you, but there is not much data in these folders:
212K ./.homeassistant
12K ./.local
8.0K ./.gnupg
4.0K ./.cache
260K .
260K total
Thank you! 🙂
What folder are you in though
root of the host.'
/
What does df -h do?
homeassistant@hassio:/$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 2.9G 0 2.9G 0% /dev
tmpfs 597M 2.2M 594M 1% /run
/dev/sda2 147G 143G 0 100% /
tmpfs 3.0G 0 3.0G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 3.0G 0 3.0G 0% /sys/fs/cgroup
/dev/loop0 92M 92M 0 100% /snap/core/8689
/dev/loop1 94M 94M 0 100% /snap/core/8935
tmpfs 597M 0 597M 0% /run/user/1000
/dev/sda2 takes up alot. 🙂
That's /
try explicitly using /, so: du -hcd 1 /
(d 1 is --mxad-depth=1)
except typed right
I think it's loading :O
Shows only /etc
Yeah it takes a while
Don't ever forget the d 1 option
Because it'll show every singly subfolder and it's total
the / is if you want the root folder
Yea.
the h is just logical unless you're outputting to scripts or something
and c is to display the grand total, so not required but helpful
I see.. But damn it takes time.
It's counting the entire 147GB
/var 137gb
Ok now cd to /var and redo
so du -hcd 1 /var
I'm guesisng either out of control /var/log/ or your mysql db gone wild
Did you remember to exclude them in the recorder to save you some disk space? 😛
If you don't care about the data go to the HA web interface, developer tools, services and call recorder.purge
You can give it the option "keep_days x" to keep those days
But will try without.
Can I go deeper into ./docker dir?
do you make snapshots?
How big was the last one?
those shots have the logs I'm guessing
They are a little easier to browse. You can see mariadb is taking up the most here for me
It's actually more than I would like
But your snapshots are not reflecting this massive disk space being used, I assume
1 GB doesn't sound like 147 GB to me
No, i opened it and saw pandoras box.
lol
try this command in the hassos host: docker system df -v
to show running containers and the space they sue
use*
That's 500 mb so hardly the issue
yeah none of those individually are even 1GB yet
I'd also guess motioneye and stored images but your /share directory looks fine
I can't seem to find that 133G
The heck, there's nothing in there using a lot of space
And btw, those commands is straight in my wiki now.
That's the output of the pastebin @sly kindle
yeah, just pointing to further docker info
Nothing with du in the docker folder @safe bridge ?
like, the source of your info