#the-water-cooler

1 messages · Page 343 of 1

thorn viper
#

Wireless speakers around the house?

#

i've heard about the sonos thing

#

@clever mortar you have a bunch of media_player thingies, aye?

clever mortar
#

Sonos, Squeezebox, Google Home

#

Mostly Sonos, but it's trivial to say _Okay Google, play some ... _

thorn viper
#

in my world a squeezebox is an accordion :p

clever mortar
#

That's also what I know it as, but...

#

Sonos is great audio quality, but not cheap

#

Google Home Mini is cheap, but not great audio quality 🤷

thorn viper
#

hehe

#

i've used raspberry pis with mopidy in the past

wet pilot
#

if you're in the US, the bestbuy version of the google home thing is super cheap and decent

thorn viper
#

but i guess it's nice to have something that's real easy for people to use... and perhaps stream to using their phones etc

wet pilot
#

people have done some crazy things with mopidy (cough @last plaza cough)

clever mortar
#

Google Home is the easiest, if you've got it hooked up to a good music source

vast dove
#

Sonos ❤ all the way here

wet pilot
#

buy out the chromecast audios

#

before they're gone forever

clever mortar
#

I love my Sonos speakers, and am really looking forward to Google Assistant integration

vast dove
#

Hopefully they figure out Google Assistant on Sonos before the end of the world

thorn viper
#

if i'm going down the rpi/mopidy route again i'd have to get proper hifi hats, the audio from the head phone jack is not great

#

i did like mopidy however. it let me combine locally stored music with spotify

wet pilot
#

and there are some solutions to do ducking for broadcasts

thorn viper
#

a lot of the music i like is available on spotify, but i also have a lot of music that isn't available on there

#

@last plaza whatcha done with mopidy?

keen coral
clever mortar
#

@keen coral Please read the channel topics before posting 😉

#

You want to ask that one in #330944238910963714, not in the channel where all Home Assistant questions are off topic 😉

keen coral
#

Oops sorry

odd mason
#

so i'm building out a new instance of HA

#

should I give the homeassistant user sudo privs?

wet pilot
#

venv? no

#

never

#

😄

odd mason
#

yes venv

#

well...it's venv inside a debian container

clever mortar
#

Nope

#

Nope

#

Nope

#

Nope

#

Just... nope 😉

wet pilot
#

🔥

odd mason
#

so how do you guys handle installing new packages

clever mortar
#

With another account

odd mason
#

login as root?

wet pilot
#

in the venv

clever mortar
#

Hell no

odd mason
#

i mean apt packages @wet pilot

clever mortar
#

The only time you log in directly as root is when you've set up SSH keys and an SSH CA

wet pilot
#

as your normal user

clever mortar
#

Otherwise, log in as normal user, then sudo

wet pilot
#

i'd argue that you should never login as root

odd mason
#

so what's a normal user?

clever mortar
#

There are times, for automation, that going directly as root makes sense

last plaza
odd mason
#

i started with a completely new debian instance

wet pilot
#

root should only be enabled for console for recovery purposes

clever mortar
#

My backups for instance use that approach, but keys only

#

@odd mason Create a user, chags, and give that sudo access

odd mason
#

ah ok

#

but how is that different than the root user?

wet pilot
#

@clever mortar i'd probably still go with an account that has passwordless sudo but is locked behind the key. You can get pretty creative with your sudoers file

clever mortar
#

@odd mason root == the most powerful user

#

You can limit what an account can do with sudo

#

You cannot limit root

#

@wet pilot Yeah, but there are some things that don't play well that way 🤷

odd mason
#

so what permissions should i give my normal user

wet pilot
#

# rm -rf / Computer: "OK"

clever mortar
#

That's why I like SSH CA's though

#

@odd mason Whatever you feel you need. That you're asking here suggests you're utterly lost though 😉

odd mason
#

exactly

#

so my original instance of home assistant....i installed EVERYTHING as root

wet pilot
#

thats super bad 😄

odd mason
#

because i didn't want to deal with permissions...but turns out...lots of stuff didn't work

#

because of that

clever mortar
#

You can take two approaches...

  1. Full sudo access
  2. None, and add them one at a time
odd mason
#

so to learn more i should just google stuff about visudo right?

odd mason
#

cool thanks just what i was looking for

clever mortar
#

~lmgtfy how to build sudoers

velvet horizonBOT
clever mortar
#

That's where I found it 😉

odd mason
#

LOL

#

ur assuming i knew the word sudoers

#

ok so i enabled ssh access for the homeassistant user

#

that is bad?

clever mortar
#

Yes

#

(well, maybe not, but ...)

#

IMO you only access it via sudo, from another account

odd mason
#

i just figured it might be easier to login as homeassistant user to do stuff instead of logging in as a normal user and then switching to it

clever mortar
#

Basically, this is the heart and soul of your automation platform. You don't want to make it horribly insecure

odd mason
#

agreed

#

trying to find the best way to do it

clever mortar
#

Best is subjective

#

Least effort is root, but also the least secure

light trout
#

Hassbian is best! case closed 😄

clever mortar
#

Yup

light trout
#

hashell to change to HA user 😛

odd mason
#

isn't that the same as home assistant in a venv?

light trout
#

for the most part, yes

thorn viper
#

@last plaza you just convinced me to go back to raspberries for distributed audio 😃 have you used any hifi dacs with them? like the hifiberry? i remember my raspberries producing quite a lot of humming sound when not playing music

odd mason
#

@clever mortar

#

so if i'm understanding correctly:

* turn off root access
* create normal user account
* give normal user sudo privs
* turn off ssh for homeassistant user
* DON'T give home homeassistant user sudo access
* do all package installations via normal user account with sudo
vast dove
last plaza
#

No Dacs. I use it for TTS only, and I am satisfied with the quality @thorn viper

thorn viper
#

@last plaza ah, i see

odd mason
#

@vast dove i already have HA installed like that

#

just trying to figure out how to do other permission stuff

thorn viper
#

do you guys use any RF switches?

unreal orbit
#

I do 😃

clever mortar
#

@odd mason Pretty much

odd mason
#

cool thanks

thorn viper
#

for what, @unreal orbit ?

unreal orbit
#

I have a few rf buttons to augment my existing smart stuff, like making a button for activating a script, or toggling a light

#

Or my doorbell

thorn viper
#

ah

#

yeah, looking around for buttons

#

there's fibaro's 'the button'

#

like 50 quid for a zwave button

#

= robbery

#

would like a snooze button though for the alarm clock automation... 😃

vast dove
#

lol

clever mortar
#

Z-Wave is expensive, because it's a full standard

vast dove
#

zwave = robbery

thorn viper
#

so what should one use instead?

unreal orbit
#

RF buttons work great in my experience

thorn viper
#

any hardware recommendations?

uneven cobalt
#

the xiaomi button works well

unreal orbit
#

Sonoff RF bridge is a necessity if you want to use RF.

#

As far as buttons go I have a few that work, and I ordered like 10 different kinds to test them, but they won't be here for another couple weeks

thorn viper
#

hm

odd mason
#

so my public key has the hostname of the computer that it was generated on at the end of it (which currently is my work computer). something like this: myname@mynamess-MacBook-Pro.local

#

does that matter?

#

meaning if i transfer my private/public keys to another computer, will it still work?

clever mortar
#

It doesn't matter

#

That's effectively a comment

odd mason
#

awesome

hearty depot
clever mortar
#

UK here, we're about to crash out anyway 😛

hearty depot
#

I hope some of you wrote your MEPs

light trout
#

I can write a meh if thtat helps 😛

hearty depot
#

DO IT!

light trout
#

meh

hearty depot
light trout
#

☝ there you go 😛

hearty depot
#

Where you from? Sweden or Norway?

