Git Product home page Git Product logo

lytko-configs's People

Contributors

anatoly-savchenkov avatar dependabot[bot] avatar vanstolyarov avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

lytko-configs's Issues

Not compile on esphome 2023.12.5

INFO ESPHome 2023.12.5
INFO Reading configuration /config/esphome/lytko101v2-6b7b7f.yaml...
INFO Detected timezone 'Europe/Moscow'
INFO Generating C++ source...
Traceback (most recent call last):
  File "/usr/local/bin/esphome", line 33, in <module>
    sys.exit(load_entry_point('esphome', 'console_scripts', 'esphome')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/esphome/esphome/__main__.py", line 1041, in main
    return run_esphome(sys.argv)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/esphome/esphome/__main__.py", line 1028, in run_esphome
    rc = POST_CONFIG_ACTIONS[args.command](args, config)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/esphome/esphome/__main__.py", line 407, in command_compile
    exit_code = write_cpp(config)
                ^^^^^^^^^^^^^^^^^
  File "/esphome/esphome/__main__.py", line 192, in write_cpp
    generate_cpp_contents(config)
  File "/esphome/esphome/__main__.py", line 204, in generate_cpp_contents
    CORE.flush_tasks()
  File "/esphome/esphome/core/__init__.py", line 679, in flush_tasks
    self.event_loop.flush_tasks()
  File "/esphome/esphome/coroutine.py", line 246, in flush_tasks
    next(task.iterator)
  File "/esphome/esphome/__main__.py", line 184, in wrapped
    await coro(conf)
  File "/data/external_components/14c57e66/esphome/components/nextion/display.py", line 106, in to_code
    await display.register_display(var, config)
  File "/esphome/esphome/components/display/__init__.py", line 119, in register_display
    await cg.register_component(var, config)
  File "/esphome/esphome/cpp_helpers.py", line 56, in register_component
    raise ValueError(
ValueError: Component ID disp was not declared to inherit from Component, or was registered twice. Please create a bug report with your configuration.

Не собирается с 2023.9.3

Cудя по #44 это уже давно

INFO ESPHome 2023.9.3
INFO Reading configuration /config/esphome/lytko101hall-6b7b7f.yaml...
INFO Detected timezone 'Europe/Moscow'
INFO Generating C++ source...
INFO Compiling app...
Processing lytko101hall (board: nodemcuv2; framework: arduino; platform: platformio/[email protected])
--------------------------------------------------------------------------------
HARDWARE: ESP8266 160MHz, 80KB RAM, 4MB Flash
Dependency Graph
|-- ESPAsyncTCP-esphome @ 2.0.0
|-- ESPAsyncWebServer-esphome @ 3.1.0
|-- DNSServer @ 1.1.1
|-- ESP8266WiFi @ 1.0
|-- ESP8266mDNS @ 1.2
|-- noise-c @ 0.1.4
|-- ArduinoJson @ 6.18.5
Compiling .pioenvs/lytko101hall/src/esphome/components/nextion/nextion.cpp.o
Compiling .pioenvs/lytko101hall/src/esphome/components/nextion/nextion_commands.cpp.o
Compiling .pioenvs/lytko101hall/src/esphome/components/nextion/nextion_upload.cpp.o
Compiling .pioenvs/lytko101hall/src/esphome/components/ntc/ntc.cpp.o
In file included from src/esphome/components/nextion/nextion_commands.cpp:1:
src/esphome/components/nextion/nextion.h:326:29: error: 'esphome::time::ESPTime' has not been declared
  326 |   void set_nextion_rtc_time(time::ESPTime time);
      |                             ^~~~
In file included from src/esphome/components/nextion/nextion_upload.cpp:1:
src/esphome/components/nextion/nextion.h:326:29: error: 'esphome::time::ESPTime' has not been declared
  326 |   void set_nextion_rtc_time(time::ESPTime time);
  |                             ^~~~

In file included from src/esphome/components/nextion/nextion.cpp:1:
src/esphome/components/nextion/nextion.h:326:29: error: 'esphome::time::ESPTime' has not been declared
326 | void set_nextion_rtc_time(time::ESPTime time);
| ^~~~
src/esphome/components/nextion/nextion_commands.cpp:223:6: error: variable or field 'set_nextion_rtc_time' declared void
223 | void Nextion::set_nextion_rtc_time(time::ESPTime time) {
| ^~~~~~~
src/esphome/components/nextion/nextion_commands.cpp:223:42: error: 'ESPTime' is not a member of 'esphome::time'; did you mean 'esphome::ESPTime'?
223 | void Nextion::set_nextion_rtc_time(time::ESPTime time) {
| ^~~~~~~
In file included from src/esphome/components/time/real_time_clock.h:8,
from src/esphome/components/nextion/nextion.h:23,
from src/esphome/components/nextion/nextion_commands.cpp:1:
src/esphome/core/time.h:12:8: note: 'esphome::ESPTime' declared here
12 | struct ESPTime {
| ^~~~~~~
*** [.pioenvs/lytko101hall/src/esphome/components/nextion/nextion_commands.cpp.o] Error 1
*** [.pioenvs/lytko101hall/src/esphome/components/nextion/nextion_upload.cpp.o] Error 1
*** [.pioenvs/lytko101hall/src/esphome/components/nextion/nextion.cpp.o] Error 1
========================= [FAILED] Took 13.67 seconds =========================

Esphome lost device and offer adopt new

  • install manual firmware over web interface
  • work ok
  • after some time esphome unable to connect to thermostat but offer to adopt same one
    • image
  • and unbale to adopt
    • image
  • go to first step

Не работает экран

101 v2, на экране крутится лого Lytko

[22:50:23][W][nextion:077]: Nextion is not connected! 
[22:50:23][W][component:214]: Component nextion.display took a long time for an operation (0.10 s).
[22:50:23][W][component:215]: Components should block for at most 20-30ms.
[22:50:23][V][sensor:043]: 'Bathroom Power': Received new state 0.000000
[22:50:23][D][sensor:093]: 'Bathroom Power': Sending state 0.00000 W with 0 decimals of accuracy
[22:50:23][V][sensor:043]: 'Bathroom Energy': Received new state 0.000000
[22:50:23][D][sensor:093]: 'Bathroom Energy': Sending state 0.00000 kWh with 3 decimals of accuracy
[22:50:23][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[22:50:23][V][json:058]: Size after shrink 84 bytes
[22:50:23][V][sensor:043]: 'mains_voltage': Received new state 230.000000
[22:50:23][E][uart:015]: Reading from UART timed out at byte 0!
[22:50:23][W][nextion:077]: Nextion is not connected! 
[22:50:23][W][component:214]: Component nextion.display took a long time for an operation (0.11 s).
[22:50:23][W][component:215]: Components should block for at most 20-30ms.
[22:50:23][V][adc:148]: 'voltage_sensor': Got voltage=0.6572V
[22:50:23][V][sensor:043]: 'voltage_sensor': Received new state 0.657227
[22:50:23][D][sensor:093]: 'voltage_sensor': Sending state 0.65791 V with 2 decimals of accuracy
[22:50:23][D][resistance:039]: 'resistance_sensor' - Resistance 8834.9Ω
[22:50:23][V][sensor:043]: 'resistance_sensor': Received new state 8834.906250
[22:50:23][D][sensor:093]: 'resistance_sensor': Sending state 8834.90625 Ω with 1 decimals of accuracy
[22:50:23][D][ntc:026]: 'Bathroom Temperature' - Temperature: 27.8°C
[22:50:23][V][sensor:043]: 'Bathroom Temperature': Received new state 27.842394
[22:50:24][V][sensor:043]: 'Bathroom Power': Received new state 0.000000
[22:50:24][D][sensor:093]: 'Bathroom Power': Sending state 0.00000 W with 0 decimals of accuracy
[22:50:24][V][sensor:043]: 'Bathroom Energy': Received new state 0.000000
[22:50:24][D][sensor:093]: 'Bathroom Energy': Sending state 0.00000 kWh with 3 decimals of accuracy
[22:50:24][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[22:50:24][V][json:058]: Size after shrink 84 bytes
[22:50:24][V][sensor:043]: 'mains_voltage': Received new state 230.000000
[22:50:24][E][uart:015]: Reading from UART timed out at byte 0!
[22:50:24][W][nextion:077]: Nextion is not connected! 
[22:50:24][W][component:214]: Component nextion.display took a long time for an operation (0.10 s).
[22:50:24][W][component:215]: Components should block for at most 20-30ms.
[22:50:24][E][uart:015]: Reading from UART timed out at byte 0!
[22:50:24][W][nextion:077]: Nextion is not connected! 
[22:50:24][W][component:214]: Component nextion.display took a long time for an operation (0.10 s).
[22:50:24][W][component:215]: Components should block for at most 20-30ms.
[22:50:25][V][adc:148]: 'voltage_sensor': Got voltage=0.6582V
[22:50:25][V][sensor:043]: 'voltage_sensor': Received new state 0.658203
[22:50:25][V][sensor:043]: 'Bathroom Power': Received new state 0.000000
[22:50:25][D][sensor:093]: 'Bathroom Power': Sending state 0.00000 W with 0 decimals of accuracy
[22:50:25][V][sensor:043]: 'Bathroom Energy': Received new state 0.000000
[22:50:25][D][sensor:093]: 'Bathroom Energy': Sending state 0.00000 kWh with 3 decimals of accuracy
[22:50:25][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[22:50:25][V][json:058]: Size after shrink 84 bytes
[22:50:25][V][sensor:043]: 'mains_voltage': Received new state 230.000000
[22:50:25][W][nextion:077]: Nextion is not connected! 
[22:50:25][V][adc:148]: 'voltage_sensor': Got voltage=0.6572V
[22:50:25][V][sensor:043]: 'voltage_sensor': Received new state 0.657227
[22:50:26][E][uart:015]: Reading from UART timed out at byte 0!
[22:50:26][W][nextion:077]: Nextion is not connected! 
[22:50:26][W][component:214]: Component nextion.display took a long time for an operation (0.10 s).
[22:50:26][W][component:215]: Components should block for at most 20-30ms.
[22:50:26][V][sensor:043]: 'Bathroom Power': Received new state 0.000000
[22:50:26][D][sensor:093]: 'Bathroom Power': Sending state 0.00000 W with 0 decimals of accuracy
[22:50:26][V][sensor:043]: 'Bathroom Energy': Received new state 0.000000
[22:50:26][D][sensor:093]: 'Bathroom Energy': Sending state 0.00000 kWh with 3 decimals of accuracy
[22:50:26][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[22:50:26][V][json:058]: Size after shrink 84 bytes
[22:50:26][V][sensor:043]: 'mains_voltage': Received new state 230.000000

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.