Skip to content

Instantly share code, notes, and snippets.

@tomayac
tomayac / enel-x-way-api.md
Last active March 18, 2025 03:13
Reverse-engineering the Enel X Way API

Reverse-engineering the Enel X Way API

These API endpoints were extracted from decompiling the Enel X Way Android app.

Authentication

https://emobility.enelx.com/api/authentication/v2/oauth/refreshToken
@maximtrp
maximtrp / Orange Pi PC and Arch Linux ARM.md
Last active April 1, 2025 14:01
Guide on how to install Arch Linux ARM on SD card for your Orange Pi PC board

Orange Pi PC & Arch Linux ARM: installation guide

This guide is based on multiple guides as well as official instructions for the other boards found on the Internet:

  1. https://github.com/RoEdAl/alarm-uboot-sunxi-armv7
  2. https://uthings.uniud.it/building-mainline-u-boot-and-linux-kernel-for-orange-pi-boards
  3. https://archlinuxarm.org/platforms/armv7/allwinner/pcduino3

I have gone through all these steps recently and got a working board with my favorite Arch Linux ARM. I hope it will be helpful for someone else.

@michaelkamprath
michaelkamprath / feit-electric-dimmer-openbk7231t-conversion.md
Last active April 4, 2025 01:10
FEIT Electric Smart WiFi Dimmer Conversion to OpenBK7231T

Converting FEIT Electric Smart Wifi Dimmer to OpenBK7231T

The following steps shuld be taken to convert the FEIT Electic Smart WiFi Dimmer switch to be cloud-free using the OpenBK7231T software.

WARNING - Modifying electrical equipment that operates at mains power can be dangerous, even deadly, if you you make a mistake. Seek professional help with this conversion if you have any doubts (or should have doubts) in your ability to do it.

Reflashing Switch with OpenBK7231T Software

Note that this process requires you to have a UART capable of operating at 3.3 volts, some wires to connect the UART to the switch's circuit board, and a computer the UART can conncet to that has Python 3 installed.

Disassemble the switch, removing the circuit board form the switch unit. Be sure not to lose any of the screws or the platstic PCB cover you had to remove. Then, attach 4 wires tyoe the RX1, TX1, 3V3, and GND points on the circuit board. Also, connected a jumper from the `NRST

@nickoala
nickoala / curaengine.md
Last active January 27, 2022 05:14
Build CuraEngine on Raspbian or Ubuntu

Build CuraEngine on Raspbian or Ubuntu

CuraEngine requires libArcus which requires protobuf. Let's build them in turn.

Make sure python3 is Python 3.4 or higher.

Install utilities used by the build process: