Sunday, April 28, 2024

Troubleshoot Coinslot problem

 1. May credit na P1.00 pagka press ng insert coin kahit waala pang hinuhulog na coins.
Solution: May 2 slider switch sa likod ng coinslot, paki angat lang po ng sagad

With P1.00 credit everytime you press insert coin
Solution: there are 2 slider switch at the back of a coinslot. Make sure it is both switched upward.


2. Yung credit ng isang P5 na coin ay piso. Ganun din ang isang P10 na coin.
Solution: uncheck Block FAST Insert kung naka powercut setup po kayo. Ang Block Fast insert ay para sa mga naka SET PIN.

The 5 coin and the 10 coin produces 1 credit
solution: uncheck Block fast insert if your using powercut setup. Enabling Block fast insert will work only when using SET PIN.




3. Minsan may mga coins na pumasok pero hindi nagcredit. 
Solution: Try LOOP sa coinslot reading type. Mas minimize ang di nagcredit sa LOOP. From my observation and testing although depende pa rin sa coinslot.

Sometimes coins inserted doesn't credit
Solution: Try LOOP.This will minimize not credited coins.Its from my observation and testing although it depends on coin slot.

Here are more probable culprits for the unrecognized coins:

  • Dirty or faulty sensor: Dust, debris, or a malfunctioning sensor can prevent proper coin detection.
  • Loose connections: A loose wire connecting the coin slot to the machine can disrupt communication.
  • Incorrect calibration: The coin slot might be programmed to recognize specific sizes and weights, and if the calibration is off, it might reject valid coins.
  • Foreign objects: Sometimes, objects like pins or washers can get stuck in the mechanism, causing jams and disrupting coin recognition.

Here's a troubleshooting approach:

  1. Check for blockages: See if any foreign objects are stuck in the coin slot.
  2. Clean the sensor: Use a can of compressed air to gently blow out any dust or debris.
  3. Verify power supply: Ensure the coin slot is receiving the correct voltage (usually 12V DC).
