OpenSprinkler Forums Hardware Questions OpenSprinkler Bee (OSBee) Need Help to make OSBee Web Offline

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #48090

    TeguhTeknisi
    Participant

    Hi Ray,

    I’am a newbie, an I Want to Thank You for the OSBee, i have compile and upload it to my NodeMCU Lolin and WeMos D1 Mini.
    I Like the Web Interface and The Program with Task.

    I Have built ESPrinkler2 ( https://github.com/n0bel/ESPrinkler2 )
    I Like it, it can run with AP Mode ( 192.168.4.1 ) and i can access the Web Interface “Offline” (without internet access).
    But, the Schedulle is only 16 ( maks 2.000 bytes, its limites by ArduinoJson )
    That’s why i want to build OSBee.

    ESPrinkler2 put all the Html and JS Script and CSS file in SPIFFS so it can work Offline.
    You can see the file list in this screenshot
    SPIFFS Editor

    I Want to Ask, it is posible to make OSBee to work Offline like ESPrinkler2 ?

    I Have try to edit the html file like this:

    
      <link rel='stylesheet' href='/jquery.mobile-1.3.2.min.css' />
      <script src='/jquery-1.9.1.min.js'></script>
      <script src='/jquery.mobile-1.3.2.min.js'></script>
    

    Then i use ESP8266 Sketch Upload to upload all html, jquery.mobile-1.3.2.min.css. jquery-1.9.1.min.js and jquery.mobile-1.3.2.min.js
    But its not working.

    When i use ESPrinkler2 Web interface -> SPIFFS Editor to upload upload all html and jquery.mobile-1.3.2.min.css. jquery-1.9.1.min.js and jquery.mobile-1.3.2.min.js
    I can open the OSBee Web interface.
    I put the screenshot in attachment.

    I Hope someone could help me to make the Web Interface Offline.

    Thanks.

    Best Regrads,
    Teguh.

    #48284

    TeguhTeknisi
    Participant

    Never Mind, i have modified the source code, and i can make it offline without internet.
    using Spiffs to store js, css, gif and png file.
    and i have modified the source to make it have 8 channel Relay with Shift Register 74HC595, i sacriface Pin Bost to use it for SPI with 74HC595.

    Thanks for the OpenSprinkler Bee (OSBee)

    #48412

    Ray
    Keymaster

    Cool. Thanks for letting me know.

    #49335

    komoya
    Participant

    hi, TeguhTeknisi. Nice works. will you please show you code?

    #65345

    TeguhTeknisi
    Participant

    Hi @komoya
    Sory, i have been busy and stop playing with esp8266
    i come to here just because i want to built a simple esp8266 with dht, lcd 1602 and blynk.
    and perhaps one relay.

    i can share the code, but i already forgot how to “Compile” it, as i have re install my laptop.
    AFAIK, you need to set up Arduino to be able to “Complile” ESPrinkler.

    I will attach, three version of OSBee Mod i have been playing before.
    I Have lost the bin file, so i hope you can try it and share it in here if you have mod it.

    If i remember, i have mod it to work with Blynk, but i dont know which version or perhaps i lost it.
    i have been playing with the apk too.

    ps: i change a lot of thing, like the language.

    Bye…. perhaps i will not come here again.
    Insya Allah.

    #65346

    TeguhTeknisi
    Participant

    OMG, i cannot upload the code.
    the forum not allowed…. srory…. i want to share but the rules in this forum not allowed.

    ps: i will try to attach again.

    #65347

    TeguhTeknisi
    Participant

    oh, my bad… my code is to big….

    i try again, here my first version of the mod…

    #65349

    TeguhTeknisi
    Participant
    #65351

    TeguhTeknisi
    Participant

    my last version of code,
    for all the version i have attach, you need to upload the data folder using SPIFFS

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.

OpenSprinkler Forums Hardware Questions OpenSprinkler Bee (OSBee) Need Help to make OSBee Web Offline