pawelka / sofarsolar_esp_rs485_logger

57 stars 21 forks source link

Does it work on Wemos?? #6

Closed ghost closed 2 years ago

ghost commented 3 years ago

been trying with this.. does it work?

played with the code... and also tried the Wemos bin file.. it just drops to the AP without trying mqtt etc

output just does

0:49:23.476 -> Loaded config 'iwcThingName'= 'sofarsolar2mqtt'
00:49:23.514 -> Loaded config 'iwcApPassword'= <hidden>
00:49:23.550 -> Loaded config 'iwcWifiSsid'= '<removed>'
00:49:23.588 -> Loaded config 'iwcWifiPassword'= <hidden>
00:49:23.625 -> Loaded config 'iwcApTimeout'= '30'
00:49:23.700 -> Loaded config 'mqttServer'= '10.0.1.7'
00:49:23.737 -> Loaded config 'mqttUser'= 'mqtt'
00:49:23.776 -> Loaded config 'mqttPass'= <hidden>
00:49:23.811 -> Loaded config 'mqttTopic'= 'Sofar'
00:49:23.846 -> Loaded config 'checkInterval'= '5'
00:49:23.883 -> SkipApStartup is requested, but either no WiFi was set up, or configButton was pressed.
00:49:23.956 -> AP password was not set in configuration
00:49:23.994 -> State changing from: 0 to 1
00:49:24.030 -> Setting up AP: sofarsolar2mqtt
00:49:24.066 -> With default password: <hidden>
00:49:24.099 -> AP IP address: 192.168.4.1
00:49:24.137 -> State changed from: 0 to 1
00:49:24.173 -> Connection to AP.

opened the config page multiple time and entered info.. it just never connects to the wifi or mqtt.. just opens the AP right away

pawelka commented 3 years ago

Do you see any connection info in mqtt's log?

ghost commented 3 years ago

No.. nothing

pawelka commented 3 years ago

Are you using 2.4G wifi or 5G at home? It will work only with 2.4G

pawelka commented 2 years ago

No answer for long time closing.