aisha.maker
@aisha_r58 · Mitglied seit Oktober 2025
Maker · home automation · Brisbane
- Themen
- 7
- Antworten
- 40
- Punkte
- 0
Erstellte Forenantworten
Von English mit KI übersetzt ·
Bei mir gibt es gar keine Verbindungszeilen, nur Änderungen. Das Gerät ist ein SNMP-Gerät.
Mine has no connect rows at all, only changes. The device is an SNMP box.
Von English mit KI übersetzt ·
uMQTTBroker funktioniert, ich habe es eine Zeit lang betrieben. Kein TLS, und bei mir ist es bei etwa 8 Clients abgestürzt.
uMQTTBroker works, I ran it for a while. No TLS, and it fell over at about 8 clients for me.
Fast blink means not connected. Once they link you get two quick blinks every couple of seconds.
I use a DevKitC board with a WROOM-32E on it for everything at home, plug in USB and go.
Von English mit KI übersetzt ·
Hermetry ist das egal, es sieht nur eine TLS-Verbindung auf 8883 (oder HTTPS auf 443). Ethernet oder WLAN ist für es unsichtbar.
Für eine Platine würde ich einen Olimex ESP32-POE-ISO nehmen. Ich habe drei davon in einem Gewächshaus. Isoliertes PoE, Ethernet on board, funktioniert mit dem normalen ESP32-Arduino-Core. Beim ESP32 läuft das Ethernet über denselben Netzwerk-Stack wie WLAN, daher funktionieren WiFiClientSecure und PubSubClient unverändert:
#include <ETH.h>
#include <WiFiClientSecure.h>
#include <PubSubClient.h>
WiFiClientSecure net;
PubSubClient mqtt(net);
void setup() {
ETH.begin(); // ESP32-POE-ISO Standardwerte
while (!ETH.linkUp()) delay(200);
net.setCACert(ROOT_CA); // öffentliche CA, der Broker-Host hat ein öffentliches Zertifikat
mqtt.setServer(BROKER_HOST, 8883); // Hostname, nicht IP (SNI)
}
void loop() {
if (!mqtt.connected()) mqtt.connect("barn-01", ACCESS_TOKEN, NULL);
mqtt.loop();
// alle 60 s:
// mqtt.publish("v1/telemetry", "{"temperature":7.4,"humidity":81}");
}
Der Token ist der Benutzername, das Passwort bleibt leer. PubSubClient veröffentlicht nur mit QoS 0, was Hermetry akzeptiert. Die Schritte für den Token stehen unter Connect your first device.
Und bei der Nicht-ISO-Version nicht gleichzeitig per USB und PoE versorgen, so habe ich einen Laptop-USB-Port verloren.
Hermetry doesn’t care, it only sees a TLS connection on 8883 (or HTTPS on 443). Ethernet or WiFi is invisible to it.
For one board I’d get an Olimex ESP32-POE-ISO. I have three in a greenhouse. Isolated PoE, Ethernet on board, works with the normal ESP32 Arduino core. On ESP32 the Ethernet goes through the same network stack as WiFi, so WiFiClientSecure and PubSubClient work unchanged:
#include <ETH.h>
#include <WiFiClientSecure.h>
#include <PubSubClient.h>
WiFiClientSecure net;
PubSubClient mqtt(net);
void setup() {
ETH.begin(); // ESP32-POE-ISO defaults
while (!ETH.linkUp()) delay(200);
net.setCACert(ROOT_CA); // public CA, broker host has a public cert
mqtt.setServer(BROKER_HOST, 8883); // host NAME, not IP (SNI)
}
void loop() {
if (!mqtt.connected()) mqtt.connect("barn-01", ACCESS_TOKEN, NULL);
mqtt.loop();
// every 60 s:
// mqtt.publish("v1/telemetry", "{"temperature":7.4,"humidity":81}");
}
Token is the username, password empty. PubSubClient only publishes QoS 0, which Hermetry accepts. Steps for the token are in Connect your first device.
And on the non-ISO version don’t power it from USB and PoE at the same time, I lost a laptop USB port that way.
Same goes for 32-bit values split over two registers, then you also have to get the word order right. Fun times.
Von English mit KI übersetzt ·
TERM war exakt vt220. Mit dem bashrc-Block gibt es jetzt Farben und ein htop in voller Breite über die serielle Verbindung. Außerdem habe ich Erics Tipp umgesetzt, der Dienst läuft ohne Farbe, damit das Journal sauber bleibt. Danke an alle!
TERM was vt220, exactly. With the bashrc block it’s colours and a full-width htop over serial now. I also added Eric’s tip, the service runs with colour off so the journal is clean. Thanks all!
Von English mit KI übersetzt ·
Dasselbe Problem tritt auch in picocom auf meiner Linux-Kiste auf, habe ich ausprobiert.
Same thing in picocom from my Linux box, I tried.
careful, my LTE module had MHF4 on it and U.FL didn’t fit at all
Von English mit KI übersetzt ·
Soweit ich weiß, wählst du die White-Space-Kanäle nicht selbst. Das Funkgerät fragt eine von der Aufsichtsbehörde zugelassene Geolokations-Datenbank ab, die ihm mitteilt, was an diesem Ort frei ist und mit welcher Leistung es senden darf.
As far as I know you don’t pick white space channels yourself. The radio asks a geolocation database approved by the regulator, which tells it what’s free at that spot and at what power.
Von English mit KI übersetzt ·
Ich habe mich dafür entschieden. Eine Template-Organisation angelegt, 4 Kunden-Organisationen, Kunden als User. Ich habe mit einem Dummy-User-Account getestet, und das Menü Flows fehlt, gut. Der Import der Board-Datei hat beim ersten Versuch funktioniert. Ich denke, ich verschiebe die Dosierung in der nächsten Version in die Firmware, der ständige Reimport des Flows viermal ist schon nervig.
Went with this. Made a template org, 4 customer orgs, customers as User. I tested with a dummy User account and the Flows menu isn’t there, good. Board file import worked first time. I think I’ll move the dosing into firmware next version, re-importing the flow four times is already annoying.
Von English mit KI übersetzt ·
Wenn es pro Firma eine eigene Organisation gibt, muss ich dann den Flow und die Dashboards 4 Mal neu aufbauen? Und jedes Mal, wenn ich die Dosierlogik ändere?
If it’s one org per company, do I rebuild the flow and dashboards 4 times? And every time I change the dosing logic?
Hi Sema! Is there a way to show a board on an old tablet stuck to the wall without anyone signing in on it? My hallway would be perfect for that.
Von English mit KI übersetzt ·
Der Loopback-Test lohnt sich, in deinen Notizen aufgehoben zu werden. Hat mir zweimal geholfen.
The loopback test is worth keeping in your notes. Saved me twice.
I thought SF12 is just a slower version of SF7, same thing, more time?

