Hilfe irbridge auf ein ESP8266 Board ​ ESP-12S

  • Hallo,

    hab jetzt schon paar mal mit Atom Kompiliert ohne Fehler oder sonstiges .

    Es geht um irbridge auf ein ESP8266 Board

    https://www.hackster.io/har-bra/irbrid…nterface-66ca06

    Nach Kompilieren lässt sich der Wifi auch ganz normal verbinden .

    SSID: ESP_2D81BB

    Protokoll: 802.11g

    Sicherheitstyp: Offen

    Netzfrequenzbereich: 2,4 GHz

    Netzwerkkanal: 1

    IPv4-Adresse: 192.168.4.2

    IPv4-DNS-Server: 192.168.4.1

    Hersteller: Broadcom

    Beschreibung: Broadcom 802.11ac Network Adapter

    Treiberversion: 7.35.317.1

    Versuche ich aber unter 192.168.4.1 die Network Setting zu erreichen bekomme ich ein leere Webseite .

    Hab keine Ahnung ob ich was übersehe habe und komme nicht weiter .

    Hat einer lust und zeit mir eine fertige .bin Datei zu kompilieren ? unter IRBridge\code\esp8266\.pioenvs\huzzah\firmware.bin kann man dann das fertige File finden .

  • Versuche ich aber unter 192.168.4.1 die Network Setting zu erreichen...

    Lt. deiner Angaben ist hier der DNS zu finden. Wenn die Angaben stimmen musst du 192.168.4.2 nehmen :)

    Die letzten Worte vor dem Weltuntergang: "...das ist technisch völlig unmöglich..."

    aktuelle Projekte: <<< Magic Mirror +++ RMS +++ Wetterstation +++ Somfy Fernbedienung >>>

  • Thx, natülich hab ich mit 4.2 auch versucht .

    Bin etwas weiter gekommen , der Web Folder wir ja nicht mit geflasht so wie ich werstanden habe , siehe gidhub zitat.


    Development workflow & some hints

    All code was developed in PlatformIO. After pulling the repository from GitHub, the following steps are required to be able to start developing:

    • Library dependencies for the Arduino-portion of the code should be pulled automatically by PlatformIO based on /esp8266/platformio.ini.
    • Adjust lib_dir and lib_extra_dirs in /esp8266/platformio.ini according to your local file setup.
    • Library and development dependencies for the webinterface need to be installed with npm install (this requires Node.js on your development machine). This pulls all required dependencies as specified in /web/package.json.
    • If changes on the webinterface have been done, use npm run build to package the files. The output is generated in /web/dist/. Copy the contents of this folder to /esp8266/data/html/dist.
    • For uploading to the IRBridge, connect a USB-to-serial-converter to the respective pins on the PCB. When the MicroUSB port points to the left (9 o'clock), they are from left to right: NC, TX, RX, NC, NC, GND.
    • To upload changes in the file contents in /esp8266/data to the ESP8266's SPIFFS, use the PlatformIO "other target" PIO Upload SPIFFS image
    • To upload changes of the general ESP8266 code, use the standard build target PIO build (doesn't overwrite SPIFFS file system)
    • To save time during development and avoid repeated uploads to the SPIFFS memory (because they take time), connect the ESP8266 to the same Wifi network as your development machine and uncomment the baseURLparameter in /web/src/plugins/axios.js. Set the baseURL to the ESP's IP address. Then use npm run dev to fire up a local development server. All API-calls to the ESP should still be answered by the ESP, however the webinterface will be served locally.
  • Ich habe ein Problem mit mein nodemcu esp-12e , Wifi friert immer wieder nach ca.20-30 Sek ein nachdem er sich in W-Lan verbunden hat und muss neu gestartet werden (Reset Button) dann ist der Web Server wieder da wieder für 20-30 Sek .

    Das ganze hab ich über Atom gemacht .
    Code https://github.com/harbra/IRBridge/tree/master/code

    platformio.ini sieht so aus .

    [env:huzzah]

    platform = espressif8266

    board = huzzah

    framework = arduino

    build_flags = -Wl,-Teagle.flash.4m.ld

    lib_ldf_mode = chain+

    upload_port = com6

    lib_deps=

    ArduinoJson

    ESPAsyncTCP

    IRremoteESP8266

    ESP Async WebServer

    Hash

    FauxmoESP

    lib_ignore=Time

    [platformio]

    lib_dir = C:\Users\slemy\Documents\Arduino\libraries

    lib_extra_dirs = C:\Users\slemy\Documents\Basteln\IRBridge\code\esp8266\lib, ~/Basteln/IRBridge/code/esp8266/lib

    Fehlt irgendwas oder ist etwas falsch eingestellt ?

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!