Code Monkey home page Code Monkey logo

Comments (11)

omersiar avatar omersiar commented on August 21, 2024

This may caused by SPIFFS file system also need to be flashed. But there is no easy way to do this without computer connection.

from esp-rfid.

goermezer avatar goermezer commented on August 21, 2024

Oh, that's hard :-( But I see that factory reset is already on the todo list. From my point of view it`s one of the most important features to prevent users from unmounting the whole stuff only to flash it once again.

But I have one more issue with MQTT, which possibly have a hickup: first it worked for me reliably - until I renamed the topic in the settings. After that it seems not to publish the topic to mosquitto anymore. I checked it by subscribing the configured topic with MQTT.fx from Windows (where also mosquitto runs). But no messages arrive. Also the topic collector feature could not catch it from the ESP. And subscribing to # doesn`t list my configured topic. Any ideas regarding this? Or do I really have to carry my laptop to the garage - for the amusement of my neighbours ?

from esp-rfid.

omersiar avatar omersiar commented on August 21, 2024

I simply amazed by you already deployed esp-rfid to your garage. There is no check for web files if they are also updated.

It's nice to have a real world usage case. I can not tell much about MQTT, maybe @thunderace can help with this.

OTA SPIFFS update would be nice but not every esp is connected to Internet, also we definitely need some error handling with the web files compatibility.

  • Check SPIFFS version after update then warn admin at Web UI and also on terminal if there is a mismatch or no backward compatible change is made.

from esp-rfid.

thunderace avatar thunderace commented on August 21, 2024

And subscribing to # doesn`t list my configured topic.

It's because the topic used by esp-rfid is not 'retained' so you can see it only when someone publish something to it.

The page simply says "please wait while fetching data". But nothing happens.

It's related to frequent websocket close that i see every x minutes on my system. I'll publish soon a fix for that (but i can't find the source of the problem...)

Could you use the embedded editor to see the file content and check that the configuration file content is OK?

from esp-rfid.

goermezer avatar goermezer commented on August 21, 2024

@omersiar :

I simply amazed by you already deployed esp-rfid to your garage. There is no check for web files if they are also updated.

Happy to amuse you :-) But it looked quite stable on my desk. So I deployed it after some days. In fact, the rfid mechanism works very well so far. I never stood in front of a closed garage door which isn`t opening - even though my wife expected something different...

from esp-rfid.

goermezer avatar goermezer commented on August 21, 2024

@thunderace

you can see it only when someone publish something to it.

ok, I will look at this later - when I have fixed my weak WIFI signal at the garage door. At the moment I haven`t seen any message from ESP-RFID. Neither for my configured topic nor at # when I listen for with MQTT.fx in the moment I open the garage door.

But whenever the garage door is opened, the ID of the transponder should be sent. This worked for a couple of days before.

It's related to frequent websocket close that i see every x minutes on my system. I'll publish soon a fix for that (but i can't find the source of the problem...)

I have this behavior all the time. No single line of the log table can be loaded.

Could you use the embedded editor to see the file content and check that the configuration file content is OK?

That`s new to me. I uploaded the compiled binaries and I can not see an editor implemented anywhere. Does only the GIT checkout contain it?

from esp-rfid.

thunderace avatar thunderace commented on August 21, 2024

You can, acces to the embedded editor with this url : http://yourespip/edit user:admin password:admin
With the editor you can check see/edit all files on the esp.
Check the configuration file : /auth/config.json

from esp-rfid.

goermezer avatar goermezer commented on August 21, 2024

That`s a good help to access the files. But the password need to be changed.

My config looks good. It is the same content like downloaded settings.json. But my latestlog.json is empty. And the files below /P/* are not accessible. When I select them, the editor does not switch to the content of these files.

from esp-rfid.

goermezer avatar goermezer commented on August 21, 2024

With the editor I can delete and create files. So I deleted latestlog.json and accessed the garage door. After that the latestlog.json was automatically generated with this content:

{"type":"latestlog","list":[]}

After the next accesses, the latestlog.json gets filled with log entries and the page works. So this problem is solved :-)

from esp-rfid.

goermezer avatar goermezer commented on August 21, 2024

One more feedback from a real world use case:

I could also solve my last issue with MQTT, which I mentioned in my second post (messages were not published). For this I simply reflashed the ESP two times: first with the latest.bin of omersiar (without MQTT) and then once again with the latest.bin of thunderace (incl. MQTT).

However, MQTT works again. I`m perfectly happy now.

from esp-rfid.

omersiar avatar omersiar commented on August 21, 2024

@goermezer Mustafa, thank you for your feedbacks. This behavior will be changed on upcoming releases.

from esp-rfid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.