#the-water-cooler
1 messages ยท Page 492 of 1
@clever mortar thx for your help figuring out the root of my problem. I now have a workaround via alexa routines that works!
Boo I've reached the point of folding@home where its gonna be a couple weeks to move up another rank in the team ๐
https://www.androidpolice.com/2020/04/13/google-assistant-adds-native-support-for-tvs-set-top-boxes-and-media-remotes/
For those bitching about media players going away in assistant
@wet pilot was just reading this. Google assistant for blenders? How does that work ?๐
Go on then, what is ๐
This is interesting as well https://www.androidcentral.com/samsung-reportedly-shifting-focus-next-gen-qd-oled-displays
i'd have to go with Yogurt maker:
https://developers.google.com/assistant/smarthome/guides/yogurtmaker
Though Pergula and Sous vide are up there too
there's "Pet Feeder" and "mop" too
Any word on GA handling timed events?
not that i've heard, but i haven't been paying super close attention
Things like turn off fan in 30 minutes
that would definitely be cool
Yep. Specially for TV etc.
https://www.youtube.com/watch?v=BmiTSbgu7eQ Very educational...
How to disassemble HP computer flat display screen
@clear ferry Speccing out a new desktop... All the cool kids are saying to go with AMD. Outside of Intel employees, you're the only one I know still backing Intel! Why shouldn't I go with a nice Threadripper? ๐
๐
But seriously, their last gen CPUs were a piece of shit for the server platform
They have a new generation now, I haven't looked at the design yet
Might be better
Also consumer grade I'm way out of
All i care about is uptime and stability, AMD ain't been good with either for me since the late 00s
Friend of mine is self isolating in the granny flat of aprivate DC in London. Currently replacing all the Intel with AMD Epyc. Lots of perf testing before they went near it and for their workload (some form of large data processing) AMD was leaving Intel in the dust. 12k servers to be replaced, rack by rack.
All depends on workload for sure
And AMD is being very competitive with price, undercutting intel hard
At a loss of course
Oh yeah AMD has for sure shown their good side in the past year or two
They now instead of being all trash are coming out with top of the line cpus lol
Im still intel 4 life tho
Very few customers are interested in switching to AMD because they have to replace all of them in a cluster at once
Will be interesting to see how long that stays the case if AMD stays hammering Intel on performance and turn out to be very reliable.
Depends on the workload I reckon
Yup, horses for courses and all that.
We even have costumers who don't buy AMD because they are too cheap
If you don't use the whole budget, you lose it
I always hate that damn logic, though I understand why it exists.
It's punishing people for being efficent.
Yes, lots of that in state and military
Intel will make a comeback
eventually
They cant keep sending out crap cpus for this long and not have a good one coming
it'll take a couple of years to catch back up at this point
Look how long it has taken AMD to make a comeback.
lol they totally can
12 years tbh @strange vapor
No doubt they will, and it's nice to see some competition again.
pooping the same shit out for years with only a price increase to differentiate
they just can't get away with it as hard anymore
That ain't true, compare a nehalem to a skylake ,they are way different beasts
Well, an ivy bridge to a skylake then

Skylake is as different from previous generations as pentium Pro was to 486
Now we have skylake successor too, don't remember the name off the top of my head
that's 4 years ago, just clock increases since then
they haven't had a process change in a long time
just now starting to roll out
@strange vapor just leave @clear ferry in his intel dream ๐
@midnight adder More fun to poke him!
throw a throtteling cpu to its head ๐
Seems HPE are jumping on the AMD bandwagon, so he may have no choice before long: https://www.hpe.com/emea_europe/en/solutions/amd.html
@strange vapor been selling it for years already, but it's 5% of sales
because you 'sell' them i reckon
Because nobody wants them, for above mentioned reasons 
they dont exist in the new 4000 series
their NUMA nodes were definitely trash for a while there
Yes, we had a bunch of returns
ez clapping the cheeks ๐
Because shit just crashed
imagine making these and when sensed unwanted movement when away retracting them into the wall lol
sounds like a code violation
๐ค
YouTube user "Ryan's Edits" has edited "Star Trek: The Next Generation" bloopers into their original scenes.
Full playlist: https://t.co/kuJeDhBey1
Patreon: https://t.co/6KFTTiZfdW https://t.co/1ijMwMau0v
249
605
@wet pilot you muuricans and your codes, no fun!
lol we take fire code pretty seriously
Imagine if you cared as much about yourselves 
Bought glue gun sticks and plastic lacquer @last plaza let's see how it pans out
If not I'll get Gator King ยฉยฎโข @dull chasm to send me muuuuurica stuff
is reolink a good brand or would you guys advice other brand for security cameras?
i also asked this in #cameras-archived but expect people to know things about it that never look over there
Roll your own
i would if it was for me
im setting up for somebody else
that is not really gonna do anything besides basic use
your NVR probably NATs your cameras
when somebody unplugs one of the poe of a camera
can they access the internet
locally
probably not
i mean it goes through the NVR
right
that should block that i guess
and i dont have a clue on how to google that
but if the NVR doesn't NAT them, they can get to your network
NAT let me googl ethat
Easy to avoid with a managed switch, vlaning and if you are paranoid, virtual firewalls between networks that physically seperate them
vlaning in a managed switch?

