#the-water-cooler
1 messages · Page 403 of 1
it means not having to write if error over and over and over
A catch block doesn't need to be in the normal execution path, though, particularly in compiled languages.
I haven’t delved much into mathy languages like those mentioned either.
I actually like the pattern in go of if err return it really encourages linear flows for logic
i'm a huge fan of try/except/else flows
I’ve grown pretty fond of try/catch blocks.
bonus if you add the finally to the end
I have to say, i really don't like try/catch… D's scope method is much nicer. "If something throws, do this on your way past".
However, I do prefer Python’s approach to it, where you can statically catch specific exception types across multiple blocks.
in the product i work on we have to deal with un-reliable user data so exception handling is key
sounds like input validation is key
Enter HTML5 (for web, anyhow)
unreliable users, user-data and lazy support. we have to make pretty messages when "bad things" happen or they freak out
If the data gets far enough to cause an exception, it's gotten too far already.
we abstracted the error messaging so the ux people can fuck off and do their own thing
but yeah you should have better input validation instead of relying on exceptions throw in the backend
meh, its mostly catching requests exceptions when they put in bad URLs
requests throws exceptions on 4/5xx errors
I have several questions now that I don't for see good answers for
but generally your route handling should be abstract to the point where it's not an exception it's a general flow
that's how a lot of python libs work. when you call a function you either get the data you're expecting or an exception
I don't generally work with py but it sounds strange
This is true… Even some of the core stuff works that way. Which is annoying, given how expensive exceptions are in Python.
The biggest problem with exceptions, is that they carry stack-frame information with them. Which is a horrid waste when they're being used for non-errors.
The standard "find an items index in a list" function. Throws AttributeError if the item isn't in the list. I don't need a stacktrace for that.
my problem with exceptions is just that they feel messy
and like I shouldn't use them
Most of the time you can avoid them — like using dict's get method with a default value. So I actually use very few try's, and mostly only to catch actual errors. Any avoidable exception, I do my utmost to avoid.
or key errors if you do a hard lookup on a dictionary
I generally only do that if I know the items there already, or if I explicitly want it to fall back to a lower try/catch block that's there for something else already.
yep
Exceptions excel where they fall short: the stack chain.
the StopItteration is kinda obnoxious too though
Exceptions allow you to catch virtually any error from any underlying module, but at the expense of resources.
Oh, ghod yes… What idiot thought that was a good idea. shudders
I really need to get better at programming, and branch out to new/better programming concepts.
Well, get away from JS, C#, and VB… 😛
that's a solid starting point
py is cool go is cool java is on its way out
js frameworks like react/angular are cool
"cool" but also a hot mess
D is freaking awesome. Thought I might be a little biased…
rust is also hot
forcing oop on a language that wasn't designed for it 😛
Rust is making it's way deep into the Embedded market… I'm trying to avoid it, but, I doubt I will be able for long.
It's kinda interesting Microsoft are trying to consume Rust…
It's got insane memory safety, and minimal overheads. That's why it's rocketing into embedded systems.
Mirosoft want it for the same reasons, for kernel/driver stuff.
makes sense
I don't really write stuff where that matters which is why I haven't touched it
@hushed basalt You have my condolences…
it's not too late to stop
you can learn something useful like go or java or how to spell your name
Lok
I don't think it's possible to avoid knowing javascript if you do anything with web nowadays
Backend only stuff sure,
It is
Regrettably… I stand by my assertion that JavaScript should never, ever, have been allowed anywhere remotely near a browser.
js bad
It's not about what's the best language, it's about the best employability :D
You'll love to know that nodejs and react are on my list next ;)
Same goes for PHP… Languages that actively encourage you to make mistakes, are NOT web-friendly.
I'm not touching wordpress with a 10 foot pole though
That's written in PHP, isn't it?
Yeah
Yes, WP is written in PHP.
Plus it's all about those third party plugins
Who likes fragility and huge attack surfaces
tucks his tail between his legs and quietly walks away.
Job security
What have I done
Grown a third arm?
threw an OOM exception?
Isn't that what cows do?
maybe if you tip them over
anyone have a high res hass rainbow logo, as shown on the new shirt?
I think it depends on your vantage point… I'm pretty sure all American cows say Woo… most of the politicians there, too.
Our cows just get bought by the chinese
…along with the rest of the country.
lol
Australia's open for business
lol
All stock must go
Friend or family of a minister? Huge discounts apply!
Time to move to Mars
ok Elon
It's gonna be worse on Mars… Governments have figured out how to ignore pesky thinks like people, and sell out to the corporations.
any network gurus here? been a while, and i have the exact opposite issue i've ever come across... port forwarding is working fine for clients on a remote network, but clients from the same network are not routing through the port forwarding??
@steel urchin that makes sense
Is the port forward a direct port
So 80 to 80 etc
Or is it different like 5080 to 80
Well that's easy, you need to either have the internal clients call the hostname of the server you want
Or you need to set up a dns config in your router
Is it http or https
https to 80 would be bad juju 😛
i can access somedomain.com:888 from a remote network just fine, but doing it internally it never seems to hit the router.. but the traceroute shows it's resolving the right IP
mm no you should never have to set a dns entry for a remotely propagated dns
nat reflection issues?
Do you have loopback on
Otherwise your internal clients will just see your wan as that address
And get dropped there
mmmm not sure where that's enabled... haven't seen anything related to loopback, and i'm not trying to access localhost
pc = a host, pc b = client1, phone = client 2 (on data plan)... client2 accesses external ip which gets port forwarded just fine, client1 times out unless using an internal IP
i feel like the modem/router crap has a bug in the firmware
looks to be enabled in the router
now, i'm doing an IP passthrough from the modem/router to MY router... i'm thinking that has something to do with it
Random somewhat HA-related question: Have my HA host and my NAS (Synology) on a UPS. UPS has the one USB for shutdown command. How would I get either the NAS or Home Assistant to send a shut down command to the other device before shutting down?
that was it
100%.... damnit
that really bums me out 😦
Gigabit speeds are not something I have to worry about
But you might want to build a pfsense box
ermergerd, the baby slept till 0710 this morning
I slept too long, I'm broken
🤣
@steel urchin netgear 🤢
At least it's 🍅
i'm searching for an esp-based multisensor (temp-lux-motion) on battery without having to diy it, anyone ?
sure it does, with deep sleep and polling every two hours, you'll probably get a few months battery life 🤣
i do not want to add zigbee into my setup.
agreed that the motion detection will srsly mess with battery life. But esp with deepsleep will last a very long time.
Eh good luck
ehh thk you 😉
zigbee 4 lyfe 🤣
i got these in use : https://www.tindie.com/products/nicethings/hugo-esp8266-4-button-wifi-remote/
So far battery life is really great.
Which is why i'd like to find smt similar but for environmental sensoring.
hello
i bought a eWeLink Mini PCI-e Desktop PC Remote Control from Ali
is there any way to flash it ?
🤓
possibly, sure looks as though there is a serial header on the board. You could hook that up & see what the serial console spits out at boot.
jewsus christ, calling the norwegian post service, and the guy who has recorded the phone messages sounds like he is 80 years old and never seen a smartphone before
and he says "chattttt" with five t's and and "goggle play"
I just want to talk to someone that I can yell the heck out of since my package has been for import since 27th of November
That's what dirty socialism gets you
Should have joined a capitalist country
Then your postal service would be privatised, the old 80 year old would of died at 60 from not being able to afford heart medication, and the call centre would be offshored to the Phillipines
I am gonna have an aneurism thanks telco
Hey guys quick question - any suggestions for good reliable mesh wi-fi configuration, especially when it comes to a) multiple smart devices , b) streaming 4K content and c) having a lot of 2.4 Ghz signals around your flat ?
Ideally suggestions by someone who has one already and has similar use cases to mine
I use a triplet of linksys mesh devices
haven't had a single hickup since I installed them
replaced 3x MSM466
linksys also supports bridging and meshing at the same time
none of the other vendors do afaik
yeah, velop somethingsomething
let me check
I bought the lower end one
I tried the Huawei ones first
they were much faster
but no bridge mode
VLP01v1
I have them all connected to ethernet too so the mesh only helps on clients that support it
alright thanks! if I may ask - the huawei(s) did not support bridge mode , that means that I cannot bridge them to another router? but they do connect to a modem right?
stupid question let me rephrase
here (in Greece) the ISP usually gives you a modem/router/WiFi AP device (if they could also make it blend fruits into smoothies they would)
which usually sucks
so most of us who know a thing or two
bridge it to an actually useful router
I run a 192.168.1.0/24 network here, when I connected the Huawei all wireless clients were connected to a 192.168.3.0/24 network, that meant those clients were kinda isolated and not reachable from my 192.168.1.0/24 network even though they could reach that same network
and it was not possible to disable the routing function of it at all, I even contacted huawei asking for a custom firmware, no answer
google wifi supports bridge, but then no mesh
so I bought the linksys ones, and have been happy so far
Mhm! Yeah they seem reliable , I am half way convinced already. All I need to do is study a bit on Google and then see if I can find a retailer here in Greece - otherwise Amazon here I come
the bigger versions are probably a lot faster
Yeah I have my eye set on the tri-band ones
but proly I need less nodes ... a 2-pack would be fine
but I have no issues here, I have 50+ zigbee devices on 2.4Ghz, I have 3-4 legacy 2.4Ghz devices, the rest are 5Ghz, and I stream to Roku \ Apple TV and phones with no issues
yeah, I have a terrible house, like... 28 meters long, so I run one at each end and one in the middle
one on each floor
I have an flat apartment - not good with dimensions but I'd say 60-65 square meters and it has brick walls and the worse "L-shaped" corridor layout I've ever seen
There is just no good place to have an access point or a single wifi router
(actually my gf's property - so no rent - no complaints about that! 😛 )
Mr wled
Classy suspenders
Sexy time
Get in my belly @hushed basalt
I didn't have any corn
left a little rosebud in there for ya
@scenic radish is soylent green too
always wondered why soylent thought it would be a good idea to name their product that...
also 10.0.0.0/24 master race
🤢
looks prettier
192.168.norwAt.0/24
lol Norwat
Class A is so barbaric
i'm just gonna make my own class
X-Domain. First class.
only issue is some devices love to apply mask 8 when they see 10.
"i'm using http but over port 65500 so it's ok"
Brb hack your IP through a visual basic interface
"I have https on so it's all good"
Telnet for lyfe
i also find it funny when people suppress their LAN IPs when posting stuff here lol
To be fair it is a small piece of the puzzle
Shit, better not show that my Xiaomi is running on 192.168.1.48
i suppose, yeah. but still non-routable
I think if someone was on your network most people here would already be owned
oh fuck
But I still try to work off the zero trust principal
the promised land
eh, i live on the edge. SSL via reverse proxy and unencrypted on LAN
Yes hello security, I'd like to report a deranged person entering your store
Yes, FBI, this guy right here
You can recognize him as the guy drooling in the tradfri section
RGBCCT master race

🟥 🟩 🟦 🕯️ ☀️
😂
so i'm sick and accidentally took two meds that both have acetaminophen in them last night which is apparently a no-no. haven't died yet though, so there's that
ah damn, good call
this is not a guarantee
Nah paracetamol OD is not a fun way to die
yeah who really needs a liver anyway
Except your liver
They basically can't do anything except watch
I eat like five painkillers per year, so I wouldn't mind if I are double my dose one day 
Ah yes
If I have all my yearly drinking in one night it's okay :D
Same average right
Yeah, if you eat 250mg or 500mg paracetamol won't be the same 😛
Depends on the tabs
500mg is normal. This is the way.
We have 250/500/1000 and the 1000 is only from prescription
so i guess it doesn't really matter as long as you don't go over 4000mg/24 hr
it's just easier to OD if you take multiple meds
I'm sure your liver hates you but I'm sure you're fine
I'm pretty sure 4000mg at once is a killer though
it was less than 1000 mg
Or pretty.serious
yeah not a good idea lol
I've stopped taking 1000mg at once
I took Paralgin major and an ibuprofen once, fell asleep, was nice
My literally feel my liver
I'm pretty sure I took too much paracetamol over a week when I was sick once..like for too long
And my liver was like, stop that, buddy
And I feel like i stay drunker for longer now too
At least we can still get pseudoephedrine
bonus!
None of that phenylalanine garbage
Yes officer, this post right here

i started with just regular white, got a few tunable white, and then got RGB when i found deals. best deal i found was the 4 bulb color starter kit (includes bridge) for $80 new
when i got the tunable white is when i noticed the regular white don't fade out smoothly at the very end. they go from like 10% brightness to 0 with no fade
so that basically ruined the regular white for me lol
😂
either way i like 3000K for general lighting more than 2700K anyway
2700K is too yellow, 3000K is less yellow but nowhere close to cold white
Hue is like $80 each here
wut
full retail for one hue color is $50 here (A19 shape)
you'd be insane to pay that though
These GU10 CT ones are $9 each
also i called some business the other day and was hit with the cisco callmanager music lol
Create personalised light settings in your home with the Philips Hue Ambiance White and Colour Extension Bulb. Buy online now at apple.com.
$89 from Apple
$70 on the street
oh from 'straya, are ya?
Have you gotten around to NFC payment in the us yet @scenic radish ? Last time I was there the store people were still getting used to chip, three years after we introduced it
street price
yeah i've been using NFC payment for years, ever since Google Wallet was a thing actually
when google wallet existed pretty much only walgreens took NFC payments, and the cashiers looked at me like i was from the future
We didn't get Google pay until this year, but we have NFC bank cards for... Three years maybe
also, google pay used to be google wallet

i've been using NFC since like 2012
It means that Visa and mastercard are making bulk money though
So it's nothing to brag about
Everything just becomes 1% more expensive
People have credit card rings here
They look like tools though
lol wtf
I wanted one
i wanted a moto razr and never got one 😔
i was so jealous of my friends who had one lol
Just a little interested, but you guys/girls that are active her often. How young was the youngest guy/girl you've seen working with home automation at home in this community?
17 that I know of. IIRC
17?! automating their parents' house?
that... is hilarious lol
Then I did not RC.
dad bought an Tellstick net some years ago and i absolutely hated the GUI and wanted something else and that was when i found home assistant
and now im trying to talk them into moving onto zigbee
well my first message on this server was 2 months before i turned 14 so, 13 would be the youngest xD
I didn't automate my house, but I hosted servers in our basement when I was 13 😂
Back in ye old 1997
Or early 98
i host minecraft and ark servers every now and then when they are needed
same, love both those games
i remember being a kid on dialup, after 7 days of pirating visual basic 3 my mom picked up the wrong phone and ruined my life
Look at mister dual landlines over here.
lol well, it was a mistake by the telephone company that we never corrected
i stole most of my computer parts from compaq 🤣 every time i went to visit my uncle i'd take another part
We had dialup from 93, ISDN from 95 and cable modem from early 98
Then we got fttp in 2003 or 4
Never used dial up xD
Don't be sad.
heh you're not missing out
Dialup was mostly dead by 98 in Norway
except the anticipation of that interlaced jpg pr0n!
😂
We had dialup untill 03 @clear ferry
Never knew if it was male or female until the very end @steel urchin
lol
@light trout 
yeah the US has shit telecom and networking
I think we got ADSL in -04 or -05.
Lived 40min west of Lillehammer, things took long to get there
We had DSL from 2000 now that I think of it
great to see a lot of those people in Norsemen on netflix... also a funny as hell show
i hate that domain names are so expensive these days
i remember buying dot com domains for like 80 cents
just bought 1 year domain for $30 :S
not to mention the one i REALLY wanted was going for $500k 🙄
and has been parked for 13 years
I bought my domain in 2000 I think, didn't start paying for it till 2015 😂
yeah a few domains i wish i got the lifetime registration for back when that was a thing
just got a .eu for 15€/10 years
i mean i can get a .sucks for a few bucks, but who wants that
the price can vary per domain
regardless of tld
but still... just illustrates how stupid it all is these days
i used to buy domains for FUN
:)
What was that strange free domain with ads included in the mid 00s 
heh i still use a few of those for some junk community sites
I have used dyndns since 98 I think, great product and super free domains
I have atleast 10 homelinux domains
for this lil project i want it to at least have the appearance of professionalism 🤣
keyword "appearance"
lol
I forgot about .tk. I had one of those. Never heard of Tokelau either before or after...
Sounds like a specialty dish from Malmö @low harness
It... ... ... it really does!
My Swedish is impeccable
Served with Kartoffel in a Rollebör.
That’s awesome. With butter, I hope?
There was no butter, only the patty and mash formed like a potato, and lingon of course
You have to go back and do it right. It should be drenched in melted butter.
I’m getting hungry...
Agreed, making homemade kögarpytt when getting home 😂
Damn I don't even know what you're talking about but drenched in butter sounds good
We do a lot of butter in Scandinavia
None of that margarine bullshit or can't believe it isn't butter
For those not hungry yet, a Vallenbergare is a ground veal patty made with like 30% cream and fried in breadcrumbs.
The boxty from Ireland is probably one of my favourite dishes
Since I saw @strange vapor typing 😂
Why not just replace it with the wire?
There's a tourist trap down near where I grew up called Muckross House, and they have a working old style farm. As you walk through they're going through every stage of making soda bread and butter from milking the cows and making the flour, through to cooking the bread and making the butter.
And you get to sample all the end results.
🤤
@clear mirage
error missing wd40
I've seen that one
Tis an oldie but goodie
where can i order one like that lol
You can also create a nice overload indicator if you know what you're doing: https://i.imgur.com/w11p9Ij.jpg
so thats not how it's supposed to look? 😂
Can I get G and B nuts to go with that?
Little late, but I got a .casa domain for $2/year lol
why isnt nabucasas domain nabu.casa?
not sure, but the remote access domain names are nabu.casa
@light trout moving here because its unrelated to HA but it looks like GitHub has a GraphQL interface that might be useful. Their schema is really confusing though. I'm having a hard time Grocking it
Have no idea what that is 😛
fancy api that lets you span rest endpoints in one call
Too fancy for me, give me a phonebook!
@light trout Want some punchcards with the phonebook?
rolodex maybe?
Sure why not
I bought my firstname.ninja domain the other week
It's great having an uncommon name
Phonebooks? Bah
I just pick up the phone and ask the operator to patch me through
Someone paid money to add a banner that pushes down all the channel names? That... is kinda dumb
I couldn't reach the upper channels before
https://i.ibb.co/YNTsG4L/image.png We can't add much more channels, I will go out of space 😦
Just interesting that paid "features" make the user experience worse.
What resolution you running @light trout ?
1080 on that. (it's in protrait mode)
@unreal orbit Just hide all read channels and also hide channels you done use, Easy peasy
aha
Maybe i should switch my landscape 5120x1440 to portrait 😄
then you can add more channels
Maybe we should add a #channel-suggestion-channel channel where people can suggest more channels that we can add
I tried, not much response on that
Maybe add one of those for each category??
and a category suggestion category/channel
i still vote we merge everything into a single channel
people would still post in the wrong channel
#frontend and #backend all you need
wow thats a wall of text
could also go the way of blocking people from posting until they pass a code of conduct test
also that was obviously a joke about one channel lol
just do what I do and have every channel except this one muted ;)
@scenic radish jokes are not explicitly permitted on this server. Please refrain from attempts at humor in the future.
Command '.jokes' was invoked by: Villhellm
My local pub has a New England IPA on draft from Denmark
alright, this is pretty funny (from the python docs):
>>> import sys
>>> sys.ps1
'>>> '
>>> sys.ps2
'... '
>>> sys.ps1 = 'C> '
C> print('Yuck!')
Yuck!
C>
wut dat
It's an old lego robot thing
Back from when I was like 12
It just had a single inbuilt stepper motor
Basically you build a little car around it
is there anyone that's familiar with partition structure in linux?
I had a drive setup as /dev/sda1,2,3
then I deleted 1,2 and tried to resize 3
O_O
didn't work, now I'm stuck with partition 3 at the end of the drive
and no partitions in front of it
is there a way to fix that
lol..
you'll find if you reboot your system is hosed
well so the good news is I use 2 drives
one that I boot off of, one that I store db/etc on
I didn't mess with the boot drive
just the second one, I wanted to make one big partition instead of 3 smaller ones
so it boots fine and sees the partition 3 but I can't resize it to take up the whole drive
what filesystem type are you using?
ext4
no lvm?
nope
you'll need to use something like parted to grow the partition and then resize2fs to grow the filesystem
it will always be /dev/sdX3 though
i booted off of fedora live workstation
would command line have gparted or parted?
it might. you can install it though
i'm ok with always sda3, I was just really worried I butchered the entire drive
ou okay it has parted
thank you @wet pilot going to google what commands to use to expand the partition
stuff like this makes me super nervous - not sure why I put myself through this
This is why I avoid linux :D
linux gives you a saw'd off shotgun, its up to you to not shoot yourself in your face
I'm rather enjoying Linux.
@brisk furnace you should be able to resize and reposition easily with gparted
if you don't have a gui, there are ways, just need to research how to reposition the partition and then extend it, but def possible to do with ext4
parted and resize2fs
teach a man to fish
From my professional experience, something being difficult and complicated doesn't necessarily make it good
yeah lvm is a bit advanced for a hobbyist
linux really isn't that difficult
heh... i'd hope not, because i've spent a career making difficult and compilcated things easier 😛
linux TODAY isn't that difficult
true
but there's a lot of underlying technology that is black box to probably most current users
and its a lot more stable than windows server these days
like how kernels work, module loading, filesystems, etc
i do have to give props to hyper-v though, that shit is FAST
yep, just watch your windows updates
I'd much rather spend my time and energy in higher areas
paying to be QA for M$
for most people that's perfectly fine @hushed basalt
actually, better than most
with cheap cloud storage solutions and all the DRM distribution systems (spotify, itunes, mobile stores, etc) recovery should be easy
i just made this and now no longer have google sync on every system, just samba mounted everywhere:
nice
I run rclone too
@steel urchin I googled around a bit but took a break! Partition 3 starts at block 16gb was having issues moving the starting block for partition 3 (was only able to change the end)
yeah ijust didn't like the 1-way sync, and prefer docker containers so i found some tools and slapped them together
Managed to have it fill the entire remainder of the drive but just missing that 16GB gap at the front - looks like I need to move it but that may alter uuid
@brisk furnace peep what @wet pilot posted earlier and see if that leads you in the right way
I'll take a look! Thank you both. I'm sure a bitore googling will get me over the line
Bit more*
nice container @steel urchin i might take a look
aye nice... if you're familiar with rclone and rclonesync it's really straightforward!
so.. i have to say my favorite purchase of 2019 has to be my robovac.... the QOL it provides is just unrivaled
Yeah, for sure @steel urchin . This your first one?
hehe no not by far
i've contributed heavily to docker and rancheros
under a different moniker
A workmate convinced me to get one almost a decade ago now with a very simple argument. I was like "Why would you spend that much on a vacuum cleaner!" His simple, and utterly effective response was, "Don't think of it as spending that much on a vacuum cleaner, think of it as spending that much on never having to vacuum again".
I went out and bought one less than a week later 😛
100%
oh, lol now i get the context
yes, my first robovac
and i stand by your friend's statement
came home from a christmas trip for business, and the house was vacuumed and mopped the wood floors, nice vacuum lines in the carpets, and it felt so amazing
I don't even have my new Roborock in Home Assisstant yet and I'm loving it over my 8-9 year old Roomba.
yeah i got the s50, awesome hardware
Haha, the first time I came home after the vacuum had run I was so scared. I swore that I'd been visited by aliens because of all the "carpet circles".
haha "who broke into my house and cleaned it?!?!"
I just need to work out zone restrictions for the mopping function on the S50 now. My tiled area goes straight into my carpeted area, so don't want any accidents 😛
yeahhhhh i waited a few days after "mopping" multiple days (since i was remote), and THEN cleared the zones and vacuumed
that way i was out of water and didn't have to worry
but, you can put down magnetic strips to act as walls
i'm thinking of getting a roll of magnetic ribbon
Yeah, that'd probably work. I've already got a linoleum/plastic end cap for the carpet that a magnetic strip could go on top of easily.
i don't plan on permanently affixing it
just roll it out when i need that accuracy
because let's get real, drawing no-go or area boxes on that app is not 100%
I guess mopping is a more manual exercise anyway with needing to change the tank, so could easily roll that out when I need to mop.
yeah, it was the first and only time we've done it... i need to do more testing, but i'm excited to have something at least rub wet material across the floor once in a while
ok so i think the new house will have all the fixes done by thursday mid-day, and then i can finally dig into home assistant!
well.. no i lied.
i can start digging into drywall 🤣
Ah, new home life? I just bought my first home too. Had my dad over 2 weekends ago to help me do some drywall digging and mount my TV 😛
nice! congrats man!
this is my 6th house though... a bit of trial and error already gone through 😛
my Secret Santa recipient will be receiving a ESP8266 / Sonoff "bridge", configured to be a Wifi AP, async web server, and MQTT broker, instructions for how it works, and a link to a Github repo. 🙂
badass @brave panther!
"Under $20" they said. AliExpress they did not take into account. 🙂
dude, i'm jealous!
Haha, I hope you work somewhere where all that will make sense @brave panther 😛
They said they were into "Home automation, DIY, and tinkering"... I actually got excited to be their Santa. 🙂
Very cool!
oh that's awesome
I bought a Pop! Vinyl for my Secret Santa. Super original!
😄
i'm on sabbatical and don't have a secret santa 😦
@brave panther Just noticed a labelling issue in your Sonoff config. IP <-> MAC.
Thanks 🙂
someone hire @thick dragon for QA
Funnily enough I used to do QA for game development. So that'll be a "no" on that for me. Happy managing my team of analysts 😛
Gonna finish up a couple things then shove this to Github if anyone is interested in the code.
hahaha yeah i really feel bad for QA folk... usually my highest turnover
@brave panther absolutely
Could probably add more and more features like configurable from the web interface but meh, it's just a thing to get them interested. 😉
i don't plan on doing much diy automation outside of node-red scripts
but i love seeing projects
To be fair, Tasmota makes life VERY easy.
I'd rather not just flash it with Tasmota, that's the lazy way out haha
😛 sounds like the gift was for YOU!
at least this way, they can start thinking about other things to do (Access point, web server, MQTT broker, etc) with their ESP8266
Heck. BEING their Santa was my gift.
I enjoy making things work. Ever since the cliche of being a kid and "taking things apart to figure out how they worked"
ok so a random video just popped up on the youtubes on tv... dude walking through his "smart" kitchen... a camera inside the fridge is dumb af to me, and who the hell wants to start their oven from their phone?
Smart toaster? Literal toast notification.
yeah actually he just showed that too.... so dumb
Old school: "File's done!"
New school: "Toast's done!"
heh i'll go for the filet
Violet's dumb
i may or may not be jonesing for these omaha steaks we just got in
Funny thing is, meat man stopped going door to door and instead sells it on website, makes tons of money.
I'd like to be able to start my dishwasher from HA
Especially if I had solar
Oven not so much
"Alexa, tell my wife to wash the dishes."
"Okay."
i don't get it, but maybe i'm old now
dish washer
no i mean starting the dishwasher from HA
Hmm. Maybe it's a nightly thing? Like every night, at 8:00, the dishes are all used and need to be washed. So it's something that could just happen. Idk.
I always use delay start on my dishwasher
I stopped wondering why and now just think of how because people always have a reason.
oh i agree with that sentiment
i mean i fyou want your toilet to be connected to your wifi, then fine
But if I had it on HA i could set it to run when it's been X hours since last run and everyone has left the house
But more importantly if I had solar, I could set it to run when there is surplus power
i'm the kind to do dishes all at once
So besides the 11 litres of water and a dishwasher tablet, it's effectively free to run
I want two dishwashers two. Or atleast a dual drawer
Small batches more often
Hi guys its been a while
how is everyone doing?
Love how much HA has changed
I hadnt touched my config in like a year
@steel urchin lean is lyfe
Small batches make huge improvements in pretty much everything
Say software for example. People have moved away from waterfall development to continuous integration and deployment. One commit at a time.
tell that to my work
and lots of people say they use agile but its just waterfall in disguise 😄
Yeah most people suck at lean, theory of constraints, TPS etc
If it's not done holistically with support from the very top it's usually just massaging vanity metrics.
I'd recommend this to all you devs out there
Plus "The Phoenix Project" and "The Goal"
If people just start throwing "agile" at everything they're usually missing the point. Make everything more agile! Sprint sprint sprint!
One piece flow, kanban etc are tools to achieve a goal. Not goals themselves.
i've worked at the shoddy agile places, and ran the fun agile places 😉 lots do it wrong, but when you find a place that works as a solid team it's pretty amazing
like, 20-releases-a-day amazing
I do 20 releases a day in HA sometimes :D
God bless cicd
I look forward to the day HA has automatic config reloading without restart though
yeah i was noticing that in the docs, thought that was strange

