| Deutsch English Français Italiano |
|
<1+D+dbIZYirnFwbO@ku.gro.lloiff> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Adrian <bulleid@ku.gro.lioff> Newsgroups: comp.sys.raspberry-pi Subject: Re: USB controlled mains switch Date: Thu, 13 Feb 2025 17:04:25 +0000 Organization: Occasionally Lines: 57 Message-ID: <1+D+dbIZYirnFwbO@ku.gro.lloiff> References: <TjgqpoLGRDjnFwvW@ku.gro.lloiff> <S2sNdRJ9AhqnFwmc@ku.gro.lloiff> <voibvg$2bloc$1@dont-email.me> <kH8PzvDQkLrnFwLV@ku.gro.lloiff> <eSD*zI36z@news.chiark.greenend.org.uk> <vol5gc$2v89p$1@dont-email.me> Reply-To: Adrian <bulleid@ffoil.org.uk> MIME-Version: 1.0 Content-Type: text/plain;charset=us-ascii;format=flowed Injection-Date: Thu, 13 Feb 2025 18:10:54 +0100 (CET) Injection-Info: dont-email.me; posting-host="87893aaab98d302735a1cdb0a68c59f8"; logging-data="3155392"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Lf1Hp7jPMFI++fLuNH6RZlcw4GGOyYDg=" User-Agent: Turnpike/6.07-M (<HRwzP9rP$wDm9Hse+R$aFm72F3>) Cancel-Lock: sha1:5pQB5lPT0DEnblXFMLvd7K5hurQ= Bytes: 3725 In message <vol5gc$2v89p$1@dont-email.me>, Pancho <Pancho.Jones@protonmail.com> writes >On 2/13/25 12:15, Theo wrote: >> 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. > >I had no idea why I chose Domoticz over HA, it was a few years ago, but >you present a compelling argument. > >My rpi4 Domoticz install is a 12 line docker-compose.yml. > >I already had MQTT. > >Domoticz works, lets me switch things on and off, immediately or >scheduled, and provides me with historical usage graphs. Which is all I >really want. > I've managed to get a PI to ask HA to turn my switch on and off, but I've not been able to get the PI to read the data used to generate the graphs, which I'd like to be able to do. It would be useful to at least know if the switch is already on before I try to turn it on again ! Bonus points for being able to get the power consumption of the device it is controlling. >Dunno if it relates to you, but I had a similar SSH problem. > >I had a Gitea Container (a pretty UI git repo manager) needing to >reserve the standard SSH port for git to work, this took over the host >rPi host standard SHH port. My solution was to assign the Gitea >container its own LAN IP address using a Docker Macvlan network drive, >thus the Gitea container and the host rPI could each use the default >SSH port as they had distinct IPs. > > Until installing HA, I've never (knowingly) had any dealings with Docker. Adrian -- To Reply : replace "bulleid" with "adrian" - all mail to bulleid is rejected Sorry for the rigmarole, If I want spam, I'll go to the shops Every time someone says "I don't believe in trolls", another one dies.