#the-water-cooler

1 messages · Page 336 of 1

vale shale
#

are you using the cloud key?

languid sphinx
#

I had a first gen at one point. I sold it off. I run the controller in a linux container when I need to change settings or do a firmware update, etc

vale shale
#

That is what I am going to do. Not going to buy the cloud key.

languid sphinx
#

I have a UAP-AC-LITE I have to sell. It's the same physical size as the nano. I replaced that particular one with a IW. I have two AC-PROs and one IW

#

The unifi controller is the only thing which gives my virtualization server heartburn. If I leave it on too long is eats ram or disk io between the java and the mongodb. So I start it, change settings, shut it off.

#

I monitor the network with LibreNMS / SNMP so I really don't have a need for the controller software anyway

#

And my router is an Edgerouter so isn't in the Unifi world anyway

vale shale
#

These access points would be the only ubiquiti things on my network.

languid sphinx
#

Yeah, they're nice little things. There are advantages to being "fully unifi" but it has limitations too. They are fine reliable access points. At least the ones I have

#

I have no direct experience with the nano though. They came out after I upgraded

#

I should also point out that I won the two UAP-PROs from UBNT in a contest heh. But they just replaced two UAP-LITES I already had

#

And I bought the IW outright

distant stream
#

Do you have issues with the APs and not reporting snmp data?

#

I lost all my snmp data from the APs about 4 months ago. Nothing changed except firmware. Kind of sucks.

#

It was only reporting one wlan info for about 3 weeks then just stopped all together.

languid sphinx
#

How are you polling the snmp? They moved from snmpv1 to snmpv2/3 a short bit ago

#

I'm not sure if snmpv1 polling would still work

#

Mine are all on v2 now

distant stream
#

Mmm it might still be v1

#

I'll have to look

#

Yup. Switched it to 2c

#

I'll have to check the controller and see what it says

#

Librenms was set to v1

languid sphinx
#

Yeah I think that v1 is supposed to still be supported. But they replaced tinysnmpd with snmpd at some point I believe which added support for v2 and v3 (if enabled / configured). I switched all of mine to v2 when v2 support was added

wet pilot
#

v2 >> v1 anyway

distant stream
#

Oh man I just went down a rabbit hole

#

"Ill just fix my snmp"

#

4 hours later I realized my librenms is so outdated and broken that a fresh git pull blew it all up

#

Updating SQL-Schema

#

fingers crossed

#

This is taking a loooong time

#

I didnt plan on blowing out a librenms install today but why the F not

#

Holy shit its an Xmas miracle

wet pilot
#

lol

distant stream
#

Mmmm still no data in the graph.

#

Touchdown. Graph needed some data to render

languid sphinx
#

It should auto-update. But I've had issues where it didn't update for some time

distant stream
#

Its been like 2 years

#

php5.6, old ass debian

#

all sorted now aside from my nginx_status page throwing a 301 error

#

not sure when that happened but w/e

wet pilot
#

301 is more of a notice, no?

distant stream
#

Aye

wet pilot
#

probably your http -> https redirect?

distant stream
#

but ive got multiple subdomains and its never been a problem

wet pilot
#

huh ¯_(ツ)_/¯

distant stream
#

yup

#

1 less thing ill watch in librenms lol

wet pilot
#

😛

distant stream
#

I honestly didnt even notice that librenms wasnt alerting in my Discord for like... 1.5 years?

#

April 13, 2018 last alert lol

#

ffs

languid sphinx
#

Mine only yells if a device goes down or the power goes out

distant stream
#

Mine just wasnt working at all

#

so I assumed everything was fine lol

languid sphinx
#

Which if I'm at home, I normally have already figured out

distant stream
#

I have reboot/offline/storage and a few memory alerts

languid sphinx
#

I mostly use it for the billing module. That way I can track how much data has gone up/down on the wan per month

#

I don't have a firm cap but this way I can monitor my usage

languid sphinx
#

I have an acurite 5-in-1 because it was cheap and works with weewx. The one I bought for my dad yesterday was an Ambient Weather Osprey

#

If money weren't an object, I'd probably have a Davis Vantage Vue with a meteostick

#

It may be more economical to use a neighbors. But in terms of having a gizmo which is very smarthome related, a weather station is good for that

cerulean totem
#

@languid sphinx so what brand do you have ?

languid sphinx
#

I have an acurite

cerulean totem
#

I don't really need anything like that but it does kind of future proof it ?

languid sphinx
#

Well, weather stations are generally a consumable. They sit outside and get beaten on. You figure ever a few years you'll probably have to replace it anyway

cerulean totem
#

problem is i don't know if i can get the wife to swing it

wet pilot
#

could probably hook your local weather station into openweathermap

#

and use that

languid sphinx
#

It's $100 for a basic one like mine you can connect to a pi and run weewx on and publish data everywhere. Probably close to $400 for the full davis package

cerulean totem
#

i was thinking of where to mount it . not the cost lol

#

is there a pretty one . lol

languid sphinx
#

For rain it should be 5-6 foot off the ground. For wind, it should be above your roofline. That's why the expensive systems come in multiple parts

cerulean totem
#

yeah, that's not gonna happen lol, maybe at a future house with no neighbors lol

languid sphinx
#

The acurite is just a grey brick that hangs off our deck. But I mounted it so it's not very visible other than the spinning anometer.

#

I took and old flagpole mount down and put up a pipe mount off the deck

#

my neighbor behind us actually has one too

#

I can "hear" it with my SDR

cerulean totem
#

suprised noaa doesn't have anything

languid sphinx
#

noaa doesn't endorse any particular brand.

cerulean totem
#

i know , i mean like a api

languid sphinx
#

And their automated weather stations are .... out of your pricerange heh

#

They do but you'd have to write a parser I think

cerulean totem
#

if its plan json i can use a rest sesnor 😃

wet pilot
#

it is

#

i've messed with their api before

cerulean totem
#

@wet pilot and ? thoughts , issues , likes , down votes ?

wet pilot
#

it works well enough. Can be tricky depending on what data you want and what data they have available

cerulean totem
#

cost ?

languid sphinx
#

I have a link off of my weewx page which links to the NOAA forecast. My HA install uses the darksky api for the forecast and sky conditions and pulls the rest of the PWS

wet pilot
#

NOAA? Tax monies

cerulean totem
#

lol

#

looks like im going with darksky

wet pilot
#

that's who i use (and ecobee, but darksky is better)

cerulean totem
#

does tautulli update everyday ?

#

seems like im always clicking the update button lol

wet pilot
#

yeah, its pretty obnoxious

#

especially since the docker container i use lags behind a bit and the android app won't shut up

cerulean totem
#

if you use linuxserverio i run the update on the page and don't worry about the docker

#

probablly shouldn't do this but hey

#

does darksky do weather warnings like weatherunderground used to

languid sphinx
#

Yes but I don’t know if HA shows them.

#

The phone app will pop up warnings, etc.

calm pagoda
#

Has anyone used the new gen 3 Amazon Echo Dots? I recently upgraded from gen 1 Echo Dots to the gen 3 and have had a pretty terrible experience thus far. The main reason is due to the microphone sensitivity. When I had the gen 1 Echo's, if I triggered "Alexa" then it would almost always choose the closest one to me--now, I'm guessing the mics are so much "better" that echos from across the house are picking up the trigger word. But, the crazy thing is I can be right next to one echo and the one 30 feet away picks it up. This wouldn't be a huge deal expect that it almost always get my voice command wrong due to sound echo I presume. Any tips on tweaking this? I've looked in the Alexa app and have come up with no viable ways to improve....thinking of reverting back to gen 1.

ripe current
#

pretty unfriendly place for noobs here i take it

wet pilot
#

what makes you say that?

dull chasm
#

@ripe current not at all man ....you just got to be pataient

ripe current
#

its not just today... i asked and waited on things i have asked before and it just seems noob questions are ignored

dull chasm
#

that should not be the case .....i have found that guys like the noob questions......usually easy to answer ....unless they dont make sense of course

#

ok enough of that what is your noob question

ripe current
#

been trying to get something discovered for days now and everytime i add anything to the .yaml file and restart homeassistant either wont load or find anything and i have to take what i did out

dull chasm
#

mind it i have had several 🍻 so not a clear mind here

#

discovered as in auto or you adding a manuel config for it

ripe current
#

everything i look at says it should be "auto" discovered yet nothing is found so i thought i would try adding manual

dull chasm
#

i am not a huge fan of auto.....but ok if you are adding manuel ..... 1st is it a supported componet

ripe current
#

i have netgear routers, harmony remote and hub, google assistant and echo dot... i know the last two need more advanced stuff so i tried the first two

#

i also have cree lights but dont see those listed

dull chasm
#

ok i dont use netgear but that should be a device tracker... so lets take the easy one ....harmony....

#

is harmony on the same network as your ha

ripe current
#

yes

dull chasm
#

@wet pilot please use <> before and after link to stop autoexpanding

wet pilot
#

yeah, i forgot this time

dull chasm
#

np

wet pilot
#

requires a config

dull chasm
#

