Happy Aus day to you guys too!
where u both from?
Im south east vic
Happy Aus day to you guys too!
where u both from?
Im south east vic
Iâm from Brisvegas but living in Canberra.
Here in Brisbane
Just thought I would share my experience flashing the genio bulb OTA via tuya-convert
This was the first time Iâve flashed tasmota on a device OTA, previously Iâve flashed a number of sonoff devices via serial (sonoff basic, sv, t1 and s20), but I couldnât be bothered opening these globes.
I have to say I found the process quite difficult and there wasnât much documented about it. Firstly I didnât know how to get the globe into auto config mode. Eventually I worked out via the genio app you need to turn the globe on for about 10 seconds, then cycle it off & on 3 times. It should start flashing rapidly if you do it right.
Once I worked that out, I still couldnât get the tuya-convert script to detect the globe. I tried running it as root, then tried another linux setup (raspberry pi). Eventually I went back to my ubuntu laptop and reran the installer script as root, and then the main script as root and it worked!
Next issueâŠso I connected my laptop to the wifi on the globe (now flashed with tasmota). I put in my wifi details and password and restarted it. Now my globe was flashing slowly because it wasnât connecting to my wifi. Maybe it didnât flash right, but then I thought maybe I put in the wrong wifi password or ssid? So the only way to fix that would be to flash via serial because there is now no way to connect to the web config? I gave up and went to bed as it was now like 2am and I had work the next day.
The next day, I decided to temporarily disable my wifiâs security and see if the globe connected to it. Sure enough it did! So finally I was able to login to the globe and update all the settings in the console. Now working perfectly in Home Assistant via MQTT
So I spent several hours just to flash the globe which I thought it was going to be a 10 minute thing! But now that Iâve gone through it once and learnt from my mistakes, I think it will be much easier next time!
What other cheap devices from common Australian retailers are people flashing with tasmota?
Hi All,
I managed to flash a Warm White Globe OTA, I have been able to work out the basic MQTT to get the globe to turn on and off but not sure how to change the brightness ? does anyone have some sample config that they can share ?
Cheers,
Justin
Hi All,
I think I managed to work out a MQTT configuration that works and can control the brightness of the globe, see extract from configuration.yaml->
Cheers,
Justin
The Genio app actually mentions the process to get it into config mode, but it doesnât specifically have to be done via the app, you can just turn the power off and on whether that be a wall switch or a power outlet if itâs in a lamp, doesnât matter, I did it with the foot switch of the lamp I had it in for testing.
Iâm more interested in getting it working with EasyESP than Tasmota and plan on testing this when I get time, I find EasyESP nicer from an end user perspective than Tasmota.
I had an annoying experience with Tasmota last night on a Wemos Mini D1, the web interface was very laggy and unresponsive after a few clicks in the UI, flashed it to EasyESP and the problem went away⊠back to Tasmota and it was laggy again so I know it wasnât a wifi issue⊠Not sure what the deal was but it was repeatable with this particular Wemos and I ended up sticking with EasyESP. Iâve never been particualry impressed with Tasmota but EasyESP on the otherhand is very nice.
Oh yeah thatâs how I found out the method. I guess I thought I could get away without having to install the app
Anyway I updated the wiki so itâs clear for people if they buy these globes and are looking to flash straight away without bothering with the app.
I bet if you try one of the older releaseâŠlike 6.3 it would be fine. 6.4.1 has a lot of features that can make the device laggy depending on the amount of memory available. I noticed this on my sonoff basics.
Thatâs why I compile my own tasmota images, and get rid of any features I donât need depending on the device (eg. all the additional sensor features, HA discovery, domoticz etc) This makes the image to flash smaller and easier on the device memory. All my tasmota devices are fast in web UI. Without doing this itâs too laggy to use 6.4.1 on a sonoff basic.
Same with these mirabella globes - I noticed with the default 6.4.1 basic firmware as part of the tuya-convert method was laggy in the web UI. Lagginess gone after I flashed with my own compiled 6.4.1 image.
Also, the pre comilped releases from 6.4.0 onwards uses arduino core 2.4.2. The older ones used 2.3 which I find is more stable and not as laggy. So when I compile, I still use core 2.3 for the newer 6.4.1 releases. If you donât want to compile, you can try using core 2.3 pre-compiled images from here
http://thehackbox.org/tasmota/release/020300/
This is the config I use for warm white globe as per the wiki on tasmota. Just enable setoption59 to 1 as per the link to get tele/state messages enabled.
That link also has the settings for colour globes, and the white globes where you can change colour temperature
- platform: mqtt
name: Hallway Light
command_topic: "cmnd/bulb1/POWER"
state_topic: "tele/bulb1/STATE"
state_value_template: "{{value_json.POWER}}"
availability_topic: "tele/bulb1/LWT"
brightness_command_topic: "cmnd/bulb1/Dimmer"
brightness_state_topic: "tele/bulb1/STATE"
brightness_scale: 100
on_command_type: "brightness"
brightness_value_template: "{{value_json.Dimmer}}"
payload_on: "ON"
payload_off: "OFF"
payload_available: "Online"
payload_not_available: "Offline"
qos: 1
retain: false
Thanks, Iâll check out those prebuilt images, I still like EasyESP thoughâŠ
Hopefully I can get some time to work more on this soon, just moved interstate and started a new job so my play time is limited to an hour or two of an evening at the moment.
Thanks so3n,
I will give that config a go.
Cheers,
Justin
I finally got some time to put into this (and found my Raspberry Pi 3, moving sucks!), I have the Mirabella RGBW Globe, I used tuya-convert running on a Raspberry Pi 3 as per the instructions worked first time, no issues.
I setup Tasmota as a Generic Module using these pin assignments:
GPIO4 PWM1 (Red)
GPIO12 PWM2 (Green)
GPIO14 PWM3 (Blue)
GPIO5 PWM4 (White)
And finally configured Home Assistant like this:
- platform: mqtt
name: 'RGBW'
state_topic: "stat/rgbw_38E678/POWER"
command_topic: "cmnd/rgbw_38E678/POWER"
brightness_state_topic: "stat/rgbw_38E678/DIMMER"
brightness_command_topic: "cmnd/rgbw_38E678/DIMMER"
brightness_value_template: "{{ value_json.brightness }}"
brightness_scale: 100
rgb_state_topic: "stat/rgbw_38E678/COLOR"
rgb_command_topic: "cmnd/rgbw_38E678/COLOR"
rgb_command_template: "{{ '%02x%02x%02x00' | format(red, green, blue) }}"
qos: 1
payload_on: "ON"
payload_off: "OFF"
retain: true
After restarting Home Assistant I have full RGBW control.
this is me every night when iâm playing with home automation. after a long day at work and an evening cleaning up and time with the kids i have this small window of opportunity to do stuff, and then you find something new you didnât know before and ⊠itâs soooo late ⊠but âŠ
The Bunnings âBrilliantâ smart wifi plug for $20. itâs just another Tuya, so iâve been installing tasmota using tuya-convert on my Ubuntu laptop. The procedure was identical to the Genio wifi plug from K-mart. the only difference is the GPIO settings in tasmota as they are wired slightly differently inside.
Iâve been testing ESPHome on my devices lately and am finding it a lot more stable than Tasmota, if anyone is interested in trying ESPHome this is my current config for the Genio RGB globes:
esphomeyaml:
name: rgbw_e27_01
platform: ESP8266
board: esp01_1m
wifi:
ssid: ''
password: ''
# Enable logging
logger:
ota:
password: ''
mqtt:
broker: 192.168.1.60
web_server:
port: 80
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_white
pin: GPIO5
light:
- platform: rgbw
name: "rgbw_e27_01"
red: output_red
green: output_green
blue: output_blue
white: output_white
Note if youâve never tried ESPHomelib, the above yaml is used to configure the ESPHome firmware, not to be added to a Home ASsistant config.
Extending on from the ESPHome configuration posted by @bircoe for the RGB version of the Genio bulb, please find below mine for the both the tunable and cool white / warm white bulbs.
Thanks to the existing work by @so3n which this adaption is based on:(https://github.com/arendst/Sonoff-tasmota/wiki/Mirabella-Genio-Bulb)
esphome:
name: genio_cwww_1
platform: ESP8266
board: esp01_1m
# Ensure the light turns on by default if the physical switch is actuated.
# https://esphome.io/components/esphome#esphome-on-boot
on_boot:
priority: 100 # Highest priority, ensures light turns on without delay.
then:
- light.turn_on: light
wifi:
ssid: ''
password: ''
logger:
web_server:
port: 80
api:
ota:
output:
- platform: esp8266_pwm
id: output_warm_white
pin: GPIO13
- platform: esp8266_pwm
id: output_daylight
pin: GPIO5
light:
- platform: cwww
id: light
name: genio_cwww_1
cold_white: output_daylight
warm_white: output_warm_white
cold_white_color_temperature: 153.84 mireds #6500k
warm_white_color_temperature: 370.37 mireds #2700k
esphome:
name: genio_cw_1
platform: ESP8266
board: esp01_1m
# Ensure the light turns on by default if the physical switch is actuated.
# https://esphome.io/components/esphome#esphome-on-boot
on_boot:
priority: 100 # Highest priority, ensures light turns on without delay.
then:
- light.turn_on: light
wifi:
ssid: ''
password: ''
logger:
web_server:
port: 80
api:
ota:
output:
- platform: esp8266_pwm
id: light
pin: GPIO13
light:
- platform: monochromatic
name: genio_cw_1
output: light
Nice one, Iâm going to âborrow/stealâ the on_boot bitsâŠ
Iâm trying to start a repo of all my ESPHome configs, itâs pretty light on at the moment because most of my stuff is Wemos Mini D1 based custom so may not be very useful to other prople but Iâll get them all in there soon⊠if you donât mind I can add yours, would be nice to have an all in one reference for Australian products.
The GPIO mapping in here would have saved me a bunch of time lol!
Maybe upload them to the esphome cookbook, pretty sure Otto would have them on their for everyone to use
I read in your Git that you are using tuya-convert and have switched from Tasmota to ESPhome. Are you going straight from the original firmware to ESPhome using the third party .bin instruction as per the bottom line of the readme? (replacing the .bin file with one downloaded from ESPhome?)