Josue.Today Logo Mark
Josue.todayAMBIENT LUMENS // DIY
BACK TO ALL ARTICLES
APIs & AutomationsOriginal Govee Post
❤️ 28 likes💬 9 replies

Mastering the LAN API Series: LAN API 101

Josue Negron
Josue Negron2023 Govee Ambassador
Smart Home Automation • Georgia Tech CE
Mastering the LAN API Series: LAN API 101

Alright, this will be the first post that goes into everything you need to know about the LAN API. I did a series of posts to help users get started with the Govee Developer API, but now we will be looking at the LAN API. If you want to know the difference between all of the various communication methods for controlling your Govee devices, please refer to my last post: Govee Community Post #135660

Before we get started, I know, I know, the LAN API is extremely limited and only supports doing things like turning on/off, updating the brightness and color of the device. It’s also worth mentioning that not all devices support the LAN API (see below). Nonetheless, let’s learn more about the LAN API because at the end of this series, I will show you an unofficial way of using the LAN API to switch your devices’ scenes or DIYs. It’s also worth mentioning that Govee is planning some enhancements to the LAN API this year.

Below is my plan for this series: ➡️ LAN API 101 (this post) ➡️ Intro to the Govee Desktop App ➡️ Intercepting Network Traffic using Wireshark ➡️ UDP, who? How to send LAN API data using Packet Sender ➡️ Hands-on: Debugging Govee Home app ➡️ Final Exam: Switching Scenes using LAN API

Most of the info from this LAN API 101 article was obtained from the article that is in the Govee Home App here: https://app-h5.govee.com/user-manual/wlan-guide

The guide provided by Govee is divided into three main parts.

1. Preparations for LAN API Control

2. Supported Device Models

3. How to use the LAN API

1. Preparations for LAN API Control

Add the device to Govee Home App and make sure the Wi-Fi is connected. Turn on the LAN switch on the Device Settings page.

ℹ️ Note: If your device is listed in the Supported Device Models, but you can not see the LAN switch, please disconnect the device from the power supply and power it on again. Wait for about 30 minutes and check if the LAN switch appears. If it still does not appear, please contact customer service.

Tags:#API#HomeAssistant#IoT
Try The New Tool

Create Custom Govee Themes in Seconds

Design dynamic gradients and sideload them directly into your Govee Home app using the DIY Theme Studio.

🎨 Launch Theme Studio ↗