wilsonmaker
@wilson-m · Membre depuis juillet 2025
Maker · home automation · Nottingham · new to IoT
- Sujets
- 14
- Réponses
- 70
- Points
- 0
Toutes mes réponses sur les forums
Traduit de English par IA ·
Le Sonoff Basic embarque un ESP8266. Vous pouvez y flasher votre propre sketch via le connecteur 4 broches avec un adaptateur USB-série (3.3 V, pas 5 V !). Ensuite, ce n’est plus qu’un appareil Hermetry comme les autres.
The Sonoff Basic has an ESP8266 inside. You can flash your own sketch on it through the 4-pin header with a USB-serial adapter (3.3 V, not 5 V!). Then it’s just another Hermetry device.
Traduit de English par IA ·
Qu’est-ce qu’une passerelle monocanal par rapport à une passerelle classique ? Est-ce seulement moins cher ?
What’s a single channel gateway vs a normal one? Is it just cheaper?
Traduit de English par IA ·
Fait 1 à 4 aujourd’hui. Wi-Fi/BT/HDMI désactivés, GPS désactivé entre les fixes, 30 s en mouvement, 30 min à l’arrêt, envoi toutes les 5 min. Le compteur affiche maintenant environ 95 mA en moyenne. Cela devrait tenir à peu près quatre jours. J’ai aussi dû passer le profil sur Recent message, il basculait en hors ligne chaque nuit, ce que je prenais pour un bug. TPL5110 commandé pour la prochaine version.
Did 1 to 4 today. Wi-Fi/BT/HDMI off, GPS off between fixes, 30 s when moving, 30 min when parked, sending every 5 min. Meter now reads about 95 mA average. Should be roughly four days. Also had to switch the profile to Recent message, it was flipping to offline every night, which I thought was a bug. TPL5110 ordered for the next version.
Traduit de English par IA ·
Oui, les deux sont allumés. Le script est une boucle avec time.sleep(30), rien de sorcier.
Yes, both on. The script is a loop with time.sleep(30), nothing clever.
Traduit de English par IA ·
J’ai d’abord fait la modification du SG90 par pure obstination : il tourne, la valeur d’arrêt était de 1,47 ms chez moi. Il avait du mal à soulever le store, alors je suis passé au 28BYJ-48 comme le suggérait Laura, avec un microrupteur en haut pour le homing. Le slider fonctionne, Current value suit blind_pct. Le SG90 fait maintenant tourner un moulin à vent en papier sur mon bureau.
Did the SG90 mod first because I’m stubborn: it spins, stop value was 1.47 ms on mine. It could barely lift the blind though, so I switched to the 28BYJ-48 like Laura said, with a microswitch at the top for homing. Slider works, Current value follows blind_pct. The SG90 now spins a paper windmill on my desk.
Serial.write + flush and the meter answered first time! 9 bytes, 233.1 V. I had no idea print turned it into text. Writing power (register 0x000C) next, then it goes over to the ESP32.
Checked the meter menu, 2400 8N1 and my Serial.begin(2400, SERIAL_8N1). So that’s not it.
Traduit de English par IA ·
Ha, donc c’était le Wi-Fi qui était en veille, pas le Pi. Je vérifie le mien maintenant.
Ha, so the Wi-Fi was asleep, not the Pi. Checking mine now.
Traduit de English par IA ·
Je pense qu’il existe une option de mise en veille de l’écran dans raspi-config, peut-être que c’est ça qui le met en veille ? Chez moi, le HDMI s’éteint au bout de 10 min.
I think there’s a screen blanking option in raspi-config, maybe that’s putting it to sleep? Mine turns the HDMI off after 10 min.
Traduit de English par IA ·
je suis, je veux ça aussi pour mon truc d’interphone lol
following, I want this for my intercom thing too lol

