Building AI-Assisted Apps with a Third-Party DeepSeek API

Recently, the hottest topic in the AI world has been DeepSeek . As a typical example of a Chinese team overtaking on a different track, it has been praised and criticized by groups with very different positions. Leaving aside the political and technical arguments, DeepSeek has genuinely made AI more accessible when viewed from the perspective of ordinary users and cost. Compared with overseas large-model providers such as OpenAI, DeepSeek is extremely cheap. For people who want to learn AI applications but have limited budgets, it is indeed one of the best choices. ...

2025-02-07 · Mason

Technical Notes on Building a Site with Hugo and PaperMod

When I first started building this blog 4 years ago, I wrote a short article introducing some of the tools I used when building the website. Today, many of the tools mentioned in that article are obsolete. In addition to the overall migration of this blog and the use of the new PaperMod theme, the configuration methods of many functions have changed. So I decided to write another article to record some of the technical details of my tossing around with this new topic. ...

2024-12-30 · Mason

Installing and Using Home Assistant's Official Mi Home Integration

Background I introduced the installation and configuration method of Home Assistant in an article in April 2022. At that time, to connect Xiaomi’s many smart homes to HA, we had to install a third-party HA integration, namely Hass-Xiaomi-Miot . It is released on GitHub by an individual developer al-one and has always been our only choice to connect Mijia to HA. Until recently, Xiaomi released the official HA integration on GitHub: HA_Xiaomi_Home , filling the gap of Mijia access to HA. ...

2024-12-27 · Mason

How to configure DHCP on your router?

Opening If you often mess with your home network, you must often encounter these problems: Why can’t I open the backend of the router even though the network cable is plugged in? Why does the NAS’s IP address often change? Why does the speed of opening web pages become slower when using expensive soft routing? Why can’t I play the bypass route even after following the boss’s video configuration? The above problems are actually related to DHCP. ...

2022-05-18 · Mason

Building a Smart Home Hub with Home Assistant

Background With the increasing popularity of smart homes, major Internet giants have entered the market one after another, resulting in more and more smart home platforms and brands, and the products of various platforms and brands cannot be interoperable. For example, you cannot use Mijia smart switches to control homekit smart lights unless your product supports dual platforms, but currently there are very few smart homes that support more than two platforms at the same time. ...

2022-04-09 · Mason