OpenTherm Gateway plugin and TP 703n module

I am having problems getting the combination to work
The plugin is updated and installed

The module is working by web acces through wifi, and putty
The module is having internet acces and updated
And it does not work

Who is using it and what settings you have

Any update / help is more than welcome
Huib

On the startup tab from the TP703N I have put these lines under ‘local startup’:

[table]
[tr]
[td]# Put your custom commands here that should be executed once

the system init finished. By default this file does nothing.

opkg update

#opkg install --force-depend kmod-usb-serial-pl2303
#opkg install ser2net
echo “1001:raw:15:/dev/ttyUSB0:9600,NONE,1STOPBIT,8DATABITS” > /etc/ser2net.conf
ser2net
exit 0[/td]
[/tr]
[/table]

1001 is the port to listen to. (like 192.168.1.199:1001
You could check if it is the same (1001 could be different!)

Andre

@andre,

have put in your text and now it seems to running
some typo

thanks
huib

Good to hear that it works!! ;D

Your welcome!

Andre

One problem does produces a next one

I have for about one minute a connection between the adapter and the opentherm gate way.

the same if i use the otmonitor the flow of data stops after a periode of time

somebody some advice

@ andre, can you sent a backup file of your adapter? and what fixed ip you are using?
thanks

rgds
huib

@huib,

If you log in to the tp-link there is a status page. Could you post yours to?

Status System Router Name Opentherm-gateway Router Model TP-LINK TL-WR703N v1 Firmware Version OpenWrt Attitude Adjustment 12.09-rc1 / LuCI 0.11 Branch (0.11+svn9559) Kernel Version 3.3.8 Local Time Sun Jan 19 07:26:25 2014 Uptime 32d 13h 26m 23s Load Average

Just to see if we have the same verion
andre

Andre
I have a different version
------- 12.09 luci 0.11.1 release (0.11.1)

Rest are same
Rgds
Huib

@Huib,

Mine is running for 32 days at this moment. after a reset.
Maybe you could install my version to?

Please backup your own version first!

@ andre, can you sent a backup file of your adapter? and what fixed ip you are using

Mine runs on IP 192.168.2.150.

See attachement for the Zip file.
It’s the original version as I recieved it.

Andr

Huib,

I was thinking:
Witch connection are you losing?

When you lost the OTG connection: Can you stil log in into the TP-Link?
Maybe you can find someting in the TP-Link’s system or kernel log?

Or do you have lost Wifi connection between the TP-Link and your own router?
That was my problem to when I ordered the OTG a year ago. I have put a lan-cable between my router and the TP-Link.
Since than its always connected.

Andre

Andre,
i do not have a wired connection to the gateway, i have ordered special the wifi module for this

to be onnest i do not know which connection breaks; but if i remove the power plug of tha gateway the connections is op for a short while and stops.

huib

@huib,

If your connection with the OTG breaks, first you could try is to login the TP-Link.
Just connect to it with the webbrowser on it’s own IP adress.
Under status you can find System and Kernal log.

If the OTG breaks the USB connection you could find the error there…
If you cannot login to the webpage until you reset it then there is a Wifi problem.

Andr?

@Andre,

I can log in to the wifi adapter all times, so the wifi conection seems to ok

if i connect the gateway by usb to the laptop is is working fine (had it running for a while)
i had re flashed the last firmware again to the gateway to be sure

so it seems that the usb connection break

if i look at the system log i does not see any thing wrong

see attachments

rgds
huib

Hi Huib,

I could not see something strange when I compare it with mine’s.

Is this a log while everything is working ok?
Or was the USB connection broken?

Could you send me a PM with your code from System-> Startup → Local Startup
Just to see if there something different?

Andr

Andre,

quote;

Put your custom commands here that should be executed once

the system init finished. By default this file does nothing.

opkg update
opkg install kmod-usb-serial-pl2303
opkg install ser2net
echo “1001:raw:15:/dev/ttyUSB0:9600,NONE,1STOPBIT,8DATABITS” > /etc/ser2net.conf
ser2net
exit 0
unquote

There is only one thing different:

You could try to change:

opkg install kmod-usb-serial-pl2303

into:

#opkg install --force-depend kmod-usb-serial-pl2303

I have forgotten why I had to add the ‘–force depend’ but maybe it will do the trick.

Otherwise you could contact Ronald on http://www.opentherm-gateway.com.
He is more experienced with the TP-Link.
I only know the basic things.

But maybe the above trick will do it.
Let me know!

@andre
Have sent msg to roland, no resond yet

If you look at your adapter at graphics, connections how many do you have?
At my end about 100 connections between ip adres adapter and ip adres vera
All 40,00 B so it looks to me if it is trying to handshake but gets no respong at the message

Pls advice
Huib

Verstuurd van mijn GT-P3110 met Tapatalk

Sorry for the late response, whe were painting the livingroom. Thats why there was not much time left.

If I look at Status-> Realtime Graphics ->Connections
I have one connection for the OTG on port 2950 and the rest is my laptop.

IPV4 TCP Opentherm-gateway.lan:2950 192.168.2.152:40518 31.37 MB (800870 Pkts.)
IPV4 TCP Opentherm-gateway.lan:80 192.168.2.115:55751 5.35 KB (10 Pkts.)
IPV4 TCP Opentherm-gateway.lan:80 192.168.2.115:55731 5.35 KB (10 Pkts.)
IPV4 TCP Opentherm-gateway.lan:80 192.168.2.115:55681 5.35 KB (10 Pkts.)
IPV4 TCP Opentherm-gateway.lan:80 192.168.2.115:55693 5.35 KB (10 Pkts.)

I thought, I could send you a copy from my own firmware, even I do not use Wifi.
Mine is working fine. This, whitout using the Usb hub.
You could try to change it to Wifi. Is that a option?

Andr

Have finally solved the problem
By searching and assistance of the operwrt forum i was able to solve the problem

By adding a usb hub thd connection remains stable
(Seems to be a hickup in the flash of the wifi adapter)

It is now running, by wifi, smoothly for days

Rgds
Huib

Verstuurd van mijn GT-P3110 met Tapatalk

ok,

I thought you had the USB hub connected…

Funny thing:
Mine works stable on LAN connection without the usb hub…

Good to know it works now. ;D