Git Product home page Git Product logo

website's Introduction

Website

This website is built using Docusaurus 2, a modern static website generator.

Local Development

Install Visual Studio Code and NodeJS 16 lts, checkout this repo in visual studio code and run the following in the visual studio terminal:

$ npm start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server. A few changes may require you to ctrl-c the npm server and re-run the start command.

Deployment

Deployments are automatically handled by Cloudflare Pages build agent when an org member opens a pr, or when a pr is merged into the main branch.

website's People

Contributors

digiblur avatar lilmansplace avatar troy-f avatar tntdruid avatar wantmoore avatar kerta1n avatar datcfc avatar sbelongie avatar ajaxbits avatar edestecd avatar grischard avatar kennystier avatar chiconws avatar rspier avatar thracx avatar boilerboy165 avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

website's Issues

NITYAM Smart LED Light ESPHome + Tasmota

Hi I was able to get a NITYAM Smart LED E14 bulb (with Led driver sm2235) working with both ESPHome and Tasmota and I would like to share this information. Don't know if this is the right place for this but here is my info.

I have 2 lights on one I've installed ESPHome following your guide (https://digiblur.com/2023/04/10/tuya-cloudcutter-with-esphome-how-to-guide).
For ESPHome it took me quit same time to find the correct configuration but this works fine for me:

ESPHome yaml file:
esphome:
name: tv-color-lamp

libretiny:
board: generic-bk7231n-qfn32-tuya
framework:
version: dev

logger:

web_server:

captive_portal:

mdns:

api:
encryption:
key: !secret esphome_encryption_key

ota:
password: !secret ota_password

wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
use_address: 192.168.0.x #optional: I had to add this to avoid dns problems, replace with your ip address
ap:

sm2235:
data_pin: P24
clock_pin: P26
max_power_color_channels: 4
max_power_white_channels: 6

button:

  • platform: restart
    name: Restart

debug:
update_interval: 30s

text_sensor:

  • platform: debug
    reset_reason:
    name: Reset Reason
  • platform: libretiny
    version:
    name: LibreTiny Version

sensor:

  • platform: uptime
    name: Uptime

light:

  • platform: rgbww
    name: "TV Color Light"
    id: tv_color_lamp
    red: output_red
    green: output_green
    blue: output_blue
    cold_white: output_cold_white
    warm_white: output_warm_white
    cold_white_color_temperature: 6000 K
    warm_white_color_temperature: 2800 K
    color_interlock: true
    constant_brightness: true
    restore_mode: ALWAYS_ON
    effects:
    • random:
    • random:
      name: "Slow Random"
      transition_length: 30s
      update_interval: 30s
    • random:
      name: "Fast Random"
      transition_length: 4s
      update_interval: 5s

output:

  • platform: sm2235
    id: output_red
    channel: 1
  • platform: sm2235
    id: output_green
    channel: 0
  • platform: sm2235
    id: output_blue
    channel: 2
  • platform: sm2235
    id: output_cold_white
    channel: 4
  • platform: sm2235
    id: output_warm_white
    channel: 3

On the second one I installed Tasmato but I used this guide from eletroda: https://www.youtube.com/watch?v=WunlqIMAdgw to recover the json configuration.
Here is the JSON file:
{
"rstnum":"3",
"rstcor":"c",
"Jsonver":"1.1.9",
"brightmin":"10",
"gmwb":"35",
"title20":"1",
"deftemp":"100",
"gmwg":"35",
"wfcfg":"spcl_auto",
"colormin":"10",
"pmemory":"1",
"2235ccur":"2",
"gmkb":"60",
"iicb":"2",
"2235wcur":"2",
"cmod":"rgbcw",
"mixway":"0",
"iicscl":"26",
"wt":"10",
"cwtype":"0",
"prodagain":"0",
"rstbr":"50",
"remdmode":"0",
"colormax":"80",
"cagt":"10",
"iicw":"3",
"notdisturb":"0",
"module":"CBLC5",
"colorpfun":"0",
"iicsda":"24",
"cwmaxp":"100",
"iicc":"4",
"dmod":"7",
"gmwr":"50",
"rgbt":"10",
"gmkg":"60",
"onoffmode":"0",
"brightmax":"89",
"iicg":"0",
"wfct":"3",
"rsttemp":"100",
"category":"0505",
"gmkr":"80",
"defcolor":"c",
"iicr":"1",
"defbright":"100",
"crc":"103",
"bv":"40.00",
"pv":"2.2",
"lpv":"3.3",
"pk":"key8u54q9dtru5jw",
"firmk":"key8u54q9dtru5jw",
"cadv":"03",
"cdv":"1.0.0",
"dev_swv":"1.2.16",
"s_id":"null",
"dtp":"0",
"sync":"0",
"attr_num":"0",
"mst_tp_0":"0",
"mst_ver_0":"null",
"mst_tp_1":"0",
"m0_ver_1":"null",
"mst_tp_2":"0",
"mst_ver_2":"null",
"mst_tp_3":"0",
"mst_ver_3":"null "
}

Strange but I did had to swap the warm_white and cool_white values after importing the configuration (in the Tools tab off the Web application).
Swap cold and warm values

