Skip to content

jfclere/modbusOpenShift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

modbusOpenShift

Sending modbus data to ActiveMQ running on OpenShift

install in the RPI what is needed

sudo apt-get update
sudo apt-get -y install git
sudo apt-get install -y python3-stomp python3-pymodbus python3-pip
pip3 install -U minimalmodbus

Testing

Install ActiveMQ and start it on a box (change 192.168.1.124 in modbusserver.py and client.html by the IP of your box).

A queue MyPI:nnnnn is receiving for the RPI and a topic PITopic is used to send commands.

Run the client "client.html" on a browser, you should get something like: https://raw.githubusercontent.com/jfclere/modbusOpenShift/main/client.png

About

Sending modbus data to ActiveMQ running on OpenShift

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published