AminetAminet
Search:
85572 packages online
About
Recent
Browse
Search
Upload
Setup
Services

comm/tcp/AmiHomeassist-0.7.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric iconother icon
No screenshot available
Short:Home Assistant dashboards for MUI, now with thermostats
Author:radi777
Uploader:thomas.radeck gmail com (radi777, see note below)
Type:comm/tcp
Version:0.7
Architecture:m68k-amigaos
Date:2026-09-09
Requires:dev/mui/MCC_NList-0.128.lha
Distribution:Aminet
Download:comm/tcp/AmiHomeassist-0.7.lha - View contents
Readme:comm/tcp/AmiHomeassist-0.7.readme
Downloads:4

AmiHomeassist - your smart home from a real Amiga
=================================================

Lights, sockets, blinds, sensors and thermostats from Home Assistant,
arranged on dashboards of your own. A sidebar on the left with an icon
per page, the contents of the selected page on the right in framed
groups. One click on the switch flips the device. States are polled, so
changes made elsewhere show up by themselves.

You decide what appears and how it looks. A large Home Assistant setup
easily has 900 entities and you want a dozen or two. So there is a
picker with a suggestion you can overrule, and an editor where pages,
groups and devices are put together freely.

NEW IN 0.7

Heating. The climate domain is fetched too, with a widget of its own:
current and target temperature on one line, then three buttons - colder,
warmer, operating mode. The steps are the ones your thermostat allows,
half a degree on some, a whole one on others. Temperatures are handled
as whole tenths of a degree, so this still runs without an FPU.

Timeouts on the wire. Until 0.6 the whole program stood still when Home
Assistant did not answer, until the TCP stack gave up - measured at 76
seconds per attempt, with no window, no menu, no Ctrl-C. Now connecting
gives up after five seconds, sending and receiving after fifteen, and
after the second failure in a row it only knocks every thirty seconds
until the machine answers again. Measured: 5.3 seconds instead of 76.

If the settings hold a numeric address instead of a name, the name
lookup is skipped entirely - it is the one wait that cannot be bounded.

Two places still said "auf"/"zu" and "an"/"aus" in German from the
source, even in an English program. Fixed.

The state query no longer makes Home Assistant write warnings into its
log. It used to produce thousands of them a day in a large setup.

WIDGET KINDS

  Switch      light and switch - the toggle you click
  Indicator   binary_sensor - window open or closed
  Number      sensor with its unit
  Bar         sensor with a fixed range, per cent or watts
  Blind       cover - up, stop, down, and the position
  Thermostat  climate - current and target temperature, colder, warmer,
              and the operating mode
  Text        a caption

When you add a device the program suggests a kind, from its domain and
device class. The editor lets you change it.

EASY ON THE WIRE

The full catalogue is fetched once. After that only the states of the
devices actually on screen are polled. In a setup with 941 entities
that is 1.4 KB instead of 55 KB per poll - 98 per cent less. On an
A500 over a slow link that is the difference between usable and not.
Memory grows on demand instead of sitting in fixed tables.

REQUIREMENTS

  AmigaOS 2.0 or newer, 68020 or better, no FPU needed
  MUI 3.8 or newer
  NList.mcc and NListview.mcc from dev/mui/MCC_NList
  a TCP/IP stack offering bsdsocket.library
  Home Assistant reachable over plain http - https is not supported
  a long-lived access token from Home Assistant

A shell version is included that works without MUI: list and switch
devices, for scripts.

The interface speaks English, German, Italian and Spanish. English is
built in; the other three ship as catalogues and are loaded through
locale.library. Device names, room names, units and states come from
Home Assistant, so those are in your own language anyway.

Full source is included, MIT licence - except muistubs.c, which comes
from the amimcp project and is Apache 2.0; its licence text is in the
archive. MUI's own developer headers are NOT included, as MUI's licence
permits redistribution of the complete original archive only; the
README says where to get them.

Icons are Material Design Icons (Apache 2.0). The house logo belongs to
the Home Assistant project, which is separate from and unaffiliated
with this program.

Italian and Spanish were not written by native speakers. The
translation files are plain text in the Source drawer - corrections are
welcome and need no recompilation.

Tested on an A500 with PiStorm (Emu68), OS 3.2.3, MUI 3.8.

