I finally got my zemismart moonlamp:
It is tuya based, so with the help from digiblur’s discord channel I got it converted to Tasmota, took some time to get my head around the settings, but of course there is always a good vibe on his discord, and a lot of helpfull people.
So the Tasmota settings looks like this:
From that I created a esphome setup, it actually matched a “Lonsonho 9W E27 RGBWW bulb”, so I just grabbed that config.
My only problem is that I can’t update it via OTA, as there is not enough memory, I tried removing everything from the config, but still couldn’t make it upload a new code.
substitutions:
device_name: Moonlight
espname: moonlight
esphome:
name: '${espname}'
platform: ESP8266
board: esp01-1m
wifi:
ssid: !secret wifissid
password: !secret wifipw
reboot_timeout: 60min
manual_ip:
static_ip: 1.2.3.4
gateway: 1.2.3.1
subnet: 255.255.255.0
# use_address: 1.2.3.5
fast_connect: true
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "${device_name} Hotspot"
password: !secret appw
logger:
baud_rate: 0
api:
ota:
password: !secret otapw
output:
- platform: esp8266_pwm
id: output_red
pin: GPIO4
- platform: esp8266_pwm
id: output_green
pin: GPIO12
- platform: esp8266_pwm
id: output_blue
pin: GPIO14
- platform: esp8266_pwm
id: output_warm_white
pin: GPIO13
- platform: esp8266_pwm
id: output_cold_white
pin: GPIO5
light:
- platform: rgbww
name: '${espname}'
id: '${device_name}'
color_interlock: true
red: output_red
green: output_green
blue: output_blue
warm_white: output_warm_white
cold_white: output_cold_white
warm_white_color_temperature: 2800 K
cold_white_color_temperature: 6200 K
I tried removing everything, except the wifi setup and ota, but still no luck, anybody that has an idea?
The reason is that I want to update, is because I defined some effects, and I want to remove them until I figure out that it shouldn’t use the white spectrum in them, and also adjust the ‘warm/cold’ temperature.