Interesting touch switch lanbon l8

My lanbons arrived yesterday. Is there a compiled 0.6.0 binary?

Sure! You can always find the nightly builds on the Action tab of the Github repo. Click the latest master (=0.6.0) build which has a green tick checkmark. There you can download ā€œopenHASP firmware.zipā€ containing the bin files for all supported devices.

1 Like

Thank you, I assume it is then the ā€œfullā€ file, not the ā€œotaā€ one.

Donā€™t bother answering that, I re-read the instructions - I need the full file on first flash :slight_smile:

1 Like

Iā€™m happy to announce v0.6.0 has just been released.

1 Like

@fvanroie
Thank you very much. Iā€™ve been eagerly waiting for it.

@fvanroie I think the youtube link on this page is broken Lanbon L8 - openHASP

1 Like

Thanks, this has now been fixed.

Good day, again thank you for producing and sharing this component.

Iā€™ve upgraded to 0.6.0 and again trying to control the Lanbon8 relay via mqtt.

This command controls the back-light.
hasp/plate01/command/backlight
1/0

This command does nothing.
hasp/plate01/command/output12
1/0

Also reading the gpio setup documentation, is it correct to assume relays should be auto-discovered, just like back-light and mood-light?

Perhaps my topic is incorrect? Any guidance is appreciated.
thank you

edit: never mind. My apologies for not doing the correct reading.

@nickrout thank you again.

@irishdavid I think.

Viva @dgomes . I really liked the result and would just need to confirm a few things. Which version are you using of the L8 (1, 2 or 3 gang)? Did you have any trouble fitting on the wall switch? Last but no least: only found them on aliexpress. Any alternative place to buy (from Portugal)?

Obrigado

OlĆ” @jpleite :slight_smile:

Using L8 3 Gang, but I stripped the relaysā€¦ Iā€™m using it in a location where I used to have a thermostat (that means a shallow wall box). The L8 would not fit, so I mounted it without the relays and Iā€™m powering it remotely using the thermostat cables and a 5v transformer. If you mount in a normal lights box, this should be no problem.

I ordered through aliexpress and Iā€™m not aware of any shop in Portugal

Iā€™ve received a L8-HB (16A Boiler switch) and it uses the same PCB revision and GPIO12 (K1) for its dual-pole relay.

1 Like

Has anyone been successful in using the Dimmer function?
I have a Lanbon l8 Dimmer switch and Iā€™ve flashed 0.60 and since 0.61 onto the device.
Everything seems to have gone smooth and I do see 3 entities in HA (Moodlight, Backlight and Dimmer) but only Moonlight and Backlight appear to be functional.
Dimmer on the other hand does not appear to be functioning. Iā€™ve tried most the various Pin Type definition for GPIO12 but I donā€™t see any change (no light can be toggled and obviously no dimming then)
What is the correct Pin Type for GPIO12 (I got the US dimmer version)?

By the version numbers it looks like you have installed openHASP firmware on the device.

The GPIO configuration should look like this:
image

I donā€™t have a US version, so you might need to select L8-HD (AU) instead of the EU version. Be sure to restart the plate after making changes.

If the dimmer in the base still fails to respond, it is best to power cycle the whole device by cutting the 120V AC for ~30 sec. The dimmer in the base is initialized by the ESP32 at boot-up. If it received too much garbage because of the incorrect GPIO configuration, it might need a reset.

I used this basic pages.jsonl for local control:

{"page":1,"comment":"---------- Page 1 ----------"}
{"obj":"label","id":8,"x":5,"y":5,"w":230,"h":30,"text":"Kitchen Dimmer"}
{"obj":"slider","id":13,"x":25,"y":45,"w":45,"h":195,"groupid":12,"max":255}
{"obj":"switch","id":14,"x":130,"y":30,"w":80,"h":50,"groupid":12}

image

In HA it looks like this and the controls are working fine:
image

L8-HD (AU) and a 30 second reset did the trick.

Thank you.

1 Like

If I have here a Lanbon L8 marked ā€˜HomeKitā€™ for the firmware on both switch front and the wall part can I successfully flash that for openHasp ? The sellers details say not HA compatible but that I hope means itā€™s just not yet got openHasp firmware within.

Yes you can.

1 Like

I donā€™t know if this is the right place, but I just wanted to let everyone know that there is a new version pcb with dreaded tuya support. The module I have still has an ESP32 on board, and that the tuya module is only connected with RST, VCC, GND, TXD1 and RXD1 to the pcb.
I will check the connections of the ESP32 to see if they are the same, but I already know that it still is controlling the TS, LCD, Relays and RGB LEDā€™s.

1 Like

Thanks for the new revision! Thatā€™s actually a big bummer for people that care about privacy, security and want to run their own independent firmwareā€¦

I hope the chip doesnā€™t perform any critical functions and can be removed or disconnectedā€¦

Since only power, reset, RX and TX are connected I am quite hopeful that it can be ignored unless there is a problem with the ESP32 modules they usedā€¦

Pin 16 (TXD1) of the tuya CB3S module is connected to IO13 of the ESP32
Pin 15 (RXD1) of the tuya CB3S module is connected to IO2 of the ESP32

I first tried ordering a Landon L8-HS from one AliExpress seller, who messaged me that there would be a delay because there were some problems with the units and that it would take a few weeks to get stock. :worried:
So I ordered from another seller and got a Landon L8 with a sticker over the model name(s) that has the tuya logo and a modified model name: L8-HS-TY (or L8-HSU-TY). :hushed:
I havenā€™t been able to connect it to my network with the original firmware strangely enough (although it can create an AP and can scan and see all the wireless networks) and now I am not sure if I want to send it back or take the gamble and just flash openhasp on it. :thinking:

PS Dank je voor je werk aan openHASP