-
Notifications
You must be signed in to change notification settings - Fork 678
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
192.168.0.xxx refused to connect. #948
Comments
Quick update, reflashing the device and reloading the data to the SD card as a 'fresh' install, didn't trigger the full availability of the web-page (and triggering the camera flash at first boot-up)... |
Try a different Webbrowser, especially a mobile Browser works better, sometimes. |
Tried 2 browsers, now tried my phone also, it's really an issue with the the website not being accessible. The device does show up in my router with it's IP address. |
Try a different SD-Card. I have 2 cards here which wont work. If the flashlight does not come up during boot the device is not fully startet. I recommend small sandisc. |
Hmm i use a 2gb Samsung card. |
This is the part fom the documantation:
|
You should check your powersupply also. If you have a ps wich is to weak and drops voltage during flashlight on, this wont work too. |
maybe i made an issue with the cluster size? i used Rufus, set it to FAT32, but cluster size 32k cannot be selected. How do you assign the correct clustersize with the formatting event? |
checked alternate powersupply by the way, no advance :( |
i have formatted the card under windows as fat32 |
Oh and abig thanks by the way for trying to help!!! |
Tried with 2nd SD card no luck, now trying to reflash the device with the 32G SD card. |
Well, same result... |
Zum formatieren selbst kann ich nur Ob er Das ergebnis verbessert, kann ich nicht einschätzen. |
ich habe windows gebraucht, rufus, ich habe 2 karten gebraucht... Ich bleibe dabei, bei die 1ste karte, hat das 2 mahl functioniert dass ich auf der website kam und die configuration starten könnte. Wifi marchiert, der software macht verbindung, aber der website offent nicht. Niemand derr wiss wie man logs nachsehen kann? |
A logfile can be accessed direcly throg the following URL: How ever:
Does the device respond to pings? |
@jomjol , any chance you might be able to help me? |
oh and @jomjol excellent project by the way, very very nicely done! :) |
Maybe, someone can you sell a working esp with sd card, but I do not syany other possibility to help you. Anyway, would try to reformat the sd card with my proposed Tool. Windows is known to not ideally Format sd cards. That exactly is the purpose of such a Tool. |
I did not have problems with the standard Windows formating tool! You also could check the system log through the UART, eg. using PUTTY. Also, run ping with |
I really doubt it has to do with the SD card, it actually worked twice and it's i.e. reading the wifi config etc. Yu still might be right, but in my mind this seems odd as an issue, then also i would have never been able to access the web interface at all before i would guess. |
It Depends, if the Partition and Cluster size is already correct before you format. If you had a different filesystem on the card (like ext4), it is probably not. |
Any info on how to access system log using Putty? Ping still works even when i make web-calls |
ping and connectivity seem to be ok. I would need to check with putty this evening since I dont use windows myself and am away now. |
The only thing which keeps catching my eye after analysis about the issue is that when resetting, the following options were visible: 2 times the website access worked:
all other times i couldn't access the website:
What I wonder now is if the 'quick red light blink' here means it's continuously re-initiating the whole set-up procedure and it's hanging there? |
Thanks in advance Caco3! |
Also 1 more question, is it possible to completely redo the initial reconfiguration from the web page? 1 more thing, i'm not a very experienced user in ESP32, the biggest issue was the camera mounting on my side, i didn't follow a crucial step of opening the lid to put in the camera, i thought it was a slide-in connector, but it's actially some kind of 'open and clip down' connector. Issue totally on my side, hard to prevent from programmer/development side. |
For initial configuration set SetupMode = true in your config.ini |
You should try out a 100 class training modell -> dig-class100* I would also recommend to put some type of alignment marks on your meter. And it seems that your rois are to big and also not good aligned. |
So change this: [Digits] to this: [Digits] or ? |
Yes, you can try both and look which one works better for you. |
i will try that thanks Matze.during config when deleting all 4 it said it would remove all of the dig and ana's.. |
Sure - what type of topics are suggested?
What else is recommeded?
|
Hallo Josef, |
Hallo Paul, ergänze das gerne. Habe noch nicht verstanden, was du mit "das obere" meinst. EDIT: habe jetzt mal vor jeden reboot (entweder automatisch oder manuell getriggert) eine erzwungene Info für das Logfile (auch wenn abgeschaltet sein sollte) implementiert. Geht gleich mit dem neuen Release (v11.2.0) heute noch raus. |
Hey JomJol, Nur eine idee. Gibt vielleicht mehrere optionene. Und dann noch ein mahl, wass ein super tool dass du gemacht habe! Vielen dank, der wirkt jetzt supergut! Mfg, |
Das "obere" meinte Deinen Vorschlag der 4 Punkte, denke mehr ist eigentlich nicht ntwendig. |
Turn on debug -> logfile -> true. 2022-08-26T00:04:01: sent publish successful in MQTTPublish, msg_id=23855, wasserzaehler/connection, connected |
My plattform is iOBroker, so sorry i cant help you with home assistant. Maybe you should ask your question in some kind of ha facebookgroup or forum. |
Hmm, 2022-08-29T22:48:58: Time zone set to CET-1CEST,M3.5.0,M10.5.0/3 |
Device doesn't seem to trigger the MQTT part, although it's activated in the config. [MQTT] |
The system sends mqtt messages at every intervall. Have you seen this issue? And, you have set your "MaxRateValue" and your "DecimalShift" wrong. The reading should be 1996.618 |
I see you have posted in the other issue also. |
Thanks for the info Matze, before i used the IP, didn't work either. I will test the IP setup again. |
I think the problem is at your mqtt backend. Perhaps you can try this tool to test your mqtt server -> http://mqtt-explorer.com/ To clarify @jomjol : does your software only log successfull mqtt transmissions? As in the provided log i can not even see the attempt to send any messages. |
If the mqtt could not connect during startup, it will be deactivated and not try to send anything. |
Yeah it worked, i was unfortnately using a wrong IP address, now it's sending data. I hope to figure it further out. Very interesting and useful project. |
Then I close this issue! |
Hi everyone,
I tried to set-up a device for a home monitoring project.
I uploaded with success the software and followed the steps.
How-ever when i connect the device i get mixed results.
Sometimes after a reset (without any configuration done yet), it boots, triggers the 5 short red light flashes for wifi setup, and then 3 red flashes when connection was made. In such a case, it doesn't allow me to connect to the configuration website.
Sometimes after a reset (still without full config done), it boots, triggers 5 red flashes, triggers the camera-flashlight, and then 3 red flashes.
In this case i actually can connect to the website to do the configuration.
I can't re-enact when/how to make either case happen, it's pure coincidence it seems...
I will try to reflash the device again.
But if anyone would have any idea on this behavior, all help would be welcome!
Best regards
/A
The text was updated successfully, but these errors were encountered: