Skip to content

Instantly share code, notes, and snippets.

View zoilomora's full-sized avatar
🏠
Working from home

Zoilo Mora zoilomora

🏠
Working from home
View GitHub Profile
@zoilomora
zoilomora / lm-sensors it8688E.md
Created February 11, 2023 09:15 — forked from natanaeljr/lm-sensors it8688E.md
lm-sensors support for it8688E chip (ArchLinux)

lm-sensors support for it8688E chip (ArchLinux)

  1. Make sure you have installed lm_sensors
  • sudo pacman -S lm_sensors --needed
  1. Download and Install the it87 kernel module for the driver support:
  1. To temporary enable the it87 module
@zoilomora
zoilomora / AnalysIR.md
Last active September 20, 2021 22:11
AnalysIR

Appendix B – Configuration File, ANALYSIR.ini

This file, which is located in your ‘APPDATA’ directory and named AnalysIR.ini, contains all of the important configuration details for your installation. You can find a list of parameters via:

Menu -> File -> Properties
@zoilomora
zoilomora / Materiales.md
Last active September 14, 2021 15:01
Batería de Jmm
@zoilomora
zoilomora / Ban|Hammer.md
Last active July 2, 2021 16:00
Bots de Telegram

AntiSpam

El AntiSpam consiste en el bloqueo de los mensajes que contengan el link de otro grupo o canal de Telegram. Puedes activar y configurar diversos parámetros enviando el comando /antispam en el grupo.

  • /lb add <canales o tglink>: Añade canales o tglinks a la lista blanca.
  • /lb del <canales o tglink>: Elimina canales o tglinks de la lista blanca.
  • /lb allow X: Respondiendo a un usuario y siendo la X un numero, le da a ese user la opcion de mandar X mensajes con spam sin que sea expulsado durante 10 minutos por defecto.
  • /lb allow X X: Respondiendo a un usuario y siendo la primera X el numero de mensajes a permitir y la segunda X el tiempo en minutos que dura el permiso, le da a ese user la opcion de mandar X mensajes con spam en el X tiempo especificado sin que sea expulsado.
@zoilomora
zoilomora / Excedentes.md
Last active November 27, 2021 00:28
Instalación Fotovoltaica
@zoilomora
zoilomora / Flash TREEYE WiFi Smart Plug with Tasmota.md
Last active October 24, 2023 20:00
Flash TREEYE WiFi Smart Plug with Tasmota

Flash TREEYE WiFi Smart Plug with Tasmota

How did I get here?

I saw a very good offer for a Wi-Fi Smart Plugs with an Energy Monitoring and I couldn't resist.

The plug was of the [TREEYE] brand (I had not heard it in my life) but I saw that they were [TUYA] and I said to myself... they sure are compatible with [tuya-convert]. ERROR!

I was surprised that [tuya-convert] didn't work and decided to open it for manual flashing. Oh My God! They didn't have an [ESP8266] but a [WB2S module]!

@zoilomora
zoilomora / Temperature and Voltage from MikroTik Router by Telegraf.md
Last active April 18, 2024 23:39
Temperature and Voltage from MikroTik Router by Telegraf

Temperature and Voltage from MikroTik Router by Telegraf

Telegraf is a highly modular software provided by InfluxData that allows us to configure numerous Inputs and Outputs to collect any information.

In this case I have done the tests with my MikroTik hEX S router.

Mikrotik provides you with a MIB file with the OID addresses of its Routers.

Configure Telegraf

Create a file in /etc/telegraf/telegraf.d/ with extension .conf with the following content:

@zoilomora
zoilomora / Run commands in Windows 10 from Linux.md
Created March 30, 2021 20:31
Run commands in Windows 10 from Linux

Run commands in Windows 10 from Linux

In many cases, it can be very useful to send a command to a Windows from Linux. In my case, I was given this need when trying to shutdown a computer remotely via command line and then integrate said command into Node-RED.

Take these simple steps and you can get them done quickly.

Install OpenSSH natively on Windows 10 with PowerShell

Follow the instructions given by Microsoft for the installation and configuration of the service: OpenSSH Install FirstUse.