I also added some other pictures.
NITYAM Smart LED Light
Firmware BK7231N_Smart Life
NITYAM Smart LED Light3

Suggestion to simplify the Tasmota IR command script

I followed your guide with great success, using the uniplay IR blaster, after I finally got my makeshift pogo pins (just a strip of 7 header pins) pressed just right on the test points to flash the firmware with esptool.

Regarding the sample script you provided for your TV:

```yaml
sequence:
- variables:
power: >-
0,+9140-4420+670-465Cd+665-1625+640dEdEdC-470EdCfGfGdE-1605+660fG-1600EkEkEdCdCdC-1595CdCdCdCdCkCkEkCdEkEkEkElC-39185A-2160C
input: >-
0,+9140-4420+670-490+640-470+665-1625EdE-495Ef+660iEi+635hEhEfGhEhEhEhEhEhEhE-1630EhEfGhEfGfGfGfGfG-465GhEmGhE-1620E-39195A-2160G
volume_up: >-
0,+9140-4420+670-490+640dE-1625E-470+660g+665gHdEdEfEfEgHfEfEfEfEfE-465IfEjIgIjIjIjCjI-1600HjIkIkIkC-1595CkClI-39195+9135-2160I
volume_down: >-
0,+9135-4420+670-470+665-490+640-1625+645-465+660dEdKfGfGhGhGdEhGhGhGhGhGhGhGdEjEjEjEjEjEjEjE-1600ElClElElE-1595C-39185A-2160C
mute: >-
0,+9135-4420+670-490+640-470+665-1625Ef+660fGfGdE-465GhEhEdEhEhEhEhEhEhEjGjGhEjGjCjGjCjC-1600GkGjCkCkCkG-1595C-39190+9140-2155G
menu: >-
0,+9135-4420+665-495+640-470C-1625EfC-490EfCf+660fIgEgEfCgEgEgEgEgEgEgEgEgE-465CjCgEjCjCjCjCjCgEgEjC-1620E
vizio: >-
0,+9130-4420+665-490+640-470+660-1625EdEdEdEdEfGhEhEdEhEhEhEhEhEhEfGhEhEfGhEfCfGfChEfC-465ChEfChE-1620E-39190+9135-2160C
channel_up: >-
0,+9130-4420+665-490+640dE-1625EdEdEdE-470+660gHfEfEgCfEfEfEfEfE-465Ci+670-460CgCgCgCiCiC-1600ClClClJlClClC-1595C-39185+9135-2160C
channel_down: >-
0,+9135-4420+670-490+640-470+660-1625E-465GdE-495EfGf+665hEhEdEhEhEhEhEhEhEfGfKfKfKfGfKfGfKhEhEhEhEhEhE-1620E-39190A-2190E
arrow_up: >-
0,+9140-4420+670-490+640dE-1625E-470+660dEdEgHdEfEfE-475HfEfEfEfE-1630EfEiHfEg+665gK-465KfElKlKfElKfEfE-1600HlK-1595K
arrow_down: >-
0,+9135-4420+670-470+660dE-1625+640dEdE-495GdE-490GfGfGiGfGfGfGfGfGdEfGfGdEd+665dJfGdJfGdJdJfGfGfGdJ-1620G
arrow_left: >-
0,+9135-4420+670-470+665-490+640-1625GdE-465CfGfGiEhGhGdEhGhGh+645-1620GhGhGhGhGiCiEiEkGdEdEiEiEhG-1630+635hGd+660kG
arrow_right: >-
0,+9140-4420+670-490+640dE-1625EdE-470+660dEdEdEfEfEgHfEfEfEfEfEdEg+665gIfEgIgIfEgIfEfEfE-465IfEfEjC-1600H
back: >-
0,+9140-4420+670-470+665dE-1625+640-490GhGdEd+660dIfGfGhGfGfGfGfGfGdIfGdEfGdEdEfGdEfGdEfG-465EfGfGdE-1620G-39185+9135-2185G
exit: >-
0,+9140-4420+670-490+640dE-1620E-470+665g+660gHgHgH-1625EjEgHjEjEjEjE-1630Ej+645-460H-465H-1600InHnHoHnHnHoCoHnCoHoHnC-1595H-39190+9135-2160H
guide: >-
0,+9140-4420+670-490+640dE-1625EdEdE-470+665dEdEfEfEg+660fEfEfEfEfEgHdEfEfEfEgHgIgHfEf+645-465IgHgHfEfEfE-39190+9135-2185E
ok: >-
0,+9135-4420+670-465+660-490+640-1625G-470+665iEfGfGfGhGhGiEhGhGhGhGhGiJiJhGdJdJdJhGdJhGhGdJ-1600JkJkJdC-1595C-39190A-2160J
pause: >-
0,+9135-4420+665-490+640-470C-1625EfCfC-465CfCfCgEgEhCgEgE-1630+635gEgEgE-1605+660-1600ChCmCmCh+670hNhChNhCmChChCmC-1595N-39185A-2160N
play: >-
0,+9135-4420+670-465+665-490+640-1625G-475+660fGfG-480+650fGhGhGfGhGhGhGhGhGh+645-1620G-470EfGhGhGoEoJoEoEhGhGdEoEhGnG-39185A-2165E
ffwd: >-
0,+9135-4420+670-490+640dE-1625EdE-470+660dEdEg+665fEfEgHfEfEfEfEfEgIfE-1630+635-465IfEfElIlIfE-460CmIfElIlI-1600I-1595I-39190A-2160I
rwd: >-
0,+9135-4420+670-490+640dE-1625EdEdE-470+665dEdEfEfEg+660fEfEfEfEfEfEdEfEgIfEfEgHgHgHfEgHfE-465HgHfE-1620E-39185A-2190E
stop: >-
0,+9135-4420+665-470C-490+640-1625FeFdCeFd+660eFgFgFdCgF-1620FgFgFgFdCdCdCdHgFgFdCdCgFgFgFgFdCdCgFiF-39185A-2185F
amazon: >-
0,+9140-4420+670-490+640-470+660-1625EdEdEf+665dEdEhEhEfIhEhEhEhEhEfIhE-465ChEjIhE-1600IkIkIjIkIjCkIjIjI-460I-39190A-2155I
netflix: >-
0,+9135-4420+670-490+640dE-1625EdE-470+660gHgHg+665fEfEgHfEfEfEfEfEfEfEgIfEgIfEfEfEgIgIfEgIfEgI-465IjI-39190+9140-2165H
iheartradio: >-
0,+9135-4420+670-470+660dE-1625+640d+665dHdHdH-465HfGfGiHfGfGfGfGfGiHfG-1630G-1600HiHkHkHkHkHiCiHiHkHiHiC-460H-39190A-2160H
enter: >-
0,+9145-4420+670-490+640dE-1625E-470+665dEg+660-495EdEfEfE-465HfEfEfEf+645-1620EkHfEkHfEfEfEkHkC-1600HkHnHkCkCkCnH-1595H-39190+9140-2160H
num_space: >-
0,+9140-4420+670-490+640-495E-1625E-470+660dEh+665hJdEgEgEhIgEgEgEgEgEgEgEgEgEgEgE-1630EgEhJhJ-465JlJlJlJlJ-460C-39190A-2160C
num_1: >-
0,+9140-4420+670-470+665-490+640-1625GfGdEfGfG-495GhG-1630+635fGhGhGhGhGhGhGdEd+660dEhGdEdE-465EdEh+645-1620GhGdEhGhGoG
num_2: >-
0,+9140-4420+670-490+640-470+665-1625EdEdEdEdE-495EhE-1630EfGhEhEhEhEhEfGhE-465GfGhEkGfGf+660hEfGhEhEkGhEhE-1620E-39190A-2165G
num_3: >-
0,+9140-4420+670-490+640-470+665-1625EdEdEdEfGfGhEhEf+660hEhE-1630EhEhEhEhE-465GkGhEkGkGkCkGkG-1600GlGkClGlC-1595G-39180A-2160G
num_4: >-
0,+9140-4420+670-490+640dE-1625EdEdEdE-470+660gHfEfEg+665fEfEfEfEfE-465IjIfEjIfEjCjCjC-1600IkIjCkIjIkIkI-1595C-39190+9135-2160I
num_5: >-
0,+9135-4420+670-490+640dE-1625EdEdE-495E-470+665dEfEfEhIfEfEfEfEfEfE-465IfEhIfEjIjIjIjC-1600IjIkIjIkCkI-1595I-39190+9130-2160C
num_6: >-
0,+9140-4420+665-495+640-490E-1625EfEfEfE-470Ch+660-1630EgEhCgEgEgEgEgEhCgEgE-465CgEhChChC-1600CkCk+670lCkClClC-1595C-39185+9135-2160C
num_7: >-
0,+9135-4420+665-490+640dE-1625E-495EdEdEdEdEfEfEdEfEfEfEfEfEfEfEfE-470CfEhC-465CiCiCiChCfEiCfEfE-1620E-39190A-2160C
num_8: >-
0,+9130-4420+670-470+660dE-1625+640dEdE-490GdE-465+665fGfGiJf+645-1620GfGfGfGiJiJiJfG-1600EiJiJiJmJmJmJiJiJmJmJmJ-39185+9135-2160J
num_9: >-
0,+9140-4420+670-490+640dE-1625+645dEdEdE-470+665dEfEfEh+660fEfEfEfEfEfEhIhIfE-1630E-465IhIlIhIfEfElIlC-1600ImI-1595I-39185A-2160I
num_0: >-
0,+9135-4420+670-490+640-470+660-1625EfGdEdEfGfGhEhEfGhEhEhEhEhEdEf+665dEfGhE-465IfIfIhEhEhEhEfIhEhE-1620E-39185+9140-2185E
- choose:
- alias: Power
conditions:
- condition: template
value_template: '{{ command == ''power'' }}'
sequence:
- service: mqtt.publish
data:
topic: '{{ mqtttopic }}'
payload: '{{ power }}'
- alias: Input
conditions:
- condition: template
value_template: '{{ command == ''input'' }}'
sequence:
- service: mqtt.publish
data:
topic: '{{ mqtttopic }}'
payload: '{{ input }}'
- alias: Volume Up
conditions:
- condition: template
value_template: '{{ command == ''volume_up'' }}'
sequence:
- service: mqtt.publish
data:
topic: '{{ mqtttopic }}'
payload: '{{ volume_up }}'
- alias: Volume Down
conditions:
- condition: template
value_template: '{{ command == ''volume_down'' }}'
sequence:
- service: mqtt.publish
data:
topic: '{{ mqtttopic }}'
payload: '{{ volume_down }}'
- alias: Mute
conditions:
- condition: template
value_template: '{{ command == ''mute'' }}'
sequence:
- service: mqtt.publish
data:
topic: '{{ mqtttopic }}'
payload: '{{ mute }}'
- alias: Vizio
conditions:
- condition: template
value_template: '{{ command == ''vizio'' }}'
sequence:
- service: mqtt.publish
data:
topic: '{{ mqtttopic }}'
payload: '{{ vizio }}'
- alias: Channel Up
conditions:
- condition: template
value_template: '{{ command == ''channel_up'' }}'
sequence:
- service: mqtt.publish
data:
topic: '{{ mqtttopic }}'
payload: '{{ channel_up }}'
- alias: Channel Down
conditions:
- condition: template
value_template: '{{ command == ''channel_down'' }}'
sequence:
- service: mqtt.publish
data:
topic: '{{ mqtttopic }}'
payload: '{{ channel_down }}'
- alias: Arrow Up
conditions:
- condition: template
value_template: '{{ command == ''arrow_up'' }}'
sequence:
- service: mqtt.publish
data:
topic: '{{ mqtttopic }}'
payload: '{{ arrow_up }}'
- alias: Arrow Down
conditions:
- condition: template
value_template: '{{ command == ''arrow_down'' }}'
sequence:
- service: mqtt.publish
data:
topic: '{{ mqtttopic }}'
payload: '{{ arrow_down }}'
- alias: Arrow Left
conditions:
- condition: template
value_template: '{{ command == ''arrow_left'' }}'
sequence:
- service: mqtt.publish
data:
topic: '{{ mqtttopic }}'
payload: '{{ arrow_left }}'
- alias: Arrow Right
conditions:
- condition: template
value_template: '{{ command == ''arrow_right'' }}'
sequence:
- service: mqtt.publish
data:
topic: '{{ mqtttopic }}'
payload: '{{ arrow_right }}'
- alias: Back
conditions:
- condition: template
value_template: '{{ command == ''back'' }}'
sequence:
- service: mqtt.publish
data:
topic: '{{ mqtttopic }}'
payload: '{{ back }}'
- alias: Exit
conditions:
- condition: template
value_template: '{{ command == ''exit'' }}'
sequence:
- service: mqtt.publish
data:
topic: '{{ mqtttopic }}'
payload: '{{ exit }}'
- alias: Guide
conditions:
- condition: template
value_template: '{{ command == ''guide'' }}'
sequence:
- service: mqtt.publish
data:
topic: '{{ mqtttopic }}'
payload: '{{ guide }}'
- alias: OK
conditions:
- condition: template
value_template: '{{ command == ''ok'' }}'
sequence:
- service: mqtt.publish
data:
topic: '{{ mqtttopic }}'
payload: '{{ ok }}'
- alias: Pause
conditions:
- condition: template
value_template: '{{ command == ''pause'' }}'
sequence:
- service: mqtt.publish
data:
topic: '{{ mqtttopic }}'
payload: '{{ pause }}'
- alias: Play
conditions:
- condition: template
value_template: '{{ command == ''play'' }}'
sequence:
- service: mqtt.publish
data:
topic: '{{ mqtttopic }}'
payload: '{{ play }}'
- alias: Fast Forward
conditions:
- condition: template
value_template: '{{ command == ''ffwd'' }}'
sequence:
- service: mqtt.publish
data:
topic: '{{ mqtttopic }}'
payload: '{{ ffwd }}'
- alias: Rewind
conditions:
- condition: template
value_template: '{{ command == ''rwd'' }}'
sequence:
- service: mqtt.publish
data:
topic: '{{ mqtttopic }}'
payload: '{{ rwd }}'
- alias: Stop
conditions:
- condition: template
value_template: '{{ command == ''stop'' }}'
sequence:
- service: mqtt.publish
data:
topic: '{{ mqtttopic }}'
payload: '{{ stop }}'
- alias: Amazon Video
conditions:
- condition: template
value_template: '{{ command == ''amazon'' }}'
sequence:
- service: mqtt.publish
data:
topic: '{{ mqtttopic }}'
payload: '{{ amazon }}'
- alias: Netflix
conditions:
- condition: template
value_template: '{{ command == ''netflix'' }}'
sequence:
- service: mqtt.publish
data:
topic: '{{ mqtttopic }}'
payload: '{{ netflix }}'
- alias: I Heart Radio
conditions:
- condition: template
value_template: '{{ command == ''iheartradio'' }}'
sequence:
- service: mqtt.publish
data:
topic: '{{ mqtttopic }}'
payload: '{{ iheartradio }}'
- alias: Enter
conditions:
- condition: template
value_template: '{{ command == ''enter'' }}'
sequence:
- service: mqtt.publish
data:
topic: '{{ mqtttopic }}'
payload: '{{ enter }}'
- alias: Number Pad Space
conditions:
- condition: template
value_template: '{{ command == ''num_space'' }}'
sequence:
- service: mqtt.publish
data:
topic: '{{ mqtttopic }}'
payload: '{{ num_space }}'
- alias: Number Pad 1
conditions:
- condition: template
value_template: '{{ command == ''num_1'' }}'
sequence:
- service: mqtt.publish
data:
topic: '{{ mqtttopic }}'
payload: '{{ num_1 }}'
- alias: Number Pad 2
conditions:
- condition: template
value_template: '{{ command == ''num_2'' }}'
sequence:
- service: mqtt.publish
data:
topic: '{{ mqtttopic }}'
payload: '{{ num_2 }}'
- alias: Number Pad 3
conditions:
- condition: template
value_template: '{{ command == ''num_3'' }}'
sequence:
- service: mqtt.publish
data:
topic: '{{ mqtttopic }}'
payload: '{{ num_3 }}'
- alias: Number Pad 4
conditions:
- condition: template
value_template: '{{ command == ''num_4'' }}'
sequence:
- service: mqtt.publish
data:
topic: '{{ mqtttopic }}'
payload: '{{ num_4 }}'
- alias: Number Pad 5
conditions:
- condition: template
value_template: '{{ command == ''num_5'' }}'
sequence:
- service: mqtt.publish
data:
topic: '{{ mqtttopic }}'
payload: '{{ num_5 }}'
- alias: Number Pad 6
conditions:
- condition: template
value_template: '{{ command == ''num_6'' }}'
sequence:
- service: mqtt.publish
data:
topic: '{{ mqtttopic }}'
payload: '{{ num_6 }}'
- alias: Number Pad 7
conditions:
- condition: template
value_template: '{{ command == ''num_7'' }}'
sequence:
- service: mqtt.publish
data:
topic: '{{ mqtttopic }}'
payload: '{{ num_7 }}'
- alias: Number Pad 8
conditions:
- condition: template
value_template: '{{ command == ''num_8'' }}'
sequence:
- service: mqtt.publish
data:
topic: '{{ mqtttopic }}'
payload: '{{ num_8 }}'
- alias: Number Pad 9
conditions:
- condition: template
value_template: '{{ command == ''num_9'' }}'
sequence:
- service: mqtt.publish
data:
topic: '{{ mqtttopic }}'
payload: '{{ num_9 }}'
- alias: Number Pad 0
conditions:
- condition: template
value_template: '{{ command == ''num_0'' }}'
sequence:
- service: mqtt.publish
data:
topic: '{{ mqtttopic }}'
payload: '{{ num_0 }}'
- alias: Menu
conditions:
- condition: template
value_template: '{{ command == ''menu'' }}'
sequence:
- service: mqtt.publish
data:
topic: '{{ mqtttopic }}'
payload: '{{ menu }}'
default: []
fields:
command:
description: IR Command Alias
example: power_on
mqtttopic:
description: MQTT Topic for Tasmota IR blaster
example: cmnd/irblaster/IRSend
mode: single
icon: mdi:remote
alias: Remote - Vizio TV
```

