#the-water-cooler
1 messages Β· Page 378 of 1
So if your reverse-proxy in your custom bridge network has the IP 172.19.0.5, the gateway is 172.19.0.1 then you will need to bind Netdata to this IP and you need a reverse-proxy conf to bind to that IP
I can share mine in a sec
# the netdata server
server 172.21.0.1:19999;
keepalive 64;
}
server {
listen 443 ssl;
server_name netdata.thelinux.icu;
include /config/nginx/ssl.conf;
location / {
auth_basic "Restricted";
auth_basic_user_file /config/nginx/.htpasswdmaggi;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://netdata;
proxy_http_version 1.1;
proxy_pass_request_headers on;
proxy_set_header Connection "keep-alive";
proxy_store off;
}
}```
Thatβs nginx btw
I need to lookup my most recent one tho... not on git yet
Sure the LSIO letsencrypt container uses nginx

I love the LSIO letβs encrypt image
Yup
That is the most recent one, I think it even got shipped with the container
listen 443 ssl;
listen [::]:443 ssl;
server_name netdata.*;
include /config/nginx/ssl.conf;
client_max_body_size 0;
# enable for ldap auth, fill in ldap details in ldap.conf
#include /config/nginx/ldap.conf;
location / {
# enable the next two lines for http auth
auth_basic "Restricted";
auth_basic_user_file /config/nginx/.htpasswd;
# enable the next two lines for ldap auth
#auth_request /auth;
#error_page 401 =200 /login;
include /config/nginx/proxy.conf;
# resolver 127.0.0.11 valid=30s;
# set $upstream_netdata netdata;
proxy_pass http://172.20.0.1:19999;
}
}```
Ah yay, ipv6
Plus sub domain wildcarding
@past idol ignore them first one and only use the second one
Yup
If netdata container is not running, nginx will err out on the first one
Netdata is not a container
Or if itβs service is not listening on the port
thanks π
With the second one, nginx wonβt care and carry on
LSIO has taught me a lot of nginx tricks
that goes into ufw config right?
No...
Thatβs a nginx config
If you have the LSIO letsencrypt container, just do a ls -al /PATH/OF/CONTAINER/nginx/proxy-confs
ah i see
If you want such a connection to work then, because it most likely doesn't, you will need to change the UFW forward policy to ACCEPT from the default DENY and you will need a rule to allow everything from and to 172.20.0.1 or whatever your IP is
kind of confused now
I installed / started netdata
according to this
Netdata Documentation
Well you actually don't install Netdata in Docker...
That is what I said
Netdata on HOST
You can install Monitoring like Check_MK in Docker and put the agent on host, because it is a agent-server connection. But with Netdata, Netdata itself is it's agent and thus it should rather be hosted on host.
hmm
For Container to container you need nothing with UFW, only for Container to Host which was my topic
Sure, it is a monitoring tool
docker ps -a, docker stop NAME or ID, docker rm NAME or ID, docker image ls, docker rmi IMAGE_ID
ty
Finally, a official Apple Music web player
@brisk glen for real?
Probably means it's coming to Android/Google Assistant mighty soon too
i see
do you like apple music dho?
somehow it just feels odd
not as slick and fast as spotify
okay installing netdata right now
on the host now
not in a container π
thanks for the tip
I used to use it, but use Spotify now. I still prefer Apple Music's cleaner album handling, but much prefer Spotify's recommendation engine and integration features (Spotify Connect is great!)
I love the Apple Music lyric lookup feature
okay so installed it
it gives me this
ERROR 405: Cannot download charts index from server: http://192.168.0.16:19999/api/v1/charts
could someone please explain about this nginx
~lmgtfy nginx
It has not to do with Nginx
But as said you should learn All that stuff by reading a lot upfront
I also had to learn for years
If you're doing it right, you never stop learning
Learning is a state of mind/attitude
There's not a month that goes by where I don't learn something new - heck it's rare for a week to go by without me learning something new
Sure but I would point at base-learning vs additional-learning
Sure, I mean learning is a bit like building a house/bridge/whatever - you need a foundation
But, after a while, the foundation you built for one thing acts as a template for another - speeding up learning
Also, you need to work out your learning styles - how you learn most effectively, and try to focus on those methods that work best for you
With IT though you also have the ability to experiment a lot - breaking things is one of the best learning tools I've found
okay i will google for the solution of this error
I remember when I was about 17 or 18 not giving a fuck and reading that shit 16 hours a day for weeks and months
Trying to understand the world
Well a solution of the error is not helping you understanding. You are entering the servers-ip:19999 and assume it is Nginx
IMO there is huge lack of basic understanding, networking, ports
my Zooz z-wave switches arrived today. This weekend starts my foray into not electrocuting myself
I still remember lugging this badboy around with me at vocational school, I didn't even go to an it school π
It might even have been an earlier one, because it was in 2000 
Didn't you know that all already in the 2000's when you were 50 years old?
i remember buying a slackware book in the 90s
but not really understanding it other than I got to install linux which was something different from dos
and i fucked up my pc and had to reformat π
@hearty depot comes back after half a months not talking and already writes a book as the first message
Yeah you can't hide dude
I could if i wanted to π
my PC is still broken btw - didnt decided on a mainboard yet
π€¦
Well it's 1155... really just take something "that works". Some Ebay thing or checking the list of serverbuilds.net
the thing is the maaasive cooler - not many mainboards are layed out for this size
I never in my life heard that the MAINBOARD decides about the COOLER
I consider that bullshit
Well I think it was a noctuna (?)
amazoned me throu the compability list
Well if you bind yourself to that then you're probably alone with that really.
Not that it would be a good time to get rid off 1155 for maybe 200 bucks or so and build a nice AM4 system
I gonna lunch
to the message I tryed to phrase for the last 10 minutes
just playing with bash, json api and JQ.
is it possible to use curl, pipe it into JQ and reuse the previus curl again
π€ will maybe do this really
Pff pcs, for newbs, go for a thin client π
Gaming on a thin client?
Just do remote graphics via a dedicated VM with a graphics card π
I have considered it before but there is an inherent loss of performance
π wife would kill me if I would set up a proper server somwhere
cant even get a pfsense box
I don't know how much that drop is, but eh
Not that much, I implement a few solutions per year, usually oil and gas that does geodata or military that does map data or simulation, the difference between a local one and remote is usually less than 5%
also I dont have proper cableing - had to go for dlan adapters (2k but the wireing of the flat sucks)
Buy a house π
Good luck in Vienna
Move to lugano!
around your place?
almost the same - speaking funny there too
the whole cuntry is beautyful - visited a lot in suizze
There are good cloud gaming offers, like the best "Shadow" 30 a month. But I tested it and considered not usable with my Internet and then build a PC for 2k
My current desktop was built in 2009 π
I'm still looking for a cheap triple head thin client replacement
Damn mine is for 2014 and people act like thats old
It is, my 2012 i7 2600k was thrown out 2017 and I used then a Gaming laptop with i7 6000 something. But then decided to go for desktop again
I almost wanted to upgrade my Ryzen 2700x to at least an 3700x tho after just a year
Are not all upgrading every 2 years like phones?
And my RTX2080 will be thrown out too as soon there comes a new Nvidia Range
My phone is from 2015 lol
I used to upgrade some hardware generation to generation but I have very little need
it was just a hobby I guess
I stopped pc gaming in 2012 anyway π
I almost never make my 4770k and 980 sweat, and if I do they still do the job
Yeah if you ain't do real gaming then sure, no need to get a gaming machine
Elastomania?!?
Competitive WQHD at least 144+hz gaming with high-ultra graphics
Of recent class AAA Games
Thats a dumb af definition
Goat simulator?!
YES
π
I last looked at a possible update in 2017 for my i5 2500k and didn't think it was worth it, but I did upgrade my 1600MHz ram to 2133 then. The new ones still offer very little for a casual gamer so this has been pretty excellent value for money at just above 200β¬ at the time (2011/12) iirc
Well for a recent system you have to upgrade RAM and such again tho
that's the problem, it becomes very expensive for very small gains
Very small gains, right you have paid attention to benchmarks?
Like the i5 is already beaten easily by 3x as much power for consumers? π
it's hard to see full comparisons for this old system, but it was maybe 20-30% fps increase in games if I wanted to swap to a modern AMD cpu
Any ideas about HA using dqlite or rqlite as SQL backend?
Why not MySQL?
no need to setup external service
https://www.home-assistant.io/components/recorder/ - needs to be supported by SQLAlchemy
As long as it is, use whatever you want
they are sqlite forks with build in clustering and failure tolerance
Not that sqlite is a recommended DB overall tho... but idk any of both
I think sqlalchemy can use them
yeah, for sure external SQL service will be better but this could provide really easy high availability for Raspberry pi users that largely use sqlite :/
MySQL is just as easy to implement as any automation or component
I just can't assure that pi is fine with it's performance usage
SQLite was chosen because it's available on all platforms - dqlite or rqlite would need to be available without having to patch SQLAlchemy, or install other software
also setting up SQL servers is annoying
You can game on a Mac mini with an EGPU :p
especily for new people
@pure vine not if you use docker :p
true
Setting up SQL servers is so damn easy
When your used to it
for someone who might just be trying home assistant with very little linux experince it might not be as easy as it is for us
You are going to learn that dependency hell is a thing
They should not setup a system then and rather read tons of infos upfront π€·
This app needs this version of this database.. that app needs the older version of the same database software
_looks at UniFi _
Thus my path to containerization
Whole point of the defaults is to make it easy for people to get started @boreal pewter - next you know you'll be suggesting folks should be compiling their own OS π
And Kernel with some OC
Forking docker
And build every Container theirself
All dependencies have to be compiled from source too
System Updates have to be programmed too
Isnt that the DIY everyone Talks about?
You forgot to code your own compiler so you can code your own OS
Yeah all the current languages are too mainstream too, I invented "Anon" as a better Java
How is your TinkerOS doing?
One bit at a time
TempleOS
@hushed basalt https://thedriven.io/2018/12/14/diesel-charge-evs-remote-locations-greener-than-you-think/
Ha
Tesla owners who "don't want to do any more damage to the environment"
And buy $100000 new exotic luxury vehicles
Doesnt "being greener" depend on what the grid in the nation is powered off
so in Aus with its coal dependency that might be true, but in many nations in europe it is not
That's something a lot of people don't take into consideration when "going green" by buying an electric car
I mean I love the idea of electric cars
But I hate rich yuppies virtue signalling
It's like those people who build 'eco houses' for like $1mil construction, for their holiday homes,
I seriously looked at a Tesla when I upgraded last, but I regularly drive to the far end of the country and it's just within range at normal speeds, not so much at motorway speeds.
Because it has recycled tasmanian oak floorboards, it's eco
I'd happily get an electric car but it shouldn't be more expensive
I'd love no car though. Bring on the autonomous car pooling.
I wish there was a #politics channel here, would be a welcomed contrast to the young gamer discords I'm on as well
welp, I think I'm gonna order another four yeelights
I did the math and I'm out more moneys if I go IKEA
only downside is that yeelight doesn't do any gu10 lamps
oh well I'll just replace that standing lamp
@orchid rose that would be a good way to make otherwise cordial people hate each other. You can't separate usernames from prejudice once you know how someone thinks. It would affect the dynamic of the entire server
I get it, and completely understand why a server like this doesn't have one, but it would still be an interesting comparison
@orchid rose you can talk politics here if you want for the low, low price of one ban
I'm more interested in reading other opinions tbh. It's refreshing in a society that's split in bubbles
yeah i get what you mean
i find it interesting too even though i have no particular interest in politics
Even being aware that we're split into bubbles doesn't stop me from occasionally trying to pop someone else's bubble. Sometimes it's difficult not to get consumed by the outrage that we are force-fed
It's not as if this chat is a random collection of people either, so it's sort of a bubble in itself, but it would be interesting to see what people here think. But as I said, I understand, and even agree, that an official channel like this should stay out of politics
Given how many wars have started over politics... yeah... π±
There are Discord servers where such things can be discussed, but those tend to be closed groups, to avoid random people getting bent out of shape because somebody has a different view than them
But there's no real point in joining those, which is the issue
anyway, that's close enough to politics as I think we should go here π
It kinda sucks that I feel like I'm either in an echo chamber or surrounded by idiots 99% of the time. It's so rare that I have a conversation that actually makes me think about my position in a meaningful way
And sorry if it seems like I'm badgering the point of "this is why we don't do this here" @orchid rose , I'm really not. I'm just commiserating with you on the state of world politics
no no, I totally get it Villhellm and I feel the same. It's a real frustration for me, who saw the Internet as something that would bring people together
I'm really hoping we can get back to that point
Good luck - we'd need a lot more chlorine in the gene pool π
we need a new plague
It will come eventually, even if we create it ourselves by making too many people
i can think of another reason why a new plague might happen
but i can't discuss it because it's probably considered politics
and i don't want @clever mortar to bring the banhammer down π
That happens very rarely. You'll be warned first
Unless he's having a particularly bad day π
That only happens on days ending in y
not to worry then, it's Perjantai
For me it's days that end in y and don't start with s
{% if 1 == 1 %}
Ban
{% else %}
Ban
{% endif %}
templating is one of my favorite parts of HASS
doubt
no rly. restarting after creating a new template sensor is annoying but i like piecing everything together
i work in excel every day which i also enjoy which might be part of the reason
There's a custom component that allows you to create template sensors without restarting
custom components are like the rule 34 of home assistant, i swear
having trouble finding it, mind directing me to it @unreal orbit?
Do you use HACS?
https://github.com/custom-components/templatesensor
https://github.com/dlashua/templatebinarysensor
there's one for regular sensor and one for binary sensor
If you search HACS for template you'll see both of them under integrations
ah yeah I do... perfect, thanks
I have asked this before but had wzye light bulbs and only wanted to replace one switch. Here is my setup https://imgur.com/a/GunciDn.
Switch 1 turns on 1 Hue Light Bulb Switch 2 turns on 4 Hue Light Bulbs Switch 3 turns on 1 Hue Light Bulb
I am using google home assistant with lights. I also have a conbee 2.
Can some recommend a good replacement switch? Has to look nice per wife. I want to replace all 3 switch
Because all the world uses the same type of light switches, and where you are doesn't matter ... π
I'm guessing you're living in the USA or Canada, from the looks of that image?
YES USA
And you needed to shout to be heard too π€£
Why would wifi switches have a delay?
Well, it will have a delay
And it will be higher than one directly wired, because of processing time
Whether you'll actually notice or be able to measure it...
so do you recommend wifi switch?
I recommend... using what works for you
I'm a fan of the tplink hs200 switches. They look the best out of any wifi switches I have seen
@clever mortar iI am not sure about my needs since I am very new to this
Anyone know a good way to remove Ip's from logs?
USA USA USA
Well, I don't live in the USA @dusty gorge - no point in asking me what's a good choice
sed @azure frost π€£
That removes them?
sed is a stream editor and can remove/replace anything you can write logic for
It's not a magic solution though
Aw ok I might do a simple program to do it if I have the time
caseta > wifi switch >= zwave switch > zigbee switch
My Philips Hue switches would like to have a word with you
@amber bramble caseta uses what protocol?
and which wifi swtich would you recommend?
Clear Connect RF, which is a proprietary protocol. Can't find the frequency, but based on what I read on the protocol, it's probably 433 MHz
caseta uses a proprietary frequency, which is why it's "the most reliable β’ "
yeah its proprietary but rock solid lol
It also has limitations. iirc the caseta dimmers lack the ability to transition brightness
any of u using protonmail?
@unreal orbit so it just snaps from one brightness to another instantly? like 100% to 50% without fading?
wow nice way to force a dmca https://github.com/alexdresko/HSPI/issues/111
which model do I need from Kasa https://www.kasasmart.com/us/products/smart-switches based on this image? https://imgur.com/a/GunciDn
depends if you want the ability to dim or have three-way switches
all of them will fit in the box based on the image, but which model to get depends on what you want/need
what is a 3 way switch?
a set of two switches that control the same fixture
for example, a switch at the top and bottom of the stairs that control the same light
Switch 1 turns on 1 Hue Light Bulb Switch 2 turns on 4 Hue Light Bulbs Switch 3 turns on 1 Hue Light Bulb
@scenic radish that's my recollection, yes
ok then if you just want on/off go with the HS200, if you want dimming ability go with HS220
also my ground wire is looped?
dang it. a day of debugging and a cable from the esp fell off
@late gate looks like they came to a resolution
@dusty gorge what do you mean? you also don't need a ground wire to install it. use it if you have one, but if not no big. you do need a neutral wire though
is it bad if my two year old twins yell "Alexa! Volume 10!" now?
As long as they steer clear of "Alexa, activate emergency self destruct" I think you're good
technically what i want to do if it is possible to create more " aliases" kind of
i have an email address
yet i do not want to create more
but want to create addresses like thrash@example.hu
sorry for not being possible to fully explain it
hope this hels
help*
I'm installing home assistant in a freenas jail, but I see I need to edit the installation guide page a lot, there is a lot of missing information π
What's the state of the art in indoor positioning? Can I achieve <1m accuracy with a hardware budget of $200?
I've never heard of anything that can do that.
I think this might say it does it, but I don't think it ever worked. https://www.xandem.com
Yes, Cpanel also has email
It also costs money to run on your personal vps
I also happen to have a mailcow docker cluster :p
what is that?" mailcow docker cluster "
do you know any other service like cpnel,
Cpanel?
maybe cheaper
If you have hosting cPanel is included anyway
I have my email on cPanel
And you can set up forwarding etc easily for different addresses at the same domain
is there a limit?
of how many you can create?
or how this works?
u using this?
We offer fast, secure, high performance Managed VPS Hosting and Cloud VPS solutions for all your VPS hosting needs.
Unlimited mailboxes/aliases as well
this one?
We offer fast, secure, high performance Managed VPS Hosting and Cloud VPS solutions for all your VPS hosting needs.
Jeeze that expencive :O
Get yourself a VPS with Scaleway and host your own mailserver instead
Pretty much ANY cPanel will give you the same email functionality.
It's not rocket science
If you have the time for it, it's the "cheap" way.
I did not, and got myself a https://gsuite.google.com/ subscription instead π
And the server 20 times hacked with a few bills of maybe just a few thousands or a few 10 thousands
Yeah, I used to run my own mail servers, but then switched to GSuite and haven't looked back
It's great for learning, but doing it right is time consuming
hmm
Oh, and whatever you do, don't make your first experience of running a mail server be an Internet facing one. That's very much like learning to juggle by starting with running chainsaws
maybe then I will try to find a way to manage it within protonmail
@clever mortar haha
it is not worth the hassle I think
i just want to separate my email
The odds of you becoming a spam relay, or otherwise hacked, within the first day are as near 100% as makes no difference
And given your current level of knowledge, about 200% π
Any decent mail host can do that
even gmail has that
my problem with protonmail aliases
is that it is needed to use alias+username@example.com
No need to register anything
i think protonmail do
Unless your mail host is incompetent...
but it is traceable kind of
I do not want my real username in it
i think I can do unlimited aliases with this rule
1: Don't do shady shit that require an siloed account
2: See 1
Also, if you've registered the domain then it's traceable
If you want things not to be linked to you, sign up for random webmail accounts
This is Internet 101 level shit
I'm just in level 12
you do not even need to do shady shit
i mean even when you use the toilet you close the door
That's what Im saying, no need to do that π
is taking a dump a shady thing? π
So sign up for different webmail accounts
If you're using the same domain, it's all obviously connected
yeah maybe you right and that is easier
That's like assuming because you put different names on the letters going to the same address that nobody could link them
yeah that is right
the things is sometimes they figure out the original
and start spanning
spamming
even with alias+username
Get a spam filter
Just because you put the head in the sand and you can see noone doesn't mean noone can see you
π
Plus addressing has been around forever, it's not exactly hard to work out the non-plus address π€¦
thank you guys then I will create a separate and use aliases
Sure, you can do that
Or you can read what we really said and do that instead π
You need to find a Discord server, forum, or other place that will help you learn the basics of all this stuff
One actually dedicated to helping people go from zero to not-zero
I probably sign up for 3+ new sites daily, and my filtered inbox is currently quite clean
I've got a "number" of webmail addresses, and none of the big players have problems with their spam filtering
Some of the smaller ones struggle with new approaches, but π€·
I forward all my mails to one master account, if one is "comprimised" I just close down that "branch" π
forwarding is good
i am n ot sure i understand u tinkerer
"thank you guys then I will create a separate and use aliases"
I mean you suggested: "So sign up for different webmail accounts"
and after: "Or you can read what we really said and do that instead π"
You want to avoid people knowing your accounts are linked
Aliases generally only exist for domains you own, or so that they're trivially linked to the main account (like plus addressing)
So, generally speaking, aliases are the equivalent of putting on a pair of glasses and assuming that's enough for nobody to recognise you
It works in movies
I'm pretty sure that @past idol is no Superman or Wonder Woman...
I tipp for Wonder Woman
yeah I get that
but if I create on account apart from my main and use aliases with that
it is enough to remain anonym
so i can create aliases
because I do not use my real name in the address
Depends
It all depends on who you're trying to remain anonymous from
If it's random folks you're emailing, then maybe - depends on your webhost
maybe I am overthinking
If it's forum admins, they know your IP address
and I am not even registering for bad services
i mean
no porn site and torrent sites
1: use a library computer to create the account.
2: never use that account on your own computer
3: never refrence that account around your house/computrer/cellphone
4: don't tell anyone what you are going to do
5: get a tinnfoil hat
6: move to a remote location with no internet services for miles
7: π€·
π
get the point
and also technically I have more realistic "problems"
like getting a nas to backup finally my stuff
only two errors to go before I have HASS on a freenas jail π€£
General Errors:
- Platform error media_player.roku - Requirements for roku not found: ['roku==3.1'].
- Component error: stream - Requirements for stream not found: ['av==6.1.2'].
interesting, in linux where pkg-config works it is version 0.29, but in freebsd where it does not it is 1.6.1
I suspect they are different tools
There is a reason I mentioned mailcow, it has it all for an email server setup
But I would rather use google or ms.... if my clients let me x.x
I answered my first tech support emails yesterday
Congrats - I aso just got my first job in IT
Get out while you still can
Or climb the ladder as fast as possible
Or get a fluffy ass job
Well there are no fluffy ass jobs in germany I assume. Depending on what we mean. At least not well payed. While I'm pretty happy in my newest company it's the best paid yet and I do find time to read about new stuff or personal things and watch some youtube but if it's needed I sometimes cant for days so I'm cool with it
@valid halo and @hearty depot Congrats guys (:
Being able to work from home / self study whenever I want, being able to work overtime when I want and choose and pick what products I want to work with at any point in time is the great benefits I have at my job π
On top of having 2x pay of most people I know, which is nice when the wife is still studying π€·
it shure is π€£ What is your job btw? (besides beeing an fat basstard (your words))
Looking forward to the development options they offer
I have another job than being a fat bastard? 
I think that is a breach of your contract
@light trout how you installed your haste service btw?
it that still running?
dont know π€£
docker, but I think that host is loooong gone
just wanted to pastebin something but the microsoft server just broke down again - remember wich image?
nope, I think I made my own actually
π€£ good one - I come clear with the usage - but never created an image
Not that hard, it well dockumented
but but.. I have to watch money heist π
@hearty depot but to be honest, I'm a technical consultant, working with mostly any product, but preferably networking, virtualization, Unix and storage π
I hate backup products
Unless it's 3000 slot tape libraries
Any known big company?
it's pretty huge
That's what she said 
Woha
People who have racks like that will never be a DC admin, because no DC looks like that in the world π
@boreal pewter we used to be 370.000 employees, now we are only 60.000 after getting rid of three internal departments π€£
I hope it atleast is good paid @hearty depot π My current very small company also pays the best yet
When I started after being an apprentice in 2006 they paid me 25000β¬, then I moved to Ireland and made 23000β¬ but only paying 7% tax compared to 28 in Norway, then I moved back and got 35000β¬ basepay in 2007
And it's gone up a bit since then π
Comparing your salary over time is both depressing and not π
Yes, when I worked as a paper boy when I was 9 I earned β¬250 per month, though only working Saturdays
It was the point at which I realised I was paying more in tax, than I'd earned in my first full time job I realised how scary inflation was π
When I worked as a paper boy when I was 20 I earned β¬25000 per year, but only working 4 hours every night π
My first full time job paid about Β£11K, but it was "some time" ago
Norwegian tax is, fair imo
Compared to many other countries
But Irish tax was just ridonkulous
You could get tax leaniency by having a driveway
And weird shit like that
I think I paid 31% last year
and I earn double of what I did when I paid 28%
Damn
Unlike the Danish guys who go to 50% quite early on
You have to be earning over Β£150K to get hit by the 45% band in the UK, which is the highest band
Mind you, it's 40% from Β£50K
I think we have one band that triggers at Β£45k and one that triggers at Β£70k
But you only pay extra tax on what is above the band
Same here
@clear ferry Ok considering costs here that is nothing. I wouldn't go to work for that money, that's just about what I get when I'm workless

@bronze rock For file systems, a safe default is ext4. For data storage then btrfs is worth a look
@clever mortar wrong channel π
There's no #linux channel π
I was wondering actually if we need a channel for such things
Given how often that, and non-HA Docker related questions, come up
Yeah
yeah, I really dunno how to ask what I want to do in a way that googlefu assists me
Well, we can help there, probably
I think I want to symlink my current /home dir which contains my volume info for pihole & HA
You can just mount the new drive/partition on /home
and i want that symlink to point to my SSD so the files are there instead, but i dunno if that's dumb or not
I'd go with mounting in the right place π
Symlinking is dumb, indeed
Pointing the symlink won't move the files π
Symlinking has uses, but for something like this, no
and this is why I wanted a discussion π
dumb is ... needlessly harsh
Well a discussion would imply 2 point of views
Thank you @clear ferry β€
well, I DO use symlinking on my PC but it's to force a folder that's part of a unique filestructure to be stored in dropbox for cross pc file sharing of save files/config files, etc.
which, imo, is what they're for
The process of cloning/moving the files is easy enough, but you'll need to do it when not logged in as a user with a home directory in /home
Create another user with a home folder outside of /home and give it sudo access, for example
ah
i was thinking of root, but i dont think that I can even log in as root on my pi currently
You can fix that, but you shouldn't
I don't need that pain to occur via SSH
(I do, but I'm crazy and understand the risks)
Rule#1, don't use root for stuff π
I don't, so I don't π
With a bit of trust I would just become root and do this process quick and dirty
If you don't already have the UUID of the partition on the SSD, you'll need that, and https://linuxhint.com/uuid_storage_devices_linux/ will help
Like some Unix systems I know that are completely isolated that have 2 character root passwords, and root via ssh, it pains me, but it is the easiest in that situation π
Isolated, is less risky
Until it's suddenly not because some idiot connected the network
When it is airgapped with 2km mountain I would say it is pretty safe 
Tell that to the Iranian's and their centrifuges π
Mmmm stuxnet for breakfast
lrwxrwxrwx 1 root root 15 Aug 7 13:08 638417fb-7220-47b1-883c-e6fee02f51ac -> ../../mmcblk0p2
lrwxrwxrwx 1 root root 10 Aug 7 13:09 8646-30FA -> ../../sda1
lrwxrwxrwx 1 root root 15 Aug 7 13:09 B6BB-0F0E -> ../../mmcblk0p1
``` ?
The process is something like:
- Mount the SSD somewhere free (like
/mnt/ssd) - Clone the current
/hometo the new folder - Unmount the SSD
- Rename the old
/homeand create a new folder there - Update
/etc/fstabto mount the SSD on/homeand mount it there - Check it all works
I'm more worried about the public facing servers I've seen that still run WindowsXP and haven't been patched for 10 years π
And in your case, looks to be sda2
is there a way to see the empty size?
parted
And, I've seen systems with pre-release OSs running Internet facing services, what's some wormable OS's here or thare
when i ran sudo parted it's just hanging....
Good evening everyone
i was wondering if you could point me in the right direction. Im wondering who it is done to create a device that uses a sensor (switch) together with a bulb to create another enitity where the switch is the default on/off of the bulb..
is that done via templating, customize?
is it even possible?
@bronze rock Try sudo parted sda (from memory)
@dusty vector Wrong channel - please read the channel topics π You want #330944238910963714
ok, thanks
man parted will tell you how to use it
You can also check with dmesg - dmesg|grep sda
it seems like anything I try to run with root privledges is hanging =/
Is your filesystem full ?
that's, in part, what I was trying to check on, lol
df -h
i rebooted the pi, or tried to, and it's waiting for a stop job is running for Session C13 of user pi ...?
lol π¦
If the filesystem is full you might be dropped to single user and have to delete off some stuff π
it's done with that now, probably shouldn't have rebooted lol
i had my HA log config set to info and that might have been a poor idea
oh hurray it's rebooting
22G free so... π

does df only show mounted drives?
Yes
I really don't have a decent understanding of how linux filesystems work. :dogekek:
aww why doesn't that work for me?
settles down with a soda and man pages
what's the # mean in command(#) in a man page?
seems like the # is always 8, but?
can you read an entire section of man pages together then?
like, I should probably sit down and read section 8
Old but still relevant for most I guess, I read it 20 years ago π
man -k is useful, as is man man π
There is a ninth edition released in 2015 atleast
about 20yrs ago was when I took a *NIX class in college, but my 2 friends who were already well versed in linux were my groupmates, so they handled the linux portions of the class and I just did the coding
lol
I wish I had made them teach me, now
man -k woman
Some things are just accidentally funny π
mount: /mnt/ssd: special device 3923c609-b3a5-4ad6-a38c-9c4138aa76e2 does not exist.```
oh I see now, I needed -U in there
What are you planning to use them for @midnight adder
:guffaw:
three will go in the living room, one in the bedroom
i currently have one rgb yeelight but i don't really ever use any of the color stuff
I like our multicolor hue led strips since I can use them for red/dark blue light if needed for low light vision
but beyond that, I don't see much use for us, other than making the kids happy.
Rgb all the way
I could see myself using certain lamps for notifications with colors nowadays lol
You need the flashing red and blue lights for the invaders
i'm gonna go with rgb
I was very happy with the yeelight strip
it's a dollar in difference
you'll find reasons to enjoy the $1 more
Use it behind the bed headboards
yep
i hate that I have a yeelight somewhere that went missing when i moved apartments in december
I've got a couple of the RGB strips, and being able to change the "white" from cold to warm is rather nice
/dev/sda2 ext4 1.9G 1.3G 565M 69% /mnt/ssd It's a 120GB drive... where'd the other space go?
@bronze rock what brand
fdisk -l /dev/sda
That's old school
it's a kingston drive
parted is the new hotness
looks like sda1 and sda2 are the same drive:
[ 1.482523] sd 0:0:0:0: [sda] 4096-byte physical blocks
[ 1.484906] sd 0:0:0:0: [sda] Write Protect is off
[ 1.487120] sd 0:0:0:0: [sda] Mode Sense: 53 00 00 08
[ 1.487477] sd 0:0:0:0: [sda] Disabling FUA
[ 1.489677] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 1.492611] sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes not a multiple of physical block size (4096 bytes)
[ 1.497137] sda: sda1 sda2
[ 1.501970] sd 0:0:0:0: [sda] Attached SCSI disk
[ 34.411592] sd 0:0:0:0: [sda] tag#14 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD IN
[ 34.411609] sd 0:0:0:0: [sda] tag#14 CDB: opcode=0x28 28 00 00 3f 1f 88 00 00 68 00
[ 1662.591597] sd 0:0:0:0: [sda] tag#10 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD IN
[ 1662.591614] sd 0:0:0:0: [sda] tag#10 CDB: opcode=0x28 28 00 00 3f 1f 88 00 00 68 00
[ 1663.152413] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)```
Have a closer look at sda1 π
/dev/sda1 vfat 43M 22M 21M 51% /mnt/ssd
I need to delete the partitions and recreate from what I can tell, but... lol Thanks for helping me do this everyone, I, obviously, have no idea what I'm doing
Yeah, parted is the tool for that
Error: Could not stat device sda - No such file or directory.```
tmux or screen are handy for ensuring that if your connection goes you don't lose everything
2nd terminal is hung within parted as is the actual computer π¦
sudo dmesg|tail
[ 2578.431170] [<c05c8210>] (blkdev_issue_flush) from [<c03f0628>] (blkdev_fsync+0x48/0x58)
[ 2578.431190] [<c03f0628>] (blkdev_fsync) from [<c03e7164>] (vfs_fsync_range+0x68/0x98)
[ 2578.431207] [<c03e7164>] (vfs_fsync_range) from [<c03e721c>] (do_fsync+0x4c/0x74)
[ 2578.431224] [<c03e721c>] (do_fsync) from [<c03e7528>] (sys_fsync+0x1c/0x20)
[ 2578.431242] [<c03e7528>] (sys_fsync) from [<c0201000>] (ret_fast_syscall+0x0/0x28)
[ 2578.431253] Exception stack(0xda995fa8 to 0xda995ff0)
[ 2578.431267] 5fa0: 00000002 011e7608 00000004 00001261 0000006c 00000000
[ 2578.431281] 5fc0: 00000002 011e7608 00000004 00000076 00000100 b6f7be94 b6f77984 00000000
[ 2578.431292] 5fe0: b6f8da08 bede1428 b6f517e8 b6e3f8a4```
I'm currently waiting on three sonoff TSR588's to arrive as well, no clue what I'm gonna do with them
do I have to flash these before using them or do they work out of the box with hass?
4
#diy-archived would know π
Ok, so probably your SD isn't dead
dmesg|tail -n 50
Please use https://www.hastebin.com/ or https://paste.ubuntu.com/ to share code or logs.
Hmmm, that's not good. I'd reboot
the drive works, at least, it did the last time it was in my pc to ensure the usb->sata adapter i bought worked
lol haven't heard that yet
if you say alexa, sudo make me a sandwich she just says ok
at least, she used to, now she just said ok you're a sandwich π¦
just tried it with google
it does a guitar sound and says "I must warn you that it's not a reversable spell, but i'll try"
then again with sudo it goes "But I just made you a sandwich. Does that mean sandwiches can talk?"
replying with "yes" gives "this day keeps getting better"
by the way shoutout if you flex your smart home shit whenever you have family over
my grandma now wants me to smarten up her house because she's tired of having to go through the house every night to turn lights off
haha nice. No one has desired anything other than our all-on, all-off type functions
huzzah. There's simply unpartitioned space on this drive for whatever reason https://paste.ubuntu.com/p/h8TcqXKwcb/
Well, you can add another partition, or blow it all away
there's nothing on there that's useful so I'll just make it one giant one, though, the idea strikes me that I don't need 120gb for HA+pihole
but, whatevs, I'm not using it for anything else either. Can you resize partitions after they're in use?
Increase, yes, decrease, not really
That's like asking if you can undrink the beer
ok, maybe I'll make a couple 8gb ones. Well, you can shrink windows partitions, sometimes.
Just watch, you can only expand if there's unused space at the end of the partition
If you create 2 x 8 GB then you can only expand the second if they're back to back
I can be taught /dev/sda1 ext4 110G 61M 104G 1% /mnt/ssd
π
rsync or find and cpio
cd /home
find . -depth -print|cpio -pdm /mnt/ssd
Run that as root
do you have to use sudo on both sides of the pipe?
yes
mover is not in the sudoers file. This incident will be reported. haha, oops
It's ok, the Internet Police will be by shortly
hehe, how do i edit /etc/fstab to mount /dev/sda1 to /home?
I used nano to open the file and balked, and closed it π
sudo nano /etc/fstab
As I said though, use the UUID
That won't ever change, the path might
UUID=98e58ab5-dead-beef-cafe-29d311c0ee3e /home ext4 defaults,noatime,nofail 0 0
Replace the UUID there with the actual one
Oh, and if you haven't already set up backups, now would be a really good time to fix that
I backup to github, but, I'd like to backup everything
right now I'd lose all my secrets and etc.
That's backing up your config, not everything else π
true π
how do I test the fstabchanges?
reboot?
sudo mount -fav π
now, to see if HA comes back up
what's the preferred backup method?
... what's the easiest to setup for a n00b π
Depends on how you installed HA
docker
On Hass.io you've got some add-ons like the Dropbox or Google Drive sync ones. On non-Docker installs you've got whatever you want (I use rsnapshot for local backups and rclone for online backups), including Duplicati and more
On Docker, I have no idea...
#449717345808547842 may know
I can make image copies
I have a few
which should be effectively a backup, I think π
Ultimately you only need to backup the volumes and host though
You don't need to back up the container images
I do only when rolling to a new version in case I need to revert for some reason
I'm a little surprised that moving stuff like I did didn't messup github integration, which I'm happy about π
So... now that that's done. I'm not sure it's any faster, but, an SSD should last longer than an SD card at any rate. π
Or... don't use Docker at all π
Never! Iβll never go back to dependency hell!!!
π€£
@midnight adder hmm... its not hass enabled sooooo .... π
That reminds me
my Z-wave door sensor fell down
I'm gonna have to use extreme measures
takes out hammer
Nah. I'm probably gonna get some more 3M sticky stuff
I would feel remiss about epoxying something to my door
@valid halo surface prep is everything
Alcohol or similar to clean the surface
Remove dust, clean with something like alcohol etc, then let it air dry
You'll have to make sure you completely remove the old sticky on both sides too,
Then reapply with firrrrmmm steady pressure. The longer you hold it the better
Then it falls off in one week
Then it should never come off until you demolish the house
It lasted around 3 months
Adhesives are very powerful, but they're only as good as surface prep
Sticking to dirt/grease, or not enough application pressure, or load applied in the first 24 hours etc
This reminds me of when I was making a cosplay gear
I was trying to stick PVC to metal and the first two attempts failed.
then I cleaned it really good. and used rough grit sand paper on both items to give the epoxy spots to dig into and it really worked good.
Yeah abrasion is really important if it's a surface you don't mind scuffing the underlying surface
Obviously not for something you might want to remove cleanly
I need to make sure I can remove it cleanly
Abrasion increases surface area. Just make sure you clean off the dust that you make sanding
I don't need new owners in five years asking "Whats this sensor on the door?"
I aint giving them free tech support
Gonna rip out all my smart stuff when we move out
Yeah use those removeable 3m things, but clean the surface
But if they're paint is applied badly it could still take the paint off
Most paint is applied like garbage too
Tru fax
I remember I painted up a water gun with spray paint for that prop I mentioned above. It was awful
paint scratched off/chipped off so easy
but it worked out. Made it look really used up
Surface prep is key for everything. Welding, soldering, painting, gluing, etc
Oh man
My attempts at soldering have NOT gone well
Not sure if it's my technique or my solder
and then there was that time I burnt out my USB interface for my Sonoff
I saw an orange glow and thought "Huh that's odd"
then poof the magic smoke that powers electronics came out
I find out one of the most important things for soldering is comfort
Having the work piece at the right angle, secured,
Especially wiring, good holding solutions make a huge difference
That iron probably gives you grief too
Yeah
All I've got is the worst holding solution known to man and aliens
HELPING HANDS
TS-100 is really cheap and will be 1000 times better
Get yourself a cheap ball vyse from the hardware store
Okay.
TS-100 and Ball vyse
I also find myself wanting a magnifier as with 20/50 vision. It's a bit iffy to see the tiny wires and solder targets on a sonoff basic
9208daa2-5d1d-4c32-8ad4-c7b341e2a704.jpg (1600Γ1600)
Something like this is a great foundation
Magnifying lamp is great too
Those style arms are great
But not for holding the piece
Use a couple of them for holding wires or bits to the main piece
Hmmm.
The vyses are super easy to position as well as attach the piece
With those arms youll spend half a minute every time attaching and positioning the piece
I see
And when you press on it with your soldering iron it will move
Which will destroy your joints
so the vyse would gently grasp the Son off and the wiggly waggly arms hold the wires or what have you i'm connecting.
Yep
You probably only need two or three arms
Attached to a central point.
After you get that stuff sorted, solder and flux helps a lot
I use multicore brand solder. Never use lead free
Age shouldn't matter
It's probably bad quality. It was in a kit from DeVry University back when I was taking an electronic engineering course there
The soldering iron I had from it was busted. THough that's probably from it sitting in a box in a basement for six years
I'm gonna need a bigger tool box
You don't need much to be honest
Vyse, arms, solder, flux, flush cutting pliers, needle nose pliers, good soldering iron
That's what I use like 98% of the time
Oh and a solder sucker
No worries
Soldering is one of those things that's quite enjoyable with the right setup
And a frustrating nightmare without
You can expand from there, but those are all the things I consider minimum viable
Truth is there's a huge lack of resources for learning good soldering tips and tricks and setups
I struggled to learn, since I didn't have anyone to learn from
So many bad videos on YouTube
@valid halo watch this
It's olllllldddddd but it's very very good
@hushed basalt hahah. you weren't kidding. that is some old footage.
my parents worked for westing house and taught me. i wonder if they watched these. lol
Probably!
what's up folks, anyone working on anything cool tonight?
My morning coffee
gotta have that! π©
You know what would be great? To have somewhere to share and get inspired by Lovelace setups. Do we have a place like that in the community?
The forum?
Oh... π
It even has a Share your projects section
Sweet π
Oh snap
I'm moving my first VM to docker
Mark the date
Haha, found a picture I made 12 years ago
Shit, I forgot what I looked like with hair
I didn't understand why my scp took forever then I realized that I had a symlink that pointed into the same directory π
Cleaning up 15 years of servers, you find stupid stuff like that π
Like wtf, I had a iso of vista laying around on this webserver too
And two winxp Isos 
No wait, there is a third too
Just in case the first two suffered from bit rot?
I am very angry
My basement lost power
No tv
No internet
How the fuck am I meant to live
You think it has worked, it's quietly plotting how to catch you out at the most inopportune moment!
I imagine it is, because I don't think I did it properly even though it works
Now if I can manage to create a mariadb docker...
MariaDB? How 90s!! You need some nice NoSQL love!
@clear ferry good luck ... i am playing hell with a nut ups docker container now
@strange vapor watch it or I'll go for ms access
Oh lawd
I managed to get mariadb running and moved the database from old instance, and I use the docker internal network 
I'm taking a college course in Microsoft Access
But you are here 
LTE signal
@clear ferry it all your fault ...now i have 4 home assistants running with about 10 docker container running on two diff host machines
I am reading TCP original RFC and ports once again confused me: https://tools.ietf.org/html/rfc793
So let's think about client A is doing ssh to server B. In that case, I was thinking client A is using a random available port and server B is using port 22.
For some reason, I thought using port 22 for client A might be confusing. After reading this, I realized that my assumption is not correct: https://www.linuxquestions.org/questions/linux-security-4/inbound-vs-outbound-ports-619172/
Let's change the example a littly bit like client A --> server B ---> server C
now port 22 on server B might be used for inbound traffic from A or outbound traffic for C
Maybe they are completely irrelevant (since I do not know implementation of these ports very well)
still I feel like I did not ask any question
Let's say client A is doing SSH on server J and server K and using port 22 for both (destination IPs are different of course)
What is the advantage of using port for outbound traffic? (more granular security control maybe?
The client port is, generally speaking, completely irrelevant
It provides "security through obscurity" at best (which is to say, no actual security, but can reduce the noise)
@clear ferry isn't that like 40 years ago?
Or 12!
Shit, two databases and two web servers consolidated to docker
I'm going wild
Maybe I should... Do HA 
π
@clear ferry yep its cool until it doesnt work ....and the docker guys go π€·
I always thought docker is cool until checking this post: https://thehftguy.com/2016/11/01/docker-in-production-an-history-of-failure/
My experience with docker is relatively new (almost 1 year) so maybe they figure out a lot of things during that period but anyone here has strong objection to this post?
Three year old post π€
pretty old
Just a tiny bit
found the article while playing with traccar
so people still give reference ...
Well, yeah, people still refer to things written hundreds of years ago too. Doesn't mean they're right (or wrong).
yeah, just wondering if anyone has any annoying experience with docker
Lots of people probably do, just look in #449717345808547842 π
But, if you take the time to learn it and do it right it doesn't seem that bad
Except it took me a while to get it 
well I think they most of the time do not know what to do or how to do.
(I'm still a Docker newbie)
But now that I do I love it
That's true of most new things
It took me atleast 4 days now to figure it out
yaml anyone? π
Longer than stuff usually does 
YAML π
I is quite a long post but I recommend you to read in order to feel pain of the author π
Eh, I don't see the point
I may nominate it for best in drama if there were Oscars for blog posts ...
I usually learn new products on the flight to install it at a customer, so four days is long
I had a SAN guy who was clearly learning while trying to help me trouble shoot problems. I kicked them out when it became clear I knew more than they did...
π
It's quite awkward to go to a customer to do the first install in Europe, and you have hardly a beta of the installation docs avaliable
But I am a fast learner π
If somebody is up front about that, I don't mind
It's those that lie I get annoyed at
Did one like that two weeks ago, customer asked how many i had done
Said it was the first in the country, let's see what happens 
I had that with a colleague. Turned up to do some stuff with a client, and my colleague asked how many I'd done.
Including this one... one
He just about fell out of his chair π
I then pointed out I'd been doing very similar things for years, and that while the details were slightly different, it's not exactly new to me
π€£
Yup
The commands are just different
Even then, often not that different
unless you add docker to the mix π
First time somebody sat me in front of an AIX box it took me an extra 30 seconds to find my way around
Eh, not really any worse than VMs
It's "just" another type of abstraction
@light trout even then, docker is not that different
Just automated containers
I guess itβs hard for most, since no one knows how a network works
@light trout
got yourself already an yubikey?
got one 3-4y ago
No, not sure if I finished it
Either I buy one or you can send me yours π€£
I think I got into issues when using it on Windows, I may try it again soonish
I know this soonish.. I still got an Nextion display on the breadboard over there
So quiet here
a new AM4 system or reuse my I5 7600K
this cooler would be coolhttps://amzn.to/2ZIwmqU
but most ram dims are in the way
now hard part, Find an (CPU+)Mainboard - there are just to many of them π
got an 1080ti and 2x8Gig ram (PC4-2400T-UA2-11) from the old one here
This thinkpad just freezes ever when I open a new tab
(or mooving the mouse to much...)
π¦ INTERNET is back π¦
Each time I restart my nuc this gets reset?
I'd ask in #330990055533576204 where it's on topic π
@clever mortar thank you again!

