Sonoff Pow R2 Arduino

Awatar użytkownika
Robert Błaszczak
Posty: 3940
Rejestracja: sob gru 22, 2018 8:55 pm
Lokalizacja: Zielona Góra
Kontakt:

elmaya pisze: ndz lut 21, 2021 11:27 am @Robert Błaszczak could you add what reading is the A0 if there is no button pressed?
3.3V (I replaced the picture).
elmaya pisze: ndz lut 21, 2021 11:27 am in Gpio4 is it in low state while the overload lasts or does USB power turn off?
Yes, USB power is turning off. One could use, for example, Pushower to send a message.
elmaya pisze: ndz lut 21, 2021 11:27 am on buttons 1-3 are there LEDs that indicate the status?
Yes, 3 LEDs on the buttons and a fourth one above the USB. All LEDs are controlled together with relays.
Pozdrawiam
Robert Błaszczak


Moja prywatna strona: www.blaszczak.pl
elmaya
Posty: 1482
Rejestracja: śr cze 27, 2018 5:48 pm
Lokalizacja: El Saucejo - Sevilla

OK so:
The white led should be on if any of the 4 channels is on, off if none of the 4 channels is on and flashing if it detects USB overload.
Pushower we'll see. ;)

I am making some changes in the code and I also want to add the possibility of setting the consumed energy from WiFiConfig in Wh.
I'll contact you as soon as I have something to test "possibly this afternoon"

How have you measured the voltage in A0?
normally the limit is 1.1v is there a resistive divider?

in your list Gpio 16 should be INPUT
Awatar użytkownika
Robert Błaszczak
Posty: 3940
Rejestracja: sob gru 22, 2018 8:55 pm
Lokalizacja: Zielona Góra
Kontakt:

elmaya pisze: ndz lut 21, 2021 12:20 pm OK so:
The white led should be on if any of the 4 channels is on, off if none of the 4 channels is on and flashing if it detects USB overload.
Yes, exactly.
elmaya pisze: ndz lut 21, 2021 12:20 pm Pushower we'll see. ;)
If it succeeds, it will be fun :)
elmaya pisze: ndz lut 21, 2021 12:20 pm I am making some changes in the code and I also want to add the possibility of setting the consumed energy from WiFiConfig in Wh.
I'll contact you as soon as I have something to test "possibly this afternoon"
Ok.
elmaya pisze: ndz lut 21, 2021 12:20 pm How have you measured the voltage in A0?
normally the limit is 1.1v is there a resistive divider?
I measured the voltage on the pin of the entire module (photo below).
elmaya pisze: ndz lut 21, 2021 12:20 pm in your list Gpio 16 should be INPUT
Fact, my mistake :)
CUCO-Z0-1.jpg
CUCO-Z0-1.jpg (248.21 KiB) Przejrzano 2061 razy
CUCO-Z0-2.jpg
CUCO-Z0-2.jpg (196.83 KiB) Przejrzano 2061 razy
Pozdrawiam
Robert Błaszczak


Moja prywatna strona: www.blaszczak.pl
Awatar użytkownika
Robert Błaszczak
Posty: 3940
Rejestracja: sob gru 22, 2018 8:55 pm
Lokalizacja: Zielona Góra
Kontakt:

W temacie listwy Gosund P1 założyłem nowy wątek: viewtopic.php?f=27&t=8122
Pozdrawiam
Robert Błaszczak


Moja prywatna strona: www.blaszczak.pl
Awatar użytkownika
lukfud
Posty: 2087
Rejestracja: czw lis 23, 2017 11:33 pm
Lokalizacja: Warszawa

Zauważyłem, że w aplikacji na telefonie wartości A, W, var, VA i φ pokazują się po kilku sek. na chwilę, po czym zerują i znów pokazują po kilku sek. na chwilę.

Też tak macie na tej kompilacji?

- edycja -

@elmaya podpowiedział, że poniżej 10W mogą powstawać takie anomalie, a testowałem na żarówce 3,6W.
Na 16W wentylatorze odczyty są ciągłe.
https://www.facebook.com/groups/supladiy/
Jacaxx1
Posty: 57
Rejestracja: wt lis 20, 2018 7:33 pm

Witam między wgrałem soft zrobiłem kalibrację i nic się nie dzieje brak odczytów w czym szukać problemu?Obrazek
Załączniki
Screenshot_2021-08-21-09-46-25-294_tk.supla.android.jpg
Screenshot_2021-08-21-09-46-25-294_tk.supla.android.jpg (268.19 KiB) Przejrzano 1438 razy
Screenshot_2021-08-21-09-46-21-280_tk.supla.android.jpg
Screenshot_2021-08-21-09-46-21-280_tk.supla.android.jpg (128.86 KiB) Przejrzano 1438 razy
Simono
Posty: 402
Rejestracja: pn wrz 17, 2018 5:26 pm

Koledzy ja mam taki problem, że daję clear counter ponieważ przełożyłem licznik do pomiaru innego odbiornika i licznik na urządzeniu się nie zeruje. W chmurze i aplikacji cały czas widzę parę tysięcy kwh.
Jak rozwiązać ten problem?
ODPOWIEDZ

Wróć do „Sonoff POW”