Would it be possible to put together something to support and enable Adafruit IO?
https://adafruit-io-python-client.readt ... index.html
https://io.adafruit.com/
Quite a handy method (combined with IFTTT and a bit of Python) to control various other servers and IoT stuff via API's. For example I'm using it to trigger my Volumio radio via IFTTT (details here) and would have liked to run the IO server bit on my DietPi general server.
I did try installing it on the machine manually (it installs via pip normally) and it failed due to some mismatched dependency versions, so in the end had to set it up on a seperate Pi Zero which is not quite what I wanted.
Would a software option to support this be possible?
Adafruit IO Topic is solved
Re: Adafruit IO
Which dependency failed?
If you can run the server on Raspbian I don't see the reason why it wouldn't run on DietPi as well.
If you can run the server on Raspbian I don't see the reason why it wouldn't run on DietPi as well.
-
- Posts: 40
- Joined: Wed May 08, 2019 3:00 pm
Re: Adafruit IO
I think I might have had confusion between the python2 and python3 pip installs. I've just tried it again from scratch with an install of python3-pip and this time it's worked.
I forget offhand which dependency was messing up - it was requesting an upgrade of something and failed to do that. I didn't want to push things too far in case I broke the whole install, but now it all seems to be working fine.
I forget offhand which dependency was messing up - it was requesting an upgrade of something and failed to do that. I didn't want to push things too far in case I broke the whole install, but now it all seems to be working fine.
Re: Adafruit IO
yep python2 pip and python3 pip3 are 2 different thinks. They can easily exist next to each other on the same system.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team