Adding OTA instructions

Daniel Rushbrook 2019-01-25 22:45:55 +11:00
parent 47ffd9b78e
commit 159eb6e50a
1 changed files with 36 additions and 8 deletions

@ -1,13 +1,41 @@
# Mirabella Genio Bulb # Mirabella Genio Bulb
Mirabella have released a few smart bulbs. Mirabella have released a few smart bulbs.
Here is a bit of a guide on how to open them up and then flash with Tasmota. Here is a bit of a guide on how to flash them with Tasmota.
I am no expert at this but so far it has worked for me. There are two ways: Over the Air (OTA) or via Serial.
## Flashing Over the Air
Flashing over the air requires running a linux shell script called [tuya-convert](https://github.com/ct-Open-Source/tuya-convert) and hence requires a computer (I used a Raspberry PI 3) with a wifi adaptor that supports AP mode. There are options if you run Windows to use either a virtual machine (it is reported that KALI Linux running on VMWare has worked) or potentially a live usb (I haven't tested it).
Follow this [procedure](https://github.com/ct-Open-Source/tuya-convert#procedure).
I used [tasmota-basic](https://github.com/arendst/Sonoff-Tasmota/releases/download/v6.4.1/sonoff-basic.bin) firmware instead of the custom tasmota-classic firmware included. The benefit of tasmota-basic is the lightbulb will create an access point that you can connect to after it has been flashed for configuration.
```
pi@raspberrypi:~/src/tuya-convert/ $ cd files
pi@raspberrypi:~/src/tuya-convert/files $ wget http://sonoff.maddox.co.uk/tasmota/sonoff-basic.bin
--2019-01-25 07:54:52-- http://sonoff.maddox.co.uk/tasmota/sonoff-basic.bin
Resolving sonoff.maddox.co.uk (sonoff.maddox.co.uk)... 139.59.203.138
Connecting to sonoff.maddox.co.uk (sonoff.maddox.co.uk)|139.59.203.138|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 456240 (446K) [application/octet-stream]
Saving to: sonoff-basic.bin
sonoff-basic.bin 100%[===================================>] 445.55K 312KB/s in 1.4s
2019-01-25 07:54:54 (312 KB/s) - sonoff-basic.bin saved [456240/456240]
pi@raspberrypi:~/src/tuya-convert/files $ rm thirdparty.bin
pi@raspberrypi:~/src/tuya-convert/files $ ln -s sonoff-basic.bin thirdparty.bin
```
## Flashing via Serial
Flashing via Serial requires disassembling the bulb and soldiering wires to the board.
_Note: modifying these bulbs is dangerous if you do not understand what you are doing, please do so at your own risk!_ _Note: modifying these bulbs is dangerous if you do not understand what you are doing, please do so at your own risk!_
[Mirabella Bulbs](https://mirabellagenio.net.au/bulbs) [Mirabella Bulbs](https://mirabellagenio.net.au/bulbs)
## Disassembling bulb ### Disassembling bulb
![B22](https://i.ibb.co/HT7mc8B/B22-0-SM.jpg) ![B22](https://i.ibb.co/HT7mc8B/B22-0-SM.jpg)
@ -24,11 +52,11 @@ Carefully cut / scrape away as much of the sealent on the outer edge of the roun
![2](https://i.ibb.co/hmz7QGF/B22-2-SM.jpg) ![2](https://i.ibb.co/hmz7QGF/B22-2-SM.jpg)
If you are really good at soldering and have a fine tip on your iron you could possibly skip this step and jump straight to the next one. If you are really good at soldering and have a fine tip on your iron you could possibly skip this step and jump straight to the next one.
### B22 #### B22
Stand the bulb up and de-solder the 2 pads, and straighten the wires to remove the board. Stand the bulb up and de-solder the 2 pads, and straighten the wires to remove the board.
![3](https://i.ibb.co/56ys1r7/B22-3-SM.jpg) ![3](https://i.ibb.co/56ys1r7/B22-3-SM.jpg)
### E27 #### E27
Using a sharp strong blade carefully pry out the small terminal on the end of the bulb then straighten the wire in side Using a sharp strong blade carefully pry out the small terminal on the end of the bulb then straighten the wire in side
![E27](https://i.ibb.co/N9WTW5n/E27-1-SM.jpg) ![E27](https://i.ibb.co/N9WTW5n/E27-1-SM.jpg)
@ -39,17 +67,17 @@ This will allow you to pull the board out a little and get enough angle on it to
You should now have these parts (E27 bulb will be still partly assembled): You should now have these parts (E27 bulb will be still partly assembled):
### B22 #### B22
![4](https://i.ibb.co/rQZWVnB/B22-4-SM.jpg) ![4](https://i.ibb.co/rQZWVnB/B22-4-SM.jpg)
### E27 #### E27
![E27](https://i.ibb.co/Q9pqCsw/E27-3-SM.jpg) ![E27](https://i.ibb.co/Q9pqCsw/E27-3-SM.jpg)
(with wires added) (with wires added)
## Connect FTDI ### Connect FTDI
Connect your FTDI up to these pins: Connect your FTDI up to these pins: