8N1 jest faktycznie domyślne dla UART w ESPHome.
W przypadku płytek ESP8266 ze zintegrowanym mostkiem UART-USB bywa różnie z wykorzystaniem sprzętowego portu szeregowego (zależy jaki mostek wlutowano)
Konwertera CIA00485T w ogóle nie znam należałoby sprawdzić jego dokumentację. Ale to chyba jest konstrukcja, która działa (zasugerowałem się grafiką na schemacie, ale w rzeczywistości ten moduł jest zupełnie inny), ale tak mi świta że on jest dedykowany na jakąś konkretną prędkość transmisji ze względu na ten “magiczny układ” generowania kontroli kierunku przepływu danych (i wcale nie jestem przekonany że chodzi o 9600bps, ale poszukaj bo chyba są wątki na forum, gdzie ktoś go używał).
PS grafiki nie hostujemy na zewnątrz - jeśli to możliwe i pliki nie są gigantyczne lepiej wrzucić załącznik do posta.
lakusz
(Lukasz K.)
7 Luty 2024 16:37
104
EOT - problem był w formacie adresu licznika. W liczniku było 0002 (tak jak napisałem), a w ESP 0x2. Zmieniłem na samo 2 i ruszyło. Co ciekawe teraz ponownie wróciłem do 0x2 i nadal działa… Magic
Dzien Dobry
Marcin czy jestes wstanie pomoc?
nie wiem co sie stalo, mialem odczyt przez powiedzmy 4 mce i nagle przestalo czytac zmienilem esp, zmienilem konwerter, wgralem od nowa soft i niestety nic w logach mam takie bledy:
[16:34:12][W][component:214]: Component modbus_controller took a long time for an operation (0.14 s).
[16:34:12][W][component:215]: Components should block for at most 20-30ms.
[16:34:12][C][logger:447]: Logger:
[16:34:12][C][logger:448]: Level: DEBUG
[16:34:13][C][logger:449]: Log Baud Rate: 115200
[16:34:13][C][logger:451]: Hardware UART: UART0
[16:34:13][C][uart.arduino_esp8266:118]: UART Bus:
[16:34:13][C][uart.arduino_esp8266:119]: TX Pin: GPIO1
[16:34:13][C][uart.arduino_esp8266:120]: RX Pin: GPIO3
[16:34:13][C][uart.arduino_esp8266:122]: RX Buffer Size: 256
[16:34:13][C][uart.arduino_esp8266:124]: Baud Rate: 9600 baud
[16:34:13][C][uart.arduino_esp8266:125]: Data Bits: 8
[16:34:13][C][uart.arduino_esp8266:126]: Parity: NONE
[16:34:13][C][uart.arduino_esp8266:127]: Stop bits: 1
[16:34:13][C][uart.arduino_esp8266:129]: Using hardware serial interface.
[16:34:13][W][uart.arduino_esp8266:143]: You're using the same serial port for logging and the UART component. Please disable logging over the serial port by setting logger->baud_rate to 0.
[16:34:14][W][component:214]: Component modbus_controller took a long time for an operation (0.14 s).
[16:34:14][W][component:215]: Components should block for at most 20-30ms.
[16:34:14][C][modbus:143]: Modbus:
[16:34:14][C][modbus:145]: Send Wait Time: 300 ms
[16:34:14][C][modbus:146]: CRC Disabled: NO
[16:34:14][W][modbus_controller:135]: Duplicate modbus command found: type=0x4 address=512 count=3
[16:34:14][W][modbus_controller:135]: Duplicate modbus command found: type=0x4 address=518 count=7
[16:34:14][W][modbus_controller:135]: Duplicate modbus command found: type=0x4 address=533 count=3
[16:34:14][W][modbus_controller:135]: Duplicate modbus command found: type=0x4 address=537 count=1
[16:34:14][W][component:214]: Component modbus_controller took a long time for an operation (0.42 s).
[16:34:14][W][component:215]: Components should block for at most 20-30ms.
[16:34:14][W][component:214]: Component modbus_controller took a long time for an operation (0.14 s).
[16:34:15][W][component:215]: Components should block for at most 20-30ms.
.
.
.
[16:34:15][W][component:214]: Component pulse_counter.sensor took a long time for an operation (0.20 s).
[16:34:16][W][component:215]: Components should block for at most 20-30ms.
[16:34:16][D][modbus_controller:040]: Modbus command to device=1 register=0x200 countdown=0 no response received - removed from send queue
[16:34:16][W][component:214]: Component modbus_controller took a long time for an operation (0.15 s).
[16:34:16][W][component:215]: Components should block for at most 20-30ms.
i tak powtarza sie to caly czas moze ktos mialby jakas porade?
Wyłącz logowanie
I sprawdź jeszcze raz wszystko powoli bo wg błędów masz duplikat instrukcji.
niestety nie wiem jak to zrobic… tzn raz zrobilem ale stracilem dostep do esp
ale zawsze mialem taki sam kod i dzialalo hmm
Wrzuć tu wsad.
I screen z wspólne
oto wsad caly
esphome:
name: esphome-web-56a2a1
friendly_name: ESPHome Web 56a2a1
esp8266:
board: d1_mini
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: ""
ota:
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
manual_ip:
static_ip: 192.168.0.205
gateway: 192.168.0.1
subnet: 255.255.255.0
dns1: 192.168.0.1
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Esphome-Web-56A2A1"
password: "HculUar7NQ7o"
captive_portal:
uart:
id: mod_bus
tx_pin: GPIO1
rx_pin: GPIO3
baud_rate: 9600
stop_bits: 1
modbus:
#flow_control_pin: 23
send_wait_time: 300ms
id: mod_bus_vcx
modbus_controller:
- id: vcx
## the Modbus device addr
address: 0x1
modbus_id: mod_bus_vcx
command_throttle: 300ms
setup_priority: -10
update_interval: 5s
sensor:
- platform: wifi_signal
name: Sygnal WiFi
update_interval: 60s
- platform: pulse_counter
pin: GPIO12
name: "Przepływ wody"
update_interval: 5s
filters:
- lambda: return (x / 26.4) * 60.0;
unit_of_measurement: "L/hr"
- platform: modbus_controller
id: faza_l1_napiecie
name: "Faza L1 napięcie"
state_class: measurement
register_type: read
address: 0x200
unit_of_measurement: "V"
value_type: S_WORD
accuracy_decimals: 2
# skip_updates: 60
filters:
- multiply: 0.1
- platform: modbus_controller
id: faza_l2_napiecie
name: "Faza L2 napięcie"
state_class: measurement
register_type: read
address: 0x201
unit_of_measurement: "V"
value_type: S_WORD
accuracy_decimals: 2
# skip_updates: 60
filters:
- multiply: 0.1
- platform: modbus_controller
id: faza_l3_napiecie
name: "Faza L3 napięcie"
address: 0x202
state_class: measurement
unit_of_measurement: "V"
register_type: read
value_type: S_WORD
accuracy_decimals: 2
# skip_updates: 60
filters:
- multiply: 0.1
- platform: modbus_controller
id: czestotliwosc
name: "Częstotliwość"
register_type: read
state_class: measurement
address: 0x219
unit_of_measurement: "Hz"
value_type: S_WORD
accuracy_decimals: 2
# skip_updates: 60
filters:
- multiply: 0.01
- platform: modbus_controller
id: faza_l1_prad
name: "Faza L1 prąd"
register_type: read
state_class: measurement
address: 0x206
unit_of_measurement: "A"
value_type: S_WORD
accuracy_decimals: 3
# skip_updates: 60
filters:
- multiply: 0.001
- platform: modbus_controller
id: faza_l2_prad
name: "Faza L2 prąd"
register_type: read
state_class: measurement
address: 0x207
unit_of_measurement: "A"
value_type: S_WORD
accuracy_decimals: 3
# skip_updates: 60
filters:
- multiply: 0.001
- platform: modbus_controller
id: faza_l3_prad
name: "Faza L3 prąd"
register_type: read
state_class: measurement
address: 0x208
unit_of_measurement: "A"
value_type: S_WORD
accuracy_decimals: 3
# skip_updates: 60
filters:
- multiply: 0.001
- platform: modbus_controller
id: faza_l1_moc_czynna
name: "Faza L1 moc czynna"
register_type: read
state_class: measurement
address: 0x209
unit_of_measurement: "W"
value_type: S_WORD
# accuracy_decimals: 2
# skip_updates: 60
#filters:
# - multiply: 10
- platform: modbus_controller
id: faza_l2_moc_czynna
name: "Faza L2 moc czynna"
register_type: read
state_class: measurement
address: 0x20A
unit_of_measurement: "W"
value_type: S_WORD
# accuracy_decimals: 2
# skip_updates: 60
#filters:
# - multiply: 10
- platform: modbus_controller
id: faza_l3_moc_czynna
name: "Faza L3 moc czynna"
register_type: read
state_class: measurement
address: 0x20B
unit_of_measurement: "W"
value_type: S_WORD
# accuracy_decimals: 2
# skip_updates: 60
#filters:
# - multiply: 10
- platform: modbus_controller
id: calkowita_moc_czynna
name: "Całkowita moc czynna"
register_type: read
state_class: measurement
address: 0x20C
unit_of_measurement: "kW"
value_type: S_WORD
accuracy_decimals: 3
# skip_updates: 300
filters:
- multiply: 0.001
- platform: modbus_controller
id: moc_czynna_pobrana
name: "Moc czynna pobrana"
register_type: read
icon: mdi:circle-slice-3
device_class: energy
state_class: total_increasing
address: 0x034
unit_of_measurement: "kWh"
value_type: FP32
accuracy_decimals: 1
# skip_updates: 60
# filters:
# - multiply: 0.01
- platform: modbus_controller
id: moc_czynna_oddana
name: "Moc czynna oddana"
register_type: read
icon: mdi:circle-slice-3
device_class: energy
state_class: total_increasing
address: 0x036
unit_of_measurement: "kWh"
value_type: FP32
accuracy_decimals: 1
# skip_updates: 60
# filters:
# - multiply: 0.01
- platform: modbus_controller
id: faza_l1_cos
name: "Faza L1 cosφ"
register_type: read
state_class: measurement
address: 0x215
unit_of_measurement: ""
value_type: S_WORD
accuracy_decimals: 2
# skip_updates: 5
filters:
- multiply: 0.001
- platform: modbus_controller
id: faza_l2_cos
name: "Faza L2 cosφ"
register_type: read
state_class: measurement
address: 0x216
unit_of_measurement: ""
value_type: S_WORD
accuracy_decimals: 2
# skip_updates: 5
filters:
- multiply: 0.001
- platform: modbus_controller
id: faza_l3_cos
name: "Faza L3 cosφ"
register_type: read
state_class: measurement
address: 0x217
unit_of_measurement: ""
value_type: S_WORD
accuracy_decimals: 2
# skip_updates: 5
filters:
- multiply: 0.001
na tym dzialalo jakies 4mce i nagle przestalo
tylko chyba kiedys bylo:
esp8266:
board: esp01_1m
Czy mozliwe ze cos uszkodzilo sie w liczniku czy raczej malo prawdopodobne ??
ja mam tak
logger:
level: DEBUG
baud_rate: 0
uart:
id: mod_bus
tx_pin: D6
rx_pin: D7
baud_rate: 9600
stop_bits: 1
modbus:
#flow_control_pin: 23
send_wait_time: 200ms
id: mod_bus_vcx
modbus_controller:
- id: vcx
## the Modbus device addr
address: 0x1
modbus_id: mod_bus_vcx
command_throttle: 100ms
setup_priority: -10
update_interval: 1s
sensor:
- platform: modbus_controller
id: faza_l1_napiecie
name: "Faza L1 napięcie"
state_class: measurement
register_type: read
address: 0x200
unit_of_measurement: "V"
value_type: S_WORD
accuracy_decimals: 2
# skip_updates: 60
filters:
- multiply: 0.1
- platform: modbus_controller
id: faza_l2_napiecie
name: "Faza L2 napięcie"
state_class: measurement
register_type: read
address: 0x201
unit_of_measurement: "V"
value_type: S_WORD
accuracy_decimals: 2
# skip_updates: 60
filters:
- multiply: 0.1
- platform: modbus_controller
id: faza_l3_napiecie
name: "Faza L3 napięcie"
address: 0x202
state_class: measurement
unit_of_measurement: "V"
register_type: read
value_type: S_WORD
accuracy_decimals: 2
# skip_updates: 60
filters:
- multiply: 0.1
- platform: modbus_controller
id: czestotliwosc
name: "Częstotliwość"
register_type: read
state_class: measurement
address: 0x219
unit_of_measurement: "Hz"
value_type: S_WORD
accuracy_decimals: 2
# skip_updates: 60
filters:
- multiply: 0.01
- platform: modbus_controller
id: faza_l1_prad
name: "Faza L1 prąd"
register_type: read
state_class: measurement
address: 0x206
unit_of_measurement: "A"
value_type: S_WORD
accuracy_decimals: 3
# skip_updates: 60
filters:
- multiply: 0.001
- platform: modbus_controller
id: faza_l2_prad
name: "Faza L2 prąd"
register_type: read
state_class: measurement
address: 0x207
unit_of_measurement: "A"
value_type: S_WORD
accuracy_decimals: 3
# skip_updates: 60
filters:
- multiply: 0.001
- platform: modbus_controller
id: faza_l3_prad
name: "Faza L3 prąd"
register_type: read
state_class: measurement
address: 0x208
unit_of_measurement: "A"
value_type: S_WORD
accuracy_decimals: 3
# skip_updates: 60
filters:
- multiply: 0.001
- platform: modbus_controller
id: faza_l1_moc_czynna
name: "Faza L1 moc czynna"
register_type: read
state_class: measurement
address: 0x209
unit_of_measurement: "W"
value_type: S_WORD
# accuracy_decimals: 2
# skip_updates: 60
#filters:
# - multiply: 10
- platform: modbus_controller
id: faza_l2_moc_czynna
name: "Faza L2 moc czynna"
register_type: read
state_class: measurement
address: 0x20A
unit_of_measurement: "W"
value_type: S_WORD
# accuracy_decimals: 2
# skip_updates: 60
#filters:
# - multiply: 10
- platform: modbus_controller
id: faza_l3_moc_czynna
name: "Faza L3 moc czynna"
register_type: read
state_class: measurement
address: 0x20B
unit_of_measurement: "W"
value_type: S_WORD
# accuracy_decimals: 2
# skip_updates: 60
#filters:
# - multiply: 10
- platform: modbus_controller
id: calkowita_moc_czynna
name: "Całkowita moc czynna"
register_type: read
state_class: measurement
address: 0x20C
unit_of_measurement: "kW"
value_type: S_WORD
accuracy_decimals: 3
# skip_updates: 300
filters:
- multiply: 0.001
- platform: modbus_controller
id: moc_czynna_pobrana
name: "Moc czynna pobrana"
register_type: read
icon: mdi:circle-slice-3
device_class: energy
state_class: total_increasing
address: 0x034
unit_of_measurement: "kWh"
value_type: FP32
accuracy_decimals: 1
skip_updates: 60
# filters:
# - multiply: 0.01
- platform: modbus_controller
id: moc_czynna_oddana
name: "Moc czynna oddana"
register_type: read
icon: mdi:circle-slice-3
device_class: energy
state_class: total_increasing
address: 0x036
unit_of_measurement: "kWh"
value_type: FP32
accuracy_decimals: 1
skip_updates: 60
# filters:
# - multiply: 0.01
- platform: modbus_controller
id: faza_l1_cos
name: "Faza L1 cosφ"
register_type: read
state_class: measurement
address: 0x215
unit_of_measurement: ""
value_type: S_WORD
accuracy_decimals: 2
skip_updates: 5
filters:
- multiply: 0.001
- platform: modbus_controller
id: faza_l2_cos
name: "Faza L2 cosφ"
register_type: read
state_class: measurement
address: 0x216
unit_of_measurement: ""
value_type: S_WORD
accuracy_decimals: 2
skip_updates: 5
filters:
- multiply: 0.001
- platform: modbus_controller
id: faza_l3_cos
name: "Faza L3 cosφ"
register_type: read
state_class: measurement
address: 0x217
unit_of_measurement: ""
value_type: S_WORD
accuracy_decimals: 2
skip_updates: 5
filters:
- multiply: 0.001
macek
4 Marzec 2024 19:07
111
Marcin.KnD:
ja mam tak
Do poprawy zgodnie z Jak prawidłowo zamieszczać YAML, inny kod lub logi w postach na forum , inaczej Twój kod jest “nic” nie warty, próby jego skopiowana i wklejenia są obarczone błędem, nie o to przecież chodzi.
Edit: @Marcin.KnD , dziękuje.
1 polubienie
Wgrane ale w logach:
INFO ESPHome 2024.2.1
INFO Reading configuration /config/esphome/esphome-web-56a2a1.yaml...
INFO Starting log output from 192.168.0.205 using esphome API
INFO Successfully connected to esphome-web-56a2a1 @ 192.168.0.205 in 0.020s
INFO Successful handshake with esphome-web-56a2a1 @ 192.168.0.205 in 2.383s
[20:18:51][I][app:102]: ESPHome version 2024.2.1 compiled on Mar 4 2024, 20:17:52
[20:18:51][C][wifi:577]: WiFi:
[20:18:51][C][wifi:409]: Local MAC: C8:C9:A3:56:A2:A1
[20:18:51][C][wifi:414]: SSID: [redacted]
[20:18:51][C][wifi:415]: IP Address: 192.168.0.205
[20:18:51][C][wifi:416]: BSSID: [redacted]
[20:18:51][C][wifi:418]: Hostname: 'esphome-web-56a2a1'
[20:18:51][C][wifi:420]: Signal strength: -37 dB ▂▄▆█
[20:18:51][C][wifi:424]: Channel: 6
[20:18:51][C][wifi:425]: Subnet: 255.255.255.0
[20:18:51][C][wifi:426]: Gateway: 192.168.0.1
[20:18:51][C][wifi:427]: DNS1: 192.168.0.1
[20:18:51][C][wifi:428]: DNS2: 0.0.0.0
[20:18:51][C][logger:447]: Logger:
[20:18:51][C][logger:448]: Level: DEBUG
[20:18:51][C][logger:449]: Log Baud Rate: 0
[20:18:51][C][logger:451]: Hardware UART: UART0
[20:18:51][C][uart.arduino_esp8266:118]: UART Bus:
[20:18:51][C][uart.arduino_esp8266:119]: TX Pin: GPIO1
[20:18:51][C][uart.arduino_esp8266:120]: RX Pin: GPIO3
[20:18:51][C][uart.arduino_esp8266:122]: RX Buffer Size: 256
[20:18:51][C][uart.arduino_esp8266:124]: Baud Rate: 9600 baud
[20:18:51][C][uart.arduino_esp8266:125]: Data Bits: 8
[20:18:51][C][uart.arduino_esp8266:126]: Parity: NONE
[20:18:51][C][uart.arduino_esp8266:127]: Stop bits: 1
[20:18:51][C][uart.arduino_esp8266:129]: Using hardware serial interface.
[20:18:51][C][modbus:143]: Modbus:
[20:18:51][C][modbus:145]: Send Wait Time: 200 ms
[20:18:51][C][modbus:146]: CRC Disabled: NO
[20:18:51][C][pulse_counter:160]: Pulse Counter 'Przepływ wody'
[20:18:51][C][pulse_counter:160]: State Class: 'measurement'
[20:18:51][C][pulse_counter:160]: Unit of Measurement: 'L/hr'
[20:18:51][C][pulse_counter:160]: Accuracy Decimals: 2
[20:18:51][C][pulse_counter:160]: Icon: 'mdi:pulse'
[20:18:51][C][pulse_counter:161]: Pin: GPIO12
[20:18:51][C][pulse_counter:162]: Rising Edge: INCREMENT
[20:18:51][C][pulse_counter:163]: Falling Edge: DISABLE
[20:18:51][C][pulse_counter:164]: Filtering pulses shorter than 13 µs
[20:18:51][C][pulse_counter:165]: Update Interval: 5.0s
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'Faza L1 napięcie'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor State Class: 'measurement'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor Unit of Measurement: 'V'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor Accuracy Decimals: 2
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'Faza L2 napięcie'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor State Class: 'measurement'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor Unit of Measurement: 'V'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor Accuracy Decimals: 2
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'Faza L3 napięcie'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor State Class: 'measurement'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor Unit of Measurement: 'V'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor Accuracy Decimals: 2
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'Częstotliwość'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor State Class: 'measurement'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor Unit of Measurement: 'Hz'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor Accuracy Decimals: 2
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'Faza L1 prąd'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor State Class: 'measurement'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor Unit of Measurement: 'A'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor Accuracy Decimals: 3
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'Faza L2 prąd'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor State Class: 'measurement'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor Unit of Measurement: 'A'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor Accuracy Decimals: 3
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'Faza L3 prąd'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor State Class: 'measurement'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor Unit of Measurement: 'A'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor Accuracy Decimals: 3
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'Faza L1 moc czynna'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor State Class: 'measurement'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor Unit of Measurement: 'W'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor Accuracy Decimals: 0
[20:18:51][W][modbus_controller:135]: Duplicate modbus command found: type=0x4 address=518 count=7
[20:18:51][W][modbus_controller:135]: Duplicate modbus command found: type=0x4 address=537 count=1
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'Faza L2 moc czynna'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor State Class: 'measurement'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor Unit of Measurement: 'W'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor Accuracy Decimals: 0
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'Faza L3 moc czynna'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor State Class: 'measurement'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor Unit of Measurement: 'W'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor Accuracy Decimals: 0
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'Całkowita moc czynna'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor State Class: 'measurement'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor Unit of Measurement: 'kW'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor Accuracy Decimals: 3
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'Moc czynna pobrana'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor Device Class: 'energy'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor State Class: 'total_increasing'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor Unit of Measurement: 'kWh'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor Accuracy Decimals: 1
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor Icon: 'mdi:circle-slice-3'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'Moc czynna oddana'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor Device Class: 'energy'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor State Class: 'total_increasing'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor Unit of Measurement: 'kWh'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor Accuracy Decimals: 1
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor Icon: 'mdi:circle-slice-3'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'Faza L1 cosφ'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor State Class: 'measurement'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor Unit of Measurement: ''
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor Accuracy Decimals: 2
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'Faza L2 cosφ'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor State Class: 'measurement'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor Unit of Measurement: ''
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor Accuracy Decimals: 2
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'Faza L3 cosφ'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor State Class: 'measurement'
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor Unit of Measurement: ''
[20:18:51][C][modbus_controller.sensor:010]: modbus_controller.sensor Accuracy Decimals: 2
[20:18:51][C][captive_portal:088]: Captive Portal:
[20:18:51][C][mdns:115]: mDNS:
[20:18:51][C][mdns:116]: Hostname: esphome-web-56a2a1
[20:18:51][C][ota:096]: Over-The-Air Updates:
[20:18:51][C][ota:097]: Address: 192.168.0.205:8266
[20:18:51][C][ota:103]: OTA version: 2.
[20:18:51][C][api:139]: API Server:
[20:18:51][C][api:140]: Address: 192.168.0.205:6053
[20:18:51][C][api:142]: Using noise encryption: YES
[20:18:51][D][modbus_controller:040]: Modbus command to device=1 register=0x206 countdown=0 no response received - removed from send queue
[20:18:51][C][wifi_signal.sensor:009]: WiFi Signal 'Sygnal WiFi'
[20:18:51][C][wifi_signal.sensor:009]: Device Class: 'signal_strength'
[20:18:51][C][wifi_signal.sensor:009]: State Class: 'measurement'
[20:18:51][C][wifi_signal.sensor:009]: Unit of Measurement: 'dBm'
[20:18:51][C][wifi_signal.sensor:009]: Accuracy Decimals: 0
[20:18:51][C][modbus_controller:298]: ModbusController:
[20:18:51][C][modbus_controller:299]: Address: 0x01
[20:18:52][W][modbus_controller:135]: Duplicate modbus command found: type=0x4 address=512 count=3
[20:18:52][W][modbus_controller:135]: Duplicate modbus command found: type=0x4 address=537 count=1
[20:18:52][D][modbus_controller:040]: Modbus command to device=1 register=0x215 countdown=0 no response received - removed from send queue
[20:18:53][W][modbus_controller:135]: Duplicate modbus command found: type=0x4 address=512 count=3
[20:18:53][W][modbus_controller:135]: Duplicate modbus command found: type=0x4 address=518 count=7
[20:18:53][W][modbus_controller:135]: Duplicate modbus command found: type=0x4 address=537 count=1
[20:18:53][D][modbus_controller:040]: Modbus command to device=1 register=0x219 countdown=0 no response received - removed from send queue
[20:18:53][D][pulse_counter:174]: 'Przepływ wody': Retrieved counter: 841.68 pulses/min
[20:18:53][D][sensor:093]: 'Przepływ wody': Sending state 1912.91675 L/hr with 2 decimals of accuracy
[20:18:54][W][modbus_controller:135]: Duplicate modbus command found: type=0x4 address=512 count=3
[20:18:54][W][modbus_controller:135]: Duplicate modbus command found: type=0x4 address=518 count=7
[20:18:55][D][modbus_controller:040]: Modbus command to device=1 register=0x200 countdown=0 no response received - removed from send queue
[20:18:55][W][modbus_controller:135]: Duplicate modbus command found: type=0x4 address=518 count=7
[20:18:55][W][modbus_controller:135]: Duplicate modbus command found: type=0x4 address=537 count=1
[20:18:56][D][modbus_controller:040]: Modbus command to device=1 register=0x206 countdown=0 no response received - removed from send queue
[20:18:56][W][modbus_controller:135]: Duplicate modbus command found: type=0x4 address=512 count=3
[20:18:56][W][modbus_controller:135]: Duplicate modbus command found: type=0x4 address=537 count=1
[20:18:57][D][modbus_controller:040]: Modbus command to device=1 register=0x219 countdown=0 no response received - removed from send queue
[20:18:57][W][modbus_controller:135]: Duplicate modbus command found: type=0x4 address=512 count=3
[20:18:57][W][modbus_controller:135]: Duplicate modbus command found: type=0x4 address=518 count=7
[20:18:58][W][modbus_controller:135]: Duplicate modbus command found: type=0x4 address=512 count=3
[20:18:58][W][modbus_controller:135]: Duplicate modbus command found: type=0x4 address=518 count=7
[20:18:58][W][modbus_controller:135]: Duplicate modbus command found: type=0x4 address=537 count=1
RobinI30
(RobinI30)
4 Marzec 2024 19:37
113
To wskazuje na brak transmisji po stronie RS485, pozostałe logi to tylko konsekwencja braku transmisji.
no wlasnie, konwerter zmieniony, esp tez, czyzby licznik padl…?
RobinI30
(RobinI30)
4 Marzec 2024 19:44
115
Sprawdź najpierw czy ustawienia w liczniku się z jakiegoś powodu nie zmieniły.
Zmierz w liczniku napięcie na zaciskach RS bez podłączonej linii.
ustawienia juz sprawdzilem wszystko ok.
napiecia nie sprawdzalem na AB
RobinI30
(RobinI30)
4 Marzec 2024 19:57
117
Usterkę w samym liczniku trudno będzie potwierdzić ponieważ licznik sam z siebie nic nie nadaje.
Potrzebny byłby konwerter RS485 i terminal aby zobaczyć co na linii lata.
na stronie VCX był program do tego licznika, wystarczy to co masz i prosty UART, jeli się połączysz to coś masz skopane
Sprawdzilem napiecie, 4.65V
RobinI30
(RobinI30)
5 Marzec 2024 07:01
121
Przy tym poziomie trudno powiedzieć, od strony linii jest ok ale układ może nie działać z innych powodów.
angler
(Cezary.K)
5 Marzec 2024 08:11
122
Proponuję rozłączyć magistralę i sprawdzić miernikiem ciągłość przewodów, rezystancję między żyłami itd.