ivanalayan15 / juanfi Goto Github PK
View Code? Open in Web Editor NEWJuanfi is an open source system for coinslot integration for mikrotik hotspot
License: Apache License 2.0
Juanfi is an open source system for coinslot integration for mikrotik hotspot
License: Apache License 2.0
Current logic: When you have for example 5 php is 1 hour and the validity is 1 day, when you extend the time for example 5 php again then validity will become 2 day since it will add up also the validity.
Majority said the logic is correct and we should retain the current logic
But i will also consider other opinions since its also valid, i will add an option in Voucher setting to add optional behavior
Need to have logout feature in the admin portal
LCD 20x4 support
Random Mac Synchronization feature
needed
since the system doesn't use PROFILE account at the mikrotik side. Possible to ADD RX/TX (Que bandwidth management) at the RATES section AdminPORTAL SETUP. Sometimes there are vendo owner wants different SPEED Rates base on amount.
Also to Include ALL GPIO pin outs DROP DOWN LIST selection.
Sound is still playing even insert coin window already close
Add show voucher code when coin inserted
this is notify the user about the code generated so that when save and connect button got problem he still received the voucher code and manually login it
Optional Check internet status when request to insert coin
Voucher prefix setting
add new setting in admin console to modify the prefix that voucher is generating, this will be very helpful to identify which vendo machine is the code was generated
ESP32 support for wireless not only LAN based
If client forgot to click the the save and connect button or run out of time on the portal, after the dialog box closes the coins that are inserted added to the sales inventory but it wont add up time.
Hi Ivan,
I had encountered another weird stuff. When inserted 1 or 5 or 10 peso coin the time displays is in random its not displaying the correct time anymore. I never change any settings when its working well during the first few days of testing. I also reflashed nodemcu but the problem still there.
I have checked all the wiring and everything is correct. I had a doubt about the coin acceptor. have you also encountered the same issue?
this issue started when nodemcu freezes during insert coin process.
have some thoughts about this?
cheers!
Extend time issue when current time is days
theres an issue on extending time if your current time is > 24 hour
Code generation in vendo lcd without using celphone
Currently the LED for system ready and insert coin is having a constant of trigger HIGH, means its having a positive output in the LED pins, but some are using blinking leds / coinslot led which is high voltage and it needs relay to drive it. And most of the available Relays in the market is trigger by LOW instead of HIGH.
it would be nice if have an option in
System configuration option to have
Relay Trigger:
HIGH
LOW
You can also add via api connection sir it is more secure than telnet.
ESP32 support
-code to be compile in ESP32 for next gen lan implementation
Confirm password for system config
need to have a confirm password field to avoid issue
user: admin
pass: admin
incorrect?
Voucher generation option:
Username only
Username = password
This is to support mikmon voucher generated codes
Hi Sir, it would be much better if the system supports centralized setup. Thank you
Hi maybe this helps lets try to assign a static ip address on the device. using the esp8266WiFi.h library. i think this stops mikrotik from assigning a dynamic ip address each time esp8266 disconnected from the server.
//Define Static IP Settings
IPAddress local_IP(192,168,5,253);
IPAddress gateway(192,168,5,1);
IPAddress subnet(255,255,255,0);
IPAddress primaryDNS(8,8,8,8);
IPAddress secondaryDNS(8,8,4,4);
Sana sa susunod mo na project sir may VOUCHER TYPE, yung may EXTEND Time. Thank you sir.
Sana pwede mag add ng Telegram Sales Report sir. Salamat...
Ito po example credits kay sir Harold sa Arclem Community
Mikrotik Telegram Sales Report arclem vers
Coinslot fast reading
Found something but not sure if I'm the only one who encountered it.
Scenario:
Log out and Voucher code will be deleted if you accidentally press Insert Coin Button instead of Login button.
It would also be good if there's a Remaining Time display while on Pause or in log in page to see if you have still existing time left.
More power and kudos to you sir Ivan.
hello po sir. pansin ko lang po pag tapos mo mag hulog tapos hindi mo pinundot ung save/connect hindi sya mag aauto generate ng code..
may lalabas na code sa portal pera hindi sya nag ccreate ng code sa Mikrotik..
salamat po
Voucher code batch generation in admin panel for voucher type selling of voucher codes
Napan sin ko sir sa JuanFi
2.ung sa scheduler nia. Dindagdag ung current plus ung rate... Whic means ung 5php ko 2hrs pero validity nia 1day kung ada ako ng add nagdadag din ung validity nia sa scheduler.
3.ung s ap password di gumamana.. Pag nilalagyn ko ndi nkakak konek si node
Ps. For 24 hour test o o yan eto setu ko dun sa mga nag taning
Nilalagay ko nlng to sa github
Can you please add an LCD in your diagram? Thank you. 16x2
Keep it up lods!
customizable pin assignments
Hi Ivan,
I encountered a strange behavior during login process using realme mobile phone. After the system voucher code generation, when pressed save and connect it throws an error (invalid voucher code.)
when you continuously press the connect button, it will be successfully connected but there is no such internet connection.
when I check on the active users it does not show any. but when you press logout button the voucher code display on the active users for just a few second or two.
not the usual behavior with other mobile phone.
Hi Ivan,
I am trying to use the .ino file other than the binary release files. I have noticed that when flashing .ino setup doesn't seem to show up in my wifi network. Yet but with binary it works juat fine.
Any advice?
hello sir ivan. pede po ba ung sa "lan based" setup, tulad din sa wireless ung may lalabas na juanfi setup para dun nalang mag ssetup?? ๐ฏ
Hello Ivan,
I was thinking about giving the user a notification, 10 minutes prior to their uptime limit. Please consider this enhancement :)
Cheers!
sir sana mag karoon tayo ng SAVE coin.
pag nag hulog ka tapos bigla mo na refresh ung browser o na close. nandun padin sana ung credit na hinulog mo?
thanks sir
Need to have anti-abuse mechanism for coinslot to prevent abusers to attempt coinslot reservation
Admin Html template upgrade
-use the admin template shared by Kristoffer D. Samole
Create hotspot profile option in system configration
decision:
create hotspot profile option under system configuration
How about lan connection via lan module w5500 sir? This is also optional for mcu stable connectivity. Thanks more power po
Datacap limit for voucher rate
Hi Ivan,
it would be nice if we add some time stamp on the generated voucher on the mikrotik users list. so that it would be a lot easier for us to trace voucher codes in case clients is having trouble connecting.
cheers!
Mikrotik Html template upgrade
-use the admin template shared by Kristoffer D. Samole
when you edit system config then nodemcu seems not realy rebooted then LED indication wont light on 2 states blingking and running need to manual power off nodemcu to regain its connection
Thanks Admin!
Hello again Ivan,
on login.html the insert coin button doesn't seem to work while the promo rates button does not load its rates using Android Galaxy S9 (Coinslot is not available as of this moment). Should this mobile compatibility issue? or a work in progress :)
cheers
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.