It can be simplified a great deal by setting the individual IR command payloads in a single dictionary, indexed by command, then using a single templated service call like this:

jvc_tv:
  alias: Remote - JVC TV
  icon: mdi:remote
  mode: single
  fields:
    command:
      description: IR Command Alias
      example: power_on
    mqtttopic:
      description: MQTT Topic for Tasmota IR blaster
      example: cmnd/irblaster/IRSend
  sequence:
  - variables:
      commands:
        power: '{"Protocol":"JVC","Bits":16,"Data":0xC0E8,"Repeat":10}'
        hdmi: '{"Protocol":"JVC","Bits":16,"Data":0xC0A8}'
        input: '{"Protocol":"JVC","Bits":16,"Data":0xC0C8}'
        mute: '{"Protocol":"JVC","Bits":16,"Data":0xC038}'
        volume_down: '{"Protocol":"JVC","Bits":16,"Data":0xC0F8}'
        volume_up: '{"Protocol":"JVC","Bits":16,"Data":0xC078}'
        enter: '{"Protocol":"JVC","Bits":16,"Data":0xC050}'
  - service: mqtt.publish
    data:
      topic: '{{ mqtttopic }}'
      payload: '{%if command in commands %}{{ commands[command] }}{% endif %}'

If the command isn't in the dictionary, Tasmota will harmlessly warn about an empty payload to IRSend. Obviously, you could still use your preferred raw payloads.

