Hello,
I really like controlling blinkstick remotely and I use it for getting notifications from other devices.
I have a NAS drive running Transmission and after a completed transfer it runs a script which lights up my blinkstick with a curl command. My blinkstick is connected on an iMac which runs the control remotely python script.
I’d really like to be able to do this without running constantly this script on my Mac. For example I’d like to have a blinkstick app on my Mac which would be a blinkstick server for my local network and I would be able to light it up by sending commands to blink/pulse on specific colors through wifi or ethernet. I don’t need necessarily internet access.
I don’t know how to achieve this but I’d like to hear your ideas for a setup like that.
Also do you have any plans for Objective C API for OS X?
I’m planning such feature with the next release of client application which will be compatible with Mac. It will create a HTTP server and will allow remote control of BlinkStick via basic HTTP requests directly to the computer running client application.
You are the first one to ask for Objective C API so I’ll get on this when I have the client application finished hopefully some time next week.
A HTTP server with the new client application sounds like what I need.
How could it be compatible with Mac? I guess it won’t be a native app.
Thanks for your quick response
No it won’t be a native app, but it will integrate seamlessly with the OS.
Have a look at the connect.js example at https://github.com/arvydas/blinkstick-node/tree/master/examples/connect
They basically run a node.js connecting to public blinkstick server and waiting for pings from it.
You can make it listen to your own servers quite easily. Another example starts a local web server and lets you control pixel via the web page. You can quite easily change it into web accessible API (it might already be that actually) - https://github.com/arvydas/blinkstick-node/tree/master/examples/picker