Mirabella Genio Smart Home

I used flash3?url then my custom firmware. I noticed that somehow the last part of the yaml config was cut off. However the part up top with the chip and wifi details was all correct. i wanted to reflash it but I’m worried I may be screwed.

Seems the flash process worked since the bulb is behaving differently than what it was initially

basically I accidentally left out the

Output:
and
Light:

sections

but did you use the cookbook? If so, hopefully you had ota: in your code and can therefore flash it again to fix any issues.

Also, hopefully you had:

web_server:
  port: 80

…in there as well (not in the cookbook) which would then let you upload a new .bin file from a web browser, very handy little tool that one

1 Like

Yep I used the cookbook but made a typo with my wifi ssid, so I’m trying to get the thing back into flash mode.

I’m gonna create a guest ssid with the typo details and see if it will connect so I can flash OTA

oh right. how about changing / creating another SSID to suit the typo just to get it to connect, make the changes, then swap back?

1 Like

So I can get online to it on ESPhome but I can’t compile a new firmware I’m seeing API errors

[API] ConnectionError: HTTPConnectionPool(host='api.platformio.org', port=80): Max retries exceeded with url: /v2/lib/search?query=name%3A%22ESP8266WiFi%22 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fe42610cb90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))

Unfortunately that’s not something I know anything about :pensive:

Thanks for your help anyway I’ll go and ask on the ESPhome forum as at least I can get online to the light now just need to compile the new firmware

Turns out I just needed an update after updating docker :unamused:

Light working great now

Hi, thank you. This confg works but (as other people said) there is a strange behaviour using white light: it is not possible to choose cool or warm white light because white slider and brightness slider are “linked” together. I think there is something wrong in the code but i’m not able to check it. Do you have the same behavior?

Has anyone managed to figure out how to get Tasmota onto these sensors?

Hi all,

Not sure if this is allowed, but I replaced all my lights with Philips Hue and my Mirabella Genio Bulbs are now sitting away collecting dust. So I am thinking of selling.

They are all flashed with Tasmota.

I have 2x Warm White ($10 each) and 2x warm to cool white ($15 each). Located in Melbourne western suburbs.

Msg me if interested.

Apparently there is a new fork that works with the new firmware. Can you give this a try? My laptop is at work so I can’t try it. https://github.com/ct-Open-Source/tuya-convert/issues/273

As noted above there is a new tuya convert version. I used it and successfully flashed the “Genio Mirabella HKWL-IR02W IR Bridge”

You need to install the sensor version of Tasmota OTA Bin file and get the template settings from IR BridgeTemplate.

I have a few more devices to try. I will keep you updated.

As promised I also tried a few other devices. I cloned the following git. M4dmartig4n’s tuya-convert V2

These are the other devices and the outcome:

  • Mirabella Genio Door & Windows Sensor - From BigW. This one took a few tries but I got it flashed in the end. You need to make sure to push the little button at the back so it flashes red slowly when you want to input any settings on Tasmota. I think it goes into deep sleep and then it seems like it’s not working. I have not looked at how it works yet. I also installed the sensor version of Tasmota.

  • Mirabella Genio Motion Sensor - From Kmart. This one is also working now. I had to do it a few times as it seems like it would also go to sleep and then the upload of the firmware would just stop. The third time it went through without an issue.

  • Arlec Smart Plug In Twin Socket. As stated above I could get this working easily. Just follow the instructions from “Kanga_who” above.

  • I have another “Arlec Smart Plug (single)” from Bunnings that I successfully flashed. I currently have an issue with it that it keeps resetting. So I set it up with all the correct settings (in Tasmota), update to the latest Tasmota .bin file and within a few minutes it’s gone. When I check for new wifi networks it’s back as “sonoff-xxxx”. This has happened a few time now. I think I need to do a “erase all flash” and see if that helps.

  • Arlec Smart Globe (E27 - 806lm) from Bunnings. After trying the original tuya-convert I did connect this bulb to the Grid Connect app. This may have updated the firmware again. I can’t be sure. I was still not able to get it working. It stops flashing after a few seconds and then dims every 15 seconds or so but it never uploaded anything.

I will share more setup details when I get into it later.

1 Like

Already done mate.

1 Like

If anyone has had errors running the ./install_prereq.sh such as this:

sslpsk/_sslpsk.c:19:25: fatal error: openssl/ssl.h: No such file or directory

 #include <openssl/ssl.h>

                         ^

compilation terminated.

error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1

then all you need to do is run this. The author must have forgotten about this one.

apt-get install libssl-dev

Unfortunately Tasmota is not an option for the Mirabella Genio Wi-Fi Motion Sensor

I did some digging and found that this sensor is not compatible with Tasmota. Have a look at this here.

I will try and write my own Arduino code and let you know if I get it working. It’s not a very high priority for me as I have other sensors to figure out.

