rwblinn Geschrieben April 17, 2016 at 09:50 Share Geschrieben April 17, 2016 at 09:50 Hi, downloaded the latest version of the TF MQTT proxy to be able to use the UV bricklet. After installation received, error message below. Please advice. $ pip install tinkerforge Requirement already satisfied (use --upgrade to upgrade): tinkerforge in /usr/local/lib/python2.7/dist-packages Cleaning up... $ sudo python brick-mqtt-proxy.py& [1] 10498 pi@raspberrypi ~/tinkerforge/mqtt $ Traceback (most recent call last): File "brick-mqtt-proxy.py", line 92, in <module> from tinkerforge.bricklet_uv_light import BrickletUVLight ImportError: No module named bricklet_uv_light Zitieren Link zu diesem Kommentar Share on other sites More sharing options...
rwblinn Geschrieben April 17, 2016 at 11:15 Autor Share Geschrieben April 17, 2016 at 11:15 After using $sudo pip install tinkerforge --upgrade all fine. What is missing, is the a linkt in the MQTT Documentation for the UV bricklet. Zitieren Link zu diesem Kommentar Share on other sites More sharing options...
photron Geschrieben April 18, 2016 at 08:09 Share Geschrieben April 18, 2016 at 08:09 Link added. Zitieren Link zu diesem Kommentar Share on other sites More sharing options...
rwblinn Geschrieben April 18, 2016 at 11:27 Autor Share Geschrieben April 18, 2016 at 11:27 Just a hint The link states the suffix "uv_light" to be used BUT the MQTT JSON response is "intensity" when subscribing to the uvlight: tinkerforge/bricklet/uv_light/x84/uv_light This is not documented. Zitieren Link zu diesem Kommentar Share on other sites More sharing options...
photron Geschrieben April 18, 2016 at 16:10 Share Geschrieben April 18, 2016 at 16:10 The documentation is correct. The JSON payload should contain a uv_light member. I've fixed the implementation now. Zitieren Link zu diesem Kommentar Share on other sites More sharing options...
rwblinn Geschrieben April 19, 2016 at 06:48 Autor Share Geschrieben April 19, 2016 at 06:48 Checked and working fine. Thanks a Lot Zitieren Link zu diesem Kommentar Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.