light trout
#

Norway

hearty depot
#

Out too - daang - Write the bastards anyway 🤣

clear ferry
#

I missed battery on the mini

#

Wonder how long this will hold

unreal orbit
#

My guess would be a day or two max

clear ferry
#

@unreal orbit says 10h in the description,meh

unreal orbit
#

Depends on how much you use it

vast dove
#

lol, that thingy costs more then the google home itself

clear ferry
#

@vast dove good point 😹

hushed basalt
#

What do you guys have as laptops

#

I'm thinking of getting a ThinkPad

odd fox
#

What’s the most appropriate channel to ask about recommend devices? Like what’s the cheapest on/off contact sensor that works with Zigbee, Zwave, or WiFi?

hushed basalt
#

I'm not sure

#

I know Xiaomi switches are really cheap

#

Do you mean like a physical switch for people to press?

#

But most people are asleep

odd fox
#

Nah, like the magnetic contact switches. Windows, doors, fridges, etc

hushed basalt
#

Ah reed switches

#

Or actual electrical contact?

#

The xiaomi door switches are probably good value though

#

$9 ready to go with adhesive tape included. Zigbee

odd fox
#

That’s a good price. Got a link?

hushed basalt
#

On mobile,

#

But just aliexpress xiaomi door sensor

#

Or amazon if you want it quicker

odd fox
#

Cool, thanks

hushed basalt
#

Although personally I'd avoid battery powered sensors if you can

#

Just becomes a maintenance nightmare continously rotating dozens of disposable watch batteries et

#

Etc

#

If you can I would attach a reed switch to the GPIO of something powered like a nodemcu etc

#

But hey you gotta do what you gotta do

clear ferry
#

@hushed basalt I run a zbook g3 atm, with 48g ram because I run a lot of workshops for customers

#

@odd fox I enjoy the Xiaomi sensors, users here have said their batteries last several years, but I've only had them for a few months so far

hushed basalt
#

According to the specs the reed switch lasts 6 to 12 months, but who knows

clear ferry
#

@hushed basalt I will tell you when I replace the batteries 😂

hushed basalt
#

I have enough trouble replacing the battery in my cats tracking collar haha

#

Let alone a dozen sensors :D

clear ferry
#

@hushed basalt 😾 😾 😾 😾 😾

hushed basalt
#

Meoww

clear ferry
#

@hushed basalt I'm refurbishing my old spectre xt now to use as a DC laptop, because the zbook is like 2kgs, the spectre is 1.3

#

When I'm stuck behind a rack the weight is noticeable

hushed basalt
#

I'm thinking of getting a t480

#

I thought of getting an X1 carbon but they're all glued/soldered in ram, hdd, battery etc

#

Maxes out at 16GB :/

clear ferry
#

@hushed basalt I can do most of my work with a rdp,serial and browser, so any ultrabook would do for most days

hushed basalt
#

I'm aiming for more developer, desk based with monitors but the occasional explore

#

Conferences, meetups, etc

clear ferry
#

I do enjoy the zbook for that, triple head docking and great power

clear ferry
#

Nice, -17c yesterday, +7c today

hushed basalt
#

Ha

#

It's been average +30-46 degree maximums here the past month

#

Cold is a long forgotten mistress

clear ferry
#

@hushed basalt DO YOU COME FROM A LAND DOWN UNDER, WHERE WOMEN GLOW AND MEN PLUNDER

hushed basalt
#

I said do you speaka my language

#

And he just smiled, and gave me a sandwich covered in black yeast extract

clear ferry
#

One of the best music videos of all time🤣

peak breach
#

@hushed basalt you must be a touch north of me… i think summer's finished for us down here. it'll probably throw in another hot one or two just to give us the irrits, but the hot's been over for the past week.

clear ferry
#

I was in New Zealand 23 years ago, it was nice

#

Heck of a flight from Tromsø

#

Think total travel time was like 35 hours

peak breach
#

urgh… is that flight time, or including timezones…?

#

<— hasn't flown over 2 hours… and that was horrible enough.

clear ferry
#

@peak breach just flight and layover

peak breach
#

sounds horrible.

clear ferry
#

@peak breach I've traveled a lot since I was a kid, so travel time don't bother me,but my wife had flown at most 2 hours when we met, so I took her to USA, only New York,bit was 7 hours flight,now she thinks the 4 hours to southern Europe is a cakewalk🤣

#

We are planning a trip to Japan though,that is a minimum time of 15hours in the air

thin fox
#

?rank other

slim rampartBOT
#

dynoError That role no longer exists.

hushed basalt
#

I flew to Paris last year

#

11 hours from HK i think

#

6 hours to HK

#

A350 is a nice plane though

clear ferry
#

@hushed basalt i need to book a flight with a 380 though

hushed basalt
#

They're oldee

#

The a350 ans 787 have the higher cabin pressure

#

Probably the biggest feature

clear ferry
peak breach
#

how do you do the map?

#

(i mean the actual backing image…)

peak breach
#

whoooops… found me a new rabbit hole…

brisk furnace
#

what does everyone use as a UBS?

#

I just had power go out and now can't connect to my hassio pi

#

really hoping it isn't fried but

unreal orbit
#

You mean UPS?

brisk furnace
#

yes sorry was researching UBS earlier lol

#

meant ups

unreal orbit
#

I've been using cyberpower ups, but I have not been impressed. I'm still looking for an alternative myself

clear ferry
#

Nothing really as the power is out here once or twice a year, usually in january during winter storms, so I have not had any need for it

peak breach
#

"cyberpower ups" sounds like something from a 90's vertical scroller…

brisk furnace
#

yeah true only 1 or 2 times here too

#

but now the pi won't boot

clear ferry
brisk furnace
#

lol so if I an avoid a corrupt sd then that's better

#

ok i'll stay away from cyberpower, looking on bestbuy atm

clear ferry
#

@brisk furnace there is a UPS header for the PI

brisk furnace
#

@clear ferry a UPS header? Specifically for Pi?

clear ferry
#

I know is saw one with a bigger battery also

brisk furnace
#

sweet - I have two pi's

#

I'd want them to issue shutdown commands

clear ferry
brisk furnace
#

don't care so much about the uptime cause if power is out I can use things manually

clear ferry
#

Onboard 1820 mAh “off the shelf” Lipo / LiIon battery for ~4 to 6 hours in constant use! (with support for larger Lipo Battery of 5000 or 10,000 mAH+ to last up to 24 hrs +)

brisk furnace
#

awesome ty

#

i'll look into these

#

weird I can boot into the pi via ssh

#

but I can't view the web

clear ferry
#

zzzz making a customer presentation about the Superdome Flex, anybody looking for a 64GPU \ 64TB \ 1800 Core server ? 😄 I can give a presentation and do the installation 😉

#

@brisk furnace so it replies to ping and http ? but not ssh ? could be ssh blacklist

brisk furnace
#

yeah replies to ping and ssh but not http

#

refused to connect

clear ferry
#

@brisk furnace hassbian og hassio ?

brisk furnace
#

hassio

#

frig something is corrupt

clear ferry
distant stream
#

I had all this motivation to make a bunch of dummy entities, go through and set up every major appliance in my house with a picture card then add all the model/serial info in the customization section

#

and all the misc info like filter type, cartridge type, etc etc

#

But im stuck at work and things arent going well and its killing my motivation

thorn viper
#

Anyone tried the Xiaomi Mijia smart switches?

#

@clear ferry didn't you have some xiaomi buttons?

last plaza
#

I beleve they are the first generation- and the second generation are Aqara. I use Aqara and they work well. Haven't tried Miija

proven spruce
#

they're great, the round buttons support more presses

#

my favorite switches

thorn viper
#

Ah!

#

