Australia - Electrically Certified Hardware

The official tuya-convert repository is here: https://github.com/ct-Open-Source/tuya-convert
This covers version 2.x.

My plugs arrived today, so I will flash them tonight. Iā€™m sure @sparkydave will be happy to see the ESPhome code though :face_vomiting:

Thanks for being the test dummy.

1 Like

Kogan now have proper CCT RGB lights available, $69 for a 4 pack.

1 Like

I picked one of these (iDigital Smart Home Wifi Globe [RGB Colour + Warm White]) up from the Reject Shop tonightā€¦ successfully flashed with Tasmota using Tuya-Convert. However, struggling to figure put the right template (or even figure out if this is RGB, RGB_Color temp, or RGBW). A few templates (RGB + color temp) have kinda worked, but not fully.

Alone have tips on what this likely is (or how to figure out a template for it?)?

Thanks!

I assume you have watched some digilur, but he is often talking about templates and bulbs.

Might even worth trying a lohas template. have you done the relay test bit yet? kinda worked, but not fully isnā€™t very descriptiveā€¦ is it changing colours but in the wrong direction or what?

have you tried this one actually
https://blakadder.github.io/templates/brilliant_20699.html

I have tried the 20699 template from the Tasmota databaseā€“even the toggle didnā€™t work (same as the Kogan RGB). Iā€™ve been working though a list of possibles (some work-ish) to try to figure it out. Will take a look at digilur shortlyā€¦Thanks!

After trying a bunch of existing templates, I expect mine is somewhere in between a few. The most successful ones so far have been:

This one:
{"NAME":"TCP Smart RGBW","GPIO":[0,0,0,0,140,37,0,0,38,142,141,0,0],"FLAG":0,"BASE":18}
gives me:

  • Working toggle
  • Working brightness
  • Working colour temperature (I thinkā€”goes from whiteish-yellow to orange)
  • Colour slider and saturation (?) slider just make the light flick on and off

This one:
{"NAME":"Brilliant RGB+","GPIO":[0,0,0,0,37,40,0,0,38,0,39,0,0],"FLAG":0,"BASE":18}
gives me:

  • Working toggle
  • Working brightness
  • No color temperature slider
  • Colour slider changes colours between pink/purple/blue/red (unless saturation slider is ā€œpalestā€, in which case this slider does nothing)
  • Saturation (?) slider (paleā€“>dark) changes colour from pale purple --> medium blue (varies a little depending on colour slider position)

This one (only the FLAG value is different to above) seems to the same results:
{"NAME":"GenioBulbRGB","GPIO":[0,0,0,0,37,40,0,0,38,0,39,0,0],"FLAG":1,"BASE":18}

This one:
{"NAME":"Solimo RGBWW 9","GPIO":[0,0,0,0,37,40,0,0,38,41,39,0,0],"FLAG":0,"BASE":18}
gives me:

  • Working toggle
  • Working brightness
  • Colour temperature slides seems to just mimic the brightness slider in reverse
  • Colour slider does nothing
  • Saturation slider varies colour between blue and purple

None that I tried gave me green at any point, and I only got yellow when there was a ā€œcolour tempā€ slider. Using it always switched the colour to yellow.

Any suggestions?

I think i have it solvedā€¦ I worked though the relay method (here), with info from this table for a 4-channel system.

Seems like its pretty straightforward PWM-controlled bulb with:

  • warm white (PWM4 (40)) on GPIO5
  • red (PWM1 (37)) on GPIO12
  • blue (PWM3 (39)) on GPIO14
  • green (PWM2 (38)) on GPIO15

Iā€™m try to get a template up on Tasmota.

2 Likes

I havent, but others may have

I recognise that desk, want to meet up at robodino some time and ill help you flash ?

yes they haveā€¦ me :slight_smile:

Per above, Tuya-Convert works, and Iā€™ve submitted the Tasmota template for the light to the database. All seems to be working (though still need to set it up in HA!).

1 Like

Found the problem with the new KOGAN power monitoring plugs. My ESP8266 running vtrust was not close enough to the plugs. Its been fine for most other appliances but not for these plugs. All converted without a firmware upgrade.

Also purchased the Kogan filament led bulbs. All tasmotised (if thatā€™s a word). However one showed up in ap mode but l canā€™t connect to it after selecting the ap in Windows wifi settings. Hmm

1 Like

Marginally off topic -

Have any of you lovely Aussies managed to integrate Amber Electricā€™s API into home assistant??

amber gives wholesale power prices for $10 a month subscription and publishes their prices every half hour. A great trigger for demand management automations.

I have the details to get the information but am pretty bloody rubbish with cURL and am totally lost TBPH!

:open_mouth:

ā€œWe love helping customers optimise their homes and thereā€™s so much you can do, so donā€™t hesitate to have a chat with us if youā€™re interested and weā€™ll work with you.ā€

Have you tried contacting them in regards to it?
I hadnā€™t heard of them, so mostly just posting for a keep sakeā€¦

Hi @exxamalte, thanks for your efforts to get the Brilliant fan controller working. With the help of of yourself and @thecubical Iā€™ve been able to get mine up and running, and I also now have it installed.

Iā€™ve modified your approach and I think I have come up with a solution that doesnā€™t need any rules in Tasmota.

I have used the following setup for Tasmota:

TuyaMCU 11,1
TuyaMCU 12,9
TuyaMCU 21,10
SetOption59 1
SetOption66 1 

and the following in Home Assistant

fan:
  - platform: mqtt  
    name: "Fan Lounge"  
    command_topic: "cmnd/fc_bri_01/POWER1"
    state_topic: "tele/fc_bri_01/STATE"
    state_value_template: "{{ value_json.POWER1.STATE }}"
    speed_command_topic: "cmnd/fc_bri_01/Backlog"
    speed_state_topic: "tele/fc_bri_01/RESULT"
    speed_value_template: >
      {% if value_json.TuyaReceived.Data == "55AA03070005030400010016" %}
        Power1 1; TuyaSend4 3,0
      {% elif value_json.TuyaReceived.Data == "55AA03070005030400010117" %}
        Power1 1; TuyaSend4 3,1
      {% elif value_json.TuyaReceived.Data == "55AA03070005030400010218" %}
        Power1 1; TuyaSend4 3,2
      {% endif %}
    availability_topic: tele/fc_bri_01/LWT
    payload_available: Online
    payload_not_available: Offline
    payload_low_speed: "Power1 1; TuyaSend4 3,0"
    payload_medium_speed: "Power1 1; TuyaSend4 3,1"
    payload_high_speed: "Power1 1; TuyaSend4 3,2"
    payload_off: "OFF"
    payload_on: "ON"
    qos: 1
    retain: false
    speeds:
      - low
      - medium
      - high

Itā€™s not the most elegant solution, but it seems to work so far. I may try to improve it so the payload isnā€™t so clunky.

3 Likes

Hi HasQT,

The best place to see what amber are about is their site How it Works

I started a HA thread to try to dig into their data. I can get the real time data no problem, itā€™s mooshing it into a shape that home assistant likes that im struggling with.

Nailing this will allow us to actively ā€˜demand manageā€™ based on price to save a little cash :slight_smile:

Yes I saw that link after your initial post. Quite interesting. My quote was from their site. So I was suggesting they may be interested in helping you/them for mutual benefit.

Not for me at this point as I think Iā€™d have to give up my pfit, besides I find powershop very competitive.

1 Like

Template for the Reject Shop bulbs now up here:
https://blakadder.github.io/templates/idigital-9w.html

2 Likes

How much were those bulbs from the Reject shop? Cant find them on their website

I saw these in Bunnings last week. Could be of interest, I wasnā€™t ready for spending money at the time. They look pretty cool, obviously we would want to de-cloud them