In OBS it’s currently not possible to access connected cameras under MacOS, because OBS does not register it self in the privacy settings of MacOS.
To add OBS to this menu, the application must be manually added into the MacOS privacy settings database.
step by step guide macOS ≥11.x
Craete a database backup cd ~/Library/Application\ Support/com.apple.TCC/ cp TCC.db ~/
Open database sudo sqlite3 ~/Library/Application\ Support/com.apple.TCC/TCC.db
macOS ≥ 11: Add OBS to Camera menu in System Preferences INSERT INTO access VALUES('kTCCServiceCamera','com.obsproject.obs-studio',0,0,1,1,NULL,NULL,NULL,'UNUSED',NULL,0,1541440109);
macOS < 11: Add OBS to Camera menu in System Preferences INSERT INTO access VALUES('kTCCServiceCamera','com.obsproject.obs-studio',0,1,1,NULL,NULL,NULL,'UNUSED',NULL,0,1541440109);
Now you should find OBS in the Camera menu in System Preferences w/o reloading the view.
Activate OBS to finally grant access to your Camera
DIY: How to Connect Somfy Oximo io to Apple HomeKit for ~ 50€
Two weeks ago I got new windows including window covers. The roller shutters are driven by a Somfy radio motor.
Like many of those motors available, they are still not compatible with Apple HomeKit. Also (if available in the futur) the integration would cost ~300€ to buy a Somfy TaHome (base station).
As with my driveways on my property, I wanted to use the radio technology provided and simply connect the remote control to HomeBridge on a Raspberry Pi
A wall switch was supplied with the motors. So I carefully disassembled the remote control of the Somfy remote switch and analysed how I could bridge the buttons of the remote control to my Raspberry Pi. Unfortunately the remote control has no soldering pads that can easily be used to connect the GPIOs of the Raspberry Pi. I have decided to use the VIA (vertical interconnect access) to connect. In these I put a single wire from a stranded wire to make the contact (yes, no soldering – not perfect but working).
On the following image you can see which contact points have to be led out of the switch to be able to control all buttons remotely.
The thin wires are soldered to usual wires. All of them are attached to the board with hot glue. The hot glue also protects against contact with the battery and other contact points.
Fix of README.md for installation with a Raspberry Pi 4 (Pull Request is still open at the time of writing this article): https://github.com/AndreasPrang/homebridge-gpio-device
Garden doors usually are connected to a DC power source interrupted by a push button. With the following simple setup it’s possible to close the circuit with HomeKit (Siri or Home-App on Apple Watch, iPhone, iPad) for a defined time.
At all the setup will cost round about 50€. For some additional bucks you can buy a card with more than one relay to control many doors, Lamps, power lines, … with one setup.
I wrote a very basic speed test in Swift, Java, JavaScript, C / C++, Python, Ruby, and Perl. Awesome is the speed of Swift. It’s up to two times faster than Java und up to 3 times faster than C / C++ depending which function will be used. For this test I implemented the following simple function:
long sum = 0;
for (Integer n = max; n > 0; n--) {
double foo = n / 17;
sum = sum + n ;
}
I published the test on gitHub. If you want to implement more complex / meaningful tests or found a bug please please contribute some code. ?