Do you know what the differences are between the two generations?

#

@proven spruce does yours (the Mijia?) support double clicking and 'long click'?

proven spruce
#

yep

#

i dont have the new ones, make no sense to have a button inside a square, these are way easier to use and have more features

#

there is a version of the new ones with a gyroscope so it has a "shake" trigger, but its a switch so why would you use that

thorn viper
#

Cool... perhaps i should try ordering a few

#

@proven spruce do you control it with a conbee stick?

proven spruce
#

no, i use the xiaomi gateway

clear ferry
#

No long press in the aqara with ha, it sees the long press,but the second you release it it becomes a single press

uneven cobalt
#

i use a couple mijia buttons with zha. work great

brisk furnace
#

oufff so just a PSA for everyone

#

when restoring snapshots, it restores your 2FA as well

#

thankfully I didn't delete google authenticator after moving to Authy

clever mortar
brisk furnace
#

but if you ever change your 2FA take another snapshot lol

#

yes sorry it's a hassio PSA 😛

odd mason
#

does anyone have home assistant set up with a custom domain (not through duckdns)?

clever mortar
#

Yup

#

DNS is DNS

brisk furnace
#

@odd mason I had it setup before using my Asus router's ddns feature

last plaza
#

if you can remember your IP address, problem solved!

odd mason
#

and if your ip address changes you're screwed lol

rain swift
#

doesn't matter what domain you use

#

I like my duckdns one though lol

odd mason
#

and like 5 others

last plaza
#

why not use a free one?

odd mason
#

probably got a little excited

rain swift
#

score

#

he wants it custom

odd mason
#

@last plaza just wanna set stuff up right on my new server

last plaza
#

buy your own domain name - they are cheap!

odd mason
#

part of all this is learning

#

my voice assistant is jarvis but all the good jarvis ones were taken

#

or expensive af

last plaza
#

hmm...

#

sivraj? lol reverse of jarvis

#

are you done setting up your new server? @odd mason

odd mason
#

Physically yes

#

But still adding things... literally spent like 12 hours trying to build python 3.7 from source before giving up

#

And then someone here mentiones some things don't even work with 3.7

clever mortar
#

I think the number of things that don't work is dropping to almost irrelevant now

odd mason
#

I still couldn't get it to make with the --enable-optimizations flag

odd mason
#

anyone using Caddy for reverse proxy?

grave solar
#

@odd mason I think @eager trench is using Caddy.

odd mason
#

i think i'm gonna try it for my stuff

#

seems so much simpler than nginx

eager trench
#

caddy is way simple to setup and use @odd mason

hushed basalt
#

@odd mason are you using docker to run everything?

#

I should check out caddy

#

I consider myself a pretty good problem solver but I can't get nginx or traefik to work at all

unreal orbit
#

There is a guide for nginx though, I'm not sure how people have that much trouble with it

hushed basalt
#

"it's the users who are wrong" is always a great stance

#

If a large portion of people have difficulty with something it's usually not the users fault

unreal orbit
#

A large portion of people don't read docs thoroughly (or even half-assedly)

eager trench
#

the docs are incomprehensible sometimes like say for nginx

hushed basalt
#

I've read the docs, and multiple blog posts/guides and examples

#

The problem usually stems from you using a slightly different example from the scenarios. Or the scenarios are for an older version etc

light trout
#

All custom platforms needs to move

eager trench
#

so this is in the root of custom_components so where does it move to?

light trout
#

Nope, only platforms

#

Components (py file in the "root") are unchanged

eager trench
#

ok.... so the custom_updater is ok to stay

#

and ones say in sensor get renamed to sensor.py and moved to their own folder

light trout
#

Correct, but most of what it tracks are going to give you issues

eager trench
#

right... but if I rename/move will they work? they don't seem to have hardwired paths in them

light trout
#