ok harmony is a simple entry in your config yaml

#
remote:
  - platform: harmony
    name: Bedroom
    host: 10.168.1.13
#

like that ^^^^

#

and then you would add to ui and that is diff depending on if you are using old ui or lovelace

ripe current
#

old i guess i know its not lovelace

dull chasm
#

well gui should always be second ....add the config to yaml and see if it shows in states

ripe current
#

what if my hub's name is two words... do i use a "_"

#

oh sorry

vivid swan
#

?rank other

slim rampartBOT
#

@vivid swan, you joined Other.

wet pilot
#

howdy @vivid swan

vivid swan
#

👋

vale shale
slim rampartBOT
#
**Command:** ?rank

Aliases: ?team
Description: Join/leave a rank
Cooldown: 2 seconds
Usage: ?rank [rank name]
Example: ?rank Mystic

quartz ether
#

New bot??

low harness
#

renamed

#

Any forum mods around?

dull chasm
#

I looked and didnt see any options for that

low harness
#

That's unfortunate...

dull chasm
#

not saying its not possible but either a) i dont know how b) its not possible ... 😂

low harness
#

Possibly impossible. Got it.

last plaza
#

@vale shale It is Dell Poweredge T440.

#

It is not rack mounted, it is a tower. It can be mounted on the rack if needed. They have attachments for it.

hearty depot
#

{{ "Tm90IHlldCBidWRkeSAKVEdWMGN5Qm5aWFFnWkdWbGNHVnlJQXBSTWpsMVdqTkthR1JJVFdkSlUwVm5aVmM1TVVsSVpHaGpNMUpzV2tOQ2VtSXlNV3hKUjNod1dtMVdNR0ZYTVd4SlIyaHNZMjFWWnc9PQ==" | base64_decode }}

#

@light trout - you started it 😄

last plaza
#

@hearty depot just use base64_encode or base64_decode commands here. That is for template editor.

hearty depot
#

(its just dumb useless fun 😉 )

#

Pew... I think my config is getting to much for the poor pi - having issuto turn off an Automation in the frontend

light trout
#

oh really.... @hearty depot

languid sphinx
#

Well, I think zigbee2mqtt has failed hard enough that I'm going to just buy the xiaomi gateway and be done with it

hearty depot
#

Lol - I also have my Issues atm

merry owl
#

This is US Only and for new 'customers',, but you can snag a Google home mini for $0.99 through a Spotify trial (just cancel the trial anytime before it ends). I snagged 2 more for the house with it. https://www.androidauthority.com/google-home-mini-spotify-trial-930940/amp/

Android Authority

Spotify is running two deals at the moment which can be stacked. By stacking the deals, you can get a Google Home Mini and a Spotify Premium three-month trial for only $1.

light trout
#
Before we begin, there are two major limitations to this deal: the first is that you must be a new Spotify Premium subscriber. If you currently (or used to) pay for any variation of Spotify Premium, you will not be eligible for this deal. The other limitation is that this is for U.S. customers only.
merry owl
#

thanks, edited it.

wet pilot
#

Man, now that I have a baby, I wish YouTube would normalize it's volumes

wet pilot
#

Damn you Washington capitals 🙁

distant stream
#

I still have a Google mini new in the box sitting on my floor under the rack

proven spruce
#

you can be my secret santa 😄

distant stream
#

We've got a mini on the desk, a home in the bedroom, a mini in the garage

#

Don't know where else to put it

proven spruce
#

in the bathroom

#

automate to play waterfall sounds when someone is on the toilet

marsh robin
wet pilot
marsh robin
#

@wet pilot Thanks!!!!

serene mortar
#

For our networking gurus....can someone explain me why there are two MAC addresses for my switch on my router. I see the physical address (printed on the outside of the label). That address is slightly different from the physical MAC address for the ports

rare plover
serene mortar
#

Nothing is an overkill...many are running HA on a much powerful server. I am running it on a Skull Canyon

#

It is very useful when you run image processing or other processor intensive things

wet pilot
#

@serene mortar managed switch?

serene mortar
#

yes

#

Netgear POE

#

only the last two are slightly different

wet pilot
#

E a chance port will have its own mac

#

Each port*

serene mortar
#

but they are all the same....

#

let me share a screen shot

rare plover
#

@serene mortar those xu4's seem like nice hardware for cheap..

serene mortar
wet pilot
#

Hmm

serene mortar
#

and the last two for my switch is 8e:89

wet pilot
#

Are they fiber by chance?

serene mortar
#

this switch does support Fiber (although I am not using fiber)

wet pilot
#

Those last two are probably the fiber ports then

serene mortar
#

is it possible that only the port connected to the router will have a unique address?

#

yea...it is a 8 port switch with 2 additional for fiber

wet pilot
#

Switches cheat a bunch

serene mortar
#

lol

wet pilot
#

Would run out of Mac addresses otherwise

serene mortar
#

this one is in the attic....so cannot even run another line to test 😃

west moss
#

Would you guys recommend the unifi cameras or the hikVision ones?

hearty depot
#

40k keys are there - I just got Iron Sky Invasion

quaint dome
#

My key was already taken... Which seems unlikely.

#

So, to clarify: I got a key, but Steam refuses it because it was already redeemed.

west moss
#

oh ok, i got a key, but cant enter it couse i dont have the desktop app on this comp 😛

#

shit, it actually worked

#

got galactic civilization 2

quaint dome
#

Congratulations! I'm a bit disappointed that MMOGA would send out used keys...

#

And I just wanted to try it again, but now it says the keys ran out. 😂

west moss
#

shit they went fast

quaint dome
#

Yeah. But you never know if somebody milked that site with scripts...

west moss
#

true, but tbh, i think creating the script will be slower than the keys gets taken by "word of mouth"

#

someone post it on a forum or chat, they tell friends, 40k keys are gone in minutes

proven spruce
#

you're not the only one posting in a discord, and most posters post into a big gaming discord

quaint dome
#

@proven spruce, who are you adressing with that? Underknowledge is no longer here, I think.

proven spruce
#

adressing people that read this channel

hearty depot
#

No - I`m here with an eye - Whut?

quaint dome
#

@proven spruce , then I don't get what you want to say.

proven spruce
#

too bad then

quaint dome
#

@hearty depot , I thought he was addressing you with the "you're not".

hearty depot
#

Found on my german Imageboard - And this is my favourit discord xD - just wanted to share the love

quaint dome
#

Because you posted the link to the keys.

proven spruce
#

thanks for the love

#

its a saint nicholas present 😄

quaint dome
#

Yeah, thanks. It really worked. I've got a key! Which is already taken. But your idea worked, in principle.

red radish
#

@slim vortex I replied to your Youtube reply on the sonoffsv power requirement. Seems maybe its a Tasmota issue as much as it is anything

slim vortex
#

ah, could be. I'll read your reply. Thanks!

forest charm
#

@slate solstice you here?

knotty oak
#

anybody know of an arduino discord?

quartz ether
quiet cobalt
#

any one here use kodi As I see we can send msg to Kodi but can we can notifications from kdo to HA so if a movie has be just add to kodi.

orchid rose
#

not with the kodi integration in hass I don't think but maybe there's some plugin for Kodi you can use

idle coyote
#

I'm planning for the future, and want to put Home Assistant on a NAS (that I haven't built yet.) I saw on the Hass.io vs Home Assistant page that only Hass.io supports addons? Is that right? I assume addons are important...

orchid rose
#

not important but helpful from what I've understood. You can do all the same things manually afaik

proven spruce
#

hass.io is for people that aren't comfortable with the linux command line and config files

#

if you're one of those, depending on how your nas runs you can always install hass.io in a vm

mighty summit
#

@idle coyote you might be confusing add-ons with components ?

idle coyote
#

Ah interesting. So addons are not really functionality type things, just "quality of life" type stuff

mighty summit
#

add-ons make it easier to configure functionality that you could also do in the host OS.

#

like...if you know how to setup a dynamic dns, then you would do it in your host OS.

idle coyote
#

@mighty summit possibly. I just google ha vs Hass.io and it says addons don't work. It made me panic. :)

mighty summit
#

if not, then there's a hassio addon for that.

idle coyote
#

I didn't know the ramifications. I get it now. HA would be fine for me i think

mighty summit
#

otoh....

mighty summit
#

if yo want to focus on home automation, go hassio. It just takes the host OS config out of the equation.

idle coyote
#

@light trout exactly :) this line "Be aware that add-ons are only available in Hass.io, due to the way Hass.io is installed" I didn't understand that addons weren't functionality, just convenience

light trout
#

Even if you are experienced with a terminal, I find hassio easier to maintain 😛

mighty summit
#

in the end, while your choice of install-path may seem crucial when just starting out, it's pretty easy to switch later.

idle coyote
#

Thank you all. I feel a lot more relaxed about getting started now :)

mighty summit
#

just start already ! 😋

idle coyote
#

I don't own a smart anything yet. :)

light trout
#

There is no need for "smart" "anything" to start using it 😃

idle coyote
#

Fair enough. I have the rpi collecting dust too.... Maybe a project for the weekend

light trout
idle coyote
#

Maybe I'll learn the all important first step of finding out just how much I don't know.. Ok. I'm convinced.

distant stream
#

If anyone else happnes to use Project Fi now Google Fi

#

I have asked about an API and access to it

wet pilot
#

nice

distant stream
#

No response yet but I would like some basic data to be available

#

Now that its gone mainstream and not a backburner project

light trout
#
from fridge import beverage as beer
while beer.count_remaining() > 0:
    beer.drink()
raise NoMoreBeerExecption

🍻

wet pilot
#
for beer in fridge.beers:
    beer.drink()```