4. Check Pin Assignment vs sa kung saan nakasaksak na pin sa board(the position of the wire where it is inserted on the pin. By default PIN3 for white wire and PIN5 for relay in the assignment at dapat sa PIN3 at PIN5 din sakasaksak sa board (and at the same time, it should be inserted on pin3 and pin5 of the board.
coinslot white wire - responsible for pulse reading
relay pin - responsible for blocking coinslot kapag naghulog ng coins na di pumipindot ng insert coins


5. Yung isang P5 peso coin ang reading ay P4 o kaya ang isang P10 peso coin ang reading ay P9 o kaya ang isang P20 na coin, ang reading ay 19
Solution:
By default ito ang payment portal pulse settings
1 pulse = P1.00
5 pulse = P5.00
10 pulse = P10.00
20 pulse = P20.00

Yung P20pulse for P20.00, paki lagay dahil may mga oras na ang reading ng isang P10 coins ay nagiging doble 20(dalawang P10 coins kahit isa lang P10 hinulog)

Paki lagay na rin ang mga ito kung kulang ng isa as stated on the problem above.
4 pulse = P5
9 pulse = P10
19 pulse = P20

Kung kulang ng 2 ang isang coins na hinulog paki dagdag ito:
3 pulse = P5
8 pulse = P10
18 pulse = P20


6. Kung hindi talaga nagke credit at wala ang problema sa mga nabanggit sa taas, 2 lang yan sira na ang specific pin3 ng board at pwede mo siyang ilipat sa iba. At pangalawa sira na talaga ang lahat ng pin ng board-magpalit ka na ng board.
Ito ang mga pin na pwedeng lipatan 3,5,7,11,13,15,16,18 kung di gumagamit ng CB
Kung OPI one 3,5,7 lang kung naka official Ado custom board
Kung naka RPI board ka pwede ang mga ito kung di ka gumagamit ng custom board 3,5,8,11,12,13,15,16,1888,19,21,23,24,26,29,31.32,33,36,37.38,40








Thursday, April 25, 2024

How to update from old version 3.xx to version 5.xx

 How to flash adopisoft:

https://www.youtube.com/watch?v=loIcw_H89vY&t=86s&pp=ygUPZmxhc2ggYWRvcGlzb2Z0



Download Balena for Flashing:

https://etcher.balena.io/#download-etcher



Download image here:

note: make sure naka login po kayo sa Google account to avoid "too many users downloaded file recently" error
https://www.adopisoft.com/downloads
Select the right board type 

Select Business kung galing sa version 3.xx
Kung version 4.xx, either business or Lite depende po sa license na hawak nyo kung Lite o business

Select USB TO Lan kung naka USB TO LAN specially kung galing sa version 3.xx. Select VLAN naman kung may VLAN capable device po kayo.

Revoke nyo na rin ang license sa old version na machine habang nagpa flash

How to revoke?

Paki revoke po muna ang license na nakakabit sa old machine id/device id
Alam nyo po ba ang device ID ng old machine? 

Login ka sa manager.adopisoft.com then click Machine then search for your old device ID, click it then scroll down then click revoke



After flash login to 10.0.01/admin

user: admin

password: admin



Go to Admin then My Profile then change your admin password right away after you login



Go to theme then captive portal then variant then RESET THEMES



Go to Admin then My Profile then scroll down to bottom then Check the last 3 admin rights then save



For validation status problem please follow this:

https://adopisofthowto.blogspot.com/2024/04/fixed-for-ver-513-or-any-version-with.htmlspot.com/2024/04/fixed-for-ver-513-or-any-version-with.html

Once na nagawa nyo na po yan, pwede na po kayo mag activate ng license by going to Device Information



If may problem po kayong na encounter like "Product key already in used", Please revoke your license key from your old version 3 machine.



How to Activate license in Adopisoft:

https://www.youtube.com/watch?v=JMqEkpU-xCQ&pp=ygUSYWN0aXZhdGUgYWRvcGlzb2Z0


How to revoke/reuse Adopisoft license key

https://www.youtube.com/shorts/WuEQilzNQ68


Last 
Please OTA update to 5.1.5. Go to System then Software Update then Check for Update then select and install 5.1.5. then hard restart. After restart reset your theme.HIndi mo po maa access ng maayos ang portal hanggat di ka nag rereset ng themes.Please back read na lang kung pano mag reset ng themes.
   

Saturday, April 13, 2024

Fixed for ver 5.1.3 or any version with Validating machine after flash

Problem: Validating license and inventory logs do not appear.


Note: This fix works only on version 5.1.3 and above not on validating license  on old version 3.xx machine,
Caused: Time and date is not synchronized and DNS is not properly configured
Solution: Use putty terminal and follow these steps
1. Download putty in your laptop or desktop.
Download here: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
Download the 64bit if you're using 64bit and 32 bit if using 32 bit for windows system.

2.Enable SSH on your Adopisoft admin dashboard


3. Make sure your PC is connected to  vendo machine or the portal 10.0.0.1 is accessible on your PC then open putty.


Use the following login credentials:

For other board:
user:adopisoft
pass:asdf@12345

For RPI
user:pi
pass:raspberry

For OPI5/OPI ONE/OPI PC
user:username: root
passwd: asdf@12345 or asdf@123 or Asdf@12345

For Generic machine/Ubunto server
user:adoadmin
pass:AdoPiSoft

Note: Typing password, will have no screen response. Just make sure you type it correctly then ENTER.Yung password pala wag kang magtaka kung walang lumalabas sa screen.Ganyan talaga yan di nakikita

4. Once na nakapasok, after you login type date then press ENTER


5.Double check the result. Change if the time and date is incorrect.

To change your time:
sudo date -s "yyyy-mm-dd hh:mm:ss"

replace with  your current date and time

example: sudo date -s "2023-07-13 09:16:59"
Note:Time format is 24hour format so if it is 1:00PM, It tmeans 13:00

sudo date -s "2024-04-14 13:07:59"
6.Check if date and time is synchronized. Type timedatectl then press ENTER



7.If system clock synchronized is yes, proceed to step 8
If system clock synchronized is no, 

Open timesyncd.conf file then edit its content

To open, type this in the terminal:

sudo nano /etc/systemd/timesyncd.conf 


then press ENTER. Check the commands spelling, spacing and period.Always double check before you hit ENTER.
You should see this file content:

Please remove the comment (#) after [Time] then add this NTP server in the list:Yung hashtag # lang po.Wag yung buong line and edelete.
NTP=ph.pool.ntp.org
NTP=0.asia.pool.ntp.org
NTP=1.asia.pool.ntp.org
NTP=2.asia.pool.ntp.org
NTP=3.asia.pool.ntp.org

To edit, use arrow up and down, arrow left and right,backspace and ENTER key

The result should be look like this:
Ganito na dapat magiging itsura:


When you are done editing, save it. 
To save press CTRL+O then ENTER
To exit file press CTRL+X
To close putty type exit but do not close it, because you're not done yet.

Next 

  • Restart the systemd-timesyncd service:
    To restart type this command then press ENTER:

    sudo systemctl restart systemd-timesyncd.service
    Wait for a few minutes then check if system clock synchronized becomes "Yes"
    Once you've followed these steps, your Raspberry Pi's/OPI's clock should be synchronized with the network, ensuring accurate timekeeping.
8. Configure your DNS
Type this command on terminal sudo nano /etc/resolv.conf then press ENTER. Check the commands spelling, spacing and peiod.Always double check before ENTER.

You will see this result:



9. Edit it then add your DNS 1.1.1.1 and 8.8.8.8. Use arrow up and down, arrow left and right  to edit.

nameserver 1.1.1.1
nameserver 8.8.8.8

Add the router IP of your vendo machines Internet source:
If using VLAN, add your VLAN Routetr;s IP or IP ng VLAN device mo to access the admin dashboard of your VLAN router, kung naka enabled ang DHCP
If direct to ISP, add your ISP modem router's IP.Yung IP para mabuksan mo or ma remote ang ISP modem router.
Example 192.168.1.1, 192.168.254.254, 192.168.0.1, 192.168.88.1

nameserver 192.168.88.1

Add your vendo's interface IP

nameserver 10.0.0.1
nameserver 20.0.0.1

Take note: mas ok kung mauna ang DNS sa list

It should look like this after you edit:



What you will be adding in the list, depends on your Admin dashboard
10. After editing press CTRL+O then press ENTER to save.
    Press CTRL+X to exit file.
    Type exit to close putty

COMMON Question:

Bakit po blank or walang laman. Ano po ang gagawin?
A: Check spelling, spacing and period. Siguradong mali.

"Paano po ii edit boss saan magpipindot" sagot: To edit use arrow up and down, arrow left and right and backspace.
"Anong ilalagay":
Sagot: Depende sa kung anong makikita dashboard mo.Ito ang mga ilalagay Mga Ip ng interface ng VLAN at USB TO LAN. Sample sa picture above are 10.0.0.1, 8.0.0.1, and 20.0.0.1 IP ng main router mo kung saan kumukuha ng internet ang vendo machine/Ubuntu PC. In other words WAN gateway or yung IP para mabuksan mo and admin dashboard ng ISP modem router .Example 192.168.1.1, 192.168.254.254, 192.168.0.1 Last is IP of your DNS. This is the most important .Kaya wag pong kalimutan. Usually 8.8.8.8 at 1.1.1.1 Take note, depende sa makikita sa dashboard nyo po. Follow the format <nameserver space IP>
"Na edit ko na po, anong sunod?" Sagot: After editing press CTRL+O then press ENTER to save.
            Press CTRL+X to exit file.
            Type exit to close putty.







 















Monday, January 22, 2024

How To Fixed Machine is Offline and Validation Status...Connecting to server on Adopisoft system

 Solution: Make sure that nameserver 1.1.1.1 and nameserver 8.8.8.8 exist in resolv.conf file such as in the photos

Peparation:
1. search for putty on google chrome browser.Download it and install it.
Putty Here: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
2. Enable SSH on adopisoft


Steps: 
1. Open putty via ssh then type 10.0.0.1

Use the following login credentials:

For other board:
user:adopisoft
pass:asdf@12345

For RPI
user:pi
pass:raspberry

For OPI5/OPI ONE/OPI PC
user:username: root
passwd: asdf@12345 or asdf@123 or Asdf@12345

For Generic machine/Ubunto server
user:adoadmin
pass:AdoPiSoft

Note: Typing the password will have no display response. Just make sure you type it correctly then ENTER.

2. Type this command on terminal sudo nano /etc/resolv.conf then press ENTER

3. Edit it and add all you interface IP, ISP routers IP/Gateway and the DNS(usually 8.8.8.8 and 1.1.1.1). To edit use arrow up and down, arrow left and right and backspace. Sample below.Just follow the patterrn.
4. After editing press CTRL+O then press ENTER to save.
    Press CTRL+X to exit file.
    Type exit to close putty.

After that check if your problem is fixed.

Yung mga hindi maka intindi  at hindi nagbabasa o nagbabasa pero hindi naman inuunawa, uunahan ko na kayo sa mga tanong na nasa guide naman tulad nito:

"Paano po ii edit boss saan magpipindot" sagot: To edit use arrow up and down, arrow left and right and backspace.
"Anong ilalagay":
Sagot: Depende sa kung anong makikita dashboard mo.Ito ang mga ilalagay Mga Ip ng interface ng VLAN at USB TO LAN. Sample sa picture above are 10.0.0.1, 8.0.0.1, and 20.0.0.1 IP ng main router mo kung saan kumukuha ng internet ang vendo machine/Ubuntu PC.Example 192.168.1.1, 192.168.254.254, 192.168.0.1 Last is IP of your DNS. This is the most important .Kaya wag pong kalimutan. Usually 8.8.8.8 at 1.1.1.1 Take note, depende sa makikita sa dashboard nyo po. Follow the format <nameserver space IP>
"Na edit ko na po, anong sunod?" Sagot: After editing press CTRL+O then press ENTER to save.
            Press CTRL+X to exit file.
            Type exit to close putty.

Sunday, January 21, 2024

How To Flash Adopisoft LAN SUBVENDO

 Download Firmware here:

LAN Subvendo (Arduino Nano): https://drive.google.com/drive/u/2/folders/1uxheUQGGOaJ2axiYu4LIWff3LSnlqTna

(added support for any captive portal ip other than 10.0.0.1)

(Fixes for disconnection issues)

  2 types of firmware for arduino nano:

  (ado-lan-subvendo-arduino) for builds with SET pin as coin acceptor enabler/blocker

  (ado-lan-subvendo-arduino-no-fast-blocking) for builds with power cut as coin acceptor enabler/blocker

Download Xloader here:
https://drive.google.com/file/d/1f30m70XrunIsNUQmuhMdlj4I8seXtH11/view?usp=sharing


Instructions:
  1. Install XLoader
  2. Download Arduino Hex
Connect your arduino to PC and determine the COM Port.

Open Xloader. Select the 
hex file you downloaded (ado-lan-subvendo-arduino.hex or ado-lan-subvendo-arduino-no-fast-blocking.hex for powecut setup). Set proper Device and COM PORT. Set Baud rate: as is.Use the recommended baud rate set by Xloader .In short "do not change" Then click Upload.
If hanged-unplug arduino from PC then plug again then select the next available model type.Repeat the process to every model until:
If failed, it means ok. Failed means successful flash.

To test, if the reading of P5 and P10 is P1.00. it means you have a powercut setup and you flash it with the wrong hex file.It means you need to reflash using ado-lan-subvendo-arduino-no-fast-blocking.hex.













Friday, January 12, 2024

Pitunnel - an alternative to ngrok and dataplicity

This will work only on Ubuntu system and RPI. It will not work on OPI board. 
Preparation:
1.Install terminal plugin on adopisoft admin dashboard.Or install putty to access your board via SSH.
2. Enable SSH if using putty. No need to enable SSH if using Ado terminal plugin.


Instructions:
1. Go to pitunnel . com and create your own account
2. This is important. copy the terminal command provided by your pitunnel and paste it to adopisoft terminal then press ENTER to install pitunnel on your board.






After you press Enter, you should see a message "installation successfull", like this:



3. After running the command, if using putty when accessing terminal command via ssh, disable SSH
4. Go back to your pitunnel website then follow these photos below:




















Thursday, October 12, 2023

How to Check your RPI/ubuntu boards time and set the correct time?

Preparation:
install Adopisoft terminal plugin or connect to your device using SSH

To check for your current time:

timedatectl

To set your timezone to Asia/Manila:

timedatectl set-timezone Asia/Manila


To change your time:
sudo date -s "yyyy-mm-dd hh:mm:ss"

replace with  your current date and time

example: sudo date -s "2023-10-13 09:16:59"
Note:Time format is 24hour format so if it is 1:00PM, It tmeans 13:00

sudo date -s "2023-10-13 09:16:59"


Make sure the system clock is synchronized:



try the following command to fix it:

sudo timedatectl set-ntp yes

or,

sudo timedatectl set-ntp true


sudo timedatectl set-local-rtc 0 --adjust-system-clock


sudo systemctl status systemd-timesyncd


timedatectl set-local-rtc 0

NOTE:
repeat these 2 terminal commands several times:

sudo systemctl status systemd-timesyncd 

sudo timedatectl set-local-rtc 0 --adjust-system-clock

until system clock synchronized becomes "yes"

The next step requires putty apps.It will not work in Adopisoft terminal plugin:

Peparation:
1. search for putty on google chrome browser.Download it and install it.
Putty Here: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
2. Enable SSH on adopisoft

Steps: 
1. Open putty via ssh then type 10.0.0.1

Use the following login credentials:

For other board:
user:adopisoft
pass:asdf@12345

For RPI
user:pi
pass:raspberry

For OPI5/OPI ONE/OPI PC
user:username: root
passwd: asdf@12345 or asdf@123 or Asdf@12345

For Generic machine/Ubunto server
user:adoadmin
pass:AdoPiSoft

Note: Typing password has no display response.Just make sure you type it correctly then ENTER.

2. Once you successfully login to terminal via putty, if  system clock synchronized is still "No" 

Open timesyncd.conf file then edit its content

To open, type this in the terminal:

sudo nano /etc/systemd/timesyncd.conf
then press ENTER
You should see this file content:

Please remove the comment (#) after [Time] then add this NTP server in the list:
NTP=ph.pool.ntp.org
NTP=0.asia.pool.ntp.org
NTP=1.asia.pool.ntp.org
NTP=2.asia.pool.ntp.org
NTP=3.asia.pool.ntp.org

The result should be look like this



To edit, use arrow up and down, arrow left and right,backspace and ENTER key.
When you are done editing, save it. 
To save press CTRL+O then ENTER
To exit file press CTRL+X
To close putty type exit but do not close it, because you're not done yet.

Next 

  • Restart the systemd-timesyncd service:
    To restart type this command then press ENTER:

    sudo systemctl restart systemd-timesyncd.service

    Wait for a few minutes then check if system clock synchronized becomes "Yes"
    Once you've followed these steps, your Raspberry Pi's/OPI's clock should be synchronized with the network, ensuring accurate timekeeping.

Troubleshoot Coinslot problem

 1. May credit na P1.00 pagka press ng insert coin kahit waala pang hinuhulog na coins. Solution: May 2 slider switch sa likod ng coinslot, ...