amuttsch / go-idasen

API and CLI for the ikea IDÅSEN desk.
MIT License
7 stars 1 forks source link

does not work on mac #1

Open idefixcert opened 2 years ago

idefixcert commented 2 years ago

Any Idea how to port this to mac?

Because I get AdapterExists: dial unix /opt/local/var/run/dbus/system_bus_socket: connect: no such file or directory

amuttsch commented 2 years ago

I don't think this will work on mac as I use https://github.com/muka/go-bluetooth for bluetooth connection which relies on dbus and bluez which is only available on linux.

You could try the python implementation if it works on mac: https://github.com/newAM/idasen

If you are interested in creating a mac version of this the first step would be finding a go bluetooth library that works on mac and try implementing it.