Author Topic: MQTT for the android app  (Read 600 times)

ClassicCrazy

  • Hero Member
  • *****
  • Posts: 2113
Re: MQTT for the android app
« Reply #15 on: March 07, 2019, 10:13:52 PM »
So I just flash  your bin file ?
I will give that a try .
The flash tool I used today from espeasy was a lot fanicer than their old tool

Larry
« Last Edit: March 07, 2019, 10:41:52 PM by ClassicCrazy »
system one
Classic 150 , 5s4p  Kyocera 135watt , 12s Soneil 2v 540amp lead crystal for 24v pack , Outback 3524 inverter
system two
Classic 150 ,5s 135 watt Kyocero , 16s Calb 100AH LiFePO4 , Outback VFX 3648 inverter
system three
Midnite KID MPPT 24 DC in to  12 volt AGM batterie

ClassicCrazy

  • Hero Member
  • *****
  • Posts: 2113
Re: MQTT for the android app
« Reply #16 on: March 07, 2019, 10:40:38 PM »
I put all the flash tools from espeasy in the ClassicMQTT that I downloaded from your github .
When I open  up flash tool it does not find a bin file to flash. So I went back your github page and found a .bin file and downloaded that and placed it in the ClassicMQTT folder but flash tool still won't find it. If I open up your .bin folder it does not show anything. If I go to the ESPEASY mega folder for their flash - there is all kinds of .bin files in the Bin folder.
So I believe something is wrong with your Bin folder or format that it won't show up. It does not say it is a zip file so I did not unzip it - just placed it in the folder as it was .

Update - I found that I just needed to put the .bin file in the Bin folder and I think it is flashing okay now .
I flashed it - but I don't know what I am supposed to do next. I can't seem to connect to it on serial port. I tried flashing again with flash tool and put in my wifi settings but don't see it show up .
I tried just about every baud setting to try and get into it on serial terminal program via computer but nothing shows anything legible

Larry
« Last Edit: March 07, 2019, 11:05:45 PM by ClassicCrazy »
system one
Classic 150 , 5s4p  Kyocera 135watt , 12s Soneil 2v 540amp lead crystal for 24v pack , Outback 3524 inverter
system two
Classic 150 ,5s 135 watt Kyocero , 16s Calb 100AH LiFePO4 , Outback VFX 3648 inverter
system three
Midnite KID MPPT 24 DC in to  12 volt AGM batterie

Graham

  • Full Member
  • ***
  • Posts: 204
    • SkyeTracker
Re: MQTT for the android app
« Reply #17 on: March 08, 2019, 07:39:58 AM »
...
Update - I found that I just needed to put the .bin file in the Bin folder and I think it is flashing okay now .
I flashed it - but I don't know what I am supposed to do next. I can't seem to connect to it on serial port. I tried flashing again with flash tool and put in my wifi settings but don't see it show up .
I tried just about every baud setting to try and get into it on serial terminal program via computer but nothing shows anything legible

Larry

Are you using the ESP32 or the ESP8266?
the bin file is compiled for the ESP32 since the 8266 doesn't have enough space for the OTA feature
https://www.amazon.ca/Lidahaotin-ESP-WROOM-32-Development-Dual-Mode-Bluetooth/dp/B07JVNVS8D/ref=sr_1_4?keywords=esp32+wroom+development+board&qid=1552048619&s=gateway&sr=8-4

I was able to flash the ESP32 using the expressif flash tool http://iot-bits.com/esp32/esp32-flash-download-tool-tutorial

Once it is flashed and rebooted you should see it setup as an access point in the serial terminal, once you connect to the access point, open the web page at 192.168.4.1 and click 'Configure WIFI' to setup the wifi credentials, classic IP/Port, Blynk token and the MQTT credentials.


Graham.
Off-Grid Island cottage, Lac Simon QC
370 Ahrs @ 24V (4 8L16 batteries)
4 x 250watt panels on dual axis trackers http://tinyurl.com/hfpkgr5
Classic 150, Whizbang Jr.
Android Monitor: http://tinyurl.com/lomzq3s

ClassicCrazy

  • Hero Member
  • *****
  • Posts: 2113
Re: MQTT for the android app
« Reply #18 on: March 08, 2019, 11:42:06 AM »
oh yeah I used an esp8266 - have to get an ESP32 . Have been holding off on getting one of those since every time I get something it is outdated by a better version - ha ha !

Larry

system one
Classic 150 , 5s4p  Kyocera 135watt , 12s Soneil 2v 540amp lead crystal for 24v pack , Outback 3524 inverter
system two
Classic 150 ,5s 135 watt Kyocero , 16s Calb 100AH LiFePO4 , Outback VFX 3648 inverter
system three
Midnite KID MPPT 24 DC in to  12 volt AGM batterie