bluetooth_proxy does not work with Shelly Plus 1PM

When I flashed Shelly Plus 1PM with ESPHome it gave below error and won't connect to Wifi at all when bluetooth-proxy was enanled. It would connect otherwise.

ESPHome Device Logs

Using 'COM4' as serial port.
Showing logs:
[22:01:58][D][wifi:401]: Found networks:
[22:01:58][I][wifi:445]: - 'masked-iot' (ZZ:2A:ZZ:CA:95:22) ▂▄▆█
[22:01:58][D][wifi:446]:     Channel: 6
[22:01:58][D][wifi:447]:     RSSI: -30 dB
[22:01:58][I][wifi:445]: - 'masked-iot' (ZZ:EC:ZZ:A4:92:63) ▂▄▆█
[22:01:58][D][wifi:446]:     Channel: 6
[22:01:58][D][wifi:447]:     RSSI: -56 dB
[22:01:58][I][wifi:445]: - 'masked-iot' (XX:EC:XX:A4:C6:5E) ▂▄▆█
[22:01:58][D][wifi:446]:     Channel: 6
[22:01:58][D][wifi:447]:     RSSI: -76 dB
[22:01:58][I][wifi:445]: - 'masked-iot' (XX:2A:XX:54:2C:98) ▂▄▆█
[22:01:58][D][wifi:446]:     Channel: 9
[22:01:58][D][wifi:447]:     RSSI: -78 dB
[22:01:58][I][wifi:445]: - 'masked-iot' (XX:EC:XX:A4:33:25) ▂▄▆█
[22:01:58][D][wifi:446]:     Channel: 6
[22:01:58][D][wifi:447]:     RSSI: -81 dB
[22:01:58][I][wifi:445]: - 'masked-iot' (XX:EC:XX:32:B1:95) ▂▄▆█
[22:01:58][D][wifi:446]:     Channel: 1
[22:01:58][D][wifi:447]:     RSSI: -87 dB
[22:01:58][D][wifi:450]: - 'masked' (XX:2A:A8:CA:95:XX) ▂▄▆█
[22:01:58][D][wifi:450]: - 'masked-admin' (XX:2A:A8:CA:95:22) ▂▄▆█
[22:01:58][D][wifi:450]: - 'masked-admin' (XX:EC:DA:A4:92:63) ▂▄▆█
[22:01:58][D][wifi:450]: - 'masked' (XX:EC:DA:A4:92:63) ▂▄▆█
[22:01:58][D][wifi:450]: - 'masked' (XX:EC:DA:A4:C6:5E) ▂▄▆█
[22:01:58][D][wifi:450]: - 'masked-admin' (XX:EC:DA:A4:C6:5E) ▂▄▆█
[22:01:58][D][wifi:450]: - 'masked' (XX:2A:A8:54:2C:98) ▂▄▆█
[22:01:58][D][wifi:450]: - 'masked-admin' (XX:2A:A8:54:2C:98) ▂▄▆█
[22:01:58][D][wifi:450]: - 'masked' (XX:EC:DA:A4:33:25) ▂▄▆█
[22:01:58][D][wifi:450]: - 'masked-admin' (XX:EC:DA:A4:33:25) ▂▄▆█
[22:01:58][D][wifi:450]: - 'masked-admin' (XX:EC:DA:32:B1:95) ▂▄▆█
[22:01:58][D][wifi:450]: - 'masked' (XX:EC:DA:32:B1:95) ▂▄▆█
[22:01:58][D][wifi:450]: - '' (XX:8F:CA:86:D9:7E) ▂▄▆█
[22:01:58][I][wifi:257]: WiFi Connecting to 'masked-iot'...
[22:01:58][D][esp-idf:000]: I (5198) wifi:
[22:01:58][D][esp-idf:000]: new:<6,0>, old:<1,0>, ap:<255,255>, sta:<6,0>, prof:1
[22:01:58][D][esp-idf:000]: 
[22:01:58]
[22:01:59][D][esp-idf:000]: I (5742) wifi:
[22:01:59][D][esp-idf:000]: state: init -> auth (b0)
[22:01:59][D][esp-idf:000]: 
[22:01:59]
[22:01:59][D][esp-idf:000]: I (5751) wifi:
[22:01:59][D][esp-idf:000]: state: auth -> assoc (0)
[22:01:59][D][esp-idf:000]: 
[22:01:59]
[22:01:59][D][esp-idf:000]: I (5759) wifi:
[22:01:59][D][esp-idf:000]: state: assoc -> run (10)
[22:01:59][D][esp-idf:000]: 
[22:01:59]
[22:01:59][D][esp-idf:000]: I (5797) wifi:
[22:01:59][D][esp-idf:000]: connected with masked-iot, aid = 2, channel 6, BW20, bssid = 8a:2a:a8:ca:95:22
[22:01:59][D][esp-idf:000]: 
[22:01:59]
[22:01:59][D][esp-idf:000]: I (5798) wifi:
[22:01:59][D][esp-idf:000]: security: WPA2-PSK, phy: bgn, rssi: -33
[22:01:59][D][esp-idf:000]: 
[22:01:59]
[22:01:59][D][esp-idf:000]: I (5801) wifi:
[22:01:59][D][esp-idf:000]: pm start, type: 1
[22:01:59]
[22:01:59][D][esp-idf:000]: 
[22:01:59]
[22:01:59][D][esp-idf:000]: I (5815) wifi:
[22:01:59][D][esp-idf:000]: AP's beacon interval = 102400 us, DTIM period = 1
[22:01:59][D][esp-idf:000]: 
[22:01:59]
[22:02:28][W][wifi:543]: Timeout while connecting to WiFi.
[22:02:28][I][wifi:257]: WiFi Connecting to 'masked-iot'...
[22:02:28][D][esp-idf:000]: I (35193) wifi:
[22:02:28][D][esp-idf:000]: state: run -> init (0)
[22:02:28][D][esp-idf:000]: 
[22:02:28]
[22:02:28][D][esp-idf:000]: I (35194) wifi:
[22:02:28][D][esp-idf:000]: pm stop, total sleep time: 23265363 us / 29383480 us
[22:02:28]
[22:02:28][D][esp-idf:000]: 
[22:02:28]
[22:02:28][D][esp-idf:000]: W (35196) wifi:
[22:02:28][D][esp-idf:000]: <ba-del>idx
[22:02:28][D][esp-idf:000]: 
[22:02:28]
[22:02:28][D][esp-idf:000]: I (35218) wifi:
[22:02:28][D][esp-idf:000]: new:<6,0>, old:<6,0>, ap:<255,255>, sta:<6,0>, prof:1
[22:02:28][D][esp-idf:000]: 
[22:02:28]
[22:02:28][W][wifi_esp32:633]: Event: Disconnected ssid='masked-iot' bssid=XX:2A:A8:CA:95:22 reason='Association Leave'
[22:02:28][W][wifi:549]: Error while connecting to network.
[22:02:28][D][esp-idf:000]: I (35246) wifi:
[22:02:28][D][esp-idf:000]: state: auth -> assoc (0)
[22:02:28][D][esp-idf:000]: 
[22:02:28]
[22:02:28][W][wifi:585]: Restarting WiFi adapter...
[22:02:28][D][esp-idf:000]: I (35258) wifi:
[22:02:28][D][esp-idf:000]: state: assoc -> init (0)
[22:02:28][D][esp-idf:000]: 
[22:02:28]
[22:02:28][D][esp-idf:000]: I (35268) wifi:
[22:02:28][D][esp-idf:000]: new:<6,0>, old:<6,0>, ap:<255,255>, sta:<6,0>, prof:1
[22:02:28][D][esp-idf:000]: 
[22:02:28]
[22:02:28][D][esp-idf:000]: I (35279) wifi:
[22:02:28][D][esp-idf:000]: flush txq
[22:02:28][D][esp-idf:000]: 
[22:02:28]
[22:02:28][D][esp-idf:000]: I (35298) wifi:
[22:02:28][D][esp-idf:000]: stop sw txq
[22:02:28][D][esp-idf:000]: 
[22:02:28]
[22:02:28][D][esp-idf:000]: I (35300) wifi:
[22:02:28][D][esp-idf:000]: lmac stop hw txq
[22:02:28][D][esp-idf:000]: 
[22:02:28]
[22:02:28][W][wifi_esp32:633]: Event: Disconnected ssid='masked-iot' bssid=XX:2A:A8:CA:95:22 reason='Association Failed'
[22:02:33][D][wifi:386]: Starting scan...
[22:02:33][D][esp-idf:000]: I (40413) wifi:
[22:02:33][D][esp-idf:000]: mode : sta (XX:17:93:cf:b9:08)
[22:02:33][D][esp-idf:000]: 
[22:02:33]
[22:02:33][D][esp-idf:000]: I (40414) wifi:
[22:02:33][D][esp-idf:000]: enable tsf
[22:02:33][D][esp-idf:000]: 
[22:02:33]
[22:02:33][D][esp-idf:000]: W (40418) wifi:
[22:02:33][D][esp-idf:000]: Error! Should use default active scan time parameter for WiFi scan when Bluetooth is enabled!!!!!!
[22:02:33]
[22:02:33][D][esp-idf:000]: 
[22:02:33]
[22:02:33][D][esp-idf:000]: I (40430) wifi:
[22:02:33][D][esp-idf:000]: Set ps type: 1
[22:02:33]
[22:02:33][D][esp-idf:000]: 
[22:02:33]
....
[22:02:37][I][wifi:257]: WiFi Connecting to 'masked-iot'...
[22:02:37][W][wifi:549]: Error while connecting to network.
[22:02:37][D][esp-idf:000]: I (44062) wifi:
[22:02:37][D][esp-idf:000]: new:<6,0>, old:<1,0>, ap:<255,255>, sta:<6,0>, prof:1
[22:02:37][D][esp-idf:000]: 
[22:02:37]
[22:02:38][D][esp-idf:000]: I (44607) wifi:
[22:02:38][D][esp-idf:000]: state: init -> auth (b0)
[22:02:38][D][esp-idf:000]: 
[22:02:38]
[22:02:38][D][esp-idf:000]: I (44610) wifi:
[22:02:38][D][esp-idf:000]: state: auth -> init (0)
[22:02:38][D][esp-idf:000]: 
[22:02:38]
[22:02:38][D][esp-idf:000]: I (44612) wifi:
[22:02:38][D][esp-idf:000]: new:<6,0>, old:<6,0>, ap:<255,255>, sta:<6,0>, prof:1
[22:02:38][D][esp-idf:000]: 
[22:02:38]
[22:02:39][D][esp-idf:000]: I (45662) wifi:
[22:02:39][D][esp-idf:000]: flush txq
[22:02:39][D][esp-idf:000]: 
[22:02:39]
[22:02:39][D][esp-idf:000]: I (45663) wifi:
[22:02:39][D][esp-idf:000]: stop sw txq
[22:02:39][D][esp-idf:000]: 
[22:02:39]
[22:02:39][D][esp-idf:000]: I (45666) wifi:
[22:02:39][D][esp-idf:000]: lmac stop hw txq
[22:02:39][D][esp-idf:000]: 
[22:02:39]
[22:02:39][I][wifi:257]: WiFi Connecting to 'masked-iot'...
[22:02:39][D][esp-idf:000]: I (45770) wifi:
[22:02:39][D][esp-idf:000]: mode : sta (XX:17:93:cf:b9:08)
[22:02:39][D][esp-idf:000]: 
[22:02:39]
[22:02:39][D][esp-idf:000]: I (45771) wifi:
[22:02:39][D][esp-idf:000]: enable tsf
[22:02:39][D][esp-idf:000]: 
[22:02:39]
[22:02:39][W][esp32_ble_tracker:121]: Too many BLE events to process. Some devices may not show up.
[22:02:39][W][wifi_esp32:633]: Event: Disconnected ssid='masked-iot' bssid=XX:EC:DA:A4:92:63 reason='Authentication Failed'
[22:02:39][D][esp-idf:000]: I (45789) wifi:
[22:02:39][D][esp-idf:000]: Set ps type: 1
[22:02:39]
[22:02:39][D][esp-idf:000]: 
[22:02:39]
[22:02:39][W][wifi:549]: Error while connecting to network.
[22:02:39][W][wifi:585]: Restarting WiFi adapter...
[22:02:39][D][esp-idf:000]: I (45823) wifi:
[22:02:39][D][esp-idf:000]: state: run -> init (0)
[22:02:39][D][esp-idf:000]: 
[22:02:39]
[22:02:39][D][esp-idf:000]: I (45824) wifi:
[22:02:39][D][esp-idf:000]: new:<6,0>, old:<6,0>, ap:<255,255>, sta:<6,0>, prof:1
[22:02:39][D][esp-idf:000]: 
[22:02:39]
[22:02:39][D][esp-idf:000]: I (45865) wifi:
[22:02:39][D][esp-idf:000]: flush txq
[22:02:39][D][esp-idf:000]: 
[22:02:39]
[22:02:39][D][esp-idf:000]: I (45866) wifi:
[22:02:39][D][esp-idf:000]: stop sw txq
[22:02:39][D][esp-idf:000]: 
[22:02:39]
[22:02:39][D][esp-idf:000]: I (45869) wifi:
[22:02:39][D][esp-idf:000]: lmac stop hw txq
[22:02:39][D][esp-idf:000]: 
[22:02:39]
[22:02:39][W][wifi_esp32:633]: Event: Disconnected ssid='masked-iot' bssid=XX:EC:DA:A4:92:63 reason='Association Leave'
[22:02:44][D][wifi:386]: Starting scan...
[22:02:44][D][esp-idf:000]: I (50973) wifi:
[22:02:44][D][esp-idf:000]: mode : sta (XX:17:93:cf:b9:08)
[22:02:44][D][esp-idf:000]: 
[22:02:44]
[22:02:44][D][esp-idf:000]: I (50974) wifi:
[22:02:44][D][esp-idf:000]: enable tsf
[22:02:44][D][esp-idf:000]: 
[22:02:44]
[22:02:44][D][esp-idf:000]: W (50978) wifi:
[22:02:44][D][esp-idf:000]: Error! Should use default active scan time parameter for WiFi scan when Bluetooth is enabled!!!!!!
[22:02:44]
[22:02:44][D][esp-idf:000]: 
[22:02:44]
[22:02:44][W][esp32_ble_tracker:121]: Too many BLE events to process. Some devices may not show up.
[22:02:44][D][esp-idf:000]: I (51000) wifi:
[22:02:44][D][esp-idf:000]: Set ps type: 1
[22:02:44]
[22:02:44][D][esp-idf:000]: 
[22:02:44]
[22:02:44][W][esp32_ble_tracker:121]: Too many BLE events to process. Some devices may not show up.

ESPHome Device Config

esphome:
  name: shelly-ble-proxy

esp32:
  board: esp32dev
  framework:
    type: esp-idf
    sdkconfig_options:
      CONFIG_FREERTOS_UNICORE: y
      CONFIG_ESP_TASK_WDT_TIMEOUT_S: "10"

# Enable logging
logger:
  level: DEBUG

# Enable Home Assistant API
api:

# Enable OTA
ota:

# Change the WiFi config to a non-static IP if needed
wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

esp32_ble_tracker:
  scan_parameters:
    active: false

bluetooth_proxy:
  active: true

I also tried with scan_parameters, but only esp32_ble_tracker worked. Adding bluetooth_proxy stopped wifi from connecting.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.