- 10
- 71 938
Tech with Jin - Jin科技
Malaysia
Приєднався 14 чер 2007
FORCE RGB Color on M1 Mac - Clearer Text & Better Display
M1 Mac since BigSur (Monterey & Ventura too) have default to use YPbPr colorspace as the external display output, this is especially noticeable on HDMI display where the text getting much more blurry and the display seem to have less contrast.
Here I gonna show you step by step on how to force RGB color display on the supported HDMI/Display Port Monitor/TV:
Step:
1. Open Terminal
2. Terminal Type: open /Library/Preferences
3. Change your external Monitor display setting (Rotate 90')
4. Copy the /Library/Preferences/com.apple.windowserver.displays.plist to Desktop
5. Terminal Type: plutil -convert xml1 Desktop/com.apple.windowserver.displays.plist
6. Open the plist using a text editor
7. Find the Display UUID that have rotation key set as 90
8. Change your external Monitor display setting (Rotate 0')
9. Copy the /Library/Preferences/com.apple.windowserver.displays.plist to Desktop (replace)
10. Terminal Type: plutil -convert xml1 Desktop/com.apple.windowserver.displays.plist
11. Open the plist using a text editor
12. Add the following text before the key rotation with the UUID of the monitor you record down just now
pastebin.com/KRaKQ7df
13. Make sure the indention/spacing is correct as per video
14. Save the plist in the text editor.
15. Terminal Type: plutil -convert binary1 Desktop/com.apple.windowserver.displays.plist
16. Verify the plist is OK, Terminal Type: plutil -lint Desktop/com.apple.windowserver.displays.plist
17. Copy and replace the original plist from Desktop to /Library/Preferences/
18. Do the whole process again above for ~/Library/Preferences/ByHost
19. Logout your user account, and then reboot the Mac
20. Verify the monitor setting to make sure RGB colorspace is enable now.
Alternative method (Fish shell)
## Install Homebrew on Mac OS, copy the code below
/bin/bash -c "$(curl -fsSL raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
## Install jq and fish/fisher shell
brew install fisher jq
## Login to fisher shell
fish
fisher install dangh/force-rgb.fish
## While still in fish shell, run the force-rgb program
force-rgb
## Verify the change is being made is correct, and then apply the change
yes | force-rgb
## Log out your user account. And then reboot the mac (Important !!)
Here I gonna show you step by step on how to force RGB color display on the supported HDMI/Display Port Monitor/TV:
Step:
1. Open Terminal
2. Terminal Type: open /Library/Preferences
3. Change your external Monitor display setting (Rotate 90')
4. Copy the /Library/Preferences/com.apple.windowserver.displays.plist to Desktop
5. Terminal Type: plutil -convert xml1 Desktop/com.apple.windowserver.displays.plist
6. Open the plist using a text editor
7. Find the Display UUID that have rotation key set as 90
8. Change your external Monitor display setting (Rotate 0')
9. Copy the /Library/Preferences/com.apple.windowserver.displays.plist to Desktop (replace)
10. Terminal Type: plutil -convert xml1 Desktop/com.apple.windowserver.displays.plist
11. Open the plist using a text editor
12. Add the following text before the key rotation with the UUID of the monitor you record down just now
pastebin.com/KRaKQ7df
13. Make sure the indention/spacing is correct as per video
14. Save the plist in the text editor.
15. Terminal Type: plutil -convert binary1 Desktop/com.apple.windowserver.displays.plist
16. Verify the plist is OK, Terminal Type: plutil -lint Desktop/com.apple.windowserver.displays.plist
17. Copy and replace the original plist from Desktop to /Library/Preferences/
18. Do the whole process again above for ~/Library/Preferences/ByHost
19. Logout your user account, and then reboot the Mac
20. Verify the monitor setting to make sure RGB colorspace is enable now.
Alternative method (Fish shell)
## Install Homebrew on Mac OS, copy the code below
/bin/bash -c "$(curl -fsSL raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
## Install jq and fish/fisher shell
brew install fisher jq
## Login to fisher shell
fish
fisher install dangh/force-rgb.fish
## While still in fish shell, run the force-rgb program
force-rgb
## Verify the change is being made is correct, and then apply the change
yes | force-rgb
## Log out your user account. And then reboot the mac (Important !!)
Переглядів: 9 887
Відео
IKEA Air Quality Sensor - The Cheapest PM2.5 Sensor for Home Assistant
Переглядів 36 тис.3 роки тому
IKEA recently release IKEA VINDRIKTNING Air Quality PM2.5 Sensor for less than 12 USD / 50 MYR that can be easily hack and modify to be Wi-Fi Enabled using 3 wire and a cheap WEMOS D1 Mini module. VINDRIKTNING is super value for the money as the sensor it used, the Cubic AQI sensor cost more than 20 USD if brought separately and you still need to add your own display/controller and casing. What...
Shelly 1 / Shelly 1PM Teardown - Sonoff Mini R1 Comparison
Переглядів 4,6 тис.3 роки тому
Simple Teardown to see the inside of Shelly 1 and Shelly 1PM. Also feature a side by side comparison with Sonoff Mini R1. Finding: - Shelly feature a proper regulator IC to precisely step-down the AC voltage to 12V DC whereby the Sonoff just use some passive component to do the AC/DC conversation. - Both Shelly use 12V Hong Fa relay where Sonoff use a 5V Golden relay, The Hong Fa relay is more ...
Fake CO2 Meter - Teardown on ZN-2CO1 Air Quality Detector
Переглядів 18 тис.3 роки тому
As the pandemic on going and we stay indoor more often, monitor carbon dioxide and other harmful TVOC particle in our living space since to be a good idea. But such sensor are usually price above 150-200 USD each, do we have a more affordable version? When I browse the internet, I stumble upon this : ZN-2CO1 Air Quality Detector And it claim it can detect : - CO2 (400-6000PPM) - TVOC (0-2.0mg/m...
Don't Make this mistake when flashing Zigbee2MQTT 1.21 What News
Переглядів 8633 роки тому
For those guy who running Home Assistant(HA) with Zigbee2MQTT (Z2M) There is a new firmware and Z2M v1.21.0-1 release. Here is the changelog: - Migration from CC253x to newer coordinator without repairing all devices - TuYa end device now can pair more reliable rather show undefined. - More Livolo zigbee switch support - Improved on Aqara Zigbee Switch - Added support for CC1352P7 series - Opti...
Unboxing Elekstube IPS Clock - First Look
Переглядів 1,3 тис.3 роки тому
Nixie Tube is the cutting edge display technology back in 1960-1980 until LED and VFD was invented. Eleksmaker from china have created this awesome Nixie Tube look alike clock using ESP32 and some super small IPS display. I will showcase how this hardware is build and I will integrated this awesome clock into my Home automation system. Stay tune for more in depth look on this Nixie Tube Clock !!!
Bolt - Fix Installation at APW Bangsar
Переглядів 543 роки тому
Bolt - Fix Installation at APW Bangsar
Zoom Call On Raspberry Pi 4 - Step by Step
Переглядів 1,1 тис.3 роки тому
This is a simple guide what you need to do a zoom call : Raspberry Pi 4 (2GB) or better - Chrome and zoom use a fair bit of memory so the more you got the better it work. USB sound card (mic/headset) - my.cytron.io/amp-p-usb-dual-audio-adapter-3p5mm-mic-and-speaker-wire USB Web Cam - my.cytron.io/amp-p-cliptec-720p-hd-wide-angle-usb-webcam-with-mic USB UVC webcam work better in PiOS as it didn’...
command : <key>LinkDescription</key> <dict> <key>BitDepth</key> <integer>8</integer> <key>EOTF</key> <integer>0</integer> <key>PixelEncoding</key> <integer>0</integer> <key>Range</key> <integer>1</integer> </dict>
Doesn't work on Macbook M1 unroftunately
I have the same problem but am using only one display which is a Samsung external display. How can I fix this annoying blurry thing? Please HELP!
Do you happen to have a BOM and/or schematic of any Shelly circuit?
thank you so much!!!
Mac sucks so bad.
Did not work. I solved it ANALOG (go swallow some grind Apple!). USB-C to VGA dongle, VGA cable to TV. Impossible solution only modern OSX needs.
hello dear! is there a way to force 10bit color depth on an external monitor that support it?
Excellent tutorial. Thank you!
thank you! the fish shell method worked. finally nice colors and the correct black level 😘
]ear Mr. Jin Can you provide a solution about the Mac mini M2 please. Because I tried these instructions and it didn't work.
The problem is that it doesn't work with Ventura anymore =(
worked for me on the latest ventura
@@jomerci2113 YES!! Just updated. Amazing! I wasn't expected that.
@@azerbouf That's awesome! I also had the issue that the color would go back to ycrcb (or whatever it's called) whenever the laptop went to sleep. I was able to fix it by adding the same <linkdescripion> stuff in the user's windowserver.plist file
@@jomerci2113 Ah.. just after one sleep it went away. It doesnt work for me again. I've rebooted > turned the monitor off with power button > then enabled and its back to ycrgb... (((
@@azerbouf Did you try following the same steps in this video for the second windowserver.plist file (in Macintosh HD/username/Library/Preferences rather than Macintosh HD/Library/Preferences), as well?
Hi can you make a tutorial on how to force RGB on m1 mac using the alternate method? pleeasee
when i log out and restart, mac delete all script i added
Hi Jin! Do you know if this same method can be used to somehow disable dithering on the 13" M1 Macbook Pro? Maybe by forcing it to use 8 bit color instead of 8 bit + FRC? How can i achieve this?
Thanks a lot! The script given in the description as an alternative method solved the problem. RGB finally works on Dell P3421W along with MBP M1 (Ventura 13.2) via USB-C thanks to this tutorial.
Could you show us how to add a BME680 to this board as well?
fan blows the other way. sucks into the sensor and blows out through the fan.
Has nothing to do with M1 nor Monterey, happens on the majority of TV's on 10.11 and newer as well. On a TV you want RGB everything as much. Apple just totally sucks ass in this respect, and Switchres is just as much junk as Apple system preferences Wy can't someone for once and for all make A freeware Mac app working on 10.11 and higher at least, that inserts a menu item for ANY resolution, in ANY colour space in ANY refresh rate. If you want to kill OSX by enabling a 1 bit 1x1 pixel HDMI out, fine, go ahead, but stop treating us like babies of asking 15€ for a piece of Junk (French dude that stopped developping SwitchRes and sees it as a cash cow mostly nowadays).
What is the freeware app you're mentioning?
@@rainyskyelive I said why can't anybody make such an app....
@lovemadeinjapan Ooh my bad lol, anyway I've been working on some stuff in the mean time, I might be working on something :)
Thanks for the video =)
Hi. How to see this on benq sw 2700pt monitor as it doesn't show colour output? Thanks
You can see the current colour profile in system settings. That will tell if it runs RGB or YPrPb
how can I reach you ? Can you give me your telegram address?
The Vindriktning, does it work ? Did it change the color ? :)
This worked for me, using the script provided for the Homebrewer method with my dual Dell S2722QC monitors and Mac mini, one being connected via HDMI. However, I noticed the HDMI connected monitor will revert back to YCbCr after waking from sleep; although it will select RGB if I restart the computer. I don't suppose there is a way to keep RGB to persist through sleep cycles? Thank you
There is a script version for those who have more than 1 monitor: pastebin.com/GvqHiiMe ## Install Homebrew on Mac OS, copy the code below /bin/bash -c "$(curl -fsSL raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" ## Install jq and fish/fisher shell brew install fisher jq ## Login to fisher shell fish fisher install dangh/force-rgb.fish ## While still in fish shell, run the force-rgb program force-rgb ## Verify the change is being made is correct, and then apply the change yes | force-rgb ## Log out your user account. And then reboot the mac (Important !!)
Antenna on sonoff is better than Shelly 1. So off you can put antenna outside of electrical lap box inside and get better results Shelly 1 connection have a maximum gauge 14Ga wiring. Modern homes are generally using 12Ga on better quality homes.
Just the video I was looking for! Thanks for the rundown. I have even more respect for the Shelly devices now :)
Shine a tv remote at the led’s on the unit…. It flickers I’m confused
would like to ask what AC are you using and how are you controlling your AC? I have a daikin with Daikin go but sadly couldn't link it up to Home Assistant.
how reliable is this air q tester? If it's not having a small fan to blow air through the sensor, polluted air might hang around the sensor while the room air quality is good? Likewise, clean air might hang around the sensor while the room air quality is bad?
Crazy that the sensor alone costs nearly twice as much as the entire built unit! Is it possible they use counterfeit sensors?
Very informative. Is there a way to use a independent PM2.5 sensor and ESP on Tasmota to make something similar ?
9:14 you're wrong. it sucks air from top chamber and outputs it to lower.
One important thing, you have to use voltage divider, because the VINDRIKTNING output is 5V and ESP32 IO input voltage is 3.3V. Use an 2k ohm to the ground, 1k ohm to digital input on ESP, on other side solder both resistors together and connect them to VINDRIKTNING REST pin.
why if you already have the volt reg on the board that is used with usb 5v input ?
@@MagivaIT The voltage regulator is only on VIN. On digital inputs you have to lower the voltage to 3.3V. If you will feed the ESP with 5V it may work, but after some time you can damage it. I had issues with WiFi, but after putting the voltage divider it works smoothly.
@@AndrejDobak it works smoothly without voltage divider
@@Wu33up it may work for some time, but how long...check the esp32 specs. it's clear 3.3 volts. I had issues with wifi when it was 5V
D1mini is esp8266 and is 5v tolerant on inputs.
hi, any tips of solving switches not updating states to HA. eg. it's responding if you switching them on on frontend. when system restarts, it don't retain their last status. sometime when toggle my switch from aqara d1, light responded, but HA intermittent record their status. hope you may help.
Great video. However, I'm only getting 2.5 um readings. Don't get 1 and 10Um. How did you get those too?
great tutorial thank you. Quick question on accuracy, Alot of people on home assistant forum complaining that that the ikea sensor doesnt provide true accurate readings, Have you tested this in comparison with a PMS5003, Also would it be possible to swap the built in sensor with a PMS5003
do you have a link to the home assistant discussion ?
It’s probably good enough for the green, orange, blue kinda distinction of air quality, but you are correct, this sensor is at the bottom of accuracies.
very nice!hope can meet you if possible
Can I plug this thing to the TV's USB port?
Great tutorial. I ordered one to see if I could do what you have already done, and you did it better than I was planning so I'll follow your lead. Well done!
Hey awesome job!
gold star
Thanks for this great tutorial. But how come your sensor can reads PM 1 & PM 10? Mine can only reads 2.5
Yes, Vindriktning means Wind direction in Swedish.
thanks for the clear explanation. do you mind elaborate what do you meant by proper antenna when you were talking about the CC2562p covering several floors?
Did you hear about zooming?
there is no need to measure all the time, a single measurement at the press of a button should be enough
It’d be good if the D1 Mini would go to sleep for a couple minutes between readings. Not sure Tasmota can do this, but you can do it through Arduino or Micropython. Should be a pretty straightforward program to write and I’m sure someone else already did this by now.
Great video!
Glad you enjoyed it
Thanks sir. For this sharing, may i know, is there any sketch that we need to upload in the wemos
Unless you want to add your own sensor or add PM1.0/PM10 reading, there is no need to upload binary to the wemos
too bad they did not include an internal battery so it can be used anywhere
If you have a 3d Printer, just print a somewhat bigger case, put a Battery in, dont forget the 5V booster and you good to go. Remember to get enough holes in that thing, so it can accurately check the air. For 10 Bucks that thing is already a steal, ngl.
I measure the power usage, it have a fan that on all the time and LED, so it consume around 1.8-2.4w. So if you put in a 600mAh battery, it only last less than 1 hour. Not really practical to put a battery in this.
@@TzeJinShee If you put like 2 phone batteries in there, thats like 6 to 8 thousand mAh. If you want it portable for whatever reason, thats more than enough and the extra space isnt that much, as you have enough depth, just not enough hight. If you already need to print a new case, because its not big enough, just calculate the Batteries into the Design and you good to go. Should get a bit taller, but thats it, imo.
@@TzeJinShee probably due to the Mini being on and connected to the network at all times. Should be better when using deep sleep and only periodically broadcasting the results. Maybe every 5-10 minutes.