tyler22
@walker-t · Membre depuis juin 2025
Data analyst · manufacturing
- Sujets
- 3
- Réponses
- 15
- Points
- 0
Toutes mes réponses sur les forums
Traduit de English par IA ·
Ces lignes feature.access.checked noieraient tout dans notre organisation. Puis-je les masquer de la liste ?
Those feature.access.checked rows would bury everything on our org. Can I hide them from the list?
Fair, I mixed up two different setups. Bias it is.
Traduit de English par IA ·
Où puis-je voir les notifications d’alarme supprimées ? Nous ne les envoyons pas depuis un flow.
Where do I see suppressed ones for alarm notifications? We don’t send those from a flow.
Always terminate, put 120 ohm at every meter.
Traduit de English par IA ·
Le GPS obtient-il un fix ? À l’intérieur, le NEO-6M peut rester plusieurs minutes avec 0 satellite et TinyGPS affichera 0.0.
Is the GPS getting a fix? Indoors the NEO-6M can sit for minutes with 0 sats and TinyGPS will give you 0.0.
What Carlos said, here’s the version I use for our line counters (an Uno doing the counting, a bigger board doing the network). Send binary, fixed size, in one struct, and use onReceive for commands.
Shared struct, in both sketches:
struct Reading {
int16_t moisture; // raw ADC
int16_t temp_x10; // 21.5 C -> 215
int16_t flow_x10; // L/min x10
};
Uno (slave):
volatile Reading r;
volatile bool openValve = false;
void requestEvent() { Wire.write((const uint8_t*)&r, sizeof(r)); } // one write
void receiveEvent(int n) { if (Wire.available()) openValve = Wire.read() == 1; }
void setup() { Wire.begin(8); Wire.onRequest(requestEvent); Wire.onReceive(receiveEvent); }
void loop() {
Reading tmp = { readMoisture(), (int16_t)(readTemp() * 10), (int16_t)(readFlow() * 10) };
noInterrupts(); r = tmp; interrupts();
digitalWrite(VALVE_PIN, openValve);
}
Mega (master):
Reading r;
if (Wire.requestFrom(8, (int)sizeof(r)) == sizeof(r)) Wire.readBytes((uint8_t*)&r, sizeof(r));
float tempC = r.temp_x10 / 10.0;
Wire.beginTransmission(8); Wire.write(1); Wire.endTransmission(); // open valve
Both are AVR, so byte order and int sizes match and the struct goes across as-is. The ÿ you saw is 0xFF, what the master reads when the slave has nothing left to send. Asking for exactly sizeof(r) fixes that too.
Welcome. Will remember the screenshot rule, I usually just say « the chart is weird ».
Traduit de English par IA ·
Aussi, si vous utilisez l’ancienne bibliothèque Adafruit_DHT, elle est obsolète. La version CircuitPython fonctionne sur le Pi OS actuel : adafruit-circuitpython-dht plus board.D4.
Also if you’re on the old Adafruit_DHT library, it’s deprecated. The circuitpython one works on current Pi OS: adafruit-circuitpython-dht plus board.D4.
Before picking, which ones can have a power supply? That decides more than the radio does.
Traduit de English par IA ·
Ça marche. Mon seul souci : le catalogue ne contient pas light.set, notre intégrateur l’a appelé relay.set avec un paramètre state (0 ou 1). L’appel rpc-commands l’a tout de suite affiché. Le premier raccourci était Super+L, qui bien sûr verrouille l’écran ; il est maintenant sur Super+F9.
Works. My only snag: the catalogue doesn’t have light.set, our integrator called it relay.set with a param called state (0 or 1). The rpc-commands call showed it straight away. First binding was Super+L which of course locks the screen, it’s on Super+F9 now.
Traduit de English par IA ·
Ok, ça explique le retour en arrière de la carte. Donc c’est /api/v1/rpc ? La page HTTP de l’appareil liste celui-là
right, that explains the card flipping back. so is it /api/v1/rpc? the device HTTP page lists that one
Driver fixed it, COM7 appeared straight away. Going with the wide ones because the photo-eye interface runs on 5 V and the VU pin saves me a buck converter. Already counting on an interrupt and sending count once a minute.
Traduit de English par IA ·
Ça fonctionne. Le premier appel a renvoyé 403 parce que j’avais seulement coché la permission d’envoi et pas iot_rpc.read. Après l’avoir ajoutée, le voyant clique et l’appel renvoie 200 / SUCCESSFUL en environ 300 ms. J’ai aussi placé une carte Switch sur le tableau des opérateurs, liée à relay, pour qu’ils voient l’état. Merci à vous deux.
Works. First call came back 403 because I had only ticked the send permission and not iot_rpc.read. After adding it the lamp clicks and the call returns 200 / SUCCESSFUL in about 300 ms. I also put a Switch card on the operators’ board bound to relay, so they see the state. Thanks both.
Traduit de English par IA ·
Je l’ai flashé avec un adaptateur FTDI emprunté, il m’a fallu trois essais pour le mettre en mode boot (maintenir le bouton enfoncé pendant le branchement). Il se connecte maintenant à Hermetry avec son propre jeton d’accès et envoie {"relay": 0} toutes les minutes. La partie envoi est donc terminée. Et pour le commuter ?
Flashed it with a borrowed FTDI adapter, took me three tries to get it into boot mode (hold the button while plugging in). It now connects to Hermetry with its own access token and sends {"relay": 0} every minute. So the sending part is done. What about switching it?
Traduit de English par IA ·
Attention, je ne pense pas qu’il existe une image à télécharger et exécuter. La page des offres indique que les installations sur site sont convenues avec leur équipe commerciale, comme pour les offres Enterprise. C’est donc une discussion, pas un simple bouton.Pour les deux autres questions, vous pouvez lui répondre dès aujourd’hui, c’est exactement ce que j’ai fait pour notre service conformité :Où se trouvent les données : chaque organisation a une région d’origine unique, UE, États-Unis ou Turquie, choisie à la création. Les appareils, la télémétrie, les alarmes, les tableaux, les flux et le journal d’audit se trouvent tous là. En tant que propriétaire ou administrateur, ouvrez Paramètres, puis Residency (il se trouve à /admin/settings/residency). Cette page affiche la région d’origine, les éventuelles exigences de résidence, les informations sur la région, les sous-traitants et l’emplacement des sauvegardes. J’ai fait une capture d’écran de cette page, et c’était l’essentiel de la réponse.L’extraction comporte deux volets. Un propriétaire peut récupérer un export JSON de l’organisation (appareils, tableaux, membres, paramètres, webhooks, une partie du journal d’audit). L’historique de télémétrie se récupère séparément, via l’API d’historique ou le téléchargement depuis une carte de graphique, et les fichiers des tableaux se téléchargent un tableau à la fois. J’ai écrit un petit script qui récupère chaque mois les moyennes horaires par appareil au format CSV, afin que nous ayons toujours notre propre copie.Pages que j’ai envoyées à notre IT : Regions and data residency, ainsi que « Export your data and close your organisation ».
Careful, I don’t think there’s a download-and-run image. The plans page says on-premises installs are agreed with their sales team, same as Enterprise plans, so that’s a conversation, not a button.
For the other two questions you can answer him today, I did exactly this for our compliance people:
Where the data is: every organisation has one home region, EU, US or Turkiye, picked when it was created. Devices, telemetry, alarms, boards, flows, audit log all live there. As owner or admin open Settings, then Residency (it’s at /admin/settings/residency). It shows the home region, any residency requirement, the region facts, the sub-processors and where backups are kept. I screenshotted that page and that was most of the answer.
Getting it out is two parts. An owner can pull a JSON export of the organisation (devices, boards, members, settings, webhooks, part of the audit log). Telemetry history goes separately, with the history API or the download on a chart card, and board files you download one board at a time. I wrote a little script that pulls hourly averages per device into CSV every month, so we always have our own copy.
Page I sent our IT: Regions and data residency, plus the « Export your data and close your organisation » one.