ah thats a setting of the managed switch
Yes, it's layer 2 networking 101 
how does it know then that it is a camera and not a laptop
i dont get it XD
i mean i get that you create a virtual network
Backdraw of having worked with network switches for 24 years, ive done it longer than some of the people I talk to have been alive 
Installed my first switch when I was 12, me and some friends co-bought one for LAN parties
Or.... To be fair, it was a hub
but is vlan as easy as enabling it then?
And may or may not work as the standards
but thanks will do more researchh..
I should comment my automations, 2000lines and not a single comment
Hi everyone

Many of my automations are completely commented out cuz I never got them to work properly ๐ข
Why not ask for help?
Giving up is easier than trying to get silly automations working ๐
Because Finnish people aren't weak
Ask the Russians
They tried invading once, will never try again
I did, they said something that sounded rude, so I left them alone with their Vodka

NOOT NOOT
lol Oneplus now costs $1000
dang, pfsense took a crap on me for the first time.... got up this morning, internet was down, rebooted pfsense and it came back up. I assumed my provider was down
OneThousandPlus
I was watching the keynote and the guy said it so enthusiastically as well
It was such a tone death presentation, apple inspired and generally bad
But $49 earphones looked decent
i'm still using an OG pixel xl
i've tried the 2XL, the 3, and the 3a XL and was unimpressed by all of them
i'm still using the 2xl
I'm still using a cup and string
that's why you wait for it to be $200+ off months after release lol
They're not cheap, but I prefer them to any weird ass "skin"
Yeah, I've only bought mine on discount
But seriously how does Oneplus think audience will accept this, biggest market is India even as premium handset a lot of consumers will back away from a 1k$ smartphone
I like stock but with subtle enhancements (think Nokia, Oneplus etc.)
The audience has accepted it from the other manufacturers as well
Found a picture of @tinkerer fixing something
hi