For anyone interested in setting up the Mirabella Genio Wi-Fi Smart IR Universal Remote Controller.
I will give you a quick guide to getting it to work with HA.


As stated above you need to flash it with Tasmota. I’m not sure if it needs the new one or not.
Once you have setup the wifi using the sonoff-xxxx network you can update the firmware to the sensor version of Tasmota. I used this version Sonoff Sensor BIN. I don’t have original remotes for my TV and sound system so I’m using a harmony universal remote. I found that Tasmota only works for me when I send raw codes. So I will only show you how to get and setup raw codes. Go to Tasmota Console. There are 3 set options that I found that relate to IR Controller. Read more here. They are:

  • SetOption29 - IR received data format (0 = hex (default), 1 = decimal)
  • SetOption38 - 6 to 255 = set IRReceive protocol detection sensitivity minimizing UNKNOWN protocols
  • SetOption58 - IR Raw data in JSON payload ((0 = disable (default), 1 = enable)

I set the following options:

  • SetOption29 1
  • SetOption38 50
  • SetOption58 1

You can experiment with SetOption38 but I never got anything useful setting it much higher than 70. I found that placing the IR Controllerbetween the remote and device you want to activate gives best results but this may be irrelevant. Point your remote at the IR Controller and press the button you want to “learn”. Press it for about a second. In the Tasmote console you will see something like this:

05:32:27 MQT: tele/GenioIR/RESULT = {“IrReceived”:{“Protocol”:“UNKNOWN”,“Bits”:34,“Data”:3398735416,“RawData”:[4472,4538,522,1730,522,1728,548,566,522,590,522,616,522,590,522,1730,522,590,520,1730,548,1704,548,564,522,616,522,1730,522,590,522,1730,522,590,522,1730,522,590,574,566,522,590,520,1730,522,590,522,618,546,566,520,592,520,1730,522,1730,522,1730,546,566,522,1730,522,1730,522,1730,544],“RawDataInfo”:[67,67,0]}}

You want to copy the numbers between the for RawData. In this case you will copy:

4472,4538,522,1730,522,1728,548,566,522,590,522,616,522,590,522,1730,522,590,520,1730,548,1704,548,564,522,616,522,1730,522,590,522,1730,522,590,522,1730,522,590,574,566,522,590,520,1730,522,590,522,618,546,566,520,592,520,1730,522,1730,522,1730,546,566,522,1730,522,1730,522,1730,544

You standard remote control functions at 38Khz so to tell Tasmota that this is the case you need to prefix all codes with 0,. So the setup in HA was done in the scripts.yaml file. This is an example of the setup:

bedroom_sound_on:
  alias: Bedroom Sound ON
  sequence:
  - service: mqtt.publish
    data:
      topic: 'cmnd/GenioIR/IRsend'
      payload: '0,4472,4538,522,1730,522,1728,548,566,522,590,522,616,522,590,522,1730,522,590,520,1730,548,1704,548,564,522,616,522,1730,522,590,522,1730,522,590,522,1730,522,590,574,566,522,590,520,1730,522,590,522,618,546,566,520,592,520,1730,522,1730,522,1730,546,566,522,1730,522,1730,522,1730,544'
      qos: 2

The majority of the above is self-explanatory. The topic: is cmnd/MQTT Topic in Tasmota/IRsend

That is it.I did have a issue with my Airconditioner. Tasmota kept saying the code was too long. Tasmota can also use LIRC codes so I’m trying to read it with a RPi with a IR Shield to discover what is going on. It could be that the remote sends all the codes all the time or it could just be very long code. I will give feedback on that if anyone is interested in using LIRC.

Great work Johan. I wish I had of read your reply before I tried flashing the motion sensor. I managed to get tasmota on it, I entered in my wifi credentials, ran NMAP and found the ip, I can ping it but now I can’t get to the web config by its IP. Might return it and swap it for a door switch.

Which other motion sensors do you recommend? I’m using ESPHome to manage my devices but am happy to use Tasmota.

Great to see the new tuya-convert working on the newer 1.05 fimware.

There are more devices from Genio listed on Kmart’s website.

Thank marc315. I haven’t got any motion sensor to work yet. I was thinking of building my own with ESP8266 chip and a cheap PIR motion sensor like a AM312 or HC-SR501. These are only a few dollars each and work.The Genio may look fancy but the components in there are all super cheap. I’m sur Kmart buys them for under $10. I bought an old (2014) batch of ESP8266 chips on wish.com for $28 (10 of them) and surprisingly all but one is still working. If I can 3D print the enclosures then I will be set. I can make these motion sensors for under $10 myself.

As for Kmart Genio stock. I have 10 of the bulbs and all of them work with the old tuya-convert. They are fine but personally I prefer the yeelights from Xiaomi. I buy them from gearbest and they cost between AU$20 - 25. They are true RGB with 16 million colors and are brighter than the Genio. They also work out the box with HA.

Enjoy tinkering… :slight_smile: