Skip to content

Solarmorph 0.4.1

Latest

Choose a tag to compare

@cjse cjse released this 24 Sep 18:18

The helper recovers better when the Bluetooth of the lamp stops working correctly, and the log of the background process keeps its history.

Changes

  • When the lamp accepts the connection but answers that it has no resources or cannot find its own characteristics, the error says to remove the power of the lamp for ten seconds. The helper stops after the first such answer. Before, it tried up to five connections and a scan, and then showed a general connection error.
  • The helper turns off its notifications before it disconnects. The lamp must forget them at the end of the link, but it possibly keeps some state for each one.
  • The log of the background process, ~/.config/solarmorph/daemon.log, keeps the earlier runs. Each run starts with a line that has the date, and the log shows each disconnect. When the log is larger than 1 MB, the background process moves it to daemon.log.1.

If the lamp stops responding again, remove its power for ten seconds, and open an issue with daemon.log attached.

Install or update

xattr -dr com.apple.quarantine solarmorph-0.4.1
cd solarmorph-0.4.1
npm install
npm run dev

Stop npm run dev with Ctrl-C when the commands show in Raycast. Your pairing stays valid. See the README.

Tested with one Solarcycle Morph desk lamp on one Mac with Apple silicon. The Intel build is not tested. The stuck-lamp path is tested only with unit tests.

SHA-256 of the zip: ba361397639e6515808a6317de1a21b1eb27d9667588c31875bfde03849f7b8c

This project is not affiliated with Dyson.