รคhm.. yea.. sad but oneplus is now a dead brand for me ๐คท
the new saftynet implementation gets me another headake...
as far as I can tell that will kill custom roms
How do you guys hide your home automations stuff? ๐ I love shellys but I don't really now how to make an installation pretty ๐ฆ
Dig a hole in the ground, and use it to hide the bodies of those who complain
Uhm so that would be me as a first complainer ๐
Go! Get the shovel
What is that btw? your heater?
Yes, it's my 30 years old thermostat which I can control now via Alexa, Siri and automations <3
Just added the temperature sensor add-on because I found Bluetooth too unreliable.
and youre getting the power from the thermostat.. Holy I would love that, I think I cant do that nly 3 wires here and to turn the heater on I have to connect neutral and live
Just put a box over it
Presto
Something like this https://images.app.goo.gl/PkPEinGwF5zHQGyk7
@hearty depot This is exactly my setup, 3 wire but I have to disconnect neutral and live to turn the heater on. Template switch in ha ftw
@clear ferry That looks great! this may be a dumb question but what did you searched for? If I search for "box" at my local Hardware store I get anything but that ๐
In Norwegian it is called utenpรฅliggende koblingsboks
No idea what it's called in other languages
Looks like the GUI is taking over yaml :(. I thought that wasn't supposed to happen!
Who did u poke @clear ferry

@storm summit Not quite
I just discovered some configruation options are only in the gui for integrations. if you add them via yaml you loose functionality.
But kinda
Sad day.
I've not seen that myself, but yeah, there's something that are GUI only - some of that even makes sense
I think a lot comes down to HA making GUI setup easy, but not YAML, so devs will naturally take the easy route
๐ฆ
So I made a bitfield calculator in Excel that shows you what features are supported based on the supported_features attribute
You paste in the supported features list and type in the number
Then it uses solver to highlight the supported features
Nice
Got tired of guessing and adding the numbers that looked right lol
We have machines for these things

That would be a good command to implement for @velvet horizon
.supported_features 214
would need to know all the base platforms
Yes.
i think there's an off the shelf bot that can do that
lol - first I need to see tedioreโs spreadsheet
Off the shelf bots are not very friendly. IMO
the #672217570283094017 idea @last plaza
self roles based on reactions for channel access
That would be cool! ๐
yup
Hello ๐ I'm a developer from France. I've been working with IOT in my previous job (smart cities mainly), now moving to a new location and finally trying to use some skills. New to Home Assistant btw. ๐
Did not know you have NodeRed integration, that's cool, it is actually my previous work tool
@clever mortar how many holes so far?
๐คฃ
@latent patio welcome here have some

eheh ๐


Anyone got any fun projects going on?
esphome nodemcu controlling a heat pump via IR.
First esphome project. Kind of neat.
I did that for my TV, to turn off the display but keep the music running ๐
Oh, and a docker container that connects to an rflink and translates between that and MQTT for Home Assistant with auto discovery.
dirty, but works ๐
How long did you work on otimizing those delays?
Trial and error. Some menus are slow, others are fast
that's nuts ๐
But seeing the TV going through the menus "by itself" is satisfying ๐
That's perverse 
noice, I just remembered I had some Blitzwolf SPH6 plugs I ordered a while back
tuya convert works
Hey guys, how's it going? Hope all is well and everybody's staying safe! ๐ค
Is there a specific channel for asking questions related to networking on hass.io?
I actually thought of directing the question straight to @junior forge given it's somewhat related to Wireguard, but either way I'm sure that the #the-water-cooler is not the place to do it! ๐
You rang my lord?
Sorry, this is my very first time on Discord. Didn't mean bad.
๐
I'll jump into #330944238910963714
I need to get around to configuring wireguard on my opnsense
it worked nicely in my initial testing from a debian box
but I want it permanently on my perifery
I installed it the other day using pivpn - was stupidly easy

#hardware-archived would be a good place to ask
yeah, that's a good point, sorry ๐
still no crash of HA after switching from mariadb to postgres on the same docker host
interesting
perhaps ?
not sure quite what happened, move to freebsd venv, upgrade of mariadb, upgrade of HA to 108, and started using lovelace UI editing in a new dashboard
Doods nailing it as usual

lol what did it think was a train?
atx coming home. what else would it think it was?
wait.. when was core renamed alternative? how did i miss that?
Recently, to see if it reduces the strays
there will always be strays lol
tmw you leave duckdns setup for custom domain, and then through tinkering hit rate limits and lose your certs in the same process, and now your entire setup is b0rked
Duckdns ๐คข
i didn't have the domain when i first set it up, and the docs/setup were easy..
I dunno, i think duckdns is pretty nice, easy to use/setup, and provides a pretty solid service
Going down more than.... No I won't go there
really? I did have an issue 2 days ago which actually spurred this, but I was blaming AWS dns, because all other nameservers seemed to resolve just fine
but before that, i haven't noticed any issues
There's been at least two days recently where they've been horribly unreliable
Auh, thatโs good to know. I thought it was me ๐
I think one of them was yesterday
yep, yesterday was worse
well either way my issue is i hit a rate limit like a dolt
I'll stick with the company I've hadn't had downtime with for 20 years 
hi
well i realized just now i may not really ever notice an issue in most cases because I use my own internal DNS cuz of broken NAT hairpin.... as long as the cert was valid i was golden
I thought duckdns was somehow tied into letsencrypt. That is why I use them. The more I learn the more I think that is not the case. My vpn is through no-ip and I have never had a problem with them. Of course, I got an email from google today saying they were lowing the bandwidth on my camera. The internet is on its way to breaking with everyone home using it
Yeah, mixing DNS and SSL certificate providers seems pretty common
blame the addon
@green inlet our Norwegian internets are just fine thank you 
You've upgraded PoAC to use eagles instead of pigeons then?
Avian carriers with QoS thank you

@clear ferry tensorflow somehow thinks front yard landscape is an airplane.
And it is pretty sure 95% ๐
Please
lol. I tried to fly, but doesnโt work ๐

Going down more than.... No I won't go there
@clear ferry what kind of norway joke did you have?
I just set up wake on lan.
I accidentally pressed the button.
And my pc turned on.
Somehow it was like magic XD
I remember the first time I flipped a light switch and a light came on. I felt the exact same way
bah humbug someone brokered the bar card
@green inlet ah, no L/E is more like an orchestration of certbot through configuration over convention/code, and one means of supplying authority is DNS, and duckdns has enough support to allow the integration
@lavish eagle then you should try a single command to power on 700 blade servers
whats best room to ask about themes?
@old lark #frontend-archived
hmm wonder where the myq integration is pulling this info LiftMaster Wi-Fi GDO DC w/Battery Backup cause that couldn't be more wrong lol
@lavish eagle don't listen to the h8rs, I think it's cool too
Trump throwing the WHO into the fire lol
@forest edge The WHO and UN both walk around with thier shiny helmets and accomplish nothing ... Have been with both over a ten year span in muliple countries.
well now they just lost their biggest funding so they will have to be selling those shiny helmets to keep the lights on
yep .... they try to be so pc and please everybody that they accomplish nothing ...They where with us in somolia handing out rice ... well they watched and basiclly said hey that should help ....dumb arse we where in country preparing for a raid ...
Hi all :)
I have a debian install for my home assistant. I have install mosquitto broker and when i start it, have this message: "1586907052: Warning: Mosquitto should not be run as root/administrator."
don't understand why :/
generally its bad practice to run software as root vs a user ...
although i mostly dont
a) your really in the wrong channel
B) how did you install
C) Tink would be proud
@wispy otter #integrations-archived
ok thanks ๐
@forest edge so you flipped a switch at some point huh.
Some people are flipping out over the newest announcement, what a surprise...
the yaml post? yea
reading is hard
This isnโt the first time
won't be the last
true
gold?
1.0.0
oh gold master
yup
why do you think that?
ERHMAHGHRD A BUG THAT AFFECTS ONLY ME IS TOTALLY BREAKING EVERYTHING HOW COULD THIS POSSIBLY BE CONSIDERED 1.0.0
missing <x very obscure feature>
and so on
Home Assistant still doesn't work with 5.25" Floppies, project failed!
pretty much
I'll admit I have some reservations about the direction of yaml. I think its the right direction but my main concern is portability, backing up .storage isn't as nice as couple of yaml files in my opinion. In saying that I understand why this approach is taken
i mean, its still all json in storage
ROAST ME ๐
you can change control that
Also bit confused with Shareability & Security section, is the blog post suggesting a new sharing function will be added to Home Assistant which manages the sharing of integration added?
i think there was previous coverage on that topic at some point
i didn't read too closely though
at the end of the day
if all you have to do is copy your config directory
then whats teh difference lol
The setup and how Home Assistant works and the readability, i.e. I backup to Git and I can see all my configurations from one file
Its not a bad decision but there are changes
they are also listed on the info panel now
that doesn't tell me the configuration
yea but if your talking about a user trying to copy your configuration jsut reading it wont help them understand....they need the docs for that
For a user who doesn't understand code maybe not but I am looking at https://github.com/topics/home-assistant-config for inspiration frequently, most integrations are in plain english, i.e. ipaddress, name etc. again I understand the rationale for the changes. It makes sense, but it will be a subtle change to how things work
yea i get that, but you gotta look back to when you first started HA or when anyone first started
struggling to start an integration is a more frustrating experience if you dont know YAML
tahts a big initial learning curve
@clear ferry I am curious what your opinions are, I was talking the other day (as a unix guy) you said your cli first and didn't use UI elements.
sure, 100% and this will open the project up to more people for sure and its the right approach to make Home Assistant more accessible. But it will mean some flexibility will be lost
IMO one time setup is ok to be in the UI but if you need tweak something often it dosent work well
how often do you chagne your username and password? only when you change the password
or change an IP address
some of those things are meant to be setup once and done
for me personally not having to restart HA to add a config flow is what im most happy about and ok with the change
the less restarts the better
tbh I don't care as long as they make the transition as painless as possible. i.e. I don't want to have to remake frontend stuff. Hopefully whatever changes do occur in the future are mindful of this
There isn't any personal data in .storage right presently i.e. password etc. going to add that to my git repo now.
Hey, @clear ferry , how do I get access to the Norway internet?
@forest edge so you flipped a switch at some point huh.
@tidal bronze us old school people don't have fancy no touch setups to turn on things, we still gotta manually do it. ๐
Can you give me your log on?
SO I guess at present backups to git aren't possible with revealing user identifiable information
are they plain text?
Wtf.....where did core go....lmao
#identityCrisis
trying to stop the n00bz from going to the wrong neighborhood
Rebranded as alternative, core is only for weridos and hipppies I suppose? ๐ค
@shy comet will integration option be editable ? Like IP address port changes? Or remove and add?
Well I am a weirdo and a hippy
#core is for @scenic radish
@wet pilot Yeah all plain text, like cloud ids, tokens very critical info
I think based on the blog post its a future feature, at the moment data + config are not separated
my current project stores passwords to make API calls to external systems but they're not stored in the clear
they stored in the murky?
encrypted with a docker secret iirc
Murky might be much more appealing
Just me though
โSir, if you donโt mind me asking, where are passwords to make API calls to external systems stored?โ
โWell they are stored in the murkyโ
โ๐๐ปโ
sent an email to shelly asking if they could suggest other outlets that sell their products state side and they replied with.. "thank you for the email, we opened a ticket"
sounds automated
felt automated too
like calling the poison hotline and getting the answering machine really
\s/poison/suicide/g
poison hotline is better cause you can hear they think you are an idiot in their voice while the suicide one they are taught to mask that as much as possible
yeah, but imagine suicide hotline going to voicemail. "even they don't care about me"
that would suck, especially if it played elevator music in the background while you waited for the beep
I just realized this is probably the first time sanitation workers have been praised on a mass scale lol
kind of sad when you think about what it would be like without them even before the virus lol
some people don't realize how unappreciated retail workers in particular are
yeah...
it's ok, they don't think of customers ad being unappreciative, they just think of them as bitches and assholes
fiancee and i finished painting the master bedroom this weekend. went from this:
to this:
glad your TV doesn't have wires hanging down ๐ค
@scenic radish so the HOA approval of such a change had a much faster turn around then the expected 14 months?
wait something is off with these pictures...
I see doors that aren't exits to the condo.. that cannot be right
@sour escarp thank you, i ran power up from an existing outlet behind that dresser
@wet pilot thanks, it's perfect for a bedroom, very relaxing
@hushed basalt yep, sry. the door in the first pic is out of frame on the right
@forest edge i know you're joking but no need to get permission for doing things inside your unit lol
was about to ask how that sheet you painted was able to hold that tv lol
You need a licensed electrician to operate a toaster in Australia
Or at least it feels like it
Can't even legally change a light fitting like for like
Or replace a power connector
I didn't think au liked toast.. seriously lol
What do you think we put our vegemite onto
๐คข
i have chrome, a terminal window, and VS code with a simple python program open
Well that's two browser apps alone
Between chrome engine and chromium in vscode
I'm surprised your desk hasn't melted
I need to root my phone
It's ridiculous
I FEEL INTEL POWERCLAMP KICKING IN
sammy needs to quit it with software. they are not good at it
I love having a dedicated button on my phone to open a service I don't want or use and can't disable
I don't really know much about phones and roms and roots and all that hackerman stuff
All I want is a vanilla android rom that lets me still do OTA updates
i used to root my phones back in the KitKat days
tbh stock android has gotten so good i haven't felt the need to root in years
Imagine if Dell made their own flavour of windows 10
And put it on all their inspirons
And you couldn't remove it
And you didn't have administrator access to your computer
That's the samsung experience
So I just caught up on the whole yaml announcement. Bit of a storm in a teacup amirite bois
๐ there was a future of yaml blog post
HA specific or industry wide?
yeah some people have lost their shit as is tradition with these posts
why can't i do this in python 
for key in zip_values if key in monitored_zips.keys():
jinja's got me all mixed up now
need an Eminem Coronavirus song
now this looks like COVID-19, so everybody... stay away from me
should be able to?
gave me a syntax error but it turns out it was
PEBKAC
nope, wtf
this works:
for key in zip_values:
if key['zip'] in monitored_zips.keys():
summary.update({key['zip']: key['confirmed_cases'] })
this doesn't:
for key in zip_values if key['zip'] in monitored_zips.keys():
summary.update({key['zip']: key['confirmed_cases'] })
also i do actually have four spaces but discord apparently converted that to two
for key in zip_values if key['zip'] in monitored_zips.keys():
^
SyntaxError: invalid syntax
>>> list1 = ['a', 'b', 'c', 'd']
>>> dict1 = {'a': 'a', 'd': 'd'}
>>> list2 = [key for key in list1 if key in dict1.keys()]
>>> list2
['a', 'd']
eh, my ugly nested if works
Changing between jinja, javascript, python and yaml expansion messes me up
i have trouble keeping the syntax straight between python, sql, and ahem excel
Also it's good practice not to mutate your objects
So make a new list or whatever
Basically what phnx said
summary is a new dict
It's a grey area. but it gets updated every iteration of that loop
here's what i'm doing, any thoughts?
from requests import get
import json
monitored_zips = {
'00000': 'not',
'00000': 'for',
'00000': 'you',
'00000': 'silly'
}
page = get('JSON endpoint and i don't want them to catch on that i know it so i removed it')
data = page.json()
year = str(data['LastUpdateDate']['year'])
month = str(data['LastUpdateDate']['month'])
day = str(data['LastUpdateDate']['day'])
summary = {'attribution': 'Data provided by dph.illinois.gov', 'updated': month + '/' + day + '/' + year}
zip_values = data['zip_values']
for key in zip_values:
if key['zip'] in monitored_zips.keys():
summary.update({key['zip']: key['confirmed_cases'] })
print(json.dumps(summary))
file = open('/home/pi/.hass/.other/covid_local.txt', 'w')
file.write(json.dumps(summary))
file.close()
ah gotcha
It's good practice to use a with statement to open files
so it will close the file if your program crashes
Also if you use month/day/year formatting in code I'll have to kill you
i 2nd the with open() as file: context manager
oh nice, and i see that automatically closes it whether successful or not
yep
thanks for the hot tip bois
also use wb for your file type and then do json.dump(summary) no s in dump
that'll stop it from string wrapping
interesting...
it'll open it as a byte stream and json.dump() will dump in a byte stream
or bit stream
whatever
๐บ
I would change requests to import directly and then use requests.get(...) instead
import requests
requests.get(...)
You'll thank us in 6 months
wtf is a get for, is that for getting keys from a dict
yeah...
wait... is something happening with python or requests in 6 months?
"what asshole wrote this shit!?" "oh, wait..."
lol
Sometimes it goes the other way if you haven't been learning
"How the hell did I manage to write this"
made that change too, thanks for the tip
i've literally only been able to do web scraping shit and this... step above web scraping
at least this time i'm parsing JSON...
i'm almost ashamed to have written this:
import requests
URL = 'http://wkqx.tunegenie.com/'
page = requests.get(URL)
text = page.text
song = (text[text.find('<div class="song">')+18:text.find('</div>',text.find('<div class="song">'))])
artist = (text[text.find('<div>',text.find(song))+5:text.find('<span',text.find(song))])
song_name = open("/config/.other/song_info", "w")
song_name.write(song.replace("'","'").replace("&","&").replace("3 Doors Sown","3 Doors Down").replace("LONLINESS FOR LOVE","LONELINESS FOR LOVE").strip() + ' โข ' + artist.replace("'","'").replace("&","&").strip())
song_name.close()
Also I would put your monitored zips into a nested dictionary
not even using beautifulsoup
just grabbing the source code and using a ridiculous find like an animal
but guess what
it works
oh, look at beautiful soup
heh
Also I would put your monitored zips into a nested dictionary
@hushed basalt what do you mean?
It looks to me like your summary dictionary is flat
as in the keys for all the zips are at the same level as attribution and updated
You'll have to change whatever you're using to display the results
But it's just good to seperate metadata from actual data
If someone wanted to cleanly iterate over your monitored zips they could do it very cleanly
i was just happy that i was able to do this with minimal googling tbh
It's always good to just get it done
MVP
unit tests, hardening, exception handling
so instead of:
{"attribution": "Data provided by dph.illinois.gov", "updated": "4/14/2020", "00000": 63, "11111": 32, "22222": 124, "33333": 49, "44444": 55, "55555": 28, "66666": 47, "77777": 53}
``` it could be
{"attribution": "Data provided by dph.illinois.gov", "updated": "4/14/2020", "confirmed_cases": {"00000": 63, "11111": 32, "22222": 124, "33333": 49, "44444": 55, "55555": 28, "66666": 47, "77777": 53}}
@rare condor some gui stuff makes more sense, but I believe cli should always be an option for core features
@scenic radish that's right
i believe you mean #672217570283094017 features
@green inlet easy, leave shitty muurica internet behind, come to Norwat
more like borewat
that way if you want confirmed cases they can just go {% for k,v in {{ summary.confirmed_cases }} %} or whatever it is in jinja
I'm out of cherry 
It would be near impossible to do it if it was all flat
@clear ferry I agree
ooh nice, that's a good thought @hushed basalt
I would make a dictionary that has the confirmed_cases
I was criticised on reddit for raising that
Then put that straight into your summary dictionary
@rare condor probably #330944238910963714 users ๐คข
maintaining both is kindof a pain in the butt from the codebase
@hushed basalt just did this:
summary = {'attribution': 'Data provided by dph.illinois.gov', 'updated': month + '/' + day + '/' + year, 'confirmed_cases': {}}
...
for key in zip_values:
if key['zip'] in monitored_zips.keys():
summary['confirmed_cases'].update({key['zip']: key['confirmed_cases'] })
``` to generate the example i had above
confirmed_cases = {}
for key in zip_values:
if key['zip'] in monitored_zips.keys():
confirmed_cases.update({key['zip']: key['confirmed_cases'] })
summary = {'attribution': 'Data provided by dph.illinois.gov', 'updated': month + '/' + day + '/' + year, confirmed_cases}
I think that works
oh nice, didn't even think of that
@wet pilot sure, but they have disallowed any integrations using yaml at all
You'd have to double check the exact syntax but the concept should work
only yaml
According to the announcement modbus will still be allowed to be setup in yaml right, doing 1000 coils from GUI would be heinous
Do these work in freedom land and Vegemite country btw @wet pilot @hushed basalt https://youtu.be/P6yRs9XN16w
Fantorangen er glad i rim, regler og sanger
๐ฆ
it plays
i only understood "ooooooo"
confirmed_cases = { k:v for (k,v) in zip_values if zip in monitored_zips.keys() }
This might work also
That is the most popular Norwegian toddlers character 

It's a bit hard to read though
yeah i'd like to understand list and dict comprehensions better but that's for another day
for sure
Just wait for decorators, duck typing, classes, inheritance, exceptions, circular imports,
lol

i've read into classes and functions, i get the gist of it
and inheritance, sort of
haven't been able to apply any of them with what i've done so far
mixin classes are fun too
This is his younger brother @wet pilot https://tv.nrk.no/se?v=MSUS01000119&autoplay=false
Norwegian TV is watchable worldwide I think
Now can you help me with my aws certs
Aws ๐คข
@hushed basalt lol was that to me?
Yes haha

there it is
If a client needs multi-AZ availability for their caching layer , should they use memcached or redis

Is it best practice to set the cloudformation template to deletionpolicy = retain, or retainpolicy = true
redis is pretty powerful
Which platforms are not supported on Elastic Beanstalk
And I actually have it configured for my nextcloud
Thanks Teddy now I've failed
I'm going to have to move to Norway and live in a cardboard box
๐ฑ
forgive me senpai
allow me to write you a shitty python program
from DoItForMe import Please
sys.exit(0)
win + x, u, u
Ctrl+alt+sysrq
you know its gotten bad when the recs from youtube are all months and years old
@clear ferry are you using synergy1 or synergy2
I've used both, syn2 now
I can't even login to syn2 :(
newb
I don't fully get the point of adding a roku to HA
I can see the media playing with my roku in HA
and do automations based on that, on what kind of media or if it is paused
think there was remote there aswell, not sure if that got removed
my guy intel @clear ferry
my hdd in my desktop makes noise during the startup of my pc for the first 5 min
its like the 2nd drive as i got a ssd as main drive
is this normal? as i think i never mentioned it before
@clear ferry so other than dimming the lights when someone starts a roku app is there anything else? can you see whats playing on the roku in HA?
spinning drives make sound yes @midnight adder whatever is normal for your drive I do not know
@forest edge I think I could see what was playing in plex and youtube atleast, don't remember right now
@clear ferry i think syn's backend is broken
but it sound a bit like a snoring drive or something
Probably because they're not using enough serverless
cant really explain the sound
you are broken @hushed basalt 
@midnight adder
I grew up with spinning drives, I enjoy their sound, and I can hear a broken HDD in a serverroom with 1500 drives with ease
should i record mine and send it to you ๐
๐คข
๐
i checked the hdd status through my pc
and they seem fine
can i rely on that then ๐
other apps will pull the smart data
what is that smart then haha
they just want to be thier own thing
your hdd status is most likely pulling the smart data
common with windows and other os's
People still have HDDs in their desktops though ? ๐ค
of course
I haven't had one in atleast 6-7 years
my second drivve is an HDD
this was my first build when i started studying
way more dependable than an sd for alot of things
i needed bulk storage and 2tb of ssd was out of my budget
Dependable ?
SSDs have shelf life ?
of course can only read/write so many times then poof
sure
id love to put in another ssd but imma build a new setup next year so ill wait
but normal people don't meet those limits
normal people
well your normal may not lol
you call everybody out for rookie numbers lol
heck, many enterprise customers don't even write out a SSD
but my desktop is 4 years old
you likely replace them before anyways
then a hdd isnt that uncommon right
I have a HDD that is ovver 20 years old
A useless HDD ๐คฃ
most certianly not
lol if only i could afford ssds everywhere
storage prices are so low it is not point in keeping 20 year old HDDs around
as i said, more dependable
is it worth getting a nas with ssd's instead of hdds?
why mess with something that isn't broken lol
I'd rip through ssds if I was still data wrangling for film/tv
Yeah, I don't know about you, I install probably close to 10.000 drives per year, there is nothing more "dependable" on a HDD than a SSD
100TBW is bugger all in those scenarios
for 99% of people
I never said I was normal :p
cause you replace 10k drives every year lol
But cameras are getting in the 1TB/hour and rising range
if your replacing crap just to replace it then naturally your not going to see any issues lol
A good hdd array can still sustain a better throughput than a lot of consumer ssds
Once that SLC layer runs out those things can fall off a cliff
@midnight adder when I roll out servers, they usually have 40+ drives each, and if I install 12 of those, well
no just rewriting the numbers haha
@clear ferry it's like replacing a good old fashion toggle light switch with a smart switch. You know damn well which one will stand the test of time lol
or when I roll out 700 with 2 drives each, that amounts to some too ๐คฃ
will make a new build next year with m.2 drive and ssd's
in combination with an amd processor
๐
that is just oldism @forest edge ๐
is the command:
wmic diskdrive get status
good enough for the smart status of my disks?
I've had enterprise customers run on SSDs for 10 years already with normal workloads without replacing a drive
WMI 
Telephone exchanges used to have electromechanical switches doing all the telephone routing
SSD's also not only slow down over time but if you maintain high volume > capacity it actually kills them off quicker
A small town could have a team of 5-10 engineers working in the exchange full time maintaining them
Now it's all software switching and they have zero engineers
also nobody cares about SSD writeouts, enterprise customers have 5 year warranty with replacement, and consumers in norway have 5 years warranty too ๐คฃ
is the command:
wmic diskdrive get statusgood enough for the smart status of my disks?
@midnight adder ????
1-3 years is the norm lol
probably more like that @hushed basalt
I remember talking to american suppliers about faulty stuff 6 months after purchase
And they're like "so why are you telling me"
did they refer you to china?
Land of the free of consumer obligations
๐คฃ
which is why it makes no sense for me to order electronics from the US
even if it is cheaper
actual usa made stuff is pretty damn dependable. but because greed runs our world you'll find american companies reselling chinese crap
Finished my PLC install today: https://photos.app.goo.gl/PZkwSq644JL7uAag7
why does your electrical panel look like a fire box? lol

see we can't do that stuff. our wires are too big and too stiff to be all neat like that lol
@forest edge Its not a standard electrical panel, its designed for PLCs and ELV wiring
Highest voltage in there is 24v
unlike that crap atx uses which is glorified yak's hair carrying a current

My main house wiring is solid core 4AG
I had to rewire that illegally the other day
Man some epic arcing occured
I was in my full insulated outfit though so it was all good, my neighbour was scared ๐
110v ๐คข
The first day I was onsite I got was wiring what I thought was 12v and the electrician came over and said "are you right mate?", and I said yeah. He's like you know you're wiring 415V 600amp live cables with no gloves and I was like "yeah, I know". I then promptly left and proceeded to wonder how I didn't die that day
gotta love them windows updates...
Nice shoes @rare condor too bad you canโt wear them out on the town for a while
I know they are so sexy ๐ถ
There was much dispute when I requested to replace shoe cupboard space with PLC cupboard space ๐
Iโm surprised you walked away with all of your limbs intact
My own white shoes turned red after the suggestion
Have you seen how they wire stuff overseas @clear ferry. I'd be glad to stay at 110 V or less with that isolation scheme...

as opposed to the "ring" of death where you feed power to every outlet from multiple direction essentially wrapping your home with electrical wire? lol
I really think most people honestly believe they will emerge from their homes with covid being gone forever lol
The ring of death is a purely British phenomenon, I believe.
And other places that once were part of the Empire
But hey, it works, and our plugs are easy to find in the dark... almost as easy to find as Lego
240V gang
Reading the comments on the yaml post https://media1.tenor.com/images/b7869d97f90e71869df31c2fc98a4a5c/tenor.gif?itemid=7515702
It's an interesting ride
Its like people are reacting to the headline or have poor reading comprahention, and the ammount of people who think they need to edit the json
There's also some pretty insightful comments hidden in the depths, but they're not always easy to separate from the screaming
I for one welcome the changes moving intergrations out of yaml as it will make the yaml cleaner, most of my configuration.yaml is intergrations
I'm a bit split, but I don't mind the change and can see the benefits overall, even if it makes cloning my config slightly trickier
I told Frenck to title it "Yaml isn't going away"...
Hi, just a quick (simple) question... where should I find the YAML-file? I just got started and wanted to add Viessmannโs ViCare - integration. ๐
@low harness YAML isn't going away ... yet ๐
You like watching the world burn, don't you?
๐ฟ
As much as I'd love YAML to be around forever, this product is evolving. At some point it may make design sense for it to go away, just like it made design sense for it to go away for those integrations covered in the blog post.
I'll raise a glass in its memory if that happens, but ... as BC said Life goes on
XML ๐
I don't see what's wrong with binary ๐ค
@low harness You are right... he does like to see the world burn ๐
I'm doing a lot of change & adoption-mgmt at work. Normal behaviour if you switch away from the accustomed order. People are afraid to lost their gained knowledge and have to work new things out. ๐คท
๐ And in 6 months noone will speak about
I'm still waiting for the IoT to be removed from Home Assistant, I would have far more time on my hands if it was blank web interface.
@midnight adder Your monitor misalignment makes me very angry
The main reason I like the yaml stuff is I can put this stuff in change control. The problem with point and drool interfaces is that while they're pretty, doing version control is a pain!
I meant your angles
Now, if the API evolves so I can just configure using Ansible or some other tool, and keep that config in version control, I'd be happy.
Well, in theory the UI uses the API, so... it should be possible
ansible, using AWX? @strange vapor
any tips to make it better @rare condor
make it straight
@hearty depot Nope, just bare ansible.
my desktop is behind my ultrawide
Just trying to get the fist steps in there - makes sense tu use - but atm it is a black box
a4 face lift
Oh I was expected RS4 or something fun
Fair
yeah I'm 22 , 23 in a week
Just bought an Opel Astra OPC (bad timing with Carona but oh well)
The Astra used to be a pretty decent car, haven't driven one in a while though
More fun to drive than the larger models in the range
The OPC produces 400NM its a hot hatch with a turbo, recaro seats, 20" wheel, etc.
I know which of the two I'd rather drive... and it's not the Opel ๐
haha im saving for a nicer car
but they are terribly expensive in the netherlands
idk where you are from
Australia
but the cost of a car in the netherlands is 1.5-2 times it would cost in germany
then yes i can try and import one
I honestly don't understand how you can afford that car at 23
ah rich parents ๐
looking at euro hp numbers is funny sometimes
I think I did alright. Paying rent, full time uni, 2 jobs and saved for a car I wanted. Obviously not amazing but its what I could afford
is that an A3?
A4
can't see enough of the side profile to tell
and all of the Audis look the same
avant?
It has a badge on it that says A4
yes a4 avant
My first car was ... way less fun than an Astra
It had a zero to 60 of some time today
My first car was a Suzuki Swift
@clever mortar
On the other hand, it ran reliably, for years and years
I had to turn AirCon off when going on freeways
AC.... yeah, first car had windows ๐
And a sunroof... I miss that slightly
Astra was hella fun to drive, first car I drove that had a turbo
Likewise I don't know manual so its taking me time
Not a modern gentle one, but one that'd kick in hard - made roundabouts fun sometimes
I feel its too heavy compared to my 700kg Swift though
not as fun to throw around but very very fast
You just have to learn the engine and gearing
I drive an A4, which is big and heavy, but if you work it right just as much fun to throw around
not really its way faster and I'm young
now I'm part of the no transmission gang
Tesla
Yeah, I'd like to go electric, but the current car has years of life in it yet
what engine do you havbe in it @clever mortar
2 litre diesel
ah okay
Turbo, thankfully ๐
It was second hand, and bought... 10 years ago when I was doing a lot of miles
a fair enough
"i bought a gasoline to make sure its kinda future proof" your logic is a bit off there
reliable it is especially the old diesels
no they are making sure no diesels can enter cities anymore here
Aye, and being able to do hundreds of miles without a refil is handy
so that is what i meant with it
Pffft, driving in big cities is for crazy folks
Oh I thought you were comparing electric
disagree
Electric Motor is future
Nah
^
Mr Fusion is the future








