Browsed by
Category: Tech

Moes QS-WiFi-D01 Dimmer

Moes QS-WiFi-D01 Dimmer

This device can currently be flashed to tasmota with Tuya-convert. The advice on was great and suggested compiling tasmota with scripting and setting up the following script to get the dimming working

Once the device is all setup correctly a command can be issued via the Tasmota console to make it appear in Home Assistant, Enables MQTT discovery:

SetOption19 1

Light brightness can now be fully controlled … Read More

Home Assistant: Fix the entity IDs for zigbee2mqtt devices

Home Assistant: Fix the entity IDs for zigbee2mqtt devices

New Zigbee devices might get setup in Home Assistant before you get a chance to setup friendly names in the zigbee2mqtt config file:


If this happens a fix is as follows:

  • stop home assistant
  • clear the incorrect entities from: /home/user/docker/hassio/homeassistant/.storage/core.entity_registry
  • restart home assistant and the zigbee2mqtt devices should now be in home assistant with the correct friendly entity IDs

Read More

Flashing an ESP32

Flashing an ESP32

Module is an WEMOS LOLIN32 v1.0.0

pip install esptool
esptool -p COM4 erase_flash 
## Testing Flashing Micropython
esptool -p COM4 --baud 460800 write_flash -z 0x1000 esp32-idf4-20191102-v1.11-549-gf2ecfe8b8.bin
Read More
Lora, ESP32 + MicroPython

Lora, ESP32 + MicroPython

LSN50 -Waterproof Long Range Wireless LoRa Sensor Node


ASR650x-based ( ARMĀ® Cortex M0+ Core and SX1262 ) ( 3.5uA ) ( 3.5uA )

ESP32-PICO + SX1276 module ( 30uA ) ( 10uA )

TTGO 868MHz/915MHz SX1276 ESP32 LoRa 0.96 Inch Blue OLED Display Bluetooth WIFI Lora Kit 32 Module IOT Board for Arduino

MicroPython firmware port with lots included More

MicroPython & ULP/RTC Memory

MicroPython & ULP/RTC Memory

Big power advantages exist for using the ULP ( Ultra Low Power ) processor for regular tasks like recording a state change from a GPIO or ADC input, storing the information within the RTC memory, then waking the main CPU up when the information needs to be transmitted via Lora.… Read More

e-Bike Lithium Ion Load Tester

e-Bike Lithium Ion Load Tester

Using power resistors is not feasable, but AC halogen bulbs are easily sources up to 500W , so multiple bulbs can be used to vary the current

500bulb watts
28.8bulb resistance
52battery voltage

So on a 52V battery pack a 500w halogen bulb would draw about 1.8Amps

Voltage can be monitored with a simple voltage divider to lower the 52V to something suitable ( < 3v probably )

Current can be monitored with a shunt

30A FL-2 DC 75mV Current Shunt Resistor for Ammeter Amperemeter Panel Meter

This instructables guide would be a good starting point

Could be better to stick with one technology AKA PyCom
Read More