Yeni: Yapay zekâ güvenlik duvarı tüm platformu izliyor ve her olayı sade bir dille açıklıyor. Nasıl çalıştığını görün

Emily C.

emily30

@emily-campbell · Ağustos 2025 tarihinde katıldı

Yeni üye

Backend developer · energy

Konular
6
Yanıtlar
36
Puan
0
Yeni üye10 için Üye puan

Oluşturulan forum yanıtları

15 yazı görüntüleniyor – 1 ile 15 arası (toplam 36)

I asked the same thing when we did our first site, so here’s what I learned.

It comes down to the concentrator chip (SX1302/SX1303 family in current gateways, SX1301/1308 in older ones). It isn’t one radio, it’s a baseband that demodulates 8 channels in parallel and on each channel every spreading factor at once. A sensor doesn’t have to “connect” either: it transmits, every gateway in range hears it, done. No association like Wi-Fi. So listening to hundreds of sensors is mostly listening to short bursts that rarely overlap.

The cheap indoor ones use the same chip family. What you give up is the outdoor stuff: enclosure, a good antenna up high, cellular backhaul, GPS.

For Hermetry, check three things before buying:

  • A model for your band. Hermetry’s network server follows the gateway’s frequency plan, so the gateway and your sensors just need to be on the same one.
  • Basics Station support (LNS). The old UDP packet forwarder isn’t supported.
  • It lets you set tc.uri, upload tc.trust and set the token (tc.key). Hermetry doesn’t use CUPS, you configure it once by hand.

On the channels: Hermetry sends the gateway its radio configuration when it connects (on EU868 the 8 channels plus a 250 kHz LoRa channel and an FSK channel), so you don’t set channels yourself.

Keisha, for a warehouse: indoor gateway in the middle, mounted high, and check RSSI/SNR of the furthest sensors in the frames log before you trust coverage. Racking full of metal eats a lot.

Kabul edilen çözüm♥ 2

Yapay zekâ tarafından English dilinden çevrildi ·

Bir tedarikçi API’sine, anahtarı özel bir başlık satırında (X-Api-Key) göndererek veri gönderen bir akışımız var. Bu anahtar yeni adlandırılmış gizli anahtara mı taşınmalı, yoksa başka bir yere mi?

♥ 0

That makes sense, thanks Maria. Energy per wake-up was the idea I didn’t have. We’re going with an STM32L0 and we’ll measure a full wake cycle with a power profiler rather than reading datasheets. And yes, the transmit interval is now the main discussion.

♥ 0

Yapay zekâ tarafından English dilinden çevrildi ·

Bunu sonradan bulan herkes için güncelleme. Ünitemizde uzaktan açma/kapama terminali var; kurulumcu perşembe günü buna iki telli bir kablo çekti. Fiş artık sadece kuru bir kontağı kapatıyor; röle çıkışını fiş gövdesinden çıkarıp küçük bir DIN kutusuna aldım. Çalışma durumu yedek bir GPIO üzerinden ac.running olarak geri geliyor.Oda 27.4 dereceye ulaştığında kural dün gerçekten tetiklendi; klima başladı ve bildirimi aldım. Başta yaptığım bir hata vardı: anahtarı çalıştırmadan önce Ask seçeneğini kapatmıştım; Rachel’ın yanlışlıkla tıklama uyarısından sonra tekrar açtım.

♥ 0

Yapay zekâ tarafından English dilinden çevrildi ·

Brian, tamam, artık kendi profili var ve ofis aralığı sabitlendi.emily23, haklısın ve bu benim planımı çöpe attı. Öğle arasında test ettim: fişi 30 saniyeliğine çektim, geri taktım, iç ünite iki kez bip sesi çıkardı ve kapalı kaldı. Yani fiş sadece cihazı kapatabiliyor ve inverter kompresörünü çevrim ortasında kapatmak muhtemelen iyi bir fikir değil.

♥ 2

Your colleague is half right. Buffering on licensed gateways covers the link going down: they keep readings locally and send them later with their original timestamps, so the history fills in. How much they keep depends on the model, worth asking about the specific one before relying on it. Licensed gateways and Hermetry Edge

But a buffer doesn’t help when the power is off. The gateway is off, and so are your meters’ RS-485 interfaces if they’re on the same supply. There’s nothing to read. So in your hut the UPS is what keeps data flowing, and the buffering is what covers LTE dropouts.

For the charger, I’d not build one. A DIN-rail DC UPS module (24 V or 12 V, takes the battery directly, does float charge and switchover, has a “mains fail” relay output) is about the price of the parts and the time you’d spend. If you do build, Rahul’s numbers are right: about 13.6-13.8 V float at 20 °C, current limited to around 0.1C (0.7 A for 7 Ah), and temperature compensation if the hut gets hot.

Wire the “mains fail” contact to a gateway input and send it as mains_ok. Then an alarm on mains_ok == 0 tells you about the outage itself, and you can make the offline alarm of the meters wait longer than the UPS runtime minus a margin. If you use the Remote sites ready solution, its UPS profile already has keys like ups_a_status and ups_a_charge you could fill.

Kabul edilen çözüm♥ 3

Did this at home last winter. Bulbs: pick ones with a documented local LAN API. WiZ bulbs take JSON over UDP port 38899, LIFX has its LAN protocol, both work from Python without any cloud account once they’re on your Wi-Fi. Around 10-15 GBP each.

The list is empty because the Switch can only send commands from the device profile’s Commands catalog. So:

1. On the Pi’s profile, Commands tab, add light.set, tier Basic, parameters room (Choice: hallway, living) and on (Yes / no). Boards send only Basic tier catalog commands, a Privileged one gets refused on a board.
2. On the Pi, handle v1/rpc/req/+, switch the bulb, answer on v1/rpc/res/{id}, and publish the real state as telemetry, as numbers: {"hallway_on": 1}.
3. Switch card settings: When this control is used, Run a command, device = the Pi, command light.set, room as a fixed value, on from the control’s value. Then bind Current state to hallway_on.

That last step answers David: the Switch shows what the Pi reports, so poll the bulb every 30 s or so and publish it, then a wall switch change shows up too. With a wall switch cutting power the bulb is just gone, so leave the wall switches on. Details on Control cards.

Kabul edilen çözüm♥ 1

Yapay zekâ tarafından English dilinden çevrildi ·

Bir satırdaki Iptal Et düğmesine bastığımda, o oturum hemen mi sonlanır, yoksa erişim belirtecinin süresi dolana kadar mı devam eder?

♥ 0

Kevin A and Maria have both bits. I did nearly the same light controller for our office last year. Parse the JSON with ArduinoJson (it takes the buffer and length, so no null needed), pull the request id off the end of the topic, and answer on v1/rpc/res/ with that id. The “waiting for the device” stays because the board never gets an answer.

#include <ArduinoJson.h>
void callback(char* topic, byte* payload, unsigned int length) {
String t(topic);
String id = t.substring(t.lastIndexOf('/') + 1);   // "17"
StaticJsonDocument<256> doc;
if (deserializeJson(doc, payload, length)) return;
if (doc["method"] == "light.set") {
int level = doc["params"]["level"] | -1;          // -1 if missing
if (level >= 0 && level <= 100) {
analogWrite(D5, map(level, 0, 100, 0, 1023));
client.publish(("v1/rpc/res/" + id).c_str(), "{"ok":true}");
return;
}
}
client.publish(("v1/rpc/res/" + id).c_str(), "{"ok":false}");
}

ESP8266 analogWrite is 0-1023 by default, hence the map. And subscribe to v1/rpc/req/+ after every reconnect, not only in setup, or commands stop after the first Wi-Fi drop.

The topic list is on MQTT topics and payload reference.

Kabul edilen çözüm♥ 1

Hi Buğra. Can a flow send readings to our own HTTP endpoint? And the other way round, can one of our services push data into a flow?

♥ 0

Yapay zekâ tarafından English dilinden çevrildi ·

Cuma gecesi senaryosu için bir şey daha: ağ geçidinde bir çevrimdışı alarmı ekleyin. Ağ geçidi çevrimdışı olduğunda ona bağlı cihazlar da çevrimdışı olur, dolayısıyla tek bir alarm tüm hattın sessizleştiğini size bildirir.

♥ 0

An N-channel on the high side needs its gate several volts above its source to turn on fully. From the same 24 V rail you can’t get the gate above 24 V, so the source can only rise to whatever the gate gets minus the threshold.

♥ 0
15 yazı görüntüleniyor – 1 ile 15 arası (toplam 36)