Sonoff Pow R2 Arduino

User avatar
Robert Błaszczak
Posts: 4423
Joined: Sat Dec 22, 2018 8:55 pm
Location: Zielona Góra

Post

elmaya wrote: Sun Feb 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 wrote: Sun Feb 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 wrote: Sun Feb 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
Posts: 1483
Joined: Wed Jun 27, 2018 5:48 pm
Location: El Saucejo - Sevilla

Post

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
User avatar
Robert Błaszczak
Posts: 4423
Joined: Sat Dec 22, 2018 8:55 pm
Location: Zielona Góra

Post

elmaya wrote: Sun Feb 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 wrote: Sun Feb 21, 2021 12:20 pm Pushower we'll see. ;)
If it succeeds, it will be fun :)
elmaya wrote: Sun Feb 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 wrote: Sun Feb 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 wrote: Sun Feb 21, 2021 12:20 pm in your list Gpio 16 should be INPUT
Fact, my mistake :)
CUCO-Z0-1.jpg
CUCO-Z0-2.jpg
You do not have the required permissions to view the files attached to this post.
Pozdrawiam
Robert Błaszczak


Moja prywatna strona: www.blaszczak.pl
User avatar
Robert Błaszczak
Posts: 4423
Joined: Sat Dec 22, 2018 8:55 pm
Location: Zielona Góra

Post

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
User avatar
lukfud
Posts: 2299
Joined: Thu Nov 23, 2017 11:33 pm
Location: Warszawa

Post

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
Posts: 71
Joined: Tue Nov 20, 2018 7:33 pm

Post

Witam między wgrałem soft zrobiłem kalibrację i nic się nie dzieje brak odczytów w czym szukać problemu?Image
You do not have the required permissions to view the files attached to this post.
Simono
Posts: 446
Joined: Mon Sep 17, 2018 5:26 pm

Post

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?
iM@rek
Posts: 353
Joined: Thu Feb 09, 2023 1:25 pm

Post

Simono wrote: Fri Nov 04, 2022 3:51 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?
O ile jeszcze aktualne:
Spróbuj:
viewtopic.php?p=109075#p109075
u mnie zadziałało
Alpines
Posts: 67
Joined: Tue Jun 09, 2020 8:03 am

Post

Mam prośbę - z czeluści szuflady wygrzebałem coś takiego :
Image

Na pokładzie jest sonoff powr2
GIU generatorem przygotowałem sobie wkład do niego - niestety prócz przełącznika on off - nie chce wystartować licznik energii - czy ktoś z naszych szanownych kolegów ma może jakiś sprawdzony soft który mogę tam wgrać?
Próbowałem ten z wątku
viewtopic.php?t=7717

Niestety licznik również nie odpala
djack2017
Posts: 698
Joined: Mon Nov 27, 2017 7:36 am

Post

__________________________________________________________
Specjalizowane oprogramowanie do sterowników Sonoff, Gosund, Blitzwolf, Shelly i innych:
https://djack.com.pl/modules.php?name=Downloads&d_op=viewdownload&cid=54

Return to “Sonoff POW”