OpenSprinkler › Forums › Hardware Questions › OpenSprinkler Bee (OSBee) › Need Help to make OSBee Web Offline
- This topic has 8 replies, 3 voices, and was last updated 4 years, 8 months ago by TeguhTeknisi.
-
AuthorPosts
-
October 22, 2017 at 9:29 am #48090
TeguhTeknisiParticipantHi 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
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.Attachments:
November 15, 2017 at 12:02 pm #48284
TeguhTeknisiParticipantNever 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)
Attachments:
November 30, 2017 at 10:41 pm #48412
RayKeymasterCool. Thanks for letting me know.
March 13, 2018 at 3:49 am #49335
komoyaParticipanthi, TeguhTeknisi. Nice works. will you please show you code?
April 22, 2020 at 6:47 pm #65345
TeguhTeknisiParticipantHi @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.April 22, 2020 at 6:47 pm #65346
TeguhTeknisiParticipantOMG, 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.
April 22, 2020 at 6:48 pm #65347
TeguhTeknisiParticipantoh, my bad… my code is to big….
i try again, here my first version of the mod…
April 22, 2020 at 6:48 pm #65349
TeguhTeknisiParticipanthere my second version.
April 22, 2020 at 6:48 pm #65351
TeguhTeknisiParticipantmy last version of code,
for all the version i have attach, you need to upload the data folder using SPIFFS -
AuthorPosts
- You must be logged in to reply to this topic.
OpenSprinkler › Forums › Hardware Questions › OpenSprinkler Bee (OSBee) › Need Help to make OSBee Web Offline