Broadlink RM Mini 3 and Google Home Voice Control Quick Notes

Broadlink RM Mini 3 by Broadlink

You can refer to this unboxing and setup guide, especially the section on the "Scenes" feature mentioned towards the end of the article.

https://playsmarthome.com/broadlink-rm-mini-3-review/

If you have linked "Broadlink" to Google Home, the newly added scenes will appear in the Routines section, allowing them to be used as a remote interface for the Nest Hub. The set keywords will become voice commands.

Operation Example

Adding a Broadlink scene "TTV News Channel" corresponds to the MOD remote control sequence

5-> [delay 0.5 seconds] ->0-> [delay 0.5 seconds] ->3

Then say to Google AI, "Hey Google, activate TTV News Channel," and the Broadlink RM Mini 3 will switch the MOD to the TTV News Channel. Google AI will respond with: "OK, activating TTV News Channel."

This "activate" is a mandatory call sign set by Google, but there is a way to bypass it and set more natural commands:
"Increase volume," "Show program info," etc.

The method is simple. Just go to Google Home's "Routines" and set up another routine with your preferred call sign, then correspond it to the Broadlink "activate XXXXX" command.

It is also recommended to purchase an HDMI switcher that supports infrared. This way, even switching sources can be controlled by voice!

Virtualization… According to the boss it saves the company over $5000 every month.

The company originally had over 10 servers running VB6 software 24/7 continuously, all on architectures from many years ago.
Since the company's founding in 1993 until 2021, no one had stepped up to make improvements...
So I took the initiative to introduce VMWare Workstation to the company, testing the waters on Windows, which our managers and bosses were familiar with. They were very satisfied with the Snapshot feature.

But, that wasn't enough!

Next, I introduced ESXi OS and first moved one of the original VB6 programs to a newly created virtual machine, which ran without issues for two months.
I reported this upward and further proposed the concept of VCenter, catering to multi-user management, automatic backups, performance monitoring, and more.
We assembled a machine with an AMD 5950X and 32GB (dual-channel) of RAM from a local vendor.
In early 2022, we upgraded to 64GB (quad-channel).

It has been running for over a year now and is very stable.

Trend Micro ServerProtect Password Reset


layout: post
title: Trend Micro ServerProtect Password Reset
date: 2021-09-15 15:02 +8
description: Password reset method
toc: false
share: true
comments: true
tags: Windows TrendMicro AntiVirus

Note

This article describes the password reset method for ServerProtect running on the Windows platform. Please read the following content carefully and check if it meets your needs.

Solution

  1. Open the regedit registry editor.
    If the OS is 64-bit, navigate to HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\ServerProtect\CurrentVersion\Agent.
    If the OS is 32-bit, navigate to HKEY_LOCAL_MACHINE\SOFTWARE\TrendMicro\ServerProtect\CurrentVersion\Agent.
  2. Delete the value of AgentPassword.
  3. The password will be reset to the default password: VPROTECT.

Thoughts

This password system is too fragile!
Doesn't this mean anyone can easily bypass the password verification?

References

Windows IIS 8 Website Unexpected 403.3 Authentication Error


layout: post
title: Mysterious 403.3 Authentication Error on Windows IIS 8 Website
date: 2021-09-15 11:49 +8
description: Adjusting folder permissions on Windows.
toc: false
share: true
comments: true
tags: IIS Windows

Note

This article provides a solution for Windows IIS 8 and later versions.

Problem Check

  1. Create a new website and create a simple helloWorld.html file. If it's in a subdirectory, remember to convert it to a "Web Application."
  2. Grant the folder permissions to "Everyone" with "Full Control."
  3. If this solves the problem, then it is confirmed to be a permissions issue.

Main Solution

  1. In wwwroot or the root directory of the website, grant the IIS_IUSRS group Read and Write permissions.
  2. Execute the command iisreset /restart to restart IIS and apply the new permission settings.
  3. On a different computer, browse the newly configured website to check if it displays correctly. If not, proceed with the alternative solution below.

Alternative Solution

  1. In wwwroot or the root directory of the website, grant the IIS AppPool\MyApplicationPoolName group Read and Write permissions.
    ※Here, MyApplicationPoolName should be the name of the website's application pool.
  2. Switch to Internet Information Services (IIS) Manager and select the website.
  3. In the right panel, under the IIS section, click "Authentication."
  4. Under "Authentication," ensure that "Anonymous Authentication" is "Enabled."
  5. Right-click on it and select "Edit...".
  6. The default option should be "Specific user": "IUsr." Switch it to the second option, "Application pool identity."
  7. Execute the command iisreset /restart to restart IIS and apply the new permission settings.
  8. On a different computer, browse the newly configured website to check if it displays correctly. At this point, my issue was resolved.

References

Using Google Maps JavaScript to Import KML Files and Automatically Draw Maps


layout: post
title: Using Google Maps Javascript to Import KML Files and Automatically Draw Maps
date: 2021-08-24 17:41 +8
description: How to use KmlLayer to present data without manually reading it, and potential issues you may encounter.
toc: false
share: true
comments: true
tags: GoogleMaps Javascript Development

Code

Potential Issues

Line thickness differs from what you see on Google My Maps or Google Earth! Why is it so thick?

You need to manually add <width>0.001</width> for each <LineStyle></LineStyle> in the KML file.
0.001 can be changed to your desired value.
Tip: Find and replace </LineStyle> with <width>0.001</width></LineStyle>