Skip to content

Instantly share code, notes, and snippets.

View e-bits's full-sized avatar

Remo Inderbitzin e-bits

  • Inderbitzin Informatik GmbH
  • 6440 Brunnen, Switzerland
View GitHub Profile
@e-bits
e-bits / Tasmota-Auto-Off.md
Created January 4, 2022 18:00
Automatically Switch off Power after a given time in Tasmota Firmware.

Thanks @bentolor for guiding me into right direction: arendst/Tasmota#8984 (comment)

Example for automatically disabling Power after 10minutes or 600seconds:

Rule1  ON Power1#state=1 DO RuleTimer1 600 ENDON ON Rules#Timer=1 DO Power1 Off ENDON
Rule1 1

Each line needs to be execute separatly in Tasmota console. Tested on SonOff BasicR2 with Tasmota 10.1.0 and it's working perfectly fine.

Keybase proof

I hereby claim:

  • I am e-bits on github.
  • I am ebits (https://keybase.io/ebits) on keybase.
  • I have a public key ASAE6FH-BVL80qc95L6wD0aCRF9qF-BgyPhumQ9ly7nZlAo

To claim this, I am signing this object:

@e-bits
e-bits / 8192cu.conf
Created November 9, 2015 10:11
RaspberryPi Wlan Power Settings
#file location: /etc/modprobe.d/8192cu.conf
#options 8192cu rtw_power_mgnt=0 rtw_enusbss=0
options 8192cu rtw_power_mgnt=0 rtw_enusbss=1 rtw_ips_mode=1
@e-bits
e-bits / config.cson
Last active November 3, 2015 21:56
atom.io file type based syntax highlighting
core:
customFileTypes:
"text.xml": [
"wxi"
"wxl"
"wxs"
"wixproj"
]