This program is vibe coded. I described what it should do, an AI wrote
the code, and I read, tested and decided what stayed in. The full
source is in the archive, so you can judge for yourself.

Note on the uploader address: it is written without the @ and the dot
to keep address harvesters out. Put an @ before "gmail" and a dot in
front of "com" and you have it.


AmiHomeassist - dein Smarthome vom Amiga aus
============================================

Lampen, Steckdosen, Rollaeden, Sensoren und Heizungen aus Home
Assistant, geordnet in eigenen Dashboards. Links eine Seitenleiste mit
Symbolen, rechts der Inhalt der gewaehlten Seite in umrandeten Gruppen.
Ein Klick auf den Schalter legt das Geraet um; der Zustand wird zyklisch
nachgefuehrt, so dass Aenderungen von aussen von selbst erscheinen.

Welche Geraete auftauchen und wie sie aussehen, bestimmst du. Eine
grosse Home-Assistant-Installation hat schnell 900 Entitaeten, davon
willst du ein bis zwei Dutzend. Also gibt es eine Auswahl mit einem
Vorschlag zum Ueberstimmen und einen Editor, in dem Seiten, Gruppen und
Geraete frei zusammengestellt werden.

NEU IN 0.7

Heizungen. Die Domain climate kommt dazu, mit einer eigenen
Darstellungsart: Ist- und Solltemperatur in einer Zeile, darunter drei
Knoepfe - kaelter, waermer, Betriebsart. Gezaehlt wird in der
Schrittweite des Geraets, beim einen ein halbes Grad, beim anderen ein
ganzes. Temperaturen sind ganze Zehntelgrad, damit das Ganze weiter
ohne FPU auskommt.

Zeitgrenzen am Netz. Antwortet Home Assistant nicht, stand bis 0.6 das
ganze Programm still, bis der TCP-Stack aufgab - gemessen 76 Sekunden
je Versuch, ohne Fenster, ohne Menue, ohne Ctrl-C. Jetzt bricht der
Verbindungsaufbau nach fuenf Sekunden ab, Senden und Empfangen nach
fuenfzehn, und nach dem zweiten Fehlschlag in Folge wird nur noch alle
dreissig Sekunden angeklopft, bis der Rechner wieder antwortet.
Gemessen: 5,3 Sekunden statt 76.

Steht in den Einstellungen eine Zahlenadresse statt eines Namens,
entfaellt die Namensaufloesung ganz - sie ist die einzige Wartestelle,
die sich nicht begrenzen laesst.

Zwei Stellen waren fest deutsch, auch in einem englischen Programm:
die Rollladenzustaende und die Ausgabe der Shell-Fassung. Behoben.

Die Zustandsabfrage laesst Home Assistant keine Protokollwarnungen mehr
schreiben. In einer grossen Anlage kamen so tausende am Tag zusammen.

DARSTELLUNGSARTEN

  Schalter    light und switch
  Laempchen   binary_sensor - Fenster offen oder zu
  Zahl        sensor mit Einheit
  Balken      sensor mit festem Bereich, etwa Prozent oder Watt
  Rollladen   cover - Auf, Stop, Zu und die Stellung
  Thermostat  climate - Ist- und Solltemperatur, kaelter, waermer und
              die Betriebsart
  Text        eine Zwischenueberschrift

Beim Hinzufuegen schlaegt das Programm eine Art vor, aus Domain und
Geraeteklasse; im Editor laesst sie sich aendern.

SPARSAM AM NETZ

Den vollen Katalog holt das Programm nur einmal. Im Sekundentakt kommen
danach bloss die Zustaende der Geraete, die tatsaechlich angezeigt
werden. In einer Anlage mit 941 Entitaeten sind das 1,4 KB statt 55 KB
je Abfrage - 98 Prozent weniger. Auf einem A500 an einer langsamen
Leitung entscheidet das darueber, ob das Programm benutzbar ist. Auch
der Speicher waechst nach Bedarf, statt feste Tabellen zu belegen.

VORAUSSETZUNGEN

  AmigaOS 2.0 oder neuer, 68020 oder besser, keine FPU noetig
  MUI 3.8 oder neuer
  NList.mcc und NListview.mcc aus dev/mui/MCC_NList
  ein TCP/IP-Stack mit bsdsocket.library
  Home Assistant, ueber http erreichbar - https geht nicht
  ein Long-Lived Access Token aus Home Assistant

