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.
Already done mate.
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…
hi all, I am quite new to this. I was able to successfully flash tasmota on the genio warm white bulb and have it in HA. From there I can control the brightness and turn it on/off. I went a step further by adding a scene to dim it over time using transition but I couldn’t get it working.
here is what I have in configuration.yaml to define the scene:
scene:
- name: dimbedroomlight
entities:
light.masterlampshade: on
brightness: 0
transition: 10
and here is what I have in my automation.yaml:
- id: dimbrlight
alias: Dim Bedroom Light
trigger:- platform: state
entity_id: light.masterlampshade
to: ‘’‘on’’’
action: - service: scene.turn_on
entity_id: scene.dimbedroomlight
- platform: state
I also tried to manually fire off the trigger using the UI but nothing happens. When I look at the trigger from the UI, I noticed that the Service data is blank:
Shouldn’t it have the scene that I configured in the yaml?
the bullets in the post above are not actual bullets buy hyphens … not sure why it was converted as bullets after I posted
you need to properly edit your code snippet. See the instructions at the top of the page on how to do it
thanks Dave, I will do that next time
I managed to get this working by just using time as the trigger:
- id: prepsleep
trigger:
platform: time
at: "22:00:00"
alias: Prepare to Sleep
action:
- service: scene.turn_on
entity_id: scene.prepsleep
Hi efleming - wondering how you manged to flash the Brilliant bulbs. I have tried using the ESPhome cookbook for mirabella/genio bulbs but it just does not pair using the tuya-convert. Wondering if it is new firmware as discussed at the bottom of this post that could be potentially stopping the process?
Do you have a copy of the original firmware for the Genio Motion Sensor? I spoke to the people at Tasmota and they say this sensor will not be supported because it has a second chip or something. Long story short I think it will be possible to still use it with Tuya addon in HA and the original firmware. I unfortunately lost my copy in a freak PI SD card mixup
Don’t have a copy of the original firmware - but I know that unfortunately the sensor is not currently supported in HA… I have one sitting on a shelf gathering dust.