Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. Hi rwblinn, Thanks for the instructions steps. It works fine thanks to you. I modified the last line: python brick-mqtt-proxy.py --brickd-host 192.168.1.xxx --brickd-port 4223 --broker-host localhost --broker-port 1883 --update-interval 5& where xxx = ip address tinkerforge brick and interval 5 to have a 5 seconds refresh. Again , thanks for helping me solve this problem. Patrick
  2. Hi, On a raspberry pi with Jessie image (latest update and upgrades), python 2.7.9 installed brick MQTT proxy: wget https://raw.githubusercontent.com/Tinkerforge/brick-mqtt-proxy/master/brick-mqtt-proxy.py installed brick deamon: sudo apt-get install libusb-1.0-0 libudev0 pm-utils wget http://download.tinkerforge.com/tools/brickd/linux/brickd_linux_latest_armhf.deb sudo dpkg -i brickd_linux_latest_armhf.deb Brick deamon is working fine; I can see the values of the bricklets Installed the Python API bindings: sudo pip install tinkerforge Installed Eclipse Paho MQTT Python client library: sudo pip install paho-mqtt Started the proxy with: sudo python brick-mqtt-proxy.py And receive this error: pi@PI1:~ $ sudo python brick-mqtt-proxy.py Traceback (most recent call last): File "brick-mqtt-proxy.py", line 1233, in <module> proxy.connect() File "brick-mqtt-proxy.py", line 1100, in connect self.client.connect(self.broker_host, self.broker_port) File "/usr/local/lib/python2.7/dist-packages/paho/mqtt/client.py", line 686, in connect return self.reconnect() File "/usr/local/lib/python2.7/dist-packages/paho/mqtt/client.py", line 808, in reconnect sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0)) File "/usr/lib/python2.7/socket.py", line 571, in create_connection raise err socket.error: [Errno 111] Connection refused What did I do wrong? Thanks Patrick
  • Create New...