Re: USB controlled mains switch

Liste des GroupesRevenir à cs raspberry-pi 
Sujet : Re: USB controlled mains switch
De : theom+news (at) *nospam* chiark.greenend.org.uk (Theo)
Groupes : comp.sys.raspberry-pi
Date : 13. Feb 2025, 13:15:32
Autres entêtes
Organisation : University of Cambridge, England
Message-ID : <eSD*zI36z@news.chiark.greenend.org.uk>
References : 1 2 3 4
User-Agent : tin/1.8.3-20070201 ("Scotasay") (UNIX) (Linux/5.10.0-28-amd64 (x86_64))
Adrian <bulleid@ku.gro.lioff> wrote:
So far as I've been able to find out, HA is only installed as an image
on the SD card (using the RPI Imager), rather than manually installed on
an existing Pi image (e.g. apt install ...), so that means that the Pi
can only be used for what HA allows you to do.  Therefore, one downside
(for me) with HA is that I don't seem to be able to gain SSH access to
the PI.  I can access it via the web interface, and I can install a ZSH
shell on it, but that is in (I think) a Docker Container.  What I would
like to be able to do, which I can with my other Pis, is to run regular
health check stuff, CPU temp, free memory, free card space that sort of
stuff.  I can do that from the Docker Container, but I can't set up a
cron job to do it, and I haven't even tried getting it to email me a
daily summary.

HA can be installed in several ways.

The normal HAOS install has a series of Docker containers that are
orchestrated by HA, and to do that it uses the whole Pi.  SSH access is to
inside the primary container, rather than the native system.

It's possible to install HA via Docker onto a regular RaspiOS system.  That
means you have access to the outside system, but the downside is that HA
can't manage its own containers.  For example, some plugins come in separate
containers and you'd have to install those by using Docker, rather than
clicking a button in HAOS and have it spin them up itself.

(If you pass through the Docker socket to the primary HA container, it's
possible it can then orchestrate other containers without using HAOS.  I
haven't tried that)

There's also a 'just install HA using Python' method in which case there's
no Docker containers, but that means upgrading is up to you doing it by
hand.  HA changes pretty regularly so that method isn't recommended.

Finally, if you were on x86 you can install HAOS in a VM which is just like
having it take over the whole machine only inside a VM.  You could run a
HAOS image using KVM on a Pi but I'm not sure how smooth that would be.

Theo

Date Sujet#  Auteur
19 Jan 25 * USB controlled mains switch38Adrian
19 Jan 25 +* Re: USB controlled mains switch3Mike Scott
19 Jan 25 i+- Re: USB controlled mains switch1Pancho
19 Jan 25 i`- Re: USB controlled mains switch1Adrian
19 Jan 25 +* Re: USB controlled mains switch6Chris Green
19 Jan 25 i+- Re: USB controlled mains switch1The Natural Philosopher
19 Jan 25 i`* Re: USB controlled mains switch4Adrian
19 Jan 25 i +* Re: USB controlled mains switch2Theo
19 Jan 25 i i`- Re: USB controlled mains switch1Adrian
20 Jan 25 i `- Re: USB controlled mains switch1druck
19 Jan 25 +* Re: USB controlled mains switch4Pancho
19 Jan 25 i`* Re: USB controlled mains switch3The Natural Philosopher
19 Jan 25 i `* Re: USB controlled mains switch2Adrian
19 Jan 25 i  `- Re: USB controlled mains switch1Pancho
19 Jan 25 +- Re: USB controlled mains switch1Stefan Kaintoch
19 Jan 25 +- Re: USB controlled mains switch1The Natural Philosopher
19 Jan 25 +- Re: USB controlled mains switch1David Higton
19 Jan 25 +* Re: USB controlled mains switch8R.Wieser
19 Jan 25 i`* Re: USB controlled mains switch7Chris Elvidge
20 Jan 25 i `* Re: USB controlled mains switch6R.Wieser
20 Jan 25 i  `* Re: USB controlled mains switch5mm0fmf
20 Jan 25 i   +- Re: USB controlled mains switch1The Natural Philosopher
20 Jan 25 i   `* Re: USB controlled mains switch3R.Wieser
20 Jan 25 i    `* Re: USB controlled mains switch2Lars Poulsen
20 Jan 25 i     `- Re: USB controlled mains switch1R.Wieser
20 Jan 25 +- Re: USB controlled mains switch1druck
21 Jan 25 +- Re: USB controlled mains switch1Joe Beanfish
10 Feb 25 `* Re: USB controlled mains switch11Adrian
12 Feb 25  +* Re: USB controlled mains switch8Pancho
12 Feb 25  i`* Re: USB controlled mains switch7Adrian
13 Feb 25  i `* Re: USB controlled mains switch6Theo
13 Feb 25  i  +- Re: USB controlled mains switch1Adrian
13 Feb 25  i  `* Re: USB controlled mains switch4Pancho
13 Feb 25  i   `* Re: USB controlled mains switch3Adrian
13 Feb 25  i    `* Re: USB controlled mains switch2Pancho
13 Feb 25  i     `- Re: USB controlled mains switch1Adrian
12 Feb 25  `* Re: USB controlled mains switch2Michael Schwingen
12 Feb 25   `- Re: USB controlled mains switch1Adrian

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal