Home Assistant : Q&A, Tips & Tricks, Your Configs

xrapidx

Honorary Master
Joined
Feb 16, 2007
Messages
40,312
Did you add this to your config
Code:
http:

  use_x_forwarded_for: true
 

SauRoNZA

Honorary Master
Joined
Jul 6, 2010
Messages
47,848
For watched library/history, install Trakt.tv addon in plex. Plex then syncs watch status to this. Then when you re-install plex its pulled from that again. Easy peasy if you ever lose your DB. I used this back in the day for multple kodi installs without a shared db.
Yeah could work but it's so hackey and unnecessary when I should just be able to access the damn data folder.

Does it work across multiple Plex user accounts?
 

SauRoNZA

Honorary Master
Joined
Jul 6, 2010
Messages
47,848
Yup supervised on myside. But I installed it on a debian os via a script asp per https://community.home-assistant.io/t/installing-home-assistant-supervised-on-debian-11/200253

I can ssh to the host(‘Native SSH’) and into hassio via the ssh addon. When using ‘Native SSH’, I can get to "/usr/share/hassio" but when ssh to hassio, as per your post #1,827 also can't get to "/usr/share/hassio"

Under correction you using and intel nuc with the https://www.home-assistant.io/installation/generic-x86-64/ ? As far as I know you can't access the host os from here.

My suggestion would be run debain on the nuc, and use the supervised install as per link above, then you can ssh to host os as well as the home assistant instant, would just need to use different ports for the ssh access. You can create a backup/snapshot and just restore once you have it up and running on debian.

Running it on a Chromebox, which I pursued when they opened up the NUC install to a Generic X86 one and I happened to have one laying around.

I mean Linux is my day job so installing a full server would be fine, it just seems to deeply unnecessary when Hass.io is meant to be the easy-mode.

I mean if I can't access the Appdata, how the hell will I manage Letsencrypt/DuckDNS/Nginx reverse proxies for different domains going to different things?

I'm starting to remember why I always hated the Raspberry Pi build and this whole addons notion everyone was on about and I stuck to Unraid and manual dockers instead.

Only reason I want Plex on there now is because it's a beefy i7 and should make Plex a whole lot nicer to deal with. I could just install it on my PC but then I'd need to leave that on permanently.
 

w1tw0lf

Expert Member
Joined
Sep 29, 2009
Messages
1,192
Running it on a Chromebox, which I pursued when they opened up the NUC install to a Generic X86 one and I happened to have one laying around.

I mean Linux is my day job so installing a full server would be fine, it just seems to deeply unnecessary when Hass.io is meant to be the easy-mode.

I mean if I can't access the Appdata, how the hell will I manage Letsencrypt/DuckDNS/Nginx reverse proxies for different domains going to different things?

I'm starting to remember why I always hated the Raspberry Pi build and this whole addons notion everyone was on about and I stuck to Unraid and manual dockers instead.

Only reason I want Plex on there now is because it's a beefy i7 and should make Plex a whole lot nicer to deal with. I could just install it on my PC but then I'd need to leave that on permanently.

From what I see and reading, Raspberry Pi build and the nuc build is pretty much the same install. It installs as an "appliance" and you can't do much from there on with it.

Have a look here https://community.home-assistant.io/t/where-did-ssh-go/282223, might have some answers for you.
 

Tinuva

The Magician
Joined
Feb 10, 2005
Messages
12,478
Running it on a Chromebox, which I pursued when they opened up the NUC install to a Generic X86 one and I happened to have one laying around.

I mean Linux is my day job so installing a full server would be fine, it just seems to deeply unnecessary when Hass.io is meant to be the easy-mode.

I mean if I can't access the Appdata, how the hell will I manage Letsencrypt/DuckDNS/Nginx reverse proxies for different domains going to different things?

I'm starting to remember why I always hated the Raspberry Pi build and this whole addons notion everyone was on about and I stuck to Unraid and manual dockers instead.

Only reason I want Plex on there now is because it's a beefy i7 and should make Plex a whole lot nicer to deal with. I could just install it on my PC but then I'd need to leave that on permanently.
proxmox or whatever. Run the virtual HA appliance if you can, even the x86 one.
Then a second vm with manual dockers.
Seems that will be easier for you. In fact if you have cameras, you want your blue iris on there.
 

SauRoNZA

