Skip to content

Vito303/CyBroPython

Repository files navigation

CyBroPython

Install Linux:

apt install python
apt install python-pip

Install Windows:

install python 2.7 (https://www.python.org/downloads/windows/)
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py

Install Python libs:

pip install pytz
pip install zerorpc

Install Nodejs:

npm install

Run Node server:

node server.js

Test call

Reading value:

http://localhost:4000/get?tag=c17598.MyInt

Writing value:

http://localhost:4000/set?tag=c17598.MyInt&value=42

CyBroPython SCGI

Run SCGI server:

~/Projects/CyBroPython/CyBroScgiServer/src$ python cybro_scgi_server.py

Test call

Reading value:

/Projects/CyBroPython/CyBroScgiServer/src$ python cybro_com_server.py "c110.Bulb0"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published