-
-
Save savikko/4de18e228cca2f52848e6ab405dda89b to your computer and use it in GitHub Desktop.
# NOTE! First upload has to be done via UART - seems that OTA is not possible if ESPHome-compiled firmware is just uploaded | |
# see note at https://esphome.io/components/esp32_ble_tracker.html | |
esphome: | |
name: gls10 | |
platform: ESP32 | |
# https://github.com/esphome/issues/issues/1098#issuecomment-845789058 | |
board: esp32dev | |
platformio_options: | |
platform: [email protected] | |
board: az-delivery-devkit-v4 | |
board_build.mcu: esp32 | |
board_build.f_cpu: 240000000L | |
ota: | |
api: | |
# nice for debugging, but seems that this generates reboots once in few minutes | |
# see https://github.com/esphome/issues/issues/2634 | |
# web_server: | |
# port: 80 | |
logger: | |
# uncomment if you want to use wifi | |
# wifi: | |
# ssid: !secret wifissid | |
# password: !secret wifipass | |
# fast_connect: true | |
# power_save_mode: HIGH | |
# comment out if using wifi - only one can be in use | |
ethernet: | |
type: LAN8720 | |
mdc_pin: GPIO23 | |
mdio_pin: GPIO18 | |
clk_mode: GPIO17_OUT | |
phy_addr: 1 | |
esp32_ble_tracker: | |
# not sure if necessary but | |
# https://github.com/esphome/issues/issues/1098#issuecomment-606784815 | |
# might be issue when using wifi | |
scan_parameters: | |
interval: 160ms | |
window: 15ms | |
duration: 60s | |
sensor: | |
- platform: ruuvitag | |
mac_address: AA:FF:DF:BE:AB:FF | |
humidity: | |
name: "Somesensor Humidity" | |
temperature: | |
name: "Somesensor Temperature" | |
There is no such thing as YAML files for OMG.
See further instructions at https://docs.openmqttgateway.com/upload/web-install.html
I don't understand. Did you or did you not install the OMG firmware on the GL-S10 ?
I installed OMG firmware on GL-S10.
This gist is about ESPHome yaml for GL-S10. I originally installed ESPHome, then found out that OMG is better for my usecase and now using that. And some time ago HA / ESPHome published that some btproxy -thingie and I am not familiar with that.
Ok, so the YAML file you posted here has nothing to do with the flashing of the OMG firmware on to the GL-S10 ?
Correct.
Ok, so can you please post a copy of the YAML file you did use to flash the OMG firmware on to the GL-S10 ?
No, actually I cannot. OMG does not use any YAMLs.
Please do some own research regarding what is ESPHome, what is OMG and how those are installed and how those differ.
Ok, thanks for your help so far 😊
@savikko , please tell me which binary you uploaded to GL-S10?
The binary ESPHome generated.
I asked about OMG binary. By the way, I used generic esp32dev-ble and it is work perfectly but I don't need ethernet at all.
Ah, regarding OMG i used that esp32dev-ble.
Working perfectly as well, using wifi.
OK, so let's try again; Do you know if a board v2.x YAML file exists for the OMG firmware ?