Honorary Master
Joined
Jul 6, 2010
Messages
47,848
proxmox or whatever. Run the virtual HA appliance if you can, even the x86 one.
Then a second vm with manual dockers.
Seems that will be easier for you. In fact if you have cameras, you want your blue iris on there.

I have a whole Unraid setup to do all of those things and for all the discoveries above it will remain the primary solution.

I just wanted Plex on HA to take advantage of the hardware, so maybe I’ll try your trick to sync the data across.

It just seems utterly daft not to expose the docker config folders.

Cameras will all be HomeKit going forward and be entirely serverless in that regard.
 

MidnightZA

Expert Member
Joined
Mar 9, 2013
Messages
2,452
How can I determine if an ES08266 board is dead? There was a power outage last night and today the esp board suddenly stopped working (No light on boot at all. Not even a flash)

I connected it to my laptop via usb and tested the vcc pins. The 5V pin gave a reading of 4.8V and the 3.3V pin was showing 0V
 

deesef

Expert Member
Joined
Mar 3, 2017
Messages
2,627
How can I determine if an ES08266 board is dead? There was a power outage last night and today the esp board suddenly stopped working (No light on boot at all. Not even a flash)

I connected it to my laptop via usb and tested the vcc pins. The 5V pin gave a reading of 4.8V and the 3.3V pin was showing 0V

Either a component has failed and is pulling the 3.3v to ground, or a component in the 3.3v power circuit has failed.

Does the board boot if you supply 3.3v to the appropriate terminals?
 

MidnightZA

Expert Member
Joined
Mar 9, 2013
Messages
2,452
Either a component has failed and is pulling the 3.3v to ground, or a component in the 3.3v power circuit has failed.

Does the board boot if you supply 3.3v to the appropriate terminals?

Nope. Ive tried powering using USB, 5V pin and the 3.3V pin. None of them even causes the LED to flash once
 

deesef

Expert Member
Joined
Mar 3, 2017
Messages
2,627
Nope. Ive tried powering using USB, 5V pin and the 3.3V pin. None of them even causes the LED to flash once
I assume that you applied 3.3v to the 3.3v pin? 5v would sincerely kill it.

If yes, then it sounds like there was a surge when power was restored. What were you using to power it when the power failed?
 

MidnightZA

Expert Member
Joined
Mar 9, 2013
Messages
2,452
I assume that you applied 3.3v to the 3.3v pin? 5v would sincerely kill it.

If yes, then it sounds like there was a surge when power was restored. What were you using to power it when the power failed?

Yes 3.3V was applied to the correct pin. I was using a 5V 1.5A cellphone charger amd usb cable when the power failed/returned but normally I have it connected to a 12V battery with a step down converter
 

SAguy

Honorary Master
Joined
Nov 4, 2013
Messages
10,615
Anyone tried syncing two sonoff's together, so if the one is off the other goes off and visa versa?

I could use automations, but if I want to sync in both directions then that will cause a loop.
 

Veroland

Executive Member
Joined
Aug 24, 2005
Messages
6,304
Anyone tried syncing two sonoff's together, so if the one is off the other goes off and visa versa?

I could use automations, but if I want to sync in both directions then that will cause a loop.

I use NodeRed in HA for the complex automations, it is fairly easy to do what you want in that.
 

SAguy

Honorary Master
Joined
Nov 4, 2013
Messages
10,615
I use NodeRed in HA for the complex automations, it is fairly easy to do what you want in that.
I haven't taken the NodeRed plunge yet
All my config and deployment is in code, need to find the energy to update it.
 

Speedster

Honorary Master
Joined
May 2, 2006
Messages
21,685
Anyone tried syncing two sonoff's together, so if the one is off the other goes off and visa versa?

I could use automations, but if I want to sync in both directions then that will cause a loop.
Does the sync have to be instant? If you could allow for a short delay, you could use that to break the loop
 

Veroland

Executive Member
Joined
Aug 24, 2005
Messages
6,304
Does the sync have to be instant? If you could allow for a short delay, you could use that to break the loop
So what I basically do for simular scenarios:

If switch 1 turns off
- if switch 2 is on
- turn off switch 2

Edit:
I also define input booleans in my config file to carry extra state when I need it:
movement_lights_disable:
name: Disable lights toggle on movement
initial: off
icon: mdi:lightbulb-group-off


This will not turn off the lights if they were switched on with the switch instead of the movement sensors
 
Top