Eine Shell-Fassung liegt bei, die ohne MUI auskommt.

Die Oberflaeche spricht Englisch, Deutsch, Italienisch und Spanisch.
Englisch steckt fest im Programm, die anderen drei liegen als Katalog
bei und werden ueber locale.library geladen. Geraete- und Raumnamen,
Einheiten und Zustaende kommen aus Home Assistant und sind damit
ohnehin in deiner Sprache.

Der Quelltext liegt vollstaendig bei, MIT-Lizenz - ausser muistubs.c,
das aus dem Projekt amimcp stammt und unter Apache 2.0 steht; der
Lizenztext liegt im Archiv. MUIs eigene Entwickler-Header liegen NICHT
bei, weil MUIs Lizenz nur die Weitergabe des vollstaendigen
Originalarchivs erlaubt; die README sagt, woher man sie bekommt.

Die Symbole stammen aus den Material Design Icons (Apache 2.0). Das
Haus-Logo gehoert dem Home-Assistant-Projekt; Home Assistant ist ein
eigenstaendiges Projekt und hat mit diesem Programm nichts zu tun.

Italienisch und Spanisch stammen nicht von Muttersprachlern. Die
Uebersetzungsdateien sind reiner Text im Source-Verzeichnis -
Korrekturen sind willkommen und brauchen keine Neuuebersetzung.

Getestet auf A500 mit PiStorm (Emu68), OS 3.2.3, MUI 3.8.

Dieses Programm ist vibe-coded. Ich habe beschrieben, was es koennen
soll, geschrieben hat den Code eine KI, und gelesen, getestet und
entschieden habe ich. Der Quelltext liegt vollstaendig bei - schau
selbst hinein.

Hinweis zur Uploader-Adresse: sie steht ohne @ und ohne Punkt da, damit
Adresssammler nichts davon haben. Ein @ vor "gmail", ein Punkt vor
"com", fertig.


