mac2mqtt
mac2mqtt copied to clipboard
View and control some aspects of macOS computer via MQTT
In https://github.com/bessarabov/mac2mqtt/pull/9 @adriaandotcom shared a great idea: > I'm also updating the fork of this project to include a mute_mic command. I thought the mute command would mute the mic,...
Hello, I don't know if anyone is having this issue. Here is a list of how mqtt alive property changes when my macmini is on: `21/6/2023, 9:18:17 node: ISOFF debug...
See the discrussion starting from https://community.home-assistant.io/t/mac2mqtt-control-volume-on-macos-via-mqtt/298607/14
Hello, I am interested in this software just to shutdown remotely via Home Assistant, but I am running into several problems. Let's start in the first one. I edited the...
``` panic: runtime error: index out of range [1] with length 0 goroutine 32 [running]: main.getBatteryChargePercent(0xc000049ef0, 0x1319948) /Users/bessarabov/Dropbox/git/mac2mqtt/mac2mqtt.go:284 +0x115 main.updateBattery(0x137cc20, 0xc000198000) /Users/bessarabov/Dropbox/git/mac2mqtt/mac2mqtt.go:290 +0x85 main.main.func1(0xc00013a370, 0x137cc20, 0xc000198000, 0xc00013a3c0) /Users/bessarabov/Dropbox/git/mac2mqtt/mac2mqtt.go:318 +0xe5 created...
Return empty string if no battery is present on the Mac (as is the case on the Mac Pro) Resulting topics on MQTT **Resolves this issue** ``` ./mac2mqtt 2023/01/10 19:29:46...
TIL that there's a `shortcuts` CLI tool on Mac, and you can use this to run any shortcut in the Shortcuts app. This opens up a ton of possibilities! For...
You can also send `displaylock_sleep` as the payload to also call `commandDisplaySleep` and turn off the display. (Otherwise it shows the password field for a little while. And a bit...
This is a cool project! I just wanted to update the README, because everything needs to go under an `mqtt:` key now