6 hour long power outage for the first time since I moved, generator's fuel should die at any moment. RIP me
When the power dies burn atxbyea for warmth
The alcohol content should be high enough
I remember back in the overlap of peak irc and adsl, people used to host their own "radio"
Where they'd stream their winamp to a proxy server and everyone would play that stream
The fat content should keep it burning for a long time
mmm, tmux is so handy, why have I been switching between ssh sessions all these years 🤣
yeah, I know
Just don't forget to switch from ctrl+b to something... not stupid.
I like control+b actually
because I use it on Itanium-systems
so it is in my fingers anyway
Wuhu, Christmas bonus secured
now that I finally learn tmux, the downside is that most sites I work are either off the internet or dark sites overall, so getting tmux installed will usually be a challenge 🤣
Yeah... screen is more well spread, but inferior.
i also received my christmas bonus yesterday
@clear ferry can you just tmux on your local shell
I see no reason why not
Then ssh etc inside each window
does it work with the windows Linux subsystem?
Should do
WSL, haven't heard that name in a long time
I have wsl2 on my laptop but haven't had time to try it yet
Been too busy learning the java scripts.
Wsl1 was just close enough to real Linux to shoot yourself in the foot
In theory wsl2 should be a lot better
in theory the dinosaurs should have stayed in their cages in Jurassic Park
There's a pyton tmux clone floating around somewhere. That should be fairly portable.
Getting stuff into dark sites... is..... somewhat cumbersome, if possible
If you run tmux locally and ssh in each window you lose the persistance, which is a major advantage of tmux/screen.
is there a channel where people share their lovelace views?
would love to look at them and maybe get some inspiration
You can find the community forum here
The Facebook group likely has a wall of such things too
looks like tmux works in the windows subsystem
now I just have to figure out how to use it 🙂
This is the guy here officer
He doesn't even have a facebook. Definitely a crack pot
He... might be sane!
in tmux can you suspend/detach a terminal window where you're shelled into another host?
yes
how?
ctrl+b d
the hotkeys don't seem to be recognized when I'm shelled into another system
then $ tmux detach I think
Run tmux attach to resume
hotkeys have worked fine for me from both a powershell ssh session and putty
or just tmux a for ease 🤣
Or just the up arrow after a while, when tmux attach is the only command you ever run in the first shell
🤣
😛
this is a neat tool
Oh lawd, I have converted yet another lost child process to your process list grant him wisdom to do great things with your creation tmux
I've yet to fully go away from screen. Haven't had any valid use cases for me to jump over to tmux
it does
Wait, so there's a vertical stack card for my terminal? Dope
And horizontal - which makes more sense on a modern screendisplay
Had a customer who had a 38 inch curved desktop display
It was awesome
But not for me
I prefer multiple physical screens
Multiple 38" curved 4K displays... 👍

