ljalves / hfeasy

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

HF-LB100 in Lidl Silvercrest Wifi Plug #23

Closed LubosKovar closed 2 years ago

LubosKovar commented 3 years ago

Thank you for great work!

I have Wifi Plug by Lidl brand Silvercrest. There is HF-LPB100 and I hope for upgrade by your firmware and connect it to the homebridge. Unfortunately I can not flash it. I did it by web browser - no sucess. I try special link as your advice: (http:///iweb.html)) - no sucess. After uloading browser gave me Error message: server IP_Adress no response. Firmware still the same.

Is your code working with this type of WiFi Plug even if HF-LPB100 is inside? Or does I do something wrong?

May thans for help.

Status screen from browser: image

peter--s commented 3 years ago

Hello,

Stumbled upon this project and this issue while investigating the contents and potential of my new REV WiFi plug. While i have not tried to flash hfeasy yet and I am still unfamiliar with the HF-LPT100F module, I am very surprised that your attempt was not successful because both modules seem to share both the SDK and the MCU. Is this for Silvercrest SWS-A1? I found some information that you might find useful while waiting for or finding an answer (some might be off-topic, though, since not specific to Lidl plugs):

Good luck! Peter

ljalves commented 2 years ago

@LubosKovar, What browser did you use? I found out that firefox doesn't always work. Try Chrome and use latest firmware: https://github.com/ljalves/hfeasy/releases/tag/0v9 You will need to open the device and find out which pins connect to the relay/button/led. I can help if you post some photos.

Sturi2011 commented 2 years ago

Hi,

rev Wifi Plug is the same as GHOMA OBI plug.

Silvercrest is similar but seems to have changed pinout und multicolor LED

https://www.epanorama.net/blog/2016/07/18/silvercrest-sws-a1-iot-power-outlet/

Gretings Andreas

ljalves commented 2 years ago

Did anyone try the latest firmware and found out the pin mapping? Also, looking at the photos from the last link there is a tiny board I can't identify - it has a crystal, could it be a receiver for a remote ctrl?

Sturi2011 commented 2 years ago

Hi,

own none of the silvercrest plugs but it might by a Revier for remotes or a sender for 433MHz child plugs.

peter--s commented 2 years ago

Hi, yep, seems to be a RF transmitter based on comments regarding similar products in this forum thread while somebody claims the pinning to be the following.

ljalves commented 2 years ago

@LubosKovar Try uploading latest firmware (1v0) (upgrade application, not web page) and don't use Firefox. I would love to hear from one of these plug owners if it works.

LubosKovar commented 2 years ago

@ljalves Which upgrade application do you mean? I try it by Chrome without success. On your website I found last version (0v7 not 1v0). Do you have newest file from download?

ljalves commented 2 years ago

No longer using gdrive. Releases are here on github now: https://github.com/ljalves/hfeasy/releases/tag/1v0 (use binary HFEASY_WEB_UPGRADE.bin for lpb100)

The update is done using the device webserver. Browse to: http://\<device_ip>/iweb.html

Select file on "upgrade application" and hit "upload".

LubosKovar commented 2 years ago

I did it. Plug is "bricked":-( after this procedure. May I ubrick it back? Or some reset procedure? The chipset inside is LB100-1

ljalves commented 2 years ago

Are you sure? After flashing the device will enter AP mode. Did you check for a wifi network (usually called "LPB100")?

LubosKovar commented 2 years ago

Yes, I checked. Did not new wifi (AP) appear. LED light has constantly red color and plug does not respond to holding button to enter to any other mode... IMG_6506 .

ljalves commented 2 years ago

The non-working led/buttons are normal because the fw initial state is all gpio disabled. But it also starts the AP mode so that it can be configured...

Can you open it and solder some wires to the UART port? If yes, you can re-flash using serial bootloader. If not, you could ship it to me (I would unbrick, add proper support in the code and send back to you).

ljalves commented 2 years ago

Waiting for the plug to arrive! I'll give more news once it gets delivered.

ljalves commented 2 years ago

Thanks for sending the plugs - they are now fully supported in fw release 1v1.

Snayler commented 1 year ago

Hello, sorry for digging up a closed thread, but I'm having issues with the same plug (SWS-A1).

I was able to upload the hfeasy firmware, and got the configuration webpage, but kept getting issues with MQTT, it seems the plug spammed ON and OFF commands making it keep changing the state of the relay. I then decided to restore the configuration but it somehow bricked the device. Now the LED only lights a faint red light and there's no AP for me to connect to. Trying to force it to recovery mode doesn't work (press button 6 times within 3 seconds, or pressing for 3 seconds or more).

I have a UART adapter (ch341-uart), but I'd need help figuring out where to solder the cables. I'm guessing the UART port is that small rectangle (labeled JP3) in the photo below: IMG_20230129_230312

Is that correct?

LubosKovar commented 1 year ago

Hello Miguel,

I registered MQTT problem too and ON/OFF problem. I have problem with internal CRONTAB ON/OFF definitions too. I looks like these commands does not reflected internat ON/OFF script.

Yes, it looks like jumper JP3 is for UART flashing. Unfortunately I do not know, which PIN is RX/TX/GND/3,3V

What about UART sold directly to PINs on CHIP? I found web: http://www.hi-flying.com/hf-lpb100

Best regards

Lubos

From: Miguel de Matos @.> Sent: Monday, January 30, 2023 12:28 AM To: ljalves/hfeasy @.> Cc: LubosKovar @.>; Mention @.> Subject: Re: [ljalves/hfeasy] HF-LB100 in Lidl Silvercrest Wifi Plug (#23)

Hello, sorry for digging up a closed thread, but I'm having issues with the same plug (SWS-A1).

I was able to upload the hfeasy firmware, and got the configuration webpage, but kept getting issues with MQTT, it seems the plug spammed ON and OFF commands making it keep changing the state of the relay. I then decided to restore the configuration but it somehow bricked the device. Now the LED only lights a faint red light and there's no AP for me to connect to. Trying to force it to recovery mode doesn't work (press button 6 times within 3 seconds, or pressing for 3 seconds or more).

I have a UART adapter (ch341-uart), but I'd need help figuring out where to solder the cables. I'm guessing the UART port is that small rectangle (labeled JP3) in the photo below: https://user-images.githubusercontent.com/11491485/215360692-17f06f00-e4f6-4532-af73-fba78d2e6ac8.jpg

Is that correct?

— Reply to this email directly, view it on GitHub https://github.com/ljalves/hfeasy/issues/23#issuecomment-1407801800 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ASJ37JGT5JNHVOHXZOEXVBDWU34I7ANCNFSM4VOWALPA . You are receiving this because you were mentioned. https://github.com/notifications/beacon/ASJ37JH5UXNCRML4CX4PRSTWU34I7A5CNFSM4VOWALPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOKPUVTSA.gif Message ID: @. @.> >

mercs759 commented 1 year ago

Hello, same "perpetual faint red" bricking after an attempt to save a setting and restart.

fully described here : https://github.com/ljalves/hfeasy/discussions/28