They should.
But they will be untrackable untill 1 day after 88 are publicly aviable (that's when I will paush an update)

eager trench
#

ok.. so you need to change the component as well

light trout
#

The component does not need to change, but the json files it tracks.
I will change the list I maintain, but for other "third (forth?) "parties i can not do anything 🤷

eager trench
#

yeah of course. understood

light trout
#

My "take" of that change (it was added in 0.86):

## Embedded platform structure.
Let's take sensor.awesome as an example.

Traditionally this would be placed in custom_components/sensor/awesome.py

With the "embedded platform" structure this will be placed in custom_components/awesome/sensor.py
eager trench
#

right... so that isn't dependent on a dev changing anything in the py file but if they're tracked in custom updater then your ones will be good but other parties need to update the json files so your component can track them

light trout
#

The dev needs to change the structure in the repo it's hosted and (potentially) any "installation" instructions.

eager trench
#

right

light trout
eager trench
#

nice. I do use that component actually

mighty summit
#

does some one feel like helping me out with a custom rsyslog facility ?

clever mortar
#

syslog-ng allows you to do all sorts of funky stuff

#

Not so much facilities, but you can chose destinations based upon the content of the message, or the source, and more

mighty summit
#

i'm on a ubuntu system that has rsyslog per default

clever mortar
#

You can replace it 😉

#

Or you can add it alongside

mighty summit
#

yeahhh...i'd rather not ?

clever mortar
mighty summit
#

tho your comment is more than valid ofc

clever mortar
#

rsyslog does it now too, of sorts anyway

#

It's unix, there's at least a bunch of different ways of getting to your destination 😉

mighty summit
#

i made a file in /etc/rsyslog.d/

#
# Log Zoneminder log messages to file
local1.* /var/log/zm/zm.log

# Uncomment the following to stop logging anything that matches the last rule.
# Doing this will stop logging Zoneinder generated log messages to the file
# normally containing them (eg, /var/log/syslog)
& stop
#

that works fine, sending all related logging to said file, and stopping it from spamming syslog.

#

1 hickup... i had to sudo chmod 666 /var/log/zm

#

which i really don't wanna keep

#

but google ain't helping regarding rsyslog permissions

clever mortar
#

What's the owner of /var/log/zm

#

What user does ryslsog run as?

mighty summit
#
$ ls -lha | grep zm
drwxrwxrwx   2 www-data root            4.0K Feb 14 06:25 zm
clever mortar
#

On my box, it runs as syslog

#

So, chown syslog /var/log/zm if www-data doesn't need to write there

mighty summit
#

/var/log/zm was created auto after i made the custom file & restarted rsyslog.

clever mortar
#

If it does... chgrp syslog /var/log/zm; chmod 1775 /var/log/zm

#

You could even do

touch /var/log/zm/zm.log
chown syslog /var/log/zm/zm.log
chmod 755 /var/log/zm
#

That won't let rsyslog rotate it though

mighty summit
#

meh

#

some folders/files in /var/log are group adm, others root

clever mortar
#

adm is a group syslog is in on my host, so you could do chgrp adm /var/log/zm too 😉

#

(instead of chgrp syslog

mighty summit
#

i'll start with that one i think

#

ended up with```
$ ls -lha | grep zm
drwxr-x--- 2 root adm 4.0K Feb 14 06:25 zm

#

hope it'll rotate

clever mortar
#

I doubt it, if that's /var/log/zm/

mighty summit
#

correct

clever mortar
#

www-data can no longer create files there

#

syslog can't either

mighty summit
#

but www-data isn't owner

clever mortar
#
$ ls -lha | grep zm
drwxrwxrwx   2 www-data root            4.0K Feb 14 06:25 zm
#

You posted earlier

#

Now only root can create files there

mighty summit
#

true dat

#
 ls -lha | grep apach
drwxr-x---   2 root   adm             4.0K Feb 14 06:25 apache2
tom@cctv:/var/log$ ls -lha | grep zm
drwxr-x---   2 root   adm             4.0K Feb 14 06:25 zm
#

🤷

clever mortar
#

Because root is opening the files in /var/log/apache2 for writing

mighty summit
#
 ls -lha zm/
total 5.3M
drwxr-x---  2 root adm    4.0K Feb 14 06:25 .
drwxrwxr-x 10 root syslog 4.0K Feb 14 06:25 ..
-rw-rw-rw-  1 root root   802K Feb 14 12:53 zm.log
-rw-rw-rw-  1 root root   4.5M Feb 14 06:25 zm.log.1
#
 ls -lha apache2/
total 13M
drwxr-x---  2 root adm    4.0K Feb 14 06:25 .
drwxrwxr-x 10 root syslog 4.0K Feb 14 06:25 ..
-rw-r-----  1 root adm    5.1M Feb 14 12:53 access.log
-rw-r-----  1 root adm    6.9M Feb 14 06:25 access.log.1
-rw-r-----  1 root adm    1.5K Feb 14 10:41 error.log
-rw-r-----  1 root adm    827K Feb 14 06:25 error.log.1
-rw-r-----  1 root adm       0 Feb 11 14:52 other_vhosts_access.log
#

so rsyslog is root ??

clever mortar
#

Also, apache isn't using syslog 😉

#

Would appear to be, on your system, which is "odd"

mighty summit
#

fresh 18.04LTS install

#

no funky personal config

clever mortar
#

ps axu|grep rsyslog

mighty summit
#
g$ ps axu|grep rsyslog
syslog   113477  0.0  0.1 263036  4068 ?        Ssl  12:48   0:00 /usr/sbin/rsyslogd -n
clever mortar
#

No idea what's going on then 🤷

#

If it works, it works 😄

mighty summit
#

what dud you conclude from ps axu|grep rsyslog ?

#

that the daemon is running as user syslog ?

#
$ sudo groups syslog
syslog : syslog adm
clever mortar
#

Yup, and the files in /var/log are owned by syslog

mighty summit
#

but not all

#

$ sudo logrotate --force /etc/logrotate.conf worked across the board.

#

🤷

#

also for apache2 btw, and also for the zm logs.

#

Thx for the ideas.

clever mortar
#

👍

hearty depot
#

So end of it - I got such deam Issues.. I make an extra HomeAssistant instance for my lights only.
Now I ask me how could i connect this two instances..

#

Easyest would be to leave the MQTT setings as they are - but I guessing Mosquitto is my Problem

clever mortar
#

Bridge the MQTT servers?

hearty depot
#

LMGTFM

#

Thats cool - After I only need the light/#

unreal orbit
#

Let me google that for me?

hearty depot
#

Will get hassOS a run for this

amber bramble
#

Anyone got suggestions for a cheap way to track if my garbage cans are sitting in their normal spot by the house or not?

#

i'm terrible at forgetting to put them out so it would be great to get a "hey dummy the trash cans need put out" notification if they're still sitting nexdt to the house on trash day.

hearty depot
#

Tensorflow?

#

Only need a camera then

clever mortar
#

Zigbee or BTLE beacons?

unreal orbit
#

Or go simple and just put a reminder in your phone 😉

amber bramble
#

was thinking some kind of beacon. what's the BLE market/support like these days? Last time I looked it seemed pretty difficult to get decent beacons

#

@unreal orbit but that takes all the fun out of it 😛

unreal orbit
#

Very true 😝

amber bramble
#

and i've tried that and usually dismiss the reminder in the phone thinking "ill take care of it in a few minutes" and then forget... yay me lol

unreal orbit
#

You could try those weight sensors, but you'd need power available where your trash cans are

hearty depot
#

Theme weightsensors - just orderd the HX711 and will make a scale out of my bed ^^

unreal orbit
#

Though this is a more DIY solution. Not sure how much you want to get into it

odd mason
#

@hushed basalt I'm not running the caddy docker container

#

But I am running Debian in a LXC container and running caddy inside that

#

Nginx seems to be more performant but I don't think I need that sort of performance and would rather have ease of setup and maintenance

#

Plus caddy automatically handles getting/renewing certs from Let's Encrypt

#

Thanks for the reassurance @eager trench

unreal orbit
#

So does nginx after running certbot once

odd mason
#

Does it renew too?

unreal orbit
#

Yes

odd mason
#

Nice

#

Caddy configs seem very simple

#

I'm running nginx right now but moving to caddy on the new machine

last plaza
#

@unreal orbit those load sensors are really a pain in the butt to setup and configure.

#

I did it last weekend, and I am not doing that again! It was not fun at all

unreal orbit
#

Aww really? I haven't used any yet but I saw a couple guys on here using them. I was going to try some out soon

last plaza
#

I installed them under the bed, I prefer getting one of those pressure sensor strip than these load sensors

#

the couple of guys are me, arsaboo, and quadflight.

#

the readings are very confusing, and get so many false positives, and you really have to set it up right, and tare/calibrate it

orchid rose
#

what preassuer sensor strips?

#

I'm thinking of setting some sort of bed sensor for some automations

light trout
#

Would give me issues on hangover-sundays 😛

tardy peak
#

Hello everybody 👋🏼

tardy peak
#

Some avatar... done

mighty summit
#

@amber bramble bluetoothbeacon stuch to the bin ?

hushed basalt
#

@amber bramble you could always try a little sonar sensor if it's practical for your location

#

I'm not sure how accurate BLE positioning is,

mighty summit
#

it doesn't need to be accurate at all

hushed basalt
#

But if you put a sonar sensor where your bins live

#

But how do they know if the tag is near or far away

mighty summit
#

you just need to position the receiver some place where it sees/doesnt see the beacon.

#

if no beacon, then the bin isn't there

#

like, put the receiver at the back of the house, so that it will not see the beacon if beacon is on the curb.

amber bramble
#

@mighty summit I think that setup would work the best. Do you have any recommendations for hardware?

mighty summit
#

diy yes, off the shelf nope

hushed basalt
#

Does RPI3 have BLE?

amber bramble
#

I believe so but I've heard its not very stable

hushed basalt
#

Maybe a esp32

mighty summit
hushed basalt
#

~lmgtfy esp32 ble beacon

velvet horizonBOT
hushed basalt
#

Esp32 will be cheaper I think

#

I'd usually use a RPI3A+ over a zero wireless myself nowadays

#

Simply because 2.4Ghz is too crowded where I live

#

An esp32 is cheaper than an SD card for a raspberry pi though

mighty summit
#

that is what the thread i posted does.

#

A BLE badge stuck to your bin, an ESP32 in your house.
If esp sees badge, you have a pretty good idea where the bin is. PRovided you choose the esp's location properly.

#

so...ESP+badge...ain't gonna get much cheaper...amirite ?

#

except for the squirrelnetwork.

#

but that's unreliable AF.

hushed basalt
#

As long as this doesn't happen

#

But yeah that was my original question

#

Trying to avoid false positives when the bin is on the curb but occasionally you get readings

#

Do beacon receivers have strength meters?

mighty summit
#

i have no idea

#

i would consider it a binary thing. reception or none

#

for the price of ESP's...get 4 and triangulate.

hushed basalt
#

I guess that's the advantage of the sonar sensor

#

Hard yes or no

#

Unless a squirrel sits on it

mighty summit
#

what if a car parks out front ?

amber bramble
#

IIRC most of the BLE stuff can tell signal strength

hushed basalt
#

You just position the sonarr sensors to only point at the area the bins occupy

#

They can be quite narrow

mighty summit
hushed basalt
#

I don't know if you can put an esp in a shaped enclosure to make the antenna directional

mighty summit
#

allows you to detect and recognize objects in a camera image

hushed basalt
#

My garage door sensor is sonar

mighty summit
#

i mean a bin is pretty unique regarding shape & color

hushed basalt
#

My garage door sensor would work for my bins if I wanted it to

#

@amber bramble if you want an off the shelf solution try a opengarage.io

mighty summit
#

any object in front of a sonar sensor will be considered as the bin. very not accurate in my little booklet.

hushed basalt
#

Its an esp8266 with a sonar distance sensor and a relay

#

Yes but I only ever place bins in my bin spot

#

And it measures distance

mighty summit
#

where nothing else ever comes ?

hushed basalt
#

So something parked a meter away won't count

#

Well no since the bins are there 13 days a fortnight

mighty summit
#

i know that sonar wouldn't work in my location. 🤷

unreal orbit
#

Your trash pickup is only bi-weekly? that sucks

hushed basalt
#

Well we're not American so I guess we don't consume as much :D

#

Shots fired

unreal orbit
#

I take that as an insult, but I'm okay with it

mighty summit
#

damm, i was gettin the 🍿 ready

hushed basalt
#

Our bins are only 140L too

#

I'm pretty sure the bins I see in tv shows in americsan suburbs look at least 250L. Maybe 300

#

Sorry mine is 240L

#

I'm pretty sure Americans are 350L

unreal orbit
#

Yeah mine is definitely 350. We also have 3 bins: recycling, trash, and green waste

#

Our recycling bin is almost always completely full of cardboard each week

#

the trash usually isn't more than half way

hushed basalt
#

:o

thorn viper
#

@unreal orbit packaging material from new devices?:)

hushed basalt
#

I have three bins too

unreal orbit
#

99% of it, sjk 😉

thorn viper
#

I lose. I only have two bins.

hushed basalt
#

So that's 2100 litres a fortnight vs my 720 litres

unreal orbit
#

The other 1% is beer cans

#

Technically, but we don't use the green waste bin, so really it's only 1400

thorn viper
#

wow, no food waste!

unreal orbit
#

I just eat all my food 😃

amber bramble
#

hum, now the downside to these beacons is none of them look waterproof

clever mortar
#

Inside the bin lid?

unreal orbit
#

Dip everything in paraffin wax 👍

clever mortar
#

Duck tape 😉

#

It has a dark side, and a light side, and is the force that holds the universe together

hearty depot
#

after 5 hours of stupid back and forward configuration - and 2 fails with hassOS - A seccond HA is running - Now bridging the brokers!

wary jolt
#

Today, almost a month after writing a custom component for HA I had an epiphany of why one of the default values was not working... I wasn't even looking at the code but I guess it has just been in my head bugging me all this time.
It's amazing how the mind works.

rain swift
#

does anyone use pihole? do you know if unbound is part of it yet?

hushed basalt
#

@wary jolt our mind have great background workers

hushed basalt
#
#

This looks useful

#

It supports RSSI so you can use the signal strength to determine proximity

#

If you wanted battery less waterproof you would use far field RFID tags. But readers are $$$

rain swift
#

is there any openbsd nerds in here?

#

I need to remove the immutable flag from a file

hushed basalt
#

Maybe try Linux discord @rain swift

hushed basalt
#

Ahhh

#

I wasted hours of troubleshooting because I had a configuration set with 1 instead of l

wary jolt
#

@hushed basalt, I've been there myself... The worst are I and l... You can't tell which is which.

hushed basalt
#

Exactly!

#

I can tell the difference in the font I use in VSC

#

But it was more the fact I didn't know the variable was supposed to be l instead of i

#

In some industries they purposefully avoid using characters like 0, O, l and I entirely

wary jolt
#

Who uses uppercase i as the variable name?

hushed basalt
#

It was a longer name

#

But it wasn't a dictionary word

wary jolt
#

Oh, I get it. It still sucks... Lol

hushed basalt
#

Bcm2825-vl42 or something

#

I have bcm2825-vI42

#

Had*

wary jolt
#

Now it makes sense that you use 1 instead of I

#

I mean, it makes sense...

hushed basalt
#

Yeah i know right haha

#

Special place in hell for people who put I/l 0/O on number/letter borders

#

And I haven't got the muscle memory for copy paste in linux yet

#

Ctrl+c and Ctrl+v isn't ubiquitious in Linux

wary jolt
#

I hope they step on a lego every morning... Lol

hushed basalt
#

:D

wary jolt
#

Middle click for paste is not hard to remember

hushed basalt
#

20 years of muscle memory is hard to overwrite

#

Plus it means you have to use the mouse

wary jolt
#

I know, I try to use the highlight and middle click whenever I can. But I got used to Ctrl+shift+c and Ctrl+shift+v in the command line.

orchid rose
#

@last plaza, thanks for the link!

wary jolt
#

The insert and delete keys are to far up there in the corner...

hushed basalt
#

Problem with ctrl shift is VSC captures that as well

#

So you have to do one method for chrome etc ans another method for vsc haha

And neither of them are what I'm used to from Windows

boreal solstice
#

Anyone here using Ariela, the Android app for HA? I'm strugling to get logged into it.

#

Doh, of course I get it working immediately after asking.

#

NM

wary jolt
#

@hushed basalt, how do you like VSC?

#

I have been using vim as my main editor and gedit some times.
I tried Atom, but it kept on freezing on me when editing a file through SFTP.

#

I tried installing thonny the other day, but there where some dependency conflicts and I didn't even bother on trying to resolve them.

hushed basalt
#

It's great

#

I use vim extension in VSC

#

But I wouldn't use vim as an IDE. Vsc blows it out of the water.

#

I use cloud sync to sync my config across workstations as well

#

Have you thought of using git instead of SFTP

storm tendon
#

Hi all. Anyone created 3D floorplans? If so, any recommendations on software to use?

hushed basalt
#

You could do a scaled model like Doc in Back to the future I

#

Try not to set it on fire though

low harness
storm tendon
#

Thanks

#

I already have a 2d one but not really happy with it

clear ferry
#

jesus christ, I just installed powershell in linux for the first time

#

and it's hella more usable than it is on windows

#

I can tab to see all options, not just TAB THROUGH EVERY ONE 😄

clever mortar
#

Powershell... usable... 🤔

clear ferry
#

@clever mortar Well, more usable

clever mortar
#

To be fair to it, it's come a looong way

#

The first release... well, it was more powerful than cmd, but that's not saying much

clear ferry
#

well yeah, it's like everything Microsoft related, it starts out as a shitty clone of *nix, then becomes usable 4+ years down the line

clever mortar
#

Then becomes a disaster zone 😛

#

Why, no, all the result disasters with Windows 10 updates hasn't made me cynical about MS at all...

#

is grateful that everything is backed up

clear ferry
#

Don't get me started on Hyper-v

#

jeeeeeeez

rigid plume
#

Anyone managed to get esphome working with sonoff hub? I want to receive codes but fail to be able to get the correct config. Last thing I need to do to get away from mqtt.

clever mortar
amber bramble
#

windows 10 updates.... triggered

clear ferry
#

I'm so glad I stopped working a sysadmin 12 years ago

#

Now I just do cool stuff

#

😄

amber bramble
#

i'm a sysadmin in a windows 10 environment. there's literally no way to prevent it from going out to the internet to pull whatever updates it desires, even if you have windows updates managed through wsus or sccm

rigid plume
#

This is a lot more fun than my day job, how can i do this full time? 😃

clear ferry
#

@amber bramble really ? I thought you could GPO that

amber bramble
#

i think there is one GPO that you can set to make it not talk to windows update servers anymore, but it breaks a lot of other stuff like the windows store

clear ferry
#

@amber bramble Just push out a new hosts-file with the WU servers pointing to ::1 😄

amber bramble
#

and we have 1 blasted app that the vendor only has available through the windows store because they find great joy in making sysadmin lives difficult

clear ferry
#

@clever mortar spoke to soon, tried to import a module in powershell in linux, HELLO RED WALL OF TEXT THAT TELLS ME NOTHING 😄

#

I love the powershell way of telling you you did something wrong

#

whenever I walk into customers offices where people are working with powershell, half the screens are always red text

#

"Well, I see you guys are having fun today"

hushed basalt
#

What is powershell on linux used for?

clear ferry
#

@hushed basalt run powershell commands of course 😄

proven spruce
#

that makes no sense

hushed basalt
#

How sadistic

clear ferry
#

@hushed basalt Indeed, but I do enjoy the flogging

hushed basalt
#

I looked at powershell once

#

As a Python developer, I stayed with python

#

When I look at Python I see powerful succinct elegance

#

When I look at PS. I see... Hurt

#

Verbosity, un intiuitive noise

#

Maybe I'm not being fair

#

But only win admins use powershell and they are 'armless

#

😂

clear ferry
#

jeeez taking forever to sync my 180.000 emails to evolution

#

😄

hushed basalt
#

Using . as a separator. Europeans are weird

proven spruce
#

?

clever mortar
#

. == decimal point

#

Not a thousands separator 😛

vast dove
#

@clear ferry Do you have your HA config on github?

hushed basalt
#

What is evolution

light trout
#

If you don't know, you may not be a part of it 🤷‍♀️

low harness
#

Isn't that like the KDE mail client?

clear ferry
#

@low harness the only mail client I got to work properly with O365

#
 2731 eirikz    20   0  100,0g   1,3g  25964 S 197,0  34,1 123:47.92 evolution    ```
#

wow that didn't scale well

#

evolution is quite busy syncing my mails 😄

pliant forge
#

Is the token on the Xiaomi devices always the same per device or changes if you rest the WiFi connectivity to connect it to a different network?

unreal orbit
#

It can change. I can't remember if mine changed just because I switched networks. I think it did

#

It may have been a firmware update

pliant forge
#

Ok thanks, that probably explains why my ha can’t find the air purifier.

#

@unreal orbit the roborock is the bomb.

unreal orbit
#

By far the best vacuum I've seen on the market

pliant forge
#

Vacuums better than the cordless dyson we have.

clear ferry
#

I love the roborock, except when it tried to mate with my floor lamp

#

OVER AND OVER

#

https://i.imgur.com/LopEXn4.gif Exactly like this, the sound is even the same (for those who watch Robot Chicken)

unreal orbit
#

Ha we had this happen on one of our cat trees once. I think the slight incline confuses the sensors when it doesn't level out again

clear ferry
#

@unreal orbit probably, there is a slight incline on the lamp also

#

I just goes again and again and again

#

until I move the lamp

unreal orbit
#

I think I ended up drawing a tiny 'do not clean' area around it

slim ore
#

Just finished recreating my TV Remote in HA 😄 ... Was a bit of work but got it fixed 😂

hushed basalt
#

Is roborock the xiaomi

unreal orbit
#

Yes

pliant forge
#

Yes the Xiaomi v2 I think

hushed basalt
#

Ive been looking at those

#

I have a botvac so it's not bad enough to swap out

unreal orbit
#

The S5 (or S50 depending on where you look) is what you want

pliant forge
#

It was on sale last week on amazon for a little over $400

#

I should have bought 2

hushed basalt
#

Ah god. I wish there was a filter on youtube tutorial videos to filter out poor audio quality

clear ferry
#

@hushed basalt Does good audio quality exist on youtube ?

hushed basalt
#

Nothing wants me to keep watching more than a crappy mic overloaded with english as a second language

unreal orbit
#

If my house needed 2 I definitely would have bought one in the sale

clear ferry
#

@hushed basalt eating the microphone while commenting on a terrible chickflick

hushed basalt
#

English is second language to half my family but I wouldn't want to listen to them teach in english

clear ferry
#

add in +20 gain to make it even better

hushed basalt
#

It's like telephone operators. It's not racist but your job is literally to communicate verbally

clear ferry
#

and no breath-filter

#

POOOF

hushed basalt
#

I mean if you're from a country with a billion people why make videos for countries with only a few hundred million

clear ferry
#

I actually just yesterday checked the wikipedia page for population in countries

#

and laughed when I saw the jump from second to third place

hushed basalt
#

Youtube can be hard to find the right quality content sometimes for sure

#

Like I'm trying to learn about API gateways

clear ferry
#

I think I read that india is gaining on china, probably because of chinas habit of only keeping boys

hushed basalt
#

But a lot of the videos are "What are API gateways anyways 🤷 "

proven spruce
#

this "other" county is huge tho

clear ferry
#

@proven spruce Yes, let's move there

proven spruce
#

i think i'm already in it 😄

clear ferry
#

@proven spruce Hello from the other side

hushed basalt
#

China is pretty anti immigration

#

Not sure about India

proven spruce
#

not really the countries that spring to mind when you think about moving somewhere else

clear ferry
#

@proven spruce They have enough, no need for that immigration nonsense! 😄

#

Or lack of interest for most of it 😛

wary jolt
#

I love my Roborock!

#

But over here, if you have a robot vacuum everyone thinks Roomba.

clear ferry
#

@wary jolt same here 😄

wary jolt
#

Everyone is like: so, you bought a Roomba... And I just say, neh... Something better...

pliant forge
#

Exactly^

wary jolt
#

Am I lucky not to know what Powershell is?

pliant forge
#

I had that happen a couple times already

hushed basalt
#

Can someone please diy something that will auto feed my daughter in the middle of the night

#

Cluster feeding is awesome not

clear ferry
#

@hushed basalt ask Simone Gierts

hushed basalt
#

Hmm this could work

clear ferry
hushed basalt
#

Just need a pid heater for the milk

#

A Peltier to keep it cool until then

#

An artificial nipple

#

And a robot arm with guidance

clever mortar
#

🤣 🤖

hushed basalt
#

And a burping cot

pliant forge
#

Anybody else having problems with the MyQ devices? I’m trying to figure out if the platform is having problems or my network.

clear ferry
hushed basalt
#

Let's experiment on the devs first

#

They're expendable

clear ferry
#

@clever mortar is always glad to assist @hushed basalt he'll probably voulunteer,

#

or should I say... Person1

hushed basalt
#

We'll use a double blind test

clear ferry
#

well I'm off to drive home in the queue, only 1h45 minutes home atm, probably will only get worse while I drive 😛

hushed basalt
#

One subject gets milk the other gets liquid chalk

#

Oh fun

#

My commute is 15 minutes

clear ferry
#

Mine is usually 40m, but I only go into the office once or twice a month

hushed basalt
#

Damn you

clever mortar
#

My door to desk commute is about 45 minutes

#

That includes a detour for coffee before getting to the office 😉

hushed basalt
#

Tinkerer works at home,

#

Just gets lost

clever mortar
#

🤣

clear ferry
#

@clever mortar ohlala, Coffee Mocha with extra cinnamon and nonskimmed organic milk 😄

clever mortar
#

I could have sworn you started that with "coffee"

#

But then it ended up with some weird thing

#

Caffeine, black, hot, nothing else added

clear ferry
#

you have to stop for that ? don't your office provide ? 😄

proven spruce
#

or i dunno, make your own coffee

clever mortar
#

Yeah, they provide something one step up from vending machine

hushed basalt
#

Almost

clever mortar
#

I prefer actual coffee, and supporting my local independent 😉

hushed basalt
#

I see some slight UX problems

#

I use an aldi pod machine at work/home

clear ferry
#

@hushed basalt it'll work itself out in evolution when the grandchildren will have a metal forhead

hushed basalt
#

Not as good as good coffee but much much much better thsn instant and it's free

#

Europeans can't make coffee for shit though. Especially the French

#

Italy is okay but then you're in Italy, so that outweighs it

wary jolt
#

My dad had a coffee plantation where I grew up, back in Guatemala.

#

Coffee was good back there, my mum would rost it and grind it at home.

#

My luggage always comes back full of coffee when I go visit... Lol

clear ferry
#

@wary jolt "coffee" 🤣

hushed basalt
#

You can't bring anything biological into Australia

proven spruce
#

how do you enter the country then?

unreal orbit
#

Just kill the coffee first 👍

hushed basalt
#

I am a robot

#

We upload our consciousness into androids on departure

clear ferry
#

@hushed basalt "so mate, you've brought 18kilos of peanuts in your bag today, why haven't you declared it hmm?"

hushed basalt
#

"are you telling me 30kg of chinese wildflowers counts as biological materials"

clear ferry
#

I love the Australian border control program, really shows you how stupid travellers are

wary jolt
#

Roasted coffee is not alive... Lol

proven spruce
#

its biological

clear ferry
#

@proven spruce do strawberries have a soul?

wary jolt
#

I just put in my check in luggage. Never had an issue.

#

But well... I am Latino, we usually just try and see if you can get away with it... Lol

slim ore
#

Mental note: say hey google, synC devices..... else it does something weird 😂😂😂

hushed basalt
#

Foreign biomatter is a huge risk to Australia

#

Whole industries could die off if certain foreign diseases or pests made it onshore

unreal orbit
#

Plus if an emu gets smuggled in there would be hell to pay

thorn viper
#

So i have a Samsung s8 that I'm quite unhappy with. It breaks easily when i drop it (i know I'm not supposed to) and there are a lot of Samsung crap apps on it

#

The sides of the screen are curved and it's difficult to use with only one hand

#

Before this phone i had a nexus 5x. It had vanilla android. Best mobile i ever had.

clever mortar
#

Nexus 5 -> Pixel -> Pixel 2

thorn viper
#

What is a good geek phone nowadays?

clever mortar
#

Pixel 3 comes next week, after the 2 died

#

Buy Pixel

#

😛

vast dove
#

iPhone

clever mortar
#

Oooooh

#

Fight, fight, fight!

thorn viper
#

Mm, had two nexus 5

wet pilot
#

did Nexus 5 -> Nexus 6p -> pixel 2XL

thorn viper
#

Really liked t those

wet pilot
#

wife did Nexus 5X -> Pixel 1 -> Pixel 3

unreal orbit
#

after the 2 died buy a pixel

#

hmm

clever mortar
#

Pixels have been great. The Pixel 1 was my fault, don't drop phones. The Pixel 2 had a hardware fault with the mic

#

That may have been caused by it bouncing down the stairs earlier in the week 🤷

vast dove
#

Want something that just works all the time = Buy an iPhone.
Want a challenge = buy android

unreal orbit
#

The original was a good phone, the pixel 2 was a bit awful

wet pilot
#

@vast dove even that doesn't always hold true

unreal orbit
#

Want locked down hardware that is designed to stop working in a year = buy an iphone

clever mortar
#

My work iPhone I hate

wet pilot
#

how did the last iOS update go for you?

dull chasm
#

@vast dove nope not going there with apples overprice outdated hardware

vast dove
#

Last iOS update was fine here, havent had any issues

clever mortar
#

The last one I got after my 5x, and it was a doorstop and had to be replaced before my 5x died

#

Battery life in particular got worse over time, where on the 5x it actually got better with the newer versions of Android

dull chasm
#

yep i hate my iphone for work too

clever mortar
#

I do know folks that love their iPhones though... it's horses for courses

#

of course, at least nobody is suggesting crackberry or Windoze phones 😛

thorn viper
#

@vast dove had lots of trouble with iphones

clever mortar
#

OnePlus gets good reviews, and a friend with one loves theirs

dull chasm
#

i loved our old blackberrys ....they where small but easy to use

thorn viper
#

My android experience has been the same as your iphone ditto

vast dove
#

i only keep them for 1 year, havent had any problems

#

i use my 8 Plus for my drone only 😛

clever mortar
#

😮

dull chasm
#

apple love you ^^^^

clever mortar
#

One year?

#

Sheesh

wet pilot
#

lol

dull chasm
#

perfect customer huh

thorn viper
#

I usually have mine for 3-4 years

#

Considering retiring this one early though

clever mortar
#

I keep mine until they're either dead, or effectively dead

#

(too slow to use)

dull chasm
#

^^^^^^ yep

thorn viper
#

Mm. That's usually 3-4 years for me

vast dove
#

iphone's have a decent resell value after a year

clever mortar
#

Pixel 2 is the shortest, at 9 months...

wet pilot
#

i'm still rocking my 2xl

#

just cracked the rear glass on the top corner though 😦

vast dove
#

i actually didnt get a new phone last year. !! First in many years. Will probably get a new one this fall whenever they launch 2019 models

thorn viper
#

For some reason you can't buy pixels directly from Google here

clever mortar
#

Weird

hushed basalt
#

I have a question

#

Why isn't the front end of HA all in the one true font

clever mortar
#

We have many answers, some of them even make sense

hushed basalt
#

comic sans

vast dove
hushed basalt
#

Wingdings would also be an acceptable alternative

vast dove
#

I want to cry when people submit applications and CV's with Comic Sans MS 😿

clever mortar
#

It makes it easy to weed those out though

#

Like the ones that send their emails with green text

vast dove
#

Never read those, just move directly to spam 😂

orchid rose
#

says the guy with green name!

hushed basalt
vast dove
#

Filter: if colored text, move to spam.

hushed basalt
#

I love when people have awesome emails on their CVs

clear ferry
#

Thankfully I don't even write my own CV

#

🤣

#

We have a guy who updates our CV as needed, whenever we need it for a customer engagement

hushed basalt
#

I'm trying to change careers

#

Im not in tech atm

clear ferry
#

@hushed basalt just smuggling Chinese flowers into A LAND DOWN UNDER?

#

@thorn viper also Huawei P20pro or Mate 20

thorn viper
#

@clear ferry is in OK to buy Huawei stuff nowadays?

clear ferry
#

@thorn viper imo yes

dull chasm
#

@clear ferry tread lightly

midnight adder
rain swift
#

for the life of me, I cannot figure out how to get the stupid security level of my openbsd to like -1 or something so I can remove the immutable flag I set on resolv.conf, its driving me batty.

clever mortar
#

Pretty sure you have to set it on startup, you can't reduce it later

rain swift
#

yeah I found something that said to create a file rc.securelevel, put the one I wanted inside, did nothing, when I boot single user the chflags command doesn't exist it seems like

#

the tutorial I followed originally is gone

clever mortar
#

I haven't messed with OpenBSD's secure level for, well, it's been a long long time

rain swift
#

maybe

#

what does IFTTT mean?

clever mortar
#

If This Then That

rain swift
#

I don't think that was his joke

#

😛

clever mortar
#

I don't think there was a joke... 😉

light trout
#

maybe that is the joke 🤷

rain swift
#

maybe

#

doubt

#

hahahahahaha

#

sounds like a party

unreal orbit
#

👋

zenith portal
#

Dunno now techie others are. This is my work laptop. We use each one of those things apart from homeassistant but that should be deployed onto kubernetes next week for our the things network (LoRaWAN, very interesting for sensors) sensors in the Berlin office racks. Anyone else?

#

Claim to fame, @shy notch put that sticker on there :)

radiant swift
hushed basalt
#

@zenith portal plot twist
They're not actually stickers. Just the logos are burnt into your retinas from using the technology too much

zenith portal
#

Quite sure @shy notch put the home assistant sticker there :)

lyric pollen
#

Stickers on a laptop. <sigh> That's like stickers on a car.

odd mason
#

@eager trench u around?

eager trench
#

yep

#

caddy questions @odd mason

odd mason
#

lol yes

#

i'm getting a 521 error and i can't figure out why

eager trench
odd mason
#
mydomainname.cloud {
  proxy / 192.168.1.152:8123 {
    transparent
    websocket
  }
  tls my@email.com {
    dns cloudflare
  }
  log stdout
  errors stderr
}
#

no i'm running HA in a venv

eager trench
#

ok.. so you're using dns validation

odd mason
#
Feb 15 21:59:22 caddy systemd[1]: Started Caddy HTTP/2 web server.
Feb 15 21:59:22 caddy caddy[2002]: Activating privacy features... done.
Feb 15 21:59:22 caddy caddy[2002]: https://mydomain.cloud
Feb 15 21:59:22 caddy caddy[2002]: 2019/02/15 21:59:22 https://mydomain.cloud
Feb 15 21:59:22 caddy caddy[2002]: http://mydomain.cloud
Feb 15 21:59:22 caddy caddy[2002]: 2019/02/15 21:59:22 http://mydomain.cloud
Feb 15 21:59:22 caddy caddy[2002]: 2019/02/15 21:59:22 [INFO][FileStorage:/etc/ssl/caddy] Started certificate maintenance routine
#

