Skip to content
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

can not setup MQTT parameters,then can not send data to cloud #27

Open
lyxer123 opened this issue Jun 24, 2023 · 1 comment
Open

can not setup MQTT parameters,then can not send data to cloud #27

lyxer123 opened this issue Jun 24, 2023 · 1 comment

Comments

@lyxer123
Copy link

can not setup MQTT parameters
some parameters as below.

Friendly name:bld
Host:test.mosquitto.org
port:1883
User:lyx
Password:12345678
Topic:v1/devices/me/telemetry

but these parameters can not set

@josef2600
Copy link

josef2600 commented Jul 1, 2023

there are many problems with old libraries, this is an old project. you have to change many things for it to be able to make it work correctly. first read all the previous posts, then you can ask RomeHein for a new version. many libraries have completely changed their functions and coding. read all the posts. i tried to explain how to do. and there are some parts that needs changing. but since i don't (cant!) work with GitHub programming system, it is a real mess! this program is almost a perfect project, but most problematic is about the memory usage. as you can see, it has the data codes, around 85 k byte just for ram that will get double and then we have the automation registers size that gets around 85 k byte at a given time and many many more! it eat the memory like nothing. if you don't change anything, at most, without psram, and without camera, you only get the maximum of around 8 automation at best! otherwise the memory will gets full and it crashes.
and i sow some of your code. you didn't correctly convert it from Arduino to idf. it is bad! many many names have to be renamed.
and AsyncEventSource and AsyncTCP are very old libs and completely bad libs. you need fixed ones. just search for it. there are many good forks for them. they don't work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants