anatoly-savchenkov / lytko-configs Goto Github PK
View Code? Open in Web Editor NEWESPHome configs for Lytko devices
License: MIT License
ESPHome configs for Lytko devices
License: MIT License
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.
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 =========================
No such instructions right now
I'm unable found http://IP/manual_update without working web interface of factory firmware, but it depends on external server
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.