ljalves / hfeasy

HFeasy - firmware for HF-LPx100/LPx30 based devices
45 stars 14 forks source link

Config Change for GHoma Plugs #26

Closed Sturi2011 closed 2 years ago

Sturi2011 commented 2 years ago

Hi,

thans for the work. For G-Homa Style Wifi Sockets the GPIOs are changed.

The connections are the following:

18 key 12 relay 11 led

Please provide a firmware bin for these devices as they are widley used in FHEM community and imho mqtt is a big benefit.

Thanks

Andreas

ljalves commented 2 years ago

I'm resuming the work on this project and on the next firmware I will try to provide a config page for the pins.

Sturi2011 commented 2 years ago

Hi,

this would be great.

ljalves commented 2 years ago

New firmware: https://github.com/ljalves/hfeasy/releases/tag/0v8

Please try it by selecting device "custom" and setting up module type & gpios. (save to flash and reboot at the end)

If all works, I can then add the device to the pre-configured list

PS: gpio config nrs are related to the module pin numbers (lpb100 = 1 to 48; lpt100f = 1 to 10)

Sturi2011 commented 2 years ago

After flashing it shows v0.7 in the nav bar and there is no device button.

Flashed as new firmware over iweb….

ljalves commented 2 years ago

If it shows 0.7 then it didn't flash properly... try again please.

ljalves commented 2 years ago

What browser are you using to flash the device?

ljalves commented 2 years ago

For some reason I have issues when using firefox to flash the devices. Google chrome flashes it fine...

Sturi2011 commented 2 years ago

Firefox first, then Chrome - wich was then working.

working config for german OBI GHoma Plug: Button (push) 18 Relay 12 WiFi LED 11

Another wish - LED mode for WIFI LED please make LED configurable as Status LED (on for Relay is on and off for Relay is off) as in original firmware would be a great benefit so see the state of the socket connected device.

Greetings

Andreas

ljalves commented 2 years ago

Can you post a screenshot of the gpio config page?

The latest release now allows you to set thew led to match the relay state.

Sturi2011 commented 2 years ago

V0.9 is nearby perfect. hanks for your work.

A little issue - the led control is inverted (ground driven ;) )

Picture of config: Screenshot 2022-01-23 003849

Picture of device: IMG_9735

Greetings

Andreas

ljalves commented 2 years ago

Thanks for the photos. I wasn't aware that it used the lpb100 module. About the led inverted signal, that's a good point! I'll add a switch to invert led output (and even relay).

Sturi2011 commented 2 years ago

Best way will be a checkbox on config page IMHO

Greeting Andreas

Sturi2011 commented 2 years ago

Good morning,

as enhancement wish - an Input field for Configuration Strings like in tasmota.

then you could publish tested Strings for many devices as template

ie the same String as in config c select box used?

greetings Andreas

ljalves commented 2 years ago

I've added your device to the preset list in the latest fw: https://github.com/ljalves/hfeasy/releases/tag/0v10 Let me know if all works ok.

I'll see what I can do about the config strings - should not be hard.

Sturi2011 commented 2 years ago

Preconfig for ghoma woks great. MQTT Responses are as expected. Perfect - thank you for all the work.

ljalves commented 2 years ago

New release - MQTT LWT fixed. https://github.com/ljalves/hfeasy/releases/tag/0v11