#the-water-cooler
1 messages · Page 343 of 1
i've heard about the sonos thing
@clever mortar you have a bunch of media_player thingies, aye?
Sonos, Squeezebox, Google Home
Mostly Sonos, but it's trivial to say _Okay Google, play some ... _
in my world a squeezebox is an accordion :p
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 🤷
if you're in the US, the bestbuy version of the google home thing is super cheap and decent
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
people have done some crazy things with mopidy (cough @last plaza cough)
Google Home is the easiest, if you've got it hooked up to a good music source
Sonos ❤ all the way here
I love my Sonos speakers, and am really looking forward to Google Assistant integration
Hopefully they figure out Google Assistant on Sonos before the end of the world
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
and there are some solutions to do ducking for broadcasts
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?
Grettings, I am having trouble communicating with my Nest. I followed the page to get it working and then saw: https://www.home-assistant.io/blog/2019/01/24/nest-cannot-access-data/ Looking at the update though it should still be able to setup. TL;DR: Is Nest access broken right now?
@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 😉
Oops sorry
so i'm building out a new instance of HA
should I give the homeassistant user sudo privs?
🔥
so how do you guys handle installing new packages
With another account
login as root?
in the venv
Hell no
i mean apt packages @wet pilot
The only time you log in directly as root is when you've set up SSH keys and an SSH CA
as your normal user
Otherwise, log in as normal user, then sudo
i'd argue that you should never login as root
so what's a normal user?
There are times, for automation, that going directly as root makes sense
i started with a completely new debian instance
root should only be enabled for console for recovery purposes
My backups for instance use that approach, but keys only
@odd mason Create a user, chags, and give that sudo access
@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
@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 🤷
so what permissions should i give my normal user
# rm -rf / Computer: "OK"
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 😉
thats super bad 😄
because i didn't want to deal with permissions...but turns out...lots of stuff didn't work
because of that
You can take two approaches...
- Full
sudoaccess - None, and add them one at a time
so to learn more i should just google stuff about visudo right?
cool thanks just what i was looking for
~lmgtfy how to build sudoers
Here, try this => http://lmgtfy.com/?q=how+to+build+sudoers
That's where I found it 😉
LOL
ur assuming i knew the word sudoers
ok so i enabled ssh access for the homeassistant user
that is bad?
Yes
(well, maybe not, but ...)
IMO you only access it via sudo, from another account
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
Basically, this is the heart and soul of your automation platform. You don't want to make it horribly insecure
Hassbian is best! case closed 😄
Yup
hashell to change to HA user 😛
isn't that the same as home assistant in a venv?
for the most part, yes
@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
@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
@odd mason Install HA like this on your fresh install: https://gitlab.com/ludeeus/HA-AIO-Installer
No Dacs. I use it for TTS only, and I am satisfied with the quality @thorn viper
@last plaza ah, i see
@vast dove i already have HA installed like that
just trying to figure out how to do other permission stuff
do you guys use any RF switches?
I do 😃
@odd mason Pretty much
cool thanks
for what, @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
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... 😃
lol
Z-Wave is expensive, because it's a full standard
zwave = robbery
so what should one use instead?
RF buttons work great in my experience
any hardware recommendations?
the xiaomi button works well
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
hm
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?
awesome
For the Europeans here:
http://saveyourinternet.eu/
UK here, we're about to crash out anyway 😛
I hope some of you wrote your MEPs
I can write a meh if thtat helps 😛
DO IT!
meh
This video and the MotivaShian channel were created by LaBeouf, Rönkkö & Turner: http://labeoufronkkoturner.com From #INTRODUCTIONS (2015) by LaBeouf, Rönkkö...
☝ there you go 😛
Where you from? Sweden or Norway?
Norway
Out too - daang - Write the bastards anyway 🤣
NOK 286.46 | Myriann Magnetic Base&Anti-Slip Rubber Pads Portable External Battery Base 5200mAh Rechargeable Power Bank for Google Home Mini
https://s.click.aliexpress.com/e/c4eUJrVA
Smarter Shopping, Better Living! Aliexpress.com
I missed battery on the mini
Wonder how long this will hold
My guess would be a day or two max
@unreal orbit says 10h in the description,meh
Depends on how much you use it
lol, that thingy costs more then the google home itself
@vast dove good point 😹
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?
I'm not sure
I know Xiaomi switches are really cheap
Do you mean like a physical switch for people to press?
#diy-archived might be better
But most people are asleep
Nah, like the magnetic contact switches. Windows, doors, fridges, etc
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
That’s a good price. Got a link?
On mobile,
But just aliexpress xiaomi door sensor
Or amazon if you want it quicker
Cool, thanks
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
@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
According to the specs the reed switch lasts 6 to 12 months, but who knows
@hushed basalt I will tell you when I replace the batteries 😂
I have enough trouble replacing the battery in my cats tracking collar haha
Let alone a dozen sensors :D
@hushed basalt 😾 😾 😾 😾 😾
Meoww
@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
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 :/
@hushed basalt I can do most of my work with a rdp,serial and browser, so any ultrabook would do for most days
I'm aiming for more developer, desk based with monitors but the occasional explore
Conferences, meetups, etc
I do enjoy the zbook for that, triple head docking and great power
Nice, -17c yesterday, +7c today
Ha
It's been average +30-46 degree maximums here the past month
Cold is a long forgotten mistress
@hushed basalt DO YOU COME FROM A LAND DOWN UNDER, WHERE WOMEN GLOW AND MEN PLUNDER
I said do you speaka my language
And he just smiled, and gave me a sandwich covered in black yeast extract
One of the best music videos of all time🤣
@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.
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
urgh… is that flight time, or including timezones…?
<— hasn't flown over 2 hours… and that was horrible enough.
@peak breach just flight and layover
sounds horrible.
@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
?rank other
That role no longer exists.
I flew to Paris last year
11 hours from HK i think
6 hours to HK
A350 is a nice plane though
@hushed basalt i need to book a flight with a 380 though
They're oldee
The a350 ans 787 have the higher cabin pressure
Probably the biggest feature
Exactly one year of tinkering with Home Assistant - https://imgur.com/a/xMo7pvd I like it
@peak breach https://www.reddit.com/r/homeautomation/comments/aptntf/exactly_one_year_of_tinkering_with_home_assistant/
whoooops… found me a new rabbit hole…
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
You mean UPS?
I've been using cyberpower ups, but I have not been impressed. I'm still looking for an alternative myself
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
"cyberpower ups" sounds like something from a 90's vertical scroller…
@peak breach https://en.wikipedia.org/wiki/Perturbator relevant, good work music
lol so if I an avoid a corrupt sd then that's better
ok i'll stay away from cyberpower, looking on bestbuy atm
@brisk furnace there is a UPS header for the PI
@clear ferry a UPS header? Specifically for Pi?
I know is saw one with a bigger battery also
don't care so much about the uptime cause if power is out I can use things manually
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 +)
awesome ty
i'll look into these
weird I can boot into the pi via ssh
but I can't view the web
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 hassbian og hassio ?
don't know hassio, you can ask around in #330990055533576204 I guess
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
Anyone tried the Xiaomi Mijia smart switches?
@clear ferry didn't you have some xiaomi buttons?
I beleve they are the first generation- and the second generation are Aqara. I use Aqara and they work well. Haven't tried Miija
Ah!
Do you know what the differences are between the two generations?
@proven spruce does yours (the Mijia?) support double clicking and 'long click'?
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
Cool... perhaps i should try ordering a few
@proven spruce do you control it with a conbee stick?
no, i use the xiaomi gateway
No long press in the aqara with ha, it sees the long press,but the second you release it it becomes a single press
i use a couple mijia buttons with zha. work great
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
Sounds like a #330990055533576204 worthy PSA 😉
but if you ever change your 2FA take another snapshot lol
yes sorry it's a hassio PSA 😛
does anyone have home assistant set up with a custom domain (not through duckdns)?
@odd mason I had it setup before using my Asus router's ddns feature
if you can remember your IP address, problem solved!
and if your ip address changes you're screwed lol
and like 5 others
why not use a free one?
probably got a little excited
@last plaza just wanna set stuff up right on my new server
buy your own domain name - they are cheap!
part of all this is learning
my voice assistant is jarvis but all the good jarvis ones were taken
or expensive af
hmm...
sivraj? lol reverse of jarvis
are you done setting up your new server? @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
I think the number of things that don't work is dropping to almost irrelevant now
I still couldn't get it to make with the --enable-optimizations flag
anyone using Caddy for reverse proxy?
@odd mason I think @eager trench is using Caddy.
caddy is way simple to setup and use @odd mason
@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
There is a guide for nginx though, I'm not sure how people have that much trouble with it
"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
A large portion of people don't read docs thoroughly (or even half-assedly)
the docs are incomprehensible sometimes like say for nginx
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
@eager trench continued from #frontend-archived yes
All custom platforms needs to move
so this is in the root of custom_components so where does it move to?
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
Correct, but most of what it tracks are going to give you issues
right... but if I rename/move will they work? they don't seem to have hardwired paths in them
They should.
But they will be untrackable untill 1 day after 88 are publicly aviable (that's when I will paush an update)
ok.. so you need to change the component as well
https://github.com/ludeeus/custom-component-store Can handle both structures, and give you an easy "migrate" if the developer has done the change in the public repo
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 🤷
yeah of course. understood
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
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
The dev needs to change the structure in the repo it's hosted and (potentially) any "installation" instructions.
right
This is an example on how the "store" can change it locally for you when the dev has don his/her part https://componentstoredemo.halfdecent.io/component/switch.hadockermon
A "nice" big warning, and an easy "migrate" button 😃
nice. I do use that component actually
does some one feel like helping me out with a custom rsyslog facility ?
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
i'm on a ubuntu system that has rsyslog per default
yeahhh...i'd rather not ?
tho your comment is more than valid ofc
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 😉
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
$ ls -lha | grep zm
drwxrwxrwx 2 www-data root 4.0K Feb 14 06:25 zm
On my box, it runs as syslog
So, chown syslog /var/log/zm if www-data doesn't need to write there
/var/log/zm was created auto after i made the custom file & restarted rsyslog.
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
adm is a group syslog is in on my host, so you could do chgrp adm /var/log/zm too 😉
(instead of chgrp syslog
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
I doubt it, if that's /var/log/zm/
correct
but www-data isn't owner
$ 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
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
🤷
Because root is opening the files in /var/log/apache2 for writing
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 ??
Also, apache isn't using syslog 😉
Would appear to be, on your system, which is "odd"
ps axu|grep rsyslog
g$ ps axu|grep rsyslog
syslog 113477 0.0 0.1 263036 4068 ? Ssl 12:48 0:00 /usr/sbin/rsyslogd -n
what dud you conclude from ps axu|grep rsyslog ?
that the daemon is running as user syslog ?
$ sudo groups syslog
syslog : syslog adm
Yup, and the files in /var/log are owned by syslog
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.
👍
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
Bridge the MQTT servers?
Let me google that for me?
Will get hassOS a run for this
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.
Zigbee or BTLE beacons?
Or go simple and just put a reminder in your phone 😉
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 😛
Very true 😝
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
You could try those weight sensors, but you'd need power available where your trash cans are
Theme weightsensors - just orderd the HX711 and will make a scale out of my bed ^^
Though this is a more DIY solution. Not sure how much you want to get into it
@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
So does nginx after running certbot once
Does it renew too?
Yes
Nice
Caddy configs seem very simple
I'm running nginx right now but moving to caddy on the new machine
@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
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
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
what preassuer sensor strips?
I'm thinking of setting some sort of bed sensor for some automations
Would give me issues on hangover-sundays 😛
Hello everybody 👋🏼
Some avatar... done
@amber bramble bluetoothbeacon stuch to the bin ?
@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,
it doesn't need to be accurate at all
But if you put a sonar sensor where your bins live
But how do they know if the tag is near or far away
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.
@mighty summit I think that setup would work the best. Do you have any recommendations for hardware?
diy yes, off the shelf nope
Does RPI3 have BLE?
I believe so but I've heard its not very stable
Maybe a esp32
This is a few notes on BLE-based presence detection. The obvious use case seemed to be to have your phone as the presence token. I started off looking into Eddystone and iBeacon devices but they seem to be too application oriented and I couldn’t get my phone working with t...
~lmgtfy esp32 ble beacon
Here, try this => http://lmgtfy.com/?q=esp32+ble+beacon
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
that is what the thread i posted does.
lemme TL/DR that for you :
https://github.com/1technophile/OpenMQTTGateway
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.
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?
i have no idea
i would consider it a binary thing. reception or none
for the price of ESP's...get 4 and triangulate.
I guess that's the advantage of the sonar sensor
Hard yes or no
Unless a squirrel sits on it
what if a car parks out front ?
IIRC most of the BLE stuff can tell signal strength
You just position the sonarr sensors to only point at the area the bins occupy
They can be quite narrow
perhaps Tensorflow ?
https://www.home-assistant.io/components/image_processing.tensorflow/
I don't know if you can put an esp in a shaped enclosure to make the antenna directional
allows you to detect and recognize objects in a camera image
My garage door sensor is sonar
i mean a bin is pretty unique regarding shape & color
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
any object in front of a sonar sensor will be considered as the bin. very not accurate in my little booklet.
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
where nothing else ever comes ?
So something parked a meter away won't count
Well no since the bins are there 13 days a fortnight
i know that sonar wouldn't work in my location. 🤷
Your trash pickup is only bi-weekly? that sucks
I take that as an insult, but I'm okay with it
damm, i was gettin the 🍿 ready
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
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
:o
@unreal orbit packaging material from new devices?:)
I have three bins too
99% of it, sjk 😉
I lose. I only have two bins.
So that's 2100 litres a fortnight vs my 720 litres
The other 1% is beer cans
Technically, but we don't use the green waste bin, so really it's only 1400
wow, no food waste!
I just eat all my food 😃
hum, now the downside to these beacons is none of them look waterproof
Inside the bin lid?
Dip everything in paraffin wax 👍
Duck tape 😉
It has a dark side, and a light side, and is the force that holds the universe together
after 5 hours of stupid back and forward configuration - and 2 fails with hassOS - A seccond HA is running - Now bridging the brokers!
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.
does anyone use pihole? do you know if unbound is part of it yet?
@wary jolt our mind have great background workers
@amber bramble https://community.home-assistant.io/t/monitor-reliable-multi-user-distributed-bt-occupancy-presence-detection/68505
monitor TL;DR: Bluetooth-based passive presence detection of beacons, cell phones, and any other bluetooth device. The system is useful for mqtt-based home automation. Script here. Comparing presence.sh and monitor.sh Thank you to everyone for helping test and provide input...
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 $$$
Maybe try Linux discord @rain swift
Ahhh
I wasted hours of troubleshooting because I had a configuration set with 1 instead of l
@hushed basalt, I've been there myself... The worst are I and l... You can't tell which is which.
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
Who uses uppercase i as the variable name?
Oh, I get it. It still sucks... Lol
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
I hope they step on a lego every morning... Lol
:D
Middle click for paste is not hard to remember
20 years of muscle memory is hard to overwrite
Plus it means you have to use the mouse
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.
@last plaza, thanks for the link!
The insert and delete keys are to far up there in the corner...
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
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
@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.
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
Hi all. Anyone created 3D floorplans? If so, any recommendations on software to use?
You could do a scaled model like Doc in Back to the future I
Try not to set it on fire though
The one on sharethelove.io is made with http://www.sweethome3d.com
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 😄
Powershell... usable... 🤔
@clever mortar Well, more usable
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
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
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
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.
#diy-archived @rigid plume (and please read the channel topics)
windows 10 updates.... triggered
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
This is a lot more fun than my day job, how can i do this full time? 😃
@amber bramble really ? I thought you could GPO that
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
@amber bramble Just push out a new hosts-file with the WU servers pointing to ::1 😄
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
@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"
What is powershell on linux used for?
@hushed basalt run powershell commands of course 😄
that makes no sense
How sadistic
@hushed basalt Indeed, but I do enjoy the flogging
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
😂
Using . as a separator. Europeans are weird
?
@clear ferry Do you have your HA config on github?
What is evolution
If you don't know, you may not be a part of it 🤷♀️
Isn't that like the KDE mail client?
@vast dove aye just made a new repo to mark my move away from the rPI https://github.com/atxbyea/Home-AssistantConfig-New
@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 😄
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?
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
Ok thanks, that probably explains why my ha can’t find the air purifier.
@unreal orbit the roborock is the bomb.
By far the best vacuum I've seen on the market
Vacuums better than the cordless dyson we have.
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)
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
@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
I think I ended up drawing a tiny 'do not clean' area around it
Just finished recreating my TV Remote in HA 😄 ... Was a bit of work but got it fixed 😂
Is roborock the xiaomi
Yes
Yes the Xiaomi v2 I think
The S5 (or S50 depending on where you look) is what you want
Ah god. I wish there was a filter on youtube tutorial videos to filter out poor audio quality
@hushed basalt Does good audio quality exist on youtube ?
Nothing wants me to keep watching more than a crappy mic overloaded with english as a second language
If my house needed 2 I definitely would have bought one in the sale
@hushed basalt eating the microphone while commenting on a terrible chickflick
English is second language to half my family but I wouldn't want to listen to them teach in english
add in +20 gain to make it even better
It's like telephone operators. It's not racist but your job is literally to communicate verbally
I mean if you're from a country with a billion people why make videos for countries with only a few hundred million
I actually just yesterday checked the wikipedia page for population in countries
and laughed when I saw the jump from second to third place
Youtube can be hard to find the right quality content sometimes for sure
Like I'm trying to learn about API gateways
I think I read that india is gaining on china, probably because of chinas habit of only keeping boys
But a lot of the videos are "What are API gateways anyways 🤷 "
this "other" county is huge tho
@proven spruce Yes, let's move there
i think i'm already in it 😄
@proven spruce Hello from the other side
not really the countries that spring to mind when you think about moving somewhere else
@proven spruce They have enough, no need for that immigration nonsense! 😄
Only found a map like this for the US, but quite interesting to see the lack of interest for the midwest https://cis.org/Report/County-Map-Growth-Adult-Immigrant-Population-1990-2014
Or lack of interest for most of it 😛
@wary jolt same here 😄
Everyone is like: so, you bought a Roomba... And I just say, neh... Something better...
Exactly^
Am I lucky not to know what Powershell is?
I had that happen a couple times already
Can someone please diy something that will auto feed my daughter in the middle of the night
Cluster feeding is awesome not
@hushed basalt ask Simone Gierts
Hmm this could work
@hushed basalt https://goo.gl/images/q4MMc3
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
🤣 🤖
And a burping cot
Anybody else having problems with the MyQ devices? I’m trying to figure out if the platform is having problems or my network.
like this @hushed basalt https://goo.gl/images/dbtQHy ?
@clever mortar is always glad to assist @hushed basalt he'll probably voulunteer,
or should I say... Person1
We'll use a double blind test
well I'm off to drive home in the queue, only 1h45 minutes home atm, probably will only get worse while I drive 😛
One subject gets milk the other gets liquid chalk
Oh fun
My commute is 15 minutes
Mine is usually 40m, but I only go into the office once or twice a month
Damn you
My door to desk commute is about 45 minutes
That includes a detour for coffee before getting to the office 😉
🤣
@clever mortar ohlala, Coffee Mocha with extra cinnamon and nonskimmed organic milk 😄
I could have sworn you started that with "coffee"
But then it ended up with some weird thing
Caffeine, black, hot, nothing else added
you have to stop for that ? don't your office provide ? 😄
@hushed basalt like this then ? https://goo.gl/images/HZUZ1Z
or i dunno, make your own coffee
Yeah, they provide something one step up from vending machine
Almost
I prefer actual coffee, and supporting my local independent 😉
@hushed basalt it'll work itself out in evolution when the grandchildren will have a metal forhead
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
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
@wary jolt "coffee" 🤣
You can't bring anything biological into Australia
how do you enter the country then?
Just kill the coffee first 👍
@hushed basalt "so mate, you've brought 18kilos of peanuts in your bag today, why haven't you declared it hmm?"
"are you telling me 30kg of chinese wildflowers counts as biological materials"
I love the Australian border control program, really shows you how stupid travellers are
Roasted coffee is not alive... Lol
its biological
@proven spruce do strawberries have a soul?
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
Mental note: say hey google, synC devices..... else it does something weird 😂😂😂
Foreign biomatter is a huge risk to Australia
Whole industries could die off if certain foreign diseases or pests made it onshore
Plus if an emu gets smuggled in there would be hell to pay
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.
Nexus 5 -> Pixel -> Pixel 2
What is a good geek phone nowadays?
iPhone
Mm, had two nexus 5
did Nexus 5 -> Nexus 6p -> pixel 2XL
Really liked t those
wife did Nexus 5X -> Pixel 1 -> Pixel 3
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 🤷
Want something that just works all the time = Buy an iPhone.
Want a challenge = buy android
The original was a good phone, the pixel 2 was a bit awful
@vast dove even that doesn't always hold true
Want locked down hardware that is designed to stop working in a year = buy an iphone
My work iPhone I hate
how did the last iOS update go for you?
@vast dove nope not going there with apples overprice outdated hardware
Last iOS update was fine here, havent had any issues
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
yep i hate my iphone for work too
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 😛
@vast dove had lots of trouble with iphones
OnePlus gets good reviews, and a friend with one loves theirs
i loved our old blackberrys ....they where small but easy to use
My android experience has been the same as your iphone ditto
i only keep them for 1 year, havent had any problems
i use my 8 Plus for my drone only 😛
😮
apple love you ^^^^
lol
perfect customer huh
^^^^^^ yep
Mm. That's usually 3-4 years for me
iphone's have a decent resell value after a year
Pixel 2 is the shortest, at 9 months...
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
For some reason you can't buy pixels directly from Google here
Weird
We have many answers, some of them even make sense
comic sans
Wingdings would also be an acceptable alternative
I want to cry when people submit applications and CV's with Comic Sans MS 😿
It makes it easy to weed those out though
Like the ones that send their emails with green text
Never read those, just move directly to spam 😂
says the guy with green name!
Filter: if colored text, move to spam.
I love when people have awesome emails on their CVs
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 just smuggling Chinese flowers into A LAND DOWN UNDER?
@thorn viper also Huawei P20pro or Mate 20
@clear ferry is in OK to buy Huawei stuff nowadays?
@thorn viper imo yes
@clear ferry tread lightly
A couple, Liquia (Laverne Cox) and Jathryn (Sara Gilbert) purchase the Smart House of their dreams. However, their dream becomes a nightmare when the house t...
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.
Pretty sure you have to set it on startup, you can't reduce it later
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
http://daemonforums.org maybe?
I haven't messed with OpenBSD's secure level for, well, it's been a long long time
If This Then That
I don't think there was a joke... 😉
maybe that is the joke 🤷
👋
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 :)
This is it
@zenith portal plot twist
They're not actually stickers. Just the logos are burnt into your retinas from using the technology too much
Quite sure @shy notch put the home assistant sticker there :)
Stickers on a laptop. <sigh> That's like stickers on a car.
@eager trench u around?
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
ok.. so you're using dns validation
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
it looks like it can't even connect to my caddy server
yea i tried that too
so when i navigate to my public ip address i see that it connects to my caddy server
tried from outside your LAN? like on 4G?
so maybe i have something not setup correctly with cloudflare and my domain
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/)
assuming that caddy is on same machine as home assistant
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
um..... why is it trying to connect on port 80?
i just browsed to my ip address via chrome
oh ok.... well you should be able to browse to http://local-ip:8123
yea that works
if you browse to local address use 8123
yup, that works without problems
here's my HA config
http:
base_url: mydomain.cloud:8123
use_x_forwarded_for: True
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
yea i tried that too. let me change it all back
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
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}
}
}
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
that's part of my caddyfile
do you need all the header stuff
so when i go to https://my.public.ip.address
probably don't need 80 if you are doing dns validation
i get a connection refused
you haven't banned yourself?
nah i don't have ip ban set up
so it looks like i can't connect to my caddy server over https
hang on.... you're going to your external ip address?
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
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
well see I'm using hassio and the korylprince addon and it IS simple... I can actually understand what it does
lol
yea i've avoided hassio
had too many docker issues so been running in a venv for the past year
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
no worries
im going to go insane from nginx
Do you have a specific problem? I bet it's easier than all this caddy nonsense ;)
@fair monolith on the offchance you want help with Caddy ask away
@eager trench I just got it to work with listen [::]:80; instead of listen 80; :/
nginx?
yep, I just need to figure out how to do port redirection for a reverse proxy and then im in business
good deal...
moved away from traefik to use the official hassio nginx add-on
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...
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
i've never used swarms... just 1 stack... i'm pretty simple lol
but docker just makes everything so much easier
indeed
well, I should have just copied and pasted a portion of the config from https://github.com/home-assistant/hassio-addons/blob/master/nginx_proxy/nginx.conf lol
:heavy_plus_sign: Docker add-ons for Hass.io. Contribute to home-assistant/hassio-addons development by creating an account on GitHub.
yah, I learned nothing. I just got screwed by syntax
@fair monolith what specifications does my gear need?
@clear ferry mesh is only when one AP is wired and the other is 100% wireless
when they are all wired its just general enterprise roaming
@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
I am unable to connect two ap's together... Only option would be with powerline adapter.
you can mesh
Mesh hmmm