DCC-EX / EX-T3-WiFi

ESP32 based WiFi throttle for DCC++
GNU General Public License v3.0
16 stars 4 forks source link

Sta mode IP address for throttle #3

Closed jregholdsworth closed 1 year ago

jregholdsworth commented 1 year ago

In setting up for sta mode IE using my home network the use of DNS didn't work so dccex couldn't be found.

So it changed to sta mode .however what is it's on home network IP address ..I couldn't find it using advanced op scanner?..

I edited the SD card to insert the real IP address of the C's and that worked.

However to manage locos I need to access the throttles web page...without it appearing on the scan I'm stuck.

Any advice?

jregholdsworth commented 1 year ago

Sorry advanced ipscanner and not C's CS

alex-code commented 1 year ago

Were you on the CS Settings and WiFi display (The one with the QR codes)? The web server on the throttle is only active on this display.

jregholdsworth commented 1 year ago

Yep I thought the throttle web server would move to my home network when I had the CS and the throttle connected to it..which would be very convenient.

Also having difficulty saving stuff to the SD card..eg loco names. Looked on the serial port and the output said that access to the SD was denied when creating the locos directory on the sd

Also I have to enter the password twice when accessing the ap for the throttle etc page using my windows laptop

alex-code commented 1 year ago

The throttle server should be accessible when connected to your WiFi. Did you include http://? When the throttle is connected and you're on the WiFi display are you able to ping it?

Ok, didn't notice git ignores empty directories so wasn't created. There should be locos and fns directories on the SD card too.

Not sure about the password issue. It's just a WiFi AP so if you've entered the settings Windows should just connect.

jregholdsworth commented 1 year ago

Even though the t3-ex-wifi connects as an sta to my home network..192.168.0.xxx and can control my dccex C's which is also an sta on my home network..the throttle web server remains at 192.168.4.1

Can't save to the SD card reliably is another problem..

If the SD card loco structure is the same as your tethered throttle I can create a simple config by hand on the sd and give that a try.

I am really impressed despite these teething issues which in part are due to my own dull nature

Regards JH

On 4 December 2022 19:34:39 Alex @.***> wrote:

The throttle server should be accessible when connected to your WiFi. Did you include http://? When the throttle is connected and you're on the WiFi display are you able to ping it?Ok, didn't notice git ignores empty directories so wasn't created. There should be locos and fns directories on the SD card too. Not sure about the password issue. It's just a WiFi AP so if you've entered the settings Windows should just connect. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

alex-code commented 1 year ago

I'm working on a fix for the SD missing directory issue, just didn't notice git omits empty directories which means some that are required will be missing if you copy the sd directory.

alex-code commented 1 year ago

I've updated the code with a fix for the missing directories. The throttle will now create them if needed.

Have you been able to access the throttle's website? If in STA mode the throttle's IP will come from your router, it doesn't set its own.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 1 year ago

This issue was closed because it has been stale for 7 days with no activity.