New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ankuoo LPB130-1 based plug #25
Comments
I already have a working firmware for the plug based on a LPB130. Well... I'll upload it as soon as I can. |
HFEASY 0v11 build for LPB130 Let me know of any issue... Edit: for upgrade using http:///iweb.html If needed, I can provide file for uart upgrade. |
Official release available: Let me know how it works... |
Hi, |
I used the UART0 to check the serial connection. Maybe I used a wrong baudrate: I read in the documentation that the right speed should be 230400. |
Serial baudrate is 921600 |
Remember to disconnect the nReload pin from ground after flash, or else it doesn't boot. |
Before reflashing, enter the serial bootloader and select someting like "erase settings" which I believe is 'B' and press enter. |
I just realized that after the conversion factory->hfeasy, the gpio will not be configured so it will not be possible to enter AP mode... Edit: But the procedure above should still work. |
@livius147 one question: when you configured the wifi connection after flashing the firmware, did you select WPA2/AES ? |
Yes I did. |
That was the reason you lost access (AES was broken...)
Follow this: #10 (comment) Also use latest release: https://github.com/ljalves/hfeasy/releases/tag/1v0 |
GREAT! It is working now. |
I changed the standard config for plug device to custom: the right pin for wifi led is 31 NOT the 29. |
What is HF in the web application? I receive the following message: |
Nice that it works! 'plug' is for the ankuoo plug, not all plugs. I really need to update the names. 'HF' is for the factory webpage. Regarding the DNS, that's kind of a "bug". It's just displaying the setting in case you select "manual IP config". |
Wait... this is an "Ankuoo" plug, right? (note that the default function for the led is "disabled") |
Thank you, now the HF page is ok! |
Sorry, I haven't understood what you are saying about LED find function and apply... please, explain what you mean. |
Maybe it would be better to be able to set the wifi len on when the device is connected to the network, not just when something is transmitted via HTTP. |
Sure I can add that option to the LED (personally, I don't like it always on - too much light at night! :) CORS was a request in #18 |
Hi,
|
Hi,
|
Just added Makefiles. Uncompress to some folder and setup it's location at the "Makefile.mk" |
Actually latest working arm gcc toolchain is release 7-2018-q2-update Edit:
|
Thanks a lot. All is working fine. |
Is it right that in the main Makefile there is |
Yes, under the "tools" folder. The only difference is that "gen_upgrade_bin" is called "LPT100_IMG_Tools".
Actually that define is not even needed (you can remove it). |
By the way, why do you need CMake? |
Because I prefer that compilation system: it is useful to check all requirements (packages and libraries) and the cmake configuration can be easily extended to other OS or environments. A preference of mine, it is not a must. |
Closing issue since this is solved / supported. I have enabled Discussions so if you have more questions please post there. |
Dear all,
I am working on a ankuoo plug device based on LPB130. I am currently trying to work on:
About point 1, I see more GPIO connections than I expect. I see the following soldered pins:
9, 20 Vcc
2-NC
5-GPIO5 (I don't understand where it is used)
1, 17, 18, 36-GND
25-UARTtx
27-UARTrx
28-GPIO22 (connected to the button)
29-GPIO8 (connected to LED2)
30-GPIO24 (used by the relay, it is connected to the base of transistor driving the relay)
31-GPIO25 (I don't understand where it is used)
This is what I found with visual/electrical inspection.
About point 2 I am trying to understand how the pins/gpios are mapped inside the hfeasy source code. In gpio.c I find the array hf_gpio_fid_to_pid_map_table: where is that array used? I don't understand well what is the use of this variable?
Please, if you have any suggestion... In particular about the point 2.
Regards.
Livius
The text was updated successfully, but these errors were encountered: