Skip to content

Instantly share code, notes, and snippets.

View kelvan's full-sized avatar

Florian Schweikert kelvan

View GitHub Profile
@jcberthon
jcberthon / networkmanager-wifi-powersave.md
Last active November 17, 2024 14:54
NetworkManager Wi-Fi powersaving configuration

NetworkManager WiFi Power Saving

NetworkManager supports WiFi powersaving but the function is rather undocumented.

From the source code: wifi.powersave can have the following value:

  • NM_SETTING_WIRELESS_POWERSAVE_DEFAULT (0): use the default value
  • NM_SETTING_WIRELESS_POWERSAVE_IGNORE (1): don't touch existing setting
  • NM_SETTING_WIRELESS_POWERSAVE_DISABLE (2): disable powersave
@pfingstday
pfingstday / IR_Edifier_S530D.txt
Last active May 7, 2017 16:26
IR Codes Edifier S530D
Serial.println("Edifier Speaker on/off");
irsend.sendNEC(0xFF629D,32);
Serial.println("Edifier Volume Up");
irsend.sendNEC(0xFF609F,32);
Serial.println("Edifier Volume Down");
irsend.sendNEC(0xFF926D,32);
Serial.println("Edifier Mute");