yea

#

it looks like it gets certs without any issues

#

when i first started caddy i saw that it passed the DNS challenge

eager trench
#

yes it does

#

ok

odd mason
#

it looks like it can't even connect to my caddy server

eager trench
#

shouldn't need to specify any port

odd mason
#

yea i tried that too

#

so when i navigate to my public ip address i see that it connects to my caddy server

eager trench
#

tried from outside your LAN? like on 4G?

odd mason
#

so maybe i have something not setup correctly with cloudflare and my domain

eager trench
#

perhaps

#

I used localhost in my caddyfile, not the IP address

odd mason
#

but it still doesn't connect to my HA instance

#

here's what i get when i browse to my public ip address

#
Feb 15 22:08:45 caddy caddy[2002]: 2019/02/15 22:08:45 [INFO] xx.xx.xx.xxx - No such site at :80 (Remote: 192.168.1.1, Referer: )
Feb 15 22:08:45 caddy caddy[2002]: 2019/02/15 22:08:45 [INFO] xx.xx.xx.xxx - No such site at :80 (Remote: 192.168.1.1, Referer: http://xx.xx.xx.xxx/)
eager trench
#

assuming that caddy is on same machine as home assistant

odd mason
#

it's not...two different containers

#

if i can get it to work with my public ip address then i can figure out the DNS stuff with cloudflare

eager trench
#

um..... why is it trying to connect on port 80?

odd mason
#

i just browsed to my ip address via chrome

eager trench
odd mason
#

yea that works

eager trench
#

if you browse to local address use 8123

odd mason
#

yup, that works without problems

#

here's my HA config

#
 http:
   base_url: mydomain.cloud:8123
   use_x_forwarded_for: True
eager trench
#

if you browse to https://domain it must be port 443 (unless you PF some external port to 443 in your router)

#

don't include the port in your baseurl

odd mason
#

yea i tried that too. let me change it all back

eager trench
#
http:
  # Uncomment this to add a password (recommended!)
  # api_password: !secret http_password
  # ssl_certificate: /ssl/fullchain.pem
  # ssl_key: /ssl/privkey.pem
  use_x_forwarded_for: true
  trusted_proxies:
    - 127.0.0.1
    - ::1
  # trusted_networks:
  #   - !secret trusted_network
  ip_ban_enabled: True
  login_attempts_threshold: 5
  # Uncomment this if you are using SSL/TLS, running in Docker container, etc.
  base_url: !secret base_http_url
odd mason
#

changed HA back to:

#
 http:
   base_url: mydomain.cloud
   use_x_forwarded_for: True
eager trench
#
domain.duckdns.org {
    header / {
    Strict-Transport-Security "max-age=31536000; includeSubdomains"
    X-XSS-Protection "1; mode=block"
    X-Content-Type-Options "nosniff"
    X-Frame-Options "SAMEORIGIN"
    Referrer-Policy "same-origin"
    -Server
}
    proxy / localhost:8123 {
        websocket
        transparent
        header_upstream Authorization {>Authorization}
    }
}
odd mason
#

the ports i have forwarded are 80 -> 80 and 443 -> 443 for both the caddy server's ip address and the HA server's ip address

eager trench
#

that's part of my caddyfile

odd mason
#

do you need all the header stuff

eager trench
#

optional

#

portforwards look ok

odd mason
#

so when i go to https://my.public.ip.address

eager trench
#

probably don't need 80 if you are doing dns validation

odd mason
#

i get a connection refused

eager trench
#

you haven't banned yourself?

odd mason
#

nah i don't have ip ban set up

#

so it looks like i can't connect to my caddy server over https

eager trench
#

hang on.... you're going to your external ip address?

odd mason
#

when i connect over http it goes to port 80

#

yea i'm trying to remove the dns out of the picture

#

since that is more cloudflare related

#

if i can get the public ip working then i can work on the cloudflare part

#

if i go to https://mydomain.cloud i get a 521 error

eager trench
#

well that won't work with https... try http://public-ip but you need to pf 8123 to 8123 for that I think

#

if you use https it expects ssl and your certificate is for the domain not the ip address

odd mason
#

ah ok

#

so lost

#

caddy was supposed to be simpler than nginx

#

lol

eager trench
#

well see I'm using hassio and the korylprince addon and it IS simple... I can actually understand what it does

#

lol

odd mason
#

yea i've avoided hassio

#

had too many docker issues so been running in a venv for the past year

eager trench
#

gotcha... I haven't missed a beat with docker.. love it

#

run a bunch of other stuff in docker as well

#

there's a good caddy forum too BTW

odd mason
#

yea i might end up asking on that

#

thanks for the feedback

eager trench
#

no worries

fair monolith
#

im going to go insane from nginx

unreal orbit
#

Do you have a specific problem? I bet it's easier than all this caddy nonsense ;)

eager trench
#

@fair monolith on the offchance you want help with Caddy ask away

fair monolith
#

@eager trench I just got it to work with listen [::]:80; instead of listen 80; :/

eager trench
#

nginx?

fair monolith
#

yep, I just need to figure out how to do port redirection for a reverse proxy and then im in business

eager trench
#

good deal...

fair monolith
#

moved away from traefik to use the official hassio nginx add-on

eager trench
#

well as long as it works and is secure who cares right.. I just could not understand anything I read about nginx - it was all just gibberish to me...

fair monolith
#

heh, you would hate to have seen my docker swarm configs before I gave up on docker swarm due to a now old networking bug that causes containers to not deploy

eager trench
#

i've never used swarms... just 1 stack... i'm pretty simple lol

#

but docker just makes everything so much easier

fair monolith
#

indeed

eager trench
#

hindsight is awesome

#

but you don't learn as much sometimes

fair monolith
#

yah, I learned nothing. I just got screwed by syntax

dull belfry
#

@fair monolith what specifications does my gear need?

fair monolith
#

@clear ferry mesh is only when one AP is wired and the other is 100% wireless

dull belfry
#

With crossover cable?

#

Is that what you mean

fair monolith
#

when they are all wired its just general enterprise roaming

clear ferry
#

@fair monolith yeah, but if you only specify roaming that can be accomplished with APs that don't share any accounting services or authentication tables

#

so basically it will be a new auth when you move between

dull belfry
#

I am unable to connect two ap's together... Only option would be with powerline adapter.

fair monolith
#

you can mesh

dull belfry
#

Mesh hmmm