Raspi4PHC
- simonjo
- Offline
- Gold Boarder
- Beiträge: 148
- Dank erhalten: 55
<!-- Deckenleuchte Wohnzimmer -->
<a href="?ccmd=omd.0.out5.toggle&file=<?request file?>">
<img style="position: absolute; top: 118px; left: 510px;" src="/<?plugin alias?>/img/s.light.<?phc omd.0.out5?>.gif" title="Deckenleuchte Wohnzimmer" border="0">
</a>
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- Biland
- Offline
- Senior Boarder
- Beiträge: 34
- Dank erhalten: 0
I use the following command:
./xwrc.raspi -httpport 9999 -httpaddr 192.168.1.28 -remaddr 192.168.1.4 -remport 8080 &
in the next row of the terminal I see:
[1] 2099
xWRC (Linux/RbPI) -- v3.3.0.9 -- Dec 8 2015 ----------- webInterface for PHC -
===============================================================================
Running in demo mode
Press CTRL+C to terminate xWRC
Is the something what I made wrong?
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- Biland
- Offline
- Senior Boarder
- Beiträge: 34
- Dank erhalten: 0
./xwrc.raspi -httpport 9999 -httpaddr 192.168.1.28 -remaddr 192.168.1.4 -remport 8080 &
Thanks a lot
Is there a posibility to creat a start script for starting xwrc togehter with booting my debian/raspian?
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- simonjo
- Offline
- Gold Boarder
- Beiträge: 148
- Dank erhalten: 55
www.raspberry-projects.com/pi/pi-operati...uto-running-programs
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- rust
- Offline
- Fresh Boarder
- Beiträge: 1
- Dank erhalten: 0
Sorry for the english (I'm from Belgium).
This is a very interesting topic! I'm going to order the material and try to get this working on my PHC installation.
I guess the newer Raspberry Pi 3 model B will also work with this?
I have the old "V1-Steuermodul", so I will need a RS232 to IP converter. I see some people are using the Nport 5110. Is this a good one? Are there alternatives?
Thanks,
Steven
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- haribo
- Autor
- Offline
- Senior Boarder
- Beiträge: 68
- Dank erhalten: 12
when you're going to build a raspberry based gateway as I described you can build the RS232 to IP converter with the software ser2net and the following hardware:
MAX3232 Serieller Port Modul RS232 auf TTL mit LED-Transceiver
It's working fine on my raspberry pi together with my old "V1-Steuermodul" and is much cheaper than a Nport 5110.
Regards Harald
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- simonjo
- Offline
- Gold Boarder
- Beiträge: 148
- Dank erhalten: 55
Please find below the newest version 3.3.1.0 of xWRC, I updated the core files with new Windows, Linux and Raspi versions. The data files remain the same.
Support is added for newer output modules
regards, Jo
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- piet
- Offline
- Junior Boarder
- Beiträge: 13
- Dank erhalten: 2
thanks a lot for the updated version of xWRC
Piet
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- Jan
- Offline
- Junior Boarder
- Beiträge: 17
- Dank erhalten: 2
You can also use following USB-RS232 adaptor (togher with Ser2net of course).
www.aliexpress.com/item/New-CH340-USB-to...13010608.0.75.NuYv5q
I paid it 1,09 € but it cost now 1,32 € (I cannot believe they can make something that works for that price and even ship it to home. Drawback is that that you might have to wait few weeks for delivery).
The cable I bought works fine under Windows10 but the default Linux driver did not work. I needed to download en compile the Linux driver and then it worked. This took me some investigation work.
Later I noticed that you can also buy a similar convertor but with Linux driver:
www.aliexpress.com/item/1pcs-USB-2-0-TO-...3010608.0.127.u7jcVj
This one I didn't, try so I don't know if it works.
Kind regards,
Jan
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- johnhess
- Offline
- Fresh Boarder
- Beiträge: 2
- Dank erhalten: 0
Thank you for all this useful information, I just have 1 question that I can't seem to find an answer to :
How do you connect the RS232 port to the controller module?
I have a 941 STM and there isn't any port like this (On the front panel is a usb and some sort of PS/2 port), On top there is a place where RS232 is marked but you can only put in single cables. Do I need to put in individual cables and push them into the RS232 cable?
My controller module looks like this : www.elektroschakelmateriaal.nl/spree/pro...717_0.png?1455756035
Can someone help me?
Thank you
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- simonjo
- Offline
- Gold Boarder
- Beiträge: 148
- Dank erhalten: 55
You need to make following connections:
rs232Port.Gnd -> STMv2.0V
rs232Port.Rx -> STMv2.TxD
rs232Port.Tx -> STMv2.RxD
mvg, Jo
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- johnhess
- Offline
- Fresh Boarder
- Beiträge: 2
- Dank erhalten: 0
Thank you very much for the quick answer.
Do you have any best practice on how to do that?
Just take a wire, connect to the STM and put it in the port and tape it?
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- simonjo
- Offline
- Gold Boarder
- Beiträge: 148
- Dank erhalten: 55
Here is a description of the pins
www.tronicore.com/index.php?main_page=page&id=61&chapter=0
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- Biland
- Offline
- Senior Boarder
- Beiträge: 34
- Dank erhalten: 0
My Problem is that the STM 940 don't react to the commands of my server.
So if I try to send the following command via the Virtual Command Line Interface is get a timeout und nothing happens.
I Use the nport 5110 and change all nessacary settings.
I hope that there is anybody how can help me.
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- simonjo
- Offline
- Gold Boarder
- Beiträge: 148
- Dank erhalten: 55
Just pay attention to 'Local TCP Port' in Operating settings, this should be the same as the -remport <port> parameter given to xWRC.
Can you tell me which parameters you are now using to start xWRC.
Most important parameters are:
-remaddr <ip-addr-of-moxa>
-remport <local-tcp-port-of-moxa>
mvg, Jo
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- Aktuelle Seite:
- Startseite
- Forum
- PHC-Forum
- Visualisierung
- Raspi4PHC