Contents of comm/tcp/AmiHomeassist-0.7.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[Amiga]                    743    2102  35.3% -lh5- 51e1 Sep  8 16:41 AmiHomeassist.info
[Amiga]                  36652   75664  48.4% -lh5- 884d Sep  8 16:41 AmiHomeassist/AmiHomeassist
[Amiga]                    725    2046  35.4% -lh5- a7ec Sep  8 16:41 AmiHomeassist/AmiHomeassist.info
[Amiga]                  23739   40332  58.9% -lh5- 289e Sep  8 16:41 AmiHomeassist/AmiHomeassistCLI
[Amiga]                    473    1020  46.4% -lh5- 5b45 Sep  8 16:41 AmiHomeassist/AmiHomeassistCLI.info
[Amiga]                    743    2102  35.3% -lh5- 51e1 Sep  8 16:41 AmiHomeassist/Catalogs.info
[Amiga]                   2263    4670  48.5% -lh5- 9de7 Sep  8 16:42 AmiHomeassist/Catalogs/deutsch/AmiHomeassist.catalog
[Amiga]                   2218    4650  47.7% -lh5- bd04 Sep  8 16:42 AmiHomeassist/Catalogs/espa?ol/AmiHomeassist.catalog
[Amiga]                   2204    4720  46.7% -lh5- d226 Sep  8 16:42 AmiHomeassist/Catalogs/italiano/AmiHomeassist.catalog
[Amiga]                   1777    3479  51.1% -lh5- 3d3d Sep  8 16:41 AmiHomeassist/Changelog.txt
[Amiga]                    419     906  46.2% -lh5- d108 Sep  8 16:41 AmiHomeassist/Changelog.txt.info
[Amiga]                   6653   15883  41.9% -lh5- 3266 Sep  8 16:41 AmiHomeassist/README.txt
[Amiga]                    419     906  46.2% -lh5- d108 Sep  8 16:41 AmiHomeassist/README.txt.info
[Amiga]                    353     874  40.4% -lh5- ccf3 Sep  8 16:41 AmiHomeassist/Source.info
[Amiga]                  10028   33527  29.9% -lh5- 9c06 Sep  8 16:42 AmiHomeassist/Source/amiha.c
[Amiga]                   2606    5756  45.3% -lh5- a6f1 Sep  8 16:42 AmiHomeassist/Source/amiha.h
[Amiga]                    864    2136  40.4% -lh5- f348 Sep  8 16:42 AmiHomeassist/Source/amiloc.c
[Amiga]                    379     639  59.3% -lh5- 78c8 Sep  8 16:42 AmiHomeassist/Source/amiloc.h
[Amiga]                   3479    9404  37.0% -lh5- 51bb Sep  8 16:42 AmiHomeassist/Source/appicon.py
[Amiga]                   2501    5714  43.8% -lh5- aa19 Sep  8 16:42 AmiHomeassist/Source/catalogs/deutsch.ct
[Amiga]                   2475    5694  43.5% -lh5- ff60 Sep  8 16:42 AmiHomeassist/Source/catalogs/espa?ol.ct
[Amiga]                   2463    5703  43.2% -lh5- 3cba Sep  8 16:42 AmiHomeassist/Source/catalogs/italiano.ct
[Amiga]                   1959    4264  45.9% -lh5- 61de Sep  8 16:42 AmiHomeassist/Source/checkfpu.py
[Amiga]                   2769    8757  31.6% -lh5- 7747 Sep  8 16:42 AmiHomeassist/Source/cli.c
[Amiga]                   5708   20401  28.0% -lh5- 8090 Sep  8 16:42 AmiHomeassist/Source/dash.c
[Amiga]                   1635    3871  42.2% -lh5- fe29 Sep  8 16:42 AmiHomeassist/Source/dash.h
[Amiga]                   6085   27376  22.2% -lh5- d8ae Sep  8 16:42 AmiHomeassist/Source/edit.c
[Amiga]                    568    1008  56.3% -lh5- 5836 Sep  8 16:42 AmiHomeassist/Source/edit.h
[Amiga]                  12891   52924  24.4% -lh5- 94b5 Sep  8 16:42 AmiHomeassist/Source/gui.c
[Amiga]                    568    2881  19.7% -lh5- c215 Sep  8 16:42 AmiHomeassist/Source/icons.c
[Amiga]                    657    1455  45.2% -lh5- e4d0 Sep  8 16:42 AmiHomeassist/Source/icons.h
[Amiga]                   1340    3855  34.8% -lh5- 31f1 Sep  8 16:42 AmiHomeassist/Source/icons.py
[Amiga]                   6847   94456   7.2% -lh5- 988b Sep  8 16:42 AmiHomeassist/Source/icons_mdi.c
[Amiga]                    747    1242  60.1% -lh5- b1ba Sep  8 16:42 AmiHomeassist/Source/LICENSE
[Amiga]                   3994   11358  35.2% -lh5- 19ee Sep  8 16:42 AmiHomeassist/Source/LICENSE-Apache-2.0
[Amiga]                   4385   11520  38.1% -lh5- f245 Sep  8 16:42 AmiHomeassist/Source/locale.py
[Amiga]                   3479   11536  30.2% -lh5- d746 Sep  8 16:42 AmiHomeassist/Source/locale_strings.h
[Amiga]                   1265   19264   6.6% -lh5- 87b1 Sep  8 16:42 AmiHomeassist/Source/logo.c
[Amiga]                   2038    4032  50.5% -lh5- 1cff Sep  8 16:42 AmiHomeassist/Source/Makefile
[Amiga]                   3494    8881  39.3% -lh5- 66de Sep  8 16:42 AmiHomeassist/Source/mdi.py
[Amiga]                   1013    2905  34.9% -lh5- ba38 Sep  8 16:42 AmiHomeassist/Source/mui/NListview_mcc.h
[Amiga]                   6561   33900  19.4% -lh5- 3fec Sep  8 16:42 AmiHomeassist/Source/mui/NList_mcc.h
[Amiga]                    785    1616  48.6% -lh5- 7c54 Sep  8 16:42 AmiHomeassist/Source/muistubs.c
[Amiga]                   2801    7407  37.8% -lh5- 04e6 Sep  8 16:42 AmiHomeassist/Source/strings.cd
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        44 files  175765  562836  31.2%            Sep  9 02:59
Page generated in 0.03 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>