#

😄

dull chasm
#
for beer in fridge.beers:
    beer.drink()
else drunk:
   need_more()
raise cant_walkExection
light trout
#
import fridge
from human import current_state

if not current_state.drunk:
    while not current_state.drunk:
        if fridge.beers > 0:
            beer.drink()
        else:
            raise NoMoreBeerExecption
else:
  raise cant_walkExection
wet pilot
#
try:
    for beer in fridge.beers:
        beer.drink()
except IsDrunkException:
    self.pass_out()
else:
    self.buy_more_beer()```
light trout
#

NoMoreFundsExeption: An unhandled NoMoreFundsExeption occurred...

low harness
#

Ah. The elusive try-except-else. Nice!

#

Allthough, I'd probably replace it with finally: in this case. It feels safe to assume that pass_out is blocking.

light trout
#

Yeah, that function is designed to block the loop 😄

wet pilot
#

heh lots of ways to improve that, i tried editing but discord got cranky

sharp hornet
#

does anyone here have some kind of batteyr backup solution for your system? or maybe solar power?

wet pilot
#

ooo solar

#

might cut it for a pi

#

my box would cry and die though

sharp hornet
#

ah ya, though I have a RPi that uses WiFi, and PoE cameras

#

maybe enough juice to charge a battery that'll power the RPi and some kind of internet link though

wet pilot
#

PoE would make it harder

sharp hornet
#

maybe in that case, if it drops down to a degraded mode, it tries to use a 4G modem or something

#

those Kindles came with free 4G for a while...

#

I wonder if one could be jailbroken and used as a small pipe for messages

#

or maybe a directional 2.4 GHz antenna pointed from my room to an open AP

midnight adder
#

Hi, I'm strugling to set a Shelly Bulb in the Home assistant using MQTT. I tried mqtt light, mqtt jason light and mqtt template light components, but is seems none is fully compatible with the bulb. The only thing I can control is the on and off. Anyone was able to setup a bulb into HA with mqtt?

wet pilot
midnight adder
#

Thanks @wet pilot

little blaze
#

Can someone point me to information on how to rewrite the python code on a specific component within home assistant? If I wanted to change the code on github to better improve a component, how would I go about testing it on my version of home assistant? Could this also be done on a hassio installation, or should I test improvements in regular home assistant?

wet pilot
little blaze
#

thanks! hope you're having a good day!

fading wadi
#

Hello everyone

#

is there a specific channel where we can show off our stuff?

vale shale
#

That would be a nice channel!

wet pilot
#

Here works

cerulean torrent
#

Hello im new to Hass.io and was wondering if anyone could tell me what the "car" component is. It's specifically designed for Chevy, BMW, Tesla and maybe two more major car company.

wet pilot
#

Best way to figure it out would be to look at the components and the code

cerulean torrent
#

Ok thank you

fading wadi
#

they are pretty self explanatory

quiet cobalt
#

what is my

   state_topic: "Chores-Reminder/Snake/power1/state"```
do I have to add cmnd to the command_topic and state
fading wadi
#

wow this is amazing

#

I can already imagine near AI intelligence being hanged up on by businesses just because 'they are just robots' 😄

bold crest
#

?rank other

slim rampartBOT
#

@bold crest, you joined Other.

vale shale
last plaza
#

@vale shale that's classic! you don't have 5 1/4 drive? I still have those zip drives!

light trout
#

What are you doing with save icons on your table?🤔

last plaza
#

@light trout he 3d printed those icons 😛

light trout
#

Nice!

junior forge
#

So I'm kinda struggling to find a decent Visual Studio Code theme

#

what do you guys use?

#

Currently trying this weird one:

#

But not really satisfied

last plaza
#

I like dark themes!

junior forge
#

That almost looks like the default theme

last plaza
#

yup - some of them have lighter gray

pure vine
#

This has been an expensive December, dishwasher died at the beginning of the month, Micro server just poofed

near flare
#

@pure vine what happened to the server

pure vine
#

It just went bang, tripped the lower ring of my house, i havent had time to diagnose it

#

My current running theory is that the failure to clean the dust out caused a short somewhere and the short overwelmed the Power supply

quartz ether
#

If you are from NZ then you should buy my server 😛

pure vine
#

Just getting a hass.io pi setup so that we have control of some things still

quartz ether
#

Surely it is easier to find out what is wrong with the server and hopefully just get it back up and going? Usually its only a psu replacement.

pure vine
#

I'm thinking about replacing it, we had out grown it realy

quartz ether
#

Well if you want to cover the shipping I have a fairly decent server for sale 😛

pure vine
#

Nah, from what ive heard international shipping is really expensive in NZ(its cheaper for me to send something there then it is for someone there to ship the same item to me in the UK)

valid kelp
#

Just added the custom_updater component and I'm getting this as an error

#

2018-12-08 20:28:09 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/homeassistant/setup.py", line 56, in async_setup_component return await task # type: ignore File "/usr/local/lib/python3.6/site-packages/homeassistant/setup.py", line 103, in _async_setup_component component = loader.get_component(hass, domain) File "/usr/local/lib/python3.6/site-packages/homeassistant/loader.py", line 92, in get_component module = importlib.import_module(path) File "/usr/local/lib/python3.6/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 994, in _gcd_import File "<frozen importlib._bootstrap>", line 971, in _find_and_load File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 665, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 674, in exec_module File "<frozen importlib._bootstrap_external>", line 781, in get_code File "<frozen importlib._bootstrap_external>", line 741, in source_to_code

pure vine
#

@valid kelp please read channel topics, your question is more suited for #330944238910963714 also use haste bin for logs

west moss
#

anyone here who have set up a VM on synology nas? its asking me to choose volume where the vm's will be stored, i just wanna make sure it does not overwrite my stuff :S

clever mortar
#

Might want to ask on their forums - you'll probably get a faster answer

light trout
#

Anyone running google wifi and have access to a linux terminal to run some commands, want to help me test something? 😄

midnight adder
#

I moved house last Friday, getting internet installed tomorrow and I've got fresh hassio install raring to go

mighty summit
#

hit me up tomorrow if you need to.

pure vine
#

Turns out it was just the powesupply that went everything else is alive, so it can be fixed

#

and the failure was on the primary side, so i think every thing on the other side is fine

quartz ether
#

Called it

royal hatch
#

Hi all..new here !

low harness
#

Welcome!

rare condor
#

I almost lost my HA config and entire setup today. Never had an SSD fail on me before

#

Intel 535 had a write amplification bug and the half the drive just disappeared. Thankfully with DD and some filesystem debugging I recovered my config with some weird artefacts but readable and it was fixed within a couple of hours.

#

I have learned a lesson though SSDs fail and they should also be in a RAID configuration along with your data drives.

low harness
#

Isn't the general recommendation to not use SSD for storage, but just work? Or maybe that's an old tip from when they were way more expensive...

uneven cobalt
#

That being said, RAID is not a backup. It is important to also have an actual backup

clever mortar
#

~backup @rare condor

velvet horizonBOT
#

@rare condor Be sure to regularly, automatically, back up your Home Assistant install. There are various critical files and configuration options (like the Z-Wave network key), plus all your time. Hass.io has snapshots, and for unix type installs see https://blog.ceard.tech/2017/10/backing-up-home-assistant.html. Oh, and most important of all test your ability to restore regularly.

clever mortar
#

As @uneven cobalt said though, RAID isn't backup, it protects you from some hardware failures

#

If you don't have actual off-system backups, you don't care about your data 😉

distant stream
#

3-2-1 Rule

rare condor
#

@clever mortar I did backup but the backup was automated and had already screwed the FS by the time I had figured out what was happening and my offsite (external HDD backup was 4 monthes old) - before I had installed HA.

clever mortar
#

Sounds like you didn't have a good backup strategy going on then 😉

#

Seriously, my cloud backups are versioned, so I can go back over a year. My local backups are also staged, so I can go back 10 years if needed

#

Yes, that's a tiny bit overkill for a home backup solution, I know

uneven cobalt
#

Yup I have versioned backups as well. I use duplicatti and find it works great for me

clever mortar
#

rclone for cloud, rsnapshot locally

#

I'd be able to go back further on my cloud backups, but Crashplan went and crashed out of the home backup market 🤷

rare condor
#

I have moved to ZFS now so I will start learning about snapshots and automated backups

wet pilot
#

ZFS can pacman memory

clever mortar
#

Snapshots are still not backups 😉

#

I've had no issues with ZFS

rare condor
#

Also I stopped using raid0 across my data drives (few drives are 5 years old now)

#

I was young and poor 15 at the time I setup the server (don't judge my choices) lol

clever mortar
#

I do actually use RAID0 from time to time

rare condor
#

I got really lucky not to have a single drive failure

clever mortar
#

However, for high speed I/O on data I can trivially replace or has no long term value

rare condor
#

I use it when I need speed or don't care about the data

#

yeah exsactly

rocky tangle
serene mortar
#

let me go through this...one sec and also restarting the USG

mighty summit
#

👌

wet pilot
#

have mine pulled up btw

rocky tangle
#

I am about to drop mine as well - doesnt perform with IDS/IPS - too limited on 1gbps fibre

wet pilot
#

allocation mode: passthrough
passthrough mode: dhcps-fixed
mac: its own mac
lease: 10m

mighty summit
#

@wet pilot do you have a valie in Default Server internal address ?

wet pilot
#

no, blank for me

mighty summit
#

good

#

so it is passing the ip wan onto some router

#

Some router that lives behind the modem.

wet pilot
#

yep, an older asus router that's slowly crapping the bed

mighty summit
#

lol

#

i'm surprised that you have "it's own mac" filled out in the passthrough mac address

wet pilot
#

the asuswrt component caused it to freeze up 2x/day

#

i think it was default?

mighty summit
#

usually that needs to be the MAC of the device you're passing through TO

wet pilot
#

eh, didn't look super close

#

it might be the mac of the next level

mighty summit
#

could you look at the Asus and do a sanity check ?

serene mortar
#

@wet pilot Which mac address did you put? The MAC of the router or ATT modem?

mighty summit
#

it should be mac of router's wan port.

wet pilot
#

i think all i did was click the thing in the dropdown and it sets the manual entry

serene mortar
#

Yes, it should be the mac of the router

wet pilot
#

been about a year since i set this up

mighty summit
#

you can either choose from list, and it will populate the manual... OR you type in a mac manually.

wet pilot
#

yeah, that's the mac of my router

mighty summit
#

@wet pilot could you verify tha asus wan mac ? even so, i'm pretty sure this is the one.

#

that timing tho

wet pilot
#

😄

mighty summit
#

@serene mortar that settles it then

#

after all of that, you should also remove any port forwards from the att device. Mainly for neatness sake, but ya never know.

#

from then on, all port forwarding must be configured in the USG.

serene mortar
#

ok....let me delete the port forward

#

and restart again

mighty summit
#

Also, verify that the USG does indeed receive a IPWAN address on it's wan port ? just to be sure.

wet pilot
#

might need to bounce it too to make sure it picks it up

mighty summit
#

might...but often a cable disconnect does the same thing.

rocky tangle
#

dont you need to bounce the router?

serene mortar
#

all right guys...changing it to DHCP fixed with the USG mac did it

#

I am now getting the external IP address on the USG WAN

mighty summit
#

great

rocky tangle
#

so I assume neither of you uses the IDS/IPS function then?

mighty summit
#

the USG is now the only core for your network. And the modem is...just a modem.

serene mortar
#

IDS/IPS dignificantly reduce the performance

mighty summit
#

@serene mortar now setup a port-forward in the USG , pointing 8123 to HA

rocky tangle
#

tell me about it - you need a XG to cater for fibre ... which is ridiculous ...

#

thats why mine goes on ebay and I replace it with a panw vm

#

as I had before ...

serene mortar
#

you replaced your USG?

rocky tangle
#

will - on the weekend

serene mortar
#

what will you replace it with?

#

I looked at the Synology routers

wet pilot
#

yeah, the USG doesn't have as much hardware acceleration of some of these things. some functions can hit pretty hard

serene mortar
#

they look good, but they also don't give gigabit speeds with IPS/IDS

rocky tangle
#

I had a PANW previously before I switched to ubnt but as the performance is shyte I will go back to my VM ... the only thing that bugs me is that you cant tell the controller that you dont want any USG information so its always red ...

#

only with an USG the controller dashbaords say all is good

#

unlike having a simple ping resolve if you have access

wet pilot
#

the edgerouters (ER) have better hardware for a bunch of that stuff

serene mortar
#

do ER perform well with IPS/IDS?

rocky tangle
#

apparently they have faster cpus

serene mortar
#

I like the Unifi dashboard....would be nice if they came up with an updated USG

rocky tangle
#

well they did 😃

wet pilot
#

faster cpus with support for doing some of that stuff in hardware instead of software

#

i'm looking at the ER4 since it can do 1G up+down simultaneously

rocky tangle
#

the XG but its $2200+

serene mortar
#

since I have some networking experts here....let me ask another question

#

on my older Asus router, I could assign DNS per device

#

so that was perfect for parental controls

#

I am not able to do that on USG

#

I have to manually change the DNS on each device

rocky tangle
#

I dont use the USG anyway

#

I point to a DNS server internally

#

as you need to do that via DHCP you need a better DHCP server than the USG

#

in the dhcp server you can add an option to assign different dns per IP/mac

serene mortar
#

I have two PiHoles running - one for kids and one for other devices

rocky tangle
#

you can run the dhcp on the piholes

#

not sure about the dhcp option let me check

serene mortar
#

it is those simple options that I miss with USG

rocky tangle
#

the USG from my initial view was very rudimentary - clunky to configure etc ... I found more and more I didnt like but had to travel for business and missed the return date

serene mortar
#

Yeah....I am also leaning towards that conclusion

#

I may try out the Synology router

rocky tangle
#

pihole doesnt expose it but you can do that via the dnsmasq options

rustic peak
#

hello can sonoff basics running tasmoto connect to different access points and still connect to my pi ( i have a small repeater in my room off a gigabit switch the ssid is different but its the same network as my router)

rocky tangle
#

bascially you apply dhcpoptions - I believe DNS is options 6 ...

serene mortar
#

so, I will have to configure both the PiHoles

#

or just use one as a DHCP server?

rocky tangle
#

no what you do you use one as DHCP server - configure that one as well as add the dnsmasq options for the ranges - or only for the kids ip/macs and then override the regular options from the pihole for that - the dhcp server pihole pointing all dns to itself - but for the kids you add the dhcp options 6 to point to the other pihole

serene mortar
#

I see

rocky tangle
#

so the same pi serves all ips but the DNS option is different based on requester ip/mac

serene mortar
#

yeah, that is exactly what I am after

rocky tangle
#

as I said lookup dnsmasq and dhcp options - confirmed its option 6 😃

#

includes tagging so you tag an option and then add macs to the tag

#

so you dont need to do it on a per device basis

#

basically grouping based on tag

#

but you need to do it manually on the pi that does dhcp

serene mortar
#

I think I have some idea as to what has to be done

#

now time to get my hands dirty

jagged mantle
#

has someone been successful blocking yt ads with Pi-Hole?

wet pilot
#

not YT, but i definitely block hulu, though sometimes that breaks hulu

serene mortar
#

Some of YT ads are blocked (not the pre-roll ones)

jagged mantle
#

i cant block the preroll ones

amber bramble
#

i wish i could figure out a way to kill the YT pre-roll ads 😦

light trout
#

Stop watching YT?
Works for me, no ads here 😅

jagged mantle
#

haha, well i might have no other choice in january

#

but lets not bring it up again

brisk furnace
#

Does anyone think Hassio would lose support in the future? I've been having some huge issues on my system and wanting to start from scratch - thinking of jumping ship on hassbian to hassio but don't want it to lose out in the future

proven spruce
#

switching is always easy anyway

wet pilot
#

hassio will be around for the long haul

brisk furnace
#

"easy" 😛 since I'm using smartthings as well and node-red the porting to a new system is a PITA

#

@wet pilot sounds like I'll make the switch this evening, ty

wet pilot
brisk furnace
#

thanks @wet pilot I'll start the process this evening and hopefully it's as smooth as can be, definitely looks easier to setup and maintain, probably should've went the docker route way back when instead of venv but I had no idea what the difference was when I first dived into HA

wet pilot
#

i use straight docker for my setup

#

venv for testing though 😃

brisk furnace
#

haha I would love to help test but inevitably it just leads to me asking everyone here more questions than actually helping 😦

#

from my understanding hassio isn't avaiable to install on raspbian lite for ex? just reg hass in a docker container? kind of liking the simplicity of hassio now

wet pilot
#

possible but messy. It really like to be its own stack on bare-metal

light trout
#

meh 😛

#

I have not seen any noticable difference with running it on "bare metal" and putting it on top of raspbian (hassbian in my case)
the only differance I saw was boot time, but how often do you do that? 🤷

clever mortar
#

They're all Home Assistant underneath

#

Hass.io is a Docker based "easy installer" approach, that eventually should be pretty awesome

#

Hassbian and other "bare metal" installs just require you to know a bit more, or learn a bit more

#

If Hass.io works for you, stick with it

distant stream
#

Hass.io has been insanely good to me. I love my Pi's so I would run HA on then regardless but I've had almost zero issues. SMB is slow as hell but that's about it.

#

I could easily run it in a VM/container but I like the Pi's for tasks like these. I run pihole on one and nothing else. Totally under utilized but cheap as hell.

brisk furnace
#

Awesome thank you all for the replies - going with the hassio install tonight (on hassos), might test my luck with the 64bit version

clever mortar
#

Don't

#

Seriously, leave 64 bit alone unless it's on your test system

#

It's marked Beta for a reason, and not all add-ons works there

brisk furnace
#

oh okay thanks @clever mortar - there would be a performance gain on 64-bit eventually though I'm guessing?

clever mortar
#

One day, maybe, eventually

#

If performance is a thing though, Hass.io on a Pi is the wrong way to go 😉

#

Docker adds a measurable (but not huge) performance overhead

brisk furnace
#

@clever mortar fair enough 😛 I think eventually I may get a more powerful machine but you're right I'm talking performance for a honda fit haha

languid sphinx
#

Any recommendations for a mains powered, MQTT temperature sensor that doesn't involve cords and breadboards (for wife appearance approval)?

clever mortar
#

#diy-archived may be able to suggest some things that can be flashed

languid sphinx
#

Thanks, I may wander into that

#

my zigbee2mqtt install has had a nervous breakdown for the second time and I think I'm done with that. I ordered a Xiaomi gateway as I have enough of their sensors to try and get those to work

#

The new shelly wifi sensors look nice as I have better wifi coverage than xiaomi zigbee coverage at home. I just don't want to put money into that right now

tough igloo
#

@languid sphinx have you looked at deconz? I highly recommend that as a zigbee "hub"

trail crag
west moss
#

I'm looking for some tips and ideas here :/

#

im thinking if i should run server stuff on the nas (got ds2415+ so pretty decent one) or get a 400$ NUC

#

the main problem i got running the server stuff in dockers on the NAS is that i have firewall rule preventing the NAS from accessing internet if its not through a VPN (as i run sonarr and radarr on it)

#

this kinda limits me from running stuff like FTP server and such

#

However, i realy like the "ease of use" with the dockers on it, simple to set up, simple to manage all through a GUI, also all storage locations are straight on the same device so no problems with networkshares not beeing accessible and such

#

Another problem with running server on the NUC is that i will have multiple servers (VM's) that needs to be updated and such, and also that needs to mount networkshares and make sure they are always up

#

The things i'm running are:
Sonarr, radarr, Nzbget, deluge, FTP, home-assistant, MQTT broker

wet pilot
#

I have sonarr, radarr, transmission, home-assistant, Plex, nginx, appdaemon, pihole, plexrequests, tautulli, nginx, gitlab all running in docker on a fedora 29 box

#

Lol -1 nginx

west moss
#

so you run them all on same os just in dockers? or vm's?

wet pilot
#

They're all containers

west moss
#

i'll probbly keep running the FTP on the NAS eitherway, so simple to set up in the GUI

wet pilot
#

Right

#

I'd probably feel safer if my Nas was only a nas

west moss
#

so basically i'd need to run sonarr, radarr, nzbget, deluge in a VM, then run home-assistant, mqtt broker and possibly FTP on another vm

#

that way i could firewall so sonarr & radarr cant access the net if not through a VPN

#

while still alowing home-assistant and mqtt broker to work

wet pilot
#

That's an option

#

Could probably also do something with docker networking though

west moss
#

Problem is, everything needs to be wierd config files and commandlines :/ so freaking easy to do something wrong and screw up the entire security of your system... just 1 small error on the FTP server config and your entire system is up for grabs :/

wet pilot
#

I'd be more worried about deluge than sonarr/radarr though

west moss
#

well my thought was to set deluge, sonarr, radarr, nzbget on a VM to give it its own IP, then i can firewall it easly in the router

wet pilot
#

Makes sense

#

I'm probably not as worried about it as I should be

west moss
#

easier to firewall it there than in linux firewall tbh.. again problem of not having gui is that its so freaking easy to do a mistake

wet pilot
#

Gui is a crutch 😉

west moss
#

and my experience with having FTP server sharing a network location has not been good so far :/ thats why i'm not sure about having it on another system

wet pilot
#

What are you using ftp for?

west moss
#

Well nothing major, havn't used it all that much at all tbh, but wanted to use it today to upload HA config's from one pc to another

#

sometimes i use it to access movies and series

wet pilot
#

Why not drop from and use git?

#

Ftp probably isn't the best method for thet

#

That

west moss
#

yea, thought about git, but i still find myself forgetting to use the secrets file from time to time 😛

#

so wanted to make sure i was more used to that first

wet pilot
#

You can locally host git

#

Git hub is on the internet, git itself doesn't have to be

west moss
#

yea, could use gitlab, but whats the big difference of that aproach than FTP :/ ... it would solve the same problem and have the same pitfalls tbh?

wet pilot
#

I have gitlab setup as a docker container (locally hosted competitor to GitHub)

#

Git uses http or ssh for file transfers

#

If you use ssh, private keys

west moss
#

Well yea, but i was planing to use SFTP or FTPS or whatever its called

wet pilot
#

Other benefit is version control

west moss
#

So the way i see it, ftp allows me to access media files aswell, while git gives me version handling.. but they would both work on network shares and have the same pitfalls (1 mistake in setting the config file and your entire system is vulnerable, and the network share needs to be up)

proven spruce
#

if its sftp i don't see a problem

wet pilot
#

You would have to try pretty hard to screw up gitlab

#

I don't like ftp for media sharing

#

Much better to mount an nfs share over a VPN and stream the file

west moss
#

Well there's another thought i guess aswell... with a nuc server i could run propper openvpn server rather than pptp that i got on my router now.. and we all know how verry safe pptp is 😛

wet pilot
#

Lol

#

In general, I'm not much of a fan of ftp

west moss
#

also i never use nfs, tried to afew times, but i just dont get how to set permissions to files and folders :S it seems to either be all access or no access :S

wet pilot
#

There's also that

#

It's Linux user/group permissions on files

low harness
#

Nfs is a mess...

wet pilot
#

Not as much as from (or samba)

proven spruce
#

nfs is troublesome but when it works its better than samba

wet pilot
#

Ftp*

low harness
#

Obviously. Anything is better than samba...

west moss
#

i know its faster and more lightweight, wich is why i wanted to try it.. but damn it was freaking impossible to understand how to set up the permissions propperly

#

samba i just set up a user, and say.. hay to this folder, set permission to readonly .. and wolla its done

wet pilot
#

There are some other userland sharing protocols

west moss
#

in nfs .. you dont have any users :S?

wet pilot
#

Yes you do

west moss
#

my experience with linux permissions so far is prettymuch "ok, ofc this shit wont work either, like always... lets chmod 777 this crap and see if it works then)

wet pilot
#

Lol that's super bad

proven spruce
#

oooo... no no no

#

atleast be civilized and do 775

wet pilot
#

Or 766

west moss
#

which is why i kinda like gui configs to set up things like this.. so i can get it right without putting my entire system at risk

wet pilot
#

You need to get over that crutch

#

If you're using linux

proven spruce
#

its really simple when you try

west moss
#

and always if you follow some guide, they either tell you that you wont need to use "sudo" but then when you do it you cant without sudo... or they also dont know crap about linux permissions and also do chmod 777 on everything

wet pilot
#

Sorry, meant 744

#

Then they're bad and should feel bad

proven spruce
#

there's too many chmod 777 guides on the internet

west moss
#

^exactly

proven spruce
#

thats why i learned what it does and how its works

wet pilot
#

File permissions are easy. The fun begins when selinux and ACLs get involved

proven spruce
#

you're going deep now

west moss
#

i've been using linux alittle on and off for like 15 years, but i still just cant get a decent grip on the permission system... and i dont feel like taking a 3years education just to set up a somewhat safe server to run 4-5 dockers on 😛

wet pilot
#

It doesn't, docker is stupid easy

proven spruce
#

its nowhere near 3 years, in 3 years you can be a large network system admin

west moss
#

what i'd want is probbly 2-3 VM's
Networkshares that would remount if the share goes offline and then comes back again
Easy to config SFTP &/ Gitlab and such (so that i can easly set up different users with different access while also not putting the entire system at risk)

#

and not having to read a 40 page manual on how to set up the SFTP root location for a user

rocky tangle
#

safe server and docker doesnt go in the same sentence if you ask me - kernel is shared, container breakout is possible, packet sniffing (especially secrets), poised images unless you build them yourself etc etc - its by far not jail which had some issues as well ...

pure vine
west moss
#

yea @rocky tangle i thought that to, but running like 8 different VM's would be a pain to keep everything updated and stuff

rocky tangle
#

@west moss just saying - I work in security so thats a thorn in my eye obviously 😃

mighty summit
#

i'm running 5 VM's...for reasons you already mentioned, @west moss

#

1 needs to be behind a vpn, and may never break out of that vpn - even by accident.

#

1 is hassio, 1 pi-hole, 1 zoneminder, 1 for incoming VPN,

#

a mix of windows & linux (debian mostly)

#

they are things i do not want to influence each-other.

rocky tangle
#

hmm why dont you run everything on a single host?

west moss
#

yea, but doesn't it take quite alof of "unnessesary" power to run fullblown OS for 1 thing? like a pi-hole for example

mighty summit
#

because i absolutely do not want influence between them.

west moss
#

i was thinking more of 1 VM for everything behind VPN, and 1 VM for everything els like zoneminder pi-hole home assistant and such

mighty summit
#

the cpu usage is near 0 for most of the time.

rocky tangle
#

easily done just multihome the VM dual nics ...

mighty summit
#

Zoneminder is the only one that hovers around 4 % cpu

west moss
#

then i'd only need to go in and update 2 servers aswell, no need to ssh into 8 different machines and do updates -.-'

mighty summit
#

i've had too many a time when sudo apt upgrade kills some critical service.

rocky tangle
#

upgrade -s to see what is being upgraded then you know ..

west moss
#

another issue i have in mind is backups... :/ with my NAS i got raid6 so it should be rather safe (if the nas dies loosing zoneminder and homeassistant configs is far from the worst)

#

so if i run my server stuff on the NAS i'd have far better redundancy

mighty summit
#

--dry-run works fine, but then you need to go and investigate what would happen if those updates actually do happen.

#

that takes hours.

#

no thx

#

Hassio, zoneminder, pihole are all 3 mission-critical for the home...doing 3 separate upgrades on those 3 virtual machines doesn't take me more than 5 minutes.
I don't see why I would even consider dropping them all into 1 basket.
5 minutes of my time ?
CPU usage? plenty available
HDD storage ? cheap & plentyful
RAM is the only unlikely reason.

proven spruce
#

and you don't NEED to upgrade every single release

mighty summit
#

this

#

and i don't.

#

just when my upgrade-urge needs satisfying...

proven spruce
#

i know the itch

rocky tangle
#

most of the time I only apply security fixes unless I need a new functionlity

mighty summit
#

actually, it's a good thing to have a couple of vm's to upgrade

proven spruce
#

had it yesterday with docker-ce, then containerd wouldnt start then i lost 30 minutes finding out the fix :/

west moss
#

ah well, cant realy justify spending 400$ to fix "a problem i dont have" right now anyway tbh :/ i think i'll just keep going with HA on the PI, and the other stuff in dockers on the NAS, decent safety, easy to config.. main downside is the PI is slow for HA

proven spruce
#

and you always have to ask yourself - do i really need all that security?

mighty summit
#

@proven spruce i do not want dockerd to not start, if it is the one housing my HA instance.

proven spruce
#

luckily i run hass outside docker

rocky tangle
#

^^ this

#

no dependency

proven spruce
#

i dockerized everything else 😄

mighty summit
#

separate vm's. upgrade all the things on your own schedule.

#

for the curious 😋

west moss
#

You run the vms on windows server?

rocky tangle
#

cough yes cough

#

😃

mighty summit
#

ya ya ya

#

the plan is to move to proxmox next year or so, on new hardware.

#

meanwhile i'm learning...winders or not. 🤷

west moss
#

well, quick google told me that there is a windows server for running only hyper-v server, and its headless so could be somewhat decent i guess

#

not a fullblown server os

mighty summit
#

question is...why would you - in a home environment.

#

given the foss alternatives that are available.

west moss
#

well i guess you could run a linux server and set up VM's, but for me i'd atleast want some kind of webgui or something to manage it tho

rocky tangle
#

^^ proxmox

mighty summit
#

this.

rocky tangle
#

its actually quite decent

mighty summit
#

or even unraid or OMV or ... insert-fav-nas-distro

west moss
#

looked into unraid and vmware, but they both cost money... tho i guess its not all that expensive when its only 1 small server

mighty summit
#

my install grew on this windows machine. But as I said...it'll all get relocated into proxmox soner or later.

rocky tangle
#

2 nics one external facing one internal facing - different subnets - terminate on nic1 for VPN and then route from the VPN to nic 2

#

so vpn listener only on nic1 and all other services on nic2

mighty summit
#

hmm...ok.
i put all vpn listeners into 1 VM, and configged the nic inside vm as vpn vlient.
your way makes sense tho, specially if you want to add a VPNlistener later on.

#

@rocky tangle you're doing it that way on proxmox ?

rocky tangle
#

I got a 6 member NSX cluster

#

but played with proxmox a lot

mighty summit
#

has any one here designed/built their home with HA in mind from the start ? Be it house or appartment.

wet pilot
#

oh man, that would have been awesome

#

fold the cost of all the things into the mortgage 😄

mighty summit
#

yea, but so many choices..decisions.

tropic hedge
#

@mighty summit I'm doing that right now.

#

It's a brutal amount of work. I've been taking a three day weekend every week from work for the past two months and I'm just nearing the end of the decsision making process. That also includes my networking/data closet setup, home security (intrusion detection), and cameras though

median condor
#

I just moved house, but we did not get to build anything in. The builders put cat5e throughout and wired it for an alarm system, but we're currently replacing all the light switches, we've just replaced the thermostats on the radiators and I'm spending Christmas fitting the motion sensors and so on. I'd have loved to have it all built in from the start though. Hard to do in the UK though, getting land for building a single house near Cambridge? Close to impossible I expect m

tropic hedge
#

Was there anything in particular you would have had done differently if building from scratch?

mighty summit
#

sry guys, i was away...

#

@tropic hedge did you consider your voltage lines prior to building ?

#

still, if any one knows about an in-depth write-up from ppl who have built a home with HA as domotic system, i'm game .

#

don't make me be the one.

tropic hedge
#

What about my voltage lines?

mighty summit
#

you in 110 or 240v terrotory ?

tropic hedge
#

110

mighty summit
#

territory*

#

ok...

#

so did you run 110 to your devices (lights etc) ot low voltage ?

tropic hedge
#

there are neutrals for them all, yah

mighty summit
#

5-12-19

tropic hedge
#

if that's what you mean

mighty summit
#

no

tropic hedge
#

you mean straight up run 5v/12v to light fixtures?

#

What takes advantage of that?

mighty summit
#

yup

#

because you could put dimmers and stuff at the start of the cable-run

tropic hedge
#

I actually had wondered about that in passing, but I was told in a couple of different places to just make sure I had neutrals and that generally doing your automation at the switch was preferable

#

you'd need comptabile light fixtures then, right? It seems like everything is designed for mains voltage

mighty summit
#

leds run at 5 or 12 v

#

some at 24

#

none at 110 or 240

#

and i feel bad puttung devices into the ceiling to controll the lights & other

tropic hedge
#

I see your point, but it's so uncommon in a residential area to have that I feel a lot safer from a future-proofing standpoint to have mains to my fixtures, at least here (Southern California)

#

I'm having LED can lights installed but the fixture itself still takes 110

mighty summit
#

so how are you controlling the lights ?

#

dimming & color.

tropic hedge
#

I still haven't picked my dimmers yet, but I'll have smart dimmers in the wall

mighty summit
#

wait...zigbee ?

tropic hedge
#

no color due to my (limited?) research showing that's not a viable path right now for my build

#

possibly

#

was thinking lutron caseta

clever mortar
#

Or Z-Wave 😉

tropic hedge
#

that's one of the last things I have to choose

mighty summit
#

but why

tropic hedge
#

because I've spent 40+ hours on reseach and haven't found a single article or person saying to do otherwise, including a dozen posts on various forms and reddit

#

I'm totally open to new ideas, but I've already got mains to my fixtures

#

like, can you link a product? I really am totally open and I'd love to find new stuff

mighty summit
#

you might be too far along in your planning...

tropic hedge
#

drywall isn't up

#

so I can do whatever I'd like

mighty summit
#

i'm going through my bookmarks ...hold up

#

i do mean all, because one thing flows into the next.

#

but he makes a good point about running low voltage runs to the consuming devices.

#

plus, in fact , it future-proofs the whole install, even after you the HA wizzard has left the building.

clever mortar
#

5V to places is potentially awesome, because so many devices can be USB powered

mighty summit
#

one of the reasons.

#

me, i'm going to build, in about 2-3 years...and i'm not out of the woods.

#

decision-wise

tropic hedge
#

I'm doing a to-sthe-studs renovation plus an addition, and the amount of work I've had to do so far exceeds my expectations it's incredible

#

part of that being I have a horrendous contractor that's screwed me on every step until recently, and also I've been unexpected taking care of a sick relative for the past 7 months, time I had planned to use on decision making

mighty summit
#

well, try to find time to look at Quinn's ramblings...

#

low voltage maakes sense.

#

and has unexpected advantages if you're committed to HA.

#

but, i'm not decided yet myself.

#

bleh

tropic hedge
#

I see he's using an ESP8266, but how is it controlled without HA, like if he were to move out?

mighty summit
#

not an issue

#

you need to go through it all

#

in short, all his low voltage wiring runs to a single poit.

#

so he leaves...anyone can re-use that wiring for their own system

tropic hedge
#

just to throw a random complaint out, youtube is great and all, but I REALLY hate having to watch 17 hours of vidoes that could have been summarized in a 5 minute-read article

mighty summit
#

he has most of it written out.

#

i was sceptical at first...but he makes proper sense

tropic hedge
#

I get what he's doing overall, and it's definitely an awesome project, but I think I'll be happier with an off-the-shelf component I can just control with HA. I would really like to do color too, but outside of custom/hackish stuff I don't know of any way to get color control except for wireless

#

and I'm reading through his blog and he does have some really good write ups too

mighty summit
#

the wireless thing also kind of bothers me...but if your controllers are all together...who cares?

#

your esp"s are all in the electrical room...there's little wifi issues.

tropic hedge
#

oh I don't mind controllers being wifi at all

mighty summit
#

and from there, you have low voltage runs.

tropic hedge
#

but in his situation it's just a dimmer; there's no color control, right?

mighty summit
#

one dies, you don't need to get into the ceiling.

#

he could just as easy add color, i've done that alrerady, in test setup

tropic hedge
#

how though? They make lights with some sort of wired data line that controls color?

mighty summit
#

H801

tropic hedge
#

that was always my biggest question and I never found any

#

lemme look

mighty summit
#

with Espurna (or tasmota if you feel lucky)

tropic hedge
#

are there can lights comptible with that?

mighty summit
#

most easy is strips...

#

nver looked into cans

#

anyway, it's zzzz time here. Any one else have thoughts about whole-home design with HA from the get-go, please hit me up.

tropic hedge
#

thanks for the links

mighty summit
#

got a million of'em

tropic hedge
#

same 8)

mighty summit
#

pm me if you want to keep discussing this subject.

cerulean totem
#

ayone running mosquitto mqtt on docker ? I can't seem to get the persistence db

wet pilot
wet pilot
#

Woot even strength natural hattrick for Alex ovechkin 😀

#

🏒

barren hound
#

i'm doing 12v everywhere, since I'll use it for lighting (thought about 24v for a while, but 12v devices are more prevalent)

#

also the alarm system and access control already run 12v, so having a common battery and psu size was attractive.

mighty summit
#

@barren hound which cable did you run ?

low harness
shy notch
#

You should really ask someone who is more familiar with the forum

#

Like uh, Fabian or one of the mods

low harness
#

Ok. I just started from the top of the list of admins...

shy notch
#

🙈

low harness
#

Haven't seen dale3h around here in ages...

#

Sorry about the spamming...

#

Oh. Didn't realize @clever mortar was active. Could you look at that 👆

clever mortar
#

👋 Not really active, more lurking

#

However, I'm not sure is the honest answer, I'm not a guru on the forums

proven spruce
#

and spanking people

clever mortar
#

Well, yeah, that seems to be 50% of the role - clue-by-four delivery

languid sphinx
#

If I had money to just burn, I'd toss all of these aqara sensors and put shelly H&Ts around the house

pure vine
#

is board waiting for his old laptop to backup

past sorrel
#

@clever mortar - In theory, should it be possible to have google_assistant send client/long lived token to nginx via basic auth for the path required for GA?

clever mortar
#

google_assistant is for incoming requests, it won't send anything to NGINX

wet pilot
#

google_assistant uses its own auth handling

past sorrel
#

LMAO - I may have said that incorrectly. When you set up the Google project. There is an option to send clientid / token to the end point, via basic auth. HA instructions say to leave it unchecked. But in theory, you should be able to send it to nginx running point for HA.

clever mortar
#

If you want NGINX to do auth (like I do) just add the username and password to the URL as you would do otherwise

#

It's pretty pointless though

past sorrel
#

Agreed, as always, thanks!!!!

pure vine
#

I have 2 storage related questions, Is 128gb ennough for home assistant and will usb 3.0 be a bottel kneck for a sata ssd

clever mortar
#

Given many folks run it on 32 GB SD cards, yes, and "depends", but maybe try asking in #330944238910963714 where it's on topic 😉

pure vine
#

Yeah

real path
#

hi all, anyone here able/willing to help with a samba share issue??

midnight adder
#

@real path is wifi on same network as lan?

minor jackal
#

Depends, smbd on linux or windows samba?

real path
#

yeah, I checked that, I only have one machine on Lan and its on WORKGROUP (standard setup on Win 10)

clever mortar
#

Windows isn't Samba @minor jackal 😛

real path
#

samba is currently running on my PI 3 B+ with HA

midnight adder
#

@real path did you try to go to it in explorer with //<IP>/

#

i meant \<ip>\

#

grr

#
\\entropy\
#

in file explorer

real path
#

no, I opened explorer and nothing showed up, refreshed a few times

midnight adder
#

yah try that

real path
#

i'll give it a try though

#

Ahh... weird.. had to enter in a username and password.. but thanks.. its the simple stuff that throws us hehe

midnight adder
#

yah i dont know the rules there - but - sometimes doing that makes it work. then you can set up a map or whatever and it should be fine from there.

real path
#

thank you. 😃

midnight adder
#

you bet

sacred hornet
#

@light trout sir, i need your help with the Tautulli Card from https://sharethelove.io/picture-elements-cards/tautulli-card

#

the card appears for a fraction of a second and the vanishes

#

i cant figure out why

#

my sensor is configured properly

light trout
#

@sacred hornet I will need to remove that example, it will not work anymore

sacred hornet
#

ahh okay

#

why so, if you dont mind me asking

light trout
#

It is based of a custom component that has capabilities the official version do not have

barren hound
#

@mighty summit Going to run Cat6 to practically everywhere (minimum 4 per room, probably closer to 12 in the office, and at least 8 in the living room), structured cable to the exterior doors (Cat6 + 18/2 Lock Pwr + 18/8 for Reader + 18/4 Rex + 18/2 Door Sensor), 18/8 for t-stats, 18/4 for keypads, 16/2 or 14/2 from the PSU to the LED lighting, 14/2 for all the speaker homeruns... the list goes on

#

of course, there's just dirt right now, so all of this is theory until they do framing

mighty summit
#

@barren hound thx for the details, much appreciated

#

off to translate all that into metric :p

#

why are you running 16/2 (or 14/2 ) to the lights ? why not solid core ?

barren hound
#

18/2 means two 18AWG wires

#

14/2 is two 14AWG wires

mighty summit
#

but stranded ?

barren hound
#

it's guage/number

mighty summit
#

right ?

barren hound
#

stranded is easier to run

gritty crystal
#

anyone know a cheap powersocket that reads usage (EU socket) and plays nice with HA? (i have a zigbee network and mqtt running. Can flash tasmota if needed)

barren hound
#

budget?

#

the Sonoff Pow is ~$10 and will run tasmota/espurna

gritty crystal
#

yeah

#

thing is i'd rather have a plug solution

#

instead of wiring this

#

since its for my washing mashine

#

needs to power a bit more as just lights 😦

#

so not sure i trust the sonoff pow with that

#

budget <$20-30, lower if poss

clever mortar
#

Z-Wave devices will cost more, but most will handle that kind of power load

barren hound
#

yeah

#

I use the monoprice (Hank) plug for my washer, and it works great

#

and washers aren't outside of what the sonoff can do, it's dryers that will make magic smoke

quartz ether
#

Ordered a Ring doorbell pro and a corner kit. It arrives... Get the Ring and a Wedge kit :/ Contact customer support they are all good and happy to fix. Send me out a replacement part.... Another Wedge Kit. So contact them again being like umm how... but ok happy to wait another 2 weeks to get another replacement part. Guy gets a job done and has it sent out same day so get it straight away. Like WOW great service, then I open the box.... YET ANOTHER WEDGE KIT.... I am seriously considering giving them back the ring and just getting a nest to prove a point

gritty crystal
#

hmm. Monoprice delivers EU plugs?

For z-wave i'd have to set up a new network. so thats not ideal (rest of the house is running on sonoff/shelly/zigbee2mqtt (Xiaomi/ikea)

#

but you'd say the pow should be fine for a washing machine

barren hound
#

standard washing machines use ~10A

#

Sonoff POW is rated for 16A

#

that's a decent safety factor

quartz ether
#

Shelly has one big enough for a washing machine.

#

I would go Shelly over sonoff (better components not as cheaply built)

gritty crystal
#

the plug S

#

yeah might wait for the plug S

#

depending on how easy it'll be to flash

#

cause a blue led would be a real turnoff

quartz ether
#

Dont want to just wiring in a Shelly or Shelly 2?

gritty crystal
#

rental house 😦 dont wanna mess with the power near the washer

quartz ether
#

Oh fair enough.. Do not want to be the guy that burns that down

gritty crystal
#

exactly

#

already put shelly's in all my ceiling lightpoints

#

but those switch less power

quartz ether
#

Been waiting on the Ring people now for over 40 min :S

hearty depot
#

Lol my father asks me what I like to christmais
wich NUC I want? 🤣

languid sphinx
#

Hades Canyon? Unless there is a newer model in that line.

last plaza
#

@hearty depot ash him to get two NUC i7s, one for you, one for me 😛

hearty depot
obsidian grove
#

?rank other

slim rampartBOT
#

@obsidian grove, you joined Other.

hearty depot
#

Round 100$ not bad

loud hornet
#

Sup everyone!

#

I'm considering getting the ring video doorbell 2 + echo dot for $169 on Amazon. Just curious if they are worth the cost?

wet pilot
#

I've heard lots of good things from neighbors

young sigil
#

You mean you can listen to them through their echo dot? 😂

cloud dock
#

?rank other

slim rampartBOT
#

@cloud dock, you joined Other.

wet pilot
#

gets quiet in here in the overnights (us)

slim rampartBOT
#

@young sigil, you joined Other.

thorn estuary
#

@loud hornet I recently got a Ring doorbell in the blackfriday sale. I like it.

#

Worth the cost? Depends how price sensitive you are but I am happy with it for the BF price

#

I wish there was a way for me to have it take a picture - so I can have a still of what it looks like outside - there might be a way to do this

#

lol, I just noticed they asked that 9 hours ago. oops

hearty depot
#

Deam.. I locked me out of my uniFi Controller app xD

#

Somebody got it running and knows what it needs for a passord?

wet pilot
hearty depot
#

#randomwuestions?

clever mortar
#

Have you considered asking on the UniFi forums 😉

hearty depot
#

I feel here more home and I like you all so much 😄

#

God deam.. Its friday?

wet pilot
hearty depot
#

I can get this with a value template xD

vagrant pebble
#

Can anyone give me a pointer for an automation for my electric gates I have managed to get them in to HA via Broadlink and wanted to try and get something working with Life360 ?

wet pilot
vagrant pebble
#

Ok will try thx

trail crag
#

So many new pixel sounds.

mossy nymph
#

i cannot find a updated way to get alexa tts to home assistant

cinder wagon
#

Good evening everyone, my house currently has a lot of dual and 3 way switches. I'm not quite sure where to start looking. Any suggestions?

vale shale
#

@cinder wagon Lutron Caseta pro is a nice choice. A little on the expensive side however.

#

~ask @mossy nymph

velvet horizonBOT
#

@mossy nymph When you do ask a question, try to provide as much background detail as possible. Ask yourself these questions first so that others don't have to:

  1. What version of the software are you running?
  2. What's your operating system?
  3. What exactly are you trying to do that won't work?
  4. Is the problem uniform or erratic?
  5. What's the exact error message?
  6. When did it arise?
  7. What exactly don't you "get"?
  8. Can you provide sample code, ideally with line errors where the error occurs?
cinder wagon
#

@vale shale so I need to replace all switches within the 3 way?

vale shale
#

yes. From what I've seen you would need one of their switches and place some pico remotes for the other switches in the circuit.

cinder wagon
#

Fair enough, thanks for the info

sterile copper
#

(my background: I'm an IT by trade, taught IT courses in the Navy, currently work on linux often with work) If someone has some samba expertise, maybe they can help me: I'm using the latest version of HA within a Hassbian install on a Raspberry Pi 3 B+ . I'm using Windows 10 enterprise joined to a corporate domain (my work laptop not connected to the corporate VPN) to ssh into the Pi and config samba. I can ping the Pi via hostname and IP in both directions. After installing samba , configuring, and restarting service - windows explorer "can't access" anything on the Pi using the IP. Error code is 0x80004005 Unspecified Error. I've tried the default config, a custom config, no changes - always using "WORKGROUP" since I obviously can't change the domain/workgroup on the PC. There are no firewalls enabled on the PC or Pi. This was an issue immediately from install, has never worked. Any ideas would be appreciated!

wet pilot
sterile copper
#

ok, I guess there is no channel for hassbian - I'll try hassio. Thanks

zinc helm
#

I have an install from home assistant that I did last January on an Ubuntu virtual machine running on my esxi server. I did an install in a python virtual environment as documented in the advance guide.

I recently tried to upgrade my install, but ran into a bunch of issues. Firstly my python was too old, so I upgraded that, then I did a pip3 install --upgrade homeassistant but that caused home assistant to stop working.

Lukily I had a backup of the VM and restored that, but right now I’m stuck at the upgrade.

I’m happy to wipe and start again but would prefer not to as I also have dasher etc working on the same virtual machine- any advice on upgrading?

clever mortar
#

~python @zinc helm

velvet horizonBOT
clever mortar
#

That's the process I followed, twice, works fine

zinc helm
#

Thanks will try. I had 3.5.2 but when I upgraded things stopped working

clever mortar
#

When I moved from 3.4 to 3.5, and 3.5 to 3.6 I build a venv in a different location, so that I could trivially revert

#

Even now, for major upgrades I'll clone the venv before an upgrade, so that if it goes wrong I can move the folder back

zinc helm
#

Thanks, I think I know what you're saying, and I get the concept of virtual environments, it's just I've never played with python at this level before and since the last time I played with HA was in January, I'm a bit lost as I'm not even sure where how it works/was configured in the VE...

clever mortar
#

Before you start, cd /srv; find homeassistant -depth -print|cpio -pdm homeassistant-backup

#

That'll clone your venv to homeassistant-backup

zinc helm
#

Thanks. Mine was installed in the home directory, so started there. I now have a homeassistnat-backup

#

still making the environment

#

to make sure my setup is right

clever mortar
#

Yeah, it takes a while to set it up

zinc helm
#

when I go to my /home/user/homeassistant directory

#

and do an LS

#

I only get these files

clever mortar
#

ls -a 😉

#

Any file or folder starting with . is hidden by default

zinc helm
#

. .. bin ._.DS_Store .DS_Store homeassistant include lib lib64 pip-selfcheck.json pyvenv.cfg share

clever mortar
#

So, that's your venv then, not your config files, yes?

zinc helm
#

am I running in a python virtual environment or not

#

that's just a directory listing of my home assistant directory where I installed

clever mortar
#

Looks kind of like my venv, only you're running on a Mac I guess

zinc helm
#

on ubuntu

clever mortar
#

Still looks like a venv

zinc helm
#

great, I was just getting confused when I'm looking at the process to follow since directories are different- the docs reference /srv/homeassistant/homeassistant_venv/

clever mortar
#

Yeah, that's where I built mine, based off the old AIO installs

#

I run it as homeassistant rather than my user

#

(again, as per the old AIO installs)

zinc helm
#

Thanks, ok, so did the install, and got this

#

The directory '/home/ubuntu/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.

#

when I type python3.6 it seems to be installed

clever mortar
#

So, don't use sudo 😉

#

However, try find /home/ubuntu/.cache ! -user ubuntu -print|wc -l

#

If that doesn't show zero, that's the problem, and you can fix it with the following

zinc helm
#

Without sudo I get

#

/usr/bin/install: cannot remove '/usr/local/bin/python3.6m': Permission denied
Makefile:1147: recipe for target 'altbininstall' failed

clever mortar
#

What command are you running there?

zinc helm
#

your command shows 0

clever mortar
#

That bit requires sudo make install

#

Too many folks build the venv (next step) with sudo, and break things

zinc helm
#

ok and it's at the end of that that I get the .cache error

clever mortar
#

That's probably because you're running it with sudo, so maybe try sudo -H make install to avoid it

zinc helm
#

great- that did it

#

thanks for bearing with me

clever mortar
#

Not a problem

zinc helm
#

ok at the last step of the instructions (hopefully)

#

Switch the virtual environments

#

I'm in the new environment, just upgraded HA in that

#

when I try to do this

#

(homeassistant_venv_3.6) ubuntu@ubuntuHome:~/homeassistant/homeassistant_venv_3.6$ sudo systemctl stop home-assistant
Failed to stop home-assistant.service: Unit home-assistant.service not loaded.

#

it is running

clever mortar
#

The unit file is possibly missing/needing updated

zinc helm
#

(I can tell via web interface)

clever mortar
#

What does ls /etc/systemd/system/home-assistant.service show

zinc helm
#

ls: cannot access '/etc/systemd/system/home-assistant.service': No such file or directory
ls: cannot access 'show': No such file or directory

clever mortar
#

There's your problem 😉

zinc helm
#

I'm not sure I have it setup as a service

clever mortar
#

You need to create the unit file

zinc helm
#

I have no idea what a unit file is lol

clever mortar
#

You'd name it home-assistant@ubuntu.service in your case, to have it run as the ubuntu user

zinc helm
#

ok, I can't remember how I originally did it, but something is setup and runs on reboot automatically lol- it's not something as silly as I'm in the new environment and I need to be in old one to shut it down right

clever mortar
#

Ok, brute force search time 😉

#

ls -l /etc/init/*home* /etc/init.d/*home* /etc/systemd/system/*home*

zinc helm
#

in my notes I had this

#

sudo systemctl restart home-assistant@ubuntu

clever mortar
#

Ok, then /etc/systemd/system/home-assistant@ubuntu.service should exist

#

If you created the new venv in a different location, you'll need to update the unit file (that file) to match

zinc helm
#

yip it's there 😃

#

/etc/systemd/system/home-assistant@ubuntu.service

#

it's 1AM lol getting tired haha

clever mortar
#

So, you should be able to stop and start as you were before, assuming the paths are the same

#

First startup may take a while as it downloads and compiles any dependencies