CChris Posted November 7, 2022 at 02:58 PM Share Posted November 7, 2022 at 02:58 PM Hi, in the past (a few years ago), I've tried to create some smaller project with Tinkerforge - but honestly speaking, I never really finished them. I tried to wirte some software in C# - but in the end, it did work - but never as stable as it was required for the use case - so I quit the projects and realized them with other components and hardware. Since then, my hardware was just laying around and collected dust... Now, I've decided to start again - but with a different approach... I am using HomeAssistant for getting information about our solar-production and energy usage - have my ev charging-station implemented and some other "smarthome" components... so now, I am thinking to create another project with my current tinkerforge hardware and integrate this into homeassistant, too. I already learned that there are some MQTT Bindings available - And, I could use MQTT in HomeAssistant... But, there are some questions left about the best "approach"... Now, I am struggling a bit with the decission, how to realize this project... for now, I have created a debian 11 lxc container in Proxmox - running brickd... A first python script, connecting to one of my bricks and barometer bricklet over tcp-ip (wifi 2.0 extension) seems to work so far. I have also installed the MQTT Bindings so far: > systemctl --type=service UNIT LOAD ACTIVE SUB DESCRIPTION brickd.service loaded active running Brick Daemon tinkerforge_mqtt.service loaded active running Tinkerforge MQTT API Bindings Now I am struggling a bit... Honesty speaking, I don't really see the correct approach right now... As far as I could get, the MQTT Bindings are based on the Python bindings. The tinkerforge_mqtt which comes with the bindings is "just" a python script, which does - more or less collect data from the bricklets - and send it to an mqtt broker. Also, it listens to topics from the broker and send this to the brick / Bricklets... Correct so far? In this case, it is pretty much what I had first in mind - I need to write a python script that reads the data - and send it to the Broker... So... how can I use the MQTT Bindings now? I have found the following under /etc tinkerforge_mqtt.cmdline sorry - if this may sound dumb... but honestly speaking the last time I had the Tinkerforge stuff in my hands was somewhere in 2016... Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.