Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
renat2985 committed Nov 25, 2024
1 parent d07f730 commit 8726094
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 8 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,17 @@ We have a similar project with a screen, [check it out](https://github.com/renat
- **Payment Tolerance:** In this field, specify the acceptable price deviation. Since the Ton price constantly fluctuates, you need to indicate a deviation range (as a single number) that you are willing to accept for payment.
- **Relay Work Time:** Specify how long the relay should be activated in seconds. This can range from one second (for simulating a button press) to several minutes or hours.

_Please note, if the blue LED starts flashing, it is a signal that something went wrong. You might have entered your Toncoin wallet incorrectly. It could also indicate an incorrect CoinMarketCap API. If you are using the standard API (without changes), it may have exceeded the limit, and you might need to create your own CoinMarketCap API. The WiFi signal has disappeared. Another reason could be that the trial period of the software has expired._

<img src="https://github.com/renat2985/toncoin_payment_sonoff/blob/main/doc/APFull.png" width="500px">
<img src="https://github.com/renat2985/toncoin_payment_sonoff/blob/main/doc/APFull.png" width="500px">

3. **Reset Settings:**
To reset the device to its factory settings, follow these steps:
1. Press the Sonoff button on the device.
2. The device will reboot.
3. After rebooting, a Wi-Fi access point named Crypto Sonoff will appear.
The device is now ready for reconfiguration.

_Please note, if the blue LED starts flashing, it is a signal that something went wrong. You might have entered your Toncoin wallet incorrectly. It could also indicate an incorrect CoinMarketCap API. If you are using the standard API (without changes), it may have exceeded the limit, and you might need to create your own CoinMarketCap API. The WiFi signal has disappeared. Another reason could be that the trial period of the software has expired._

### Instructions for Self-Assembly:

For self-assembly you will need any of these devices: SONOFF OLD, [SONOFF RF R2, SONOFF BASICR2](https://github.com/renat2985/toncoin_payment_sonoff/blob/main/doc/flash_gpio_r2.png), [SONOFF Mini R1, SONOFF Mini R2](https://github.com/renat2985/toncoin_payment_sonoff/blob/main/doc/flash_gpio_mini_r2.png), [SONOFF S26, SONOFF S26R2](https://github.com/renat2985/toncoin_payment_sonoff/blob/main/doc/flash_gpio_s26.jpg).
Expand Down
13 changes: 8 additions & 5 deletions README_RU.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,17 @@
- **Service Currency Price:** Укажите цену в выбранной валюте, которую клиент должен оплатить.
- **Payment Tolerance:** В этой ячейке указывается допустимая погрешность в цене. Поскольку стоимость Ton постоянно колеблется, здесь нужно указать диапазон отклонений (одной цифрой), который вы готовы принять при оплате.
- **Relay Work Time:** Укажите, на сколько секунд должно включиться реле. Это может быть от одной секунды (например, для имитации нажатия кнопки) до нескольких минут или часов.

_Обратите внимание, если начал мигать синий светодиод — это сигнал, что что-то пошло не так. Возможно, вы неправильно написали свой Toncoin кошелек. Также это может указывать на неправильный API от CoinMarketCap. Если вы используете стандартный API (не меняли его), возможно, он превысил лимит, и вам нужно сделать собственный [CoinMarketCap API](https://coinmarketcap.com/api/). Плохой сигнал WiFi. Еще одна причина может быть в том, что закончился пробный период программного обеспечения._

<img src="https://github.com/renat2985/toncoin_payment_sonoff/blob/main/doc/APFull.png" width="500px">


<img src="https://github.com/renat2985/toncoin_payment_sonoff/blob/main/doc/APFull.png" width="500px">

3. **Сброс настроек:**
Чтобы вернуть устройство к заводским настройкам, выполните следующие действия:
1. Нажмите кнопку на устройстве Sonoff.
2. Устройство перезагрузится.
3. После перезагрузки появится точка доступа с именем Crypto Sonoff.
Теперь устройство готово к повторной настройке.

_Обратите внимание, если начал мигать синий светодиод — это сигнал, что что-то пошло не так. Возможно, вы неправильно написали свой Crypto кошелек. Также это может указывать на неправильный API от CoinMarketCap. Если вы используете стандартный API (не меняли его), возможно, он превысил лимит, и вам нужно сделать собственный [CoinMarketCap API](https://coinmarketcap.com/api/). Плохой сигнал WiFi. Еще одна причина может быть в том, что закончился пробный период программного обеспечения._

### Инструкции для самостоятельной сборки:

Expand Down

0 comments on commit 8726094

Please sign in to comment.