I did set up a 9 screen broker machine poc many years ago
That was sweet
9 X 19" if memory serves right
Mh can't find a good 38" curved 4K display, curious of the price
But honestly 1k+€ would be too much 😄
Just getting started with HA. What is the best way to make the interface more pleasing? I haven’t done any of my own configuration and am letting the app do it. I have a couple lights and my devices. It it’s quite ugly.
And ... take the time to read the channel topics before posting please 😉
so amazon owes me about 11k right now to pay for my hourly rate
fucking hope they crash and fail
❓
He worked for months for free? 🤣
i've about 30k of packages that aren't getting shipped out properly, lost in transit, or whatever... and they literally are doing NOTHIG about it
that's only 60 hours for me
so... far from months
It's the first time I hear from a seller. so your stock is in their WH?
I honestly don't know how it works
new home, furnishing everything from scratch
🤷
Norwegian post has lost my handcrafted Japanese chef knife
Hey evurrbuddy, I have a hardware question, embedded style - I got a non-spec keyfob working with my car - Won't work in the ignition, but the buttons for lock, unlock, precondition, panic, etc all work. This is fine. Here's my idea - I want to stuff it in the trunk with a (insert controller here) with a GSM radio and Google Fi SIM, and use it to unlock, lock, and kick on the climate control. So here's the question - What's the best practice for a connection over a metered network to control something like this? MQTT?
Thankfully they shipped insured
yeah well supposedly i'm getting a refund, but it can take up to 24 days for most of these items since they're very high dollar... and i'm already close-ish to my credit limit
and no way i'm going to pay off 30k for items i don't have in my possession
first world problems, i know
My work credit card has a $50k limit, I have no idea why 😂
cuz ballers have to ball!
My personal one has $4000
i actually have a $50K credit limit on my personal card
@clear ferry you know about whetstone?
Work credit card... limit 🤔
i just kept asking for credit limit increases every few months and they kept obliging
@clever mortar theoretical atleast 
eventually it became a game to see how high i could get it
I'm not sure mine actually has one, though... if I bought a boat the boss would "have words"
took me a while to reach the $50K threshold
I read that higher limit gets your better score.....
@fallow galleon about a stone to sharpen knives?
it does. lower credit utilization
Credit score is such an American thing
@clear ferry https://www.amazon.com/Suehiro-CR-3800-double-sided-grinding-Serakkusu/dp/B0176BZNX4
I'm considering buying this
Noice
actually it helps your score, but hurts your liability, which means you likely won't get other lines of credit issued with other lines that already have high limits
I got the loan for my house alone, 100%, if the wife was to be included I would only have gotten 1/3 😂
She earned less than 1/4 of what I earned at the time
Yeah, last time we sorted out mortgages, it was easier to not include the wife... which felt bad 🤷
No that's smart
we've are joint on everything but i'm primary on the house and she's primary on the car which is kinda funny because she cares about the house more and i care about the care more
We're joint everything, except the mortgage (though joint on the house deeds)
I do the same, this is the first time in like 15 years I've had debt, and it's only because I'm not paying a cent for something not in hand
These days I'm the only one with income while she finishes her master's though
I dunno how my friends don't go insane with their debt pile
Student debt 
i'm going insane with my debt pile 🙃
Also something very American
yep, its bad and everyone should feel bad
house, car, new roof, new furnace, student loans, hospital bills
ugg, furnace is on our list but we've been hoping it limps along for a few more years
Hospital bills
ours started shooting fire out the front of it because the heat exchanger had a huge hole in it
that was a fun discovery
yeah don't have a baby in america, even after $300/month insurance premiums we still owe the hospital something like $10k
got lucky with our insurance for the baby
Cost me $40 to have a baby, including five nights at the hospital 😛
$0 out of pocket for baby
lol how that atxblyat
@light trout my thoughts exactly lol
yeah the furance one was interesting. It melted the wire for the ignitor and shorted it out against the frame, so it got stuck in a cycle of trying to light and start the cycle and then shorting and cutting out, and repeating
I found it and threw some electric tape around the wire to get it working and monitored it while it was running
Electric furnace
made it through the rest of saturday and most of sunday and on the last run before i shut it off for the night I went out to the garage to check on it and it was blowing fire a few inches out the front of it
gas furnace, but electric ignitor
electric furnaces suck
yeah electric furnaces are terrible
We only have wood ones in Norway, unless you are a multi millionaire, then you might have gas
Newer stuff is mostly pellets though
gas is very common in the US (at least the midwest)
i love heat off of a wood stove
but i don't love having to keep a wood stove filled and burning lol
my wife grew up in a house with only wood heat
I got lucky when i bought my house - a week before i closed the hot water heater started leaking. Sellers replaced it at cost
I also got a new water heater shortly before close
They also paid for a home warranty which covered 50% of the furnace cost when I needed to replace that within the year
$900 for a new 66,000 BTU 80% Lennox furnace
Installed
Nice. Yea one the things i did was put in water softener system, since we have some hard water where i live. even on city water
Lol. Yea the thing that sucks that i pay about $60 a month for just me..
I'm not sure how much my water bill is since it's rolled into my monthly dues
But $145/month for HOA dues is incredibly low so I can't complain
(condo, not a house)
Ah. Thats not too bad. when i was in a condo mine was $180
Water bill... gotta love living in a place where there's no such thing 😉
Well technically I do have it, it's just not transparent since it's in the dues
lol my HOA dues are 250/year
House?
That's why
Condos usually have higher dues because that includes exterior maintenance
eh, its still really low for the area
but when i sold my condo i used some of the money from the sale to put down on the princaple , my mortage went from $859/month to $644
that's why rental companies are snapping up all the houses
we're about to lose the ability to have a 2/3rds vote 😄
That sucks. No HOA where i live now. which is nice so i can have as many LEDs as i want and no one can complain
When i was in my condo, one of the projects they did was re-do the driveways, and do some drainage work, and theres about 60 units, everyone was assed $7000
yeah...that would be a dispute 😄
one thing they did do was for the new driveways, they did the curb cuts so no bump when pulling in
My old condo complex, i was oe of the ones in the center island
but also sounds like something that should come from the general fund and not a 1-time assesment
Eh if there's not enough a special assessment is needed
Yea, the units were bulit in the early 90s, so it was time for that kind of major work
sounds like poor planning then 😉
lol a few years before i moved in there i think it was 2011 or something they just replaced all the roofs, and i belive that came out of the general fund
what was annoying though was when i had replace the windows, i had to pay for those, and of couse match the style, which added another couple hundred bucks to windows
Had to replace my garbage disposal the other night. This was the old one...probably orginal one
lol wow, was it actually doing anything anymore? 😛
lol i doubt it. my current home was built in 2003. what was happing was that i would turn it on and it would make a buzzing sound
hmm, mine is probably original to the house and it was built in 98...add another thing to the list
yup. ah the joys of home ownership. I think the furnace was replaced at some point, but proablly next thing to replace will be the ac unit
i got the water heater replaced under the home warranty but they didn't want to touch the ac/heater
i don't have a garbage disposal
neither do my parents. i feel like we're the only people in the US that don't have one
ah. one of the goals when i replace the ac unit is that i want to move it a few feet from its current location so i can do my planned addtion
i know a few people that dont, its not uncommon
heh depending on how the lines are run that could add $$$$$
The ac is under the tarp, I basically want to move it to the other side of the furnace vent
they'll have to re-run the power and refrigerant lines :/
where you see the door that leads to garage, i want to do a 10x10 addtioton and come down to the furnace vent, where the bottom window i (which is currently a half bath) and put in a mudroom/laundry room.
i have a laundry room but its in the basement which is annoying. I want to the addtion so that i have direct access from the house to the garage
My old house had laundry on the top floor with the bedrooms which was amazing, now it's in the basement two floors away from the bedrooms, I'm contemplating that reno, but we just did a major kitchen overhaul and need to rebuild some reserves
yeah second floor laundry is nice
personally, i would prefer a single story house with a basement
so really a ranch with a basement i guess
yea next house for me. but as long as i have a basement, i'm happy.
i would love a basement but they're not common in this area
I really like walk out basements but those pretty much only exist if you live on a hill haha
yeah i wouldn't want a walk-out basement, just a regular one
kind of defeats the point IMO
What was nice though is that this house came with a finished basement
and they used a drop ceiling and not drywall
Nope. but the current floor plan is this - I have to go out my garage and enter the house through the main door
Old house here with drywall. I have no way to run ethernet to my TV 😦
Our basement is poorly finished, drywall ceilings and they used 2x3s as firings making low ceilings even lower =/
That's a weird design. @clear mirage
@fallow galleonyup annoying though.
The garage location, AND with no connection to the house
Yup. Thats why i want to do the addition
yeah at that point it might as well be a fully-detached garage lol
My house was actually the spec house for the small sub thats behind me, and when they did the basement they used this cubicle-like materal for the wall, which was odd.
hey guys just joined the chat, working on redoing 1 side of a two family. ripped down to studs and power and 200ft of cat 6 installed
My proposed addition.. add a laundry/mudroo.
yea, then above that i would also like to enlarge my master bath, since it sits right above the the current half bath
ah yeah i like that
Front part of my place was built in the 30s, and an L shaped extension added in the 80s. Big valley between the original roof and new roof. Seriously considering filling in the valley next year and giving myself an upstairs for an extra bedroom and man cave.
And putting in some proper insulation while I'm at it.
+1 on the insulation
about to get closed cell spary foam in attic and turn it into a room in a 200+ year old split family home
My current master bath.. the house is 3 beds, 2.5 baths and about 1400sqft
Plus some nice triple glazed windows. My mother got them installed down at home last year, and they really make a difference.
double hung+
There's a local company doing triple glaze where they put a layer in which fogs up the window if you supply current. A few simple relays, and that could be controlled from some app which shouldn't be mentioned in this channel 😄
Is anyone familiar with AC thermostat wiring? I think I have "C wire" on my AC but I want to make sure before I run it to the thermostat
Its amazing how much of a difference new windows make. I know i'm going to have to that in a few years.
@fallow galleon I installed one once a quick google search explained how all of the wires work and how to identify C wire. If i remember correctly it was blue but i would double check
In the case of my parents house, the windows that were replaced 30yo single glazed with wooden frames. A sheet of clear plastic would have been an improvment :/
22 windows in this place 🤢
@golden salmon The colors are all messed up.....
@strange vapor applying plastic over old windows today after work
@golden salmon it's not always blue, color doesn't mean anything
@fallow galleon trace it back to where it's at on the furnace control board
@fallow galleon is that the control board side?
see what's connected on the furnace control board
find one connected to the transformer
This is AC side. The control is upside down inside the unit.
Not connected to furnace.
I have to upgrade the heating system as well. Currently using an oil burner, and the boiler is older than I am. Just upgrading the boiler would probably be a big help, but looking to see what more sustainable option I can put in.
@wet pilot i have 11 windows in mine. and they're all casement except for 2 which are a double hung.
The way planning permission is going here, if you're doing any extension to a house, you have to be increasing the efficiency of the house as well. Which is fair enough, but they can carry it too far.
@golden salmon From the drawing on the manual, I think one of the wires going to the conpressor is the C wire, but I want to measure it to ensure.
Yea that process i'm not looking forward too, i actually went to school for architecture so i have some background knowledge about that kinda stuff. but heres a iso view of the addtion
I used google sketchup
cool looks nice
@clear mirage How are the house built where you are? Woodframe? Brick?
@strange vapor I'm in michigan, so typically wood framing.


