Page 1 of 1

Sonoff basic use RF and TX

Posted: 06 Oct 2018, 22:19
by Dylantje
Dear all.

I do have a sonoff basic with 11 dallas sensors stable as a rock!!
I can switch and read the sensor with domoticz..

Only i will try to setup a watermeter pulser on the tx or rx pin.
Is this possible?
How?
What pin digital pin are TX an RX?
And perhaps a how to somwhere?
I do have 2 types, what type works fine:
https://www.letscontrolit.com/wiki/index.php/TCR5000
And:
https://www.letscontrolit.com/wiki/index.php/LJ12A3

My watermeter:
http://www.bestelsnel.nu/winkel/water/w ... nbouw.html

Hope there is some help..
THANKS
xxx

Re: Sonoff basic use RF and TX

Posted: 06 Oct 2018, 22:54
by axelmilb

Re: Sonoff basic use RF and TX

Posted: 06 Oct 2018, 23:13
by Dylantje
Thnaks..
Only:
ScreenShot041.jpg
ScreenShot041.jpg (24.54 KiB) Viewed 14595 times
Cannot use them
And now?

Re: Sonoff basic use RF and TX

Posted: 06 Oct 2018, 23:21
by axelmilb
Disable serial port under Tools / advanced and reboot
You can not do both.

Re: Sonoff basic use RF and TX

Posted: 06 Oct 2018, 23:25
by Domosapiens
Remember ... pulse counters must be Task 1,2,3 or 4.
There are different types of LJ12A3 's:
- most of them are at least 6V (see here: viewtopic.php?t=3003 )
- but this is a 5V version: https://nl.aliexpress.com/item/Free-shi ... 50006.html. More convenient for your Power Supply. Use a Level Shifter 5V to 3.3V for Signal
- see the table for other versions
- Active High or Active Low ?
- If Active Low: measure between Brown and Black if there is already a 10KOhm pull-up resistor, if not, add it.
- Brown=Vcc, Blue=Ground, Black=Signal
Check here:
https://mertarauh.com/2017/01/18/dont-t ... siest-way/
No experience yet, but it's on the drawing board.

Re: Sonoff basic use RF and TX

Posted: 06 Oct 2018, 23:31
by Dylantje
task 1-4 als for motion sensors?

Re: Sonoff basic use RF and TX

Posted: 06 Oct 2018, 23:33
by Domosapiens
Yep, Task 1 up to 4 do have fast response on interrupts.

Re: Sonoff basic use RF and TX

Posted: 07 Oct 2018, 09:46
by grovkillen
As of last two months all tasks can be used with interrupts.

Re: Sonoff basic use RF and TX

Posted: 07 Oct 2018, 09:50
by Dylantje
mmm

Did set the gpio 1 and 3 to "on" so i can select them..

did set a dht11 on GPIO1, idx from domoticz, activate the sensor .. No signal only NAN
did the same on GPIO3 only NAN.
Did try this with 2 DHT sensors

Only i get no temp in the espeasy webui and in Domoticz nog tem to.

So what can i do?


Edit..
Did test on a other sonoff on gpio 1 and 3
Without 10 other dallas senors and that is working fine..
When i put the dht on the sonoff with dalls it is not working..

Is there perhaps a max for sensors?

Re: Sonoff basic use RF and TX

Posted: 07 Oct 2018, 11:01
by Dylantje
other strange part....

Use a:
https://www.letscontrolit.com/wiki/index.php/TCR5000
The light on the pulser is going on and off.. when is move the sensor
Only no pulse in the webui from the sonof, and also not in domoticz.
What pin i use....:-(

My flash is:
ESP_Easy_mega-20180924_test_ESP8266_1024.bin

Re: Sonoff basic use RF and TX

Posted: 07 Oct 2018, 11:33
by TD-er
You may also have to take a look at the pull-up resistor settings.

Re: Sonoff basic use RF and TX

Posted: 07 Oct 2018, 11:37
by Dylantje
TD-er wrote: 07 Oct 2018, 11:33 You may also have to take a look at the pull-up resistor settings.
I do use:
https://www.inventelectronics.com/wp-co ... t11-01.jpg

And in the pulsecounter options i cannot see a high or low setting

Re: Sonoff basic use RF and TX

Posted: 07 Oct 2018, 12:04
by Dylantje
Settings:
ScreenShot043.jpg
ScreenShot043.jpg (51.14 KiB) Viewed 14535 times
And now counting.
ScreenShot044.jpg
ScreenShot044.jpg (27.87 KiB) Viewed 14535 times

Only not in Domoticz:
ScreenShot045.jpg
ScreenShot045.jpg (12.54 KiB) Viewed 14535 times

Re: Sonoff basic use RF and TX

Posted: 07 Oct 2018, 12:11
by Dylantje
And what is the differents between:
ScreenShot046.jpg
ScreenShot046.jpg (37.3 KiB) Viewed 14534 times

Re: Sonoff basic use RF and TX

Posted: 07 Oct 2018, 13:57
by Dylantje
Almost there i think:
ScreenShot047.jpg
ScreenShot047.jpg (106.63 KiB) Viewed 14529 times
Settings from the pulser:
ScreenShot048.jpg
ScreenShot048.jpg (62.44 KiB) Viewed 14529 times
Only not counting in Domoticz?
Once i see a few pulses.. only after a time they are gone..
So i think there is something i need to change in the settings.

Only what are the good settings??

Re: Sonoff basic use RF and TX

Posted: 07 Oct 2018, 15:23
by grovkillen
The counts are zeroed once published to the controller(s). If you want the sum you need to take care of that on the controller side.

Re: Sonoff basic use RF and TX

Posted: 07 Oct 2018, 15:27
by ManS-H
I see two different names, waqa and qwswe both with the same idx 12154

Re: Sonoff basic use RF and TX

Posted: 08 Oct 2018, 20:35
by Dylantje
Correct 2 times a try with differnet setup...

@ grovenkill..
I do not know what you mean??