Emonpi and Emontx

i have install (emonSD-07nov 16) on Raspberry PI ver. 3 model B
and i have EmonTX ver 3.4.2 connectet by USB to serial
when i check USB connection, it look like it was ok

pi@emonpi(ro):~$ ls -la /dev/{tty{AMA,S,USB},serial}*
crw–w---- 1 root tty 204, 64 Aug 30 20:20 /dev/ttyAMA0
crw-rw---- 1 root dialout 4, 64 Aug 30 20:17 /dev/ttyS0
crw-rw---- 1 root dialout 188, 0 Aug 30 20:17 /dev/ttyUSB0

total 0
drwxr-xr-x 4 root root 80 Aug 30 20:17 .
drwxr-xr-x 15 root root 3340 Aug 30 20:17 …
drwxr-xr-x 2 root root 60 Aug 30 20:17 by-id
drwxr-xr-x 2 root root 60 Aug 30 20:17 by-path

But on EmonCMS i cant recive data

i read about on EmonTX was marking RX and TX wrong is that correct ?

Not wrong, but marked with respect to a USB to Serial progarmmer.
That means you connect TX to TX and RX to RX, as opposed to TX to RX and RX to TX.

so from my USB adapter, TX output to TX and RX output to RX
thank you, so this is not my problem :slight_smile:

If you’re talking about the programmer from the OEM Shop and an emonTx, Tx goes to TXD and Rx goes to RXD. It’s actually the emonTx that’s labelled backwards, as it receives data from TXD on the programmer on Tx pin of the FTDI connector, which is connected on the p.c.b. to RXD and transmits it from TXD on the pin labelled Rx on the FTDI connector, to RXD on the programmer.

ok, only i an sure it’s correct i from RX on my USB adapter connect to RX on EmonTX and same with TX, so i can exclude that on my problem search

i have use 4 days now, for try to find, why i cant receive data on local EmonCMS

thank you again :slight_smile:

connection is from my raspberry 3B to EmonTX

You do not need to go via USB to connect an emonTx to a Raspberry Pi. You can use the GPIO Interface:

I have now change to settings on link

change in emonhub to use serial

pi@emonpi(ro):~$ ls -la /dev/{tty{AMA,S,USB},serial}*
ls: cannot access /dev/ttyUSB*: No such file or directory
ls: cannot access /dev/serial*: No such file or directory
crw--w---- 1 root tty     204, 64 Aug 31 08:29 /dev/ttyAMA0
crw-rw---- 1 root dialout   4, 64 Aug 30 21:17 /dev/ttyS0

but i cant get data on emonhub, is there other thing i need do ?