Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESPHome is broken, api rest and disconnect devices pi pico w after Home Assistant 2023.5.0 core update #92432

Closed
freddiemare opened this issue May 3, 2023 · 15 comments · Fixed by #92537

Comments

@freddiemare
Copy link

freddiemare commented May 3, 2023

The problem

All esphome devices react unespectedly strange after core update.
Some don't connect and some sit in a state of connection but data is all corrupted seems like.
Complet system unusable at this point. You have all telemetry to my data for your use to debug if need be.

What version of Home Assistant Core has the issue?

core_2023.4.6

What was the last working version of Home Assistant Core?

core 2023.5.0

What type of installation are you running?

Home Assistant Core

Integration causing the issue

ESPHome

Link to integration documentation on our website

No response

Diagnostics information

API continuously disconnecting nodes pi pico w's

Example YAML snippet

Later no power now.

Anything in the logs that might be useful for us?

[01:36:36][W][api.connection:085]: Home Assistant 2023.5.0 (192.168.2.140): Connection reset

[01:36:40][W][api.connection:087]: Home Assistant 2023.5.0 (192.168.2.140): Connection closed
[01:36:40][D][api:102]: Accepted 
[01:36:40][W][api.connection:047]: : Helper init failed: TCP_NONBLOCKING_FAILED errno=104

WARNING 192.168.2.135: Connection error occurred: Ping response not received after 90.0 seconds
INFO Processing unexpected disconnect from ESPHome API for 192.168.2.135
WARNING Disconnected from API
WARNING Can't connect to ESPHome API for 192.168.2.135: Error connecting to ('192.168.2.135', 6053): [Errno 113] Connect call failed ('192.168.2.135', 6053)
INFO Trying to reconnect to 192.168.2.135 in the background

Additional information

It got to do with Timers in esphome.
I removed time: and all code related to timers for example emonlib then the devices become live again.

Forgive me since my pc is switched off now and sit in load shedding in South Africa ( no electricity for hours to come ) and post this via my phone. I will add more detail later.

@freddiemare freddiemare changed the title ESPHome is broken devices not connecting pi pico w after .5 core update ESPHome is broken devices not connecting pi pico w after Home Assistant 2023.5.0 core update May 3, 2023
@freddiemare
Copy link
Author

Second device also do the same

[01:37:37][W][api.connection:087]: Home Assistant 2023.5.0 (192.168.2.140): Connection closed

[01:38:00][W][api.connection:087]: Home Assistant 2023.5.0 (192.168.2.140): Connection closed
[01:38:00][D][api:102]: Accepted 192.168.2.140
WARNING 192.168.2.139: Connection error occurred: [Errno 104] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for 192.168.2.139
WARNING Disconnected from API
INFO Successfully connected to 192.168.2.139

@freddiemare freddiemare changed the title ESPHome is broken devices not connecting pi pico w after Home Assistant 2023.5.0 core update ESPHome is broken, api rest and disconnect devices pi pico w after Home Assistant 2023.5.0 core update May 3, 2023
@botfixer
Copy link

botfixer commented May 4, 2023

Same here. No Entities available.

But all ESPs in dashboard are online and i can see ESP Logs.

Some logs from HA attached

home-assistant_2023-05-04T15-19-48.076Z.log

@freddiemare
Copy link
Author

Ok, I worked out something related to timers.
I have three devices that make use of time: in two of them, I actually use time: on an OLED display they seem to work ok but were always restarting quite a bit but got used to it, but the other one I did not use the time: and this is the one that just gave me so much trouble since it is my electric generator for my home. immediately after the upgrade it just stopped working. All I did now is to remove the time: and install it manually onto pi pico w and everything works just fine now.

on the other hand, the unit I use to operate my switchover in my DB also failed but there I measure the mains voltage with EmonLib.h thus render my power measurement useless.

So no timers and obviously for me no power besides the fact that I have to live with load-shedding E.G. ( zero electricity )
You can read up on Eskom you will understand the drama I have to live with all this great tech we have but no internet no power and no water and so on and so on

Thanks, guys if you can look at what happened with timers in the last Home Assistant 2023.5.0 core update it totally broke esphome.

@home-assistant
Copy link

home-assistant bot commented May 4, 2023

Hey there @OttoWinter, @jesserockz, mind taking a look at this issue as it has been labeled with an integration (esphome) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of esphome can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign esphome Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


esphome documentation
esphome source
(message by IssueLinks)

@bdraco
Copy link
Member

bdraco commented May 4, 2023

Same here. No Entities available.

But all ESPs in dashboard are online and i can see ESP Logs.

Some logs from HA attached

home-assistant_2023-05-04T15-19-48.076Z.log

It looks like something is reloading your esphome config entries in the middle of them being setup

@bdraco
Copy link
Member

bdraco commented May 4, 2023

It looks like the dashboard reloads all the loaded esphome devices whenasync_set_dashboard_info is called

@bdraco
Copy link
Member

bdraco commented May 4, 2023

thats not a new change though #86174

@bdraco
Copy link
Member

bdraco commented May 4, 2023

I think we can get rid of the reloads

@bdraco
Copy link
Member

bdraco commented May 4, 2023

Looks like we can't get rid of the reloads

@bdraco
Copy link
Member

bdraco commented May 4, 2023

So what happens is the dashboard gets initialized and it reloads the config entries. But since they are still doing the handshake with the esphome devices and it tries to tear down the connection everything fails

2023-05-04 17:15:47.679 ERROR (MainThread) [homeassistant.config_entries] Error unloading entry Raumsensor BT2-1OG, interne IT for esphome
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 543, in async_unload
    result = await component.async_unload_entry(hass, self)
  File "/usr/src/homeassistant/homeassistant/components/esphome/__init__.py", line 647, in async_unload_entry
    entry_data = await _cleanup_instance(hass, entry)
  File "/usr/src/homeassistant/homeassistant/components/esphome/__init__.py", line 641, in _cleanup_instance
    await data.client.disconnect()
  File "/usr/local/lib/python3.10/site-packages/aioesphomeapi/client.py", line 298, in disconnect
    await self._connection.disconnect()
  File "/usr/local/lib/python3.10/site-packages/aioesphomeapi/connection.py", line 709, in disconnect
    await self.send_message_await_response(
  File "/usr/local/lib/python3.10/site-packages/aioesphomeapi/connection.py", line 606, in send_message_await_response
    res = await self.send_message_await_response_complex(
  File "/usr/local/lib/python3.10/site-packages/aioesphomeapi/connection.py", line 587, in send_message_await_response_complex
    self.send_message(send_msg)
  File "/usr/local/lib/python3.10/site-packages/aioesphomeapi/connection.py", line 499, in send_message
    frame_helper.write_packet(message_type, encoded)
  File "/usr/local/lib/python3.10/site-packages/aioesphomeapi/_frame_helper.py", line 348, in write_packet
    self._proto.encrypt(
  File "/usr/local/lib/python3.10/site-packages/noise/connection.py", line 132, in encrypt
    raise NoiseHandshakeError('Handshake not finished yet!')
noise.exceptions.NoiseHandshakeError: Handshake not finished yet!

@bdraco
Copy link
Member

bdraco commented May 4, 2023

alternate solution esphome/aioesphomeapi#428

@freddiemare
Copy link
Author

freddiemare commented May 4, 2023

Here is a screenshot of my uptime and wifi signal percentage. you will see what happened on the 4th of May when I did the upgrade to 2023.5.0 core.
I do think most of this has to do with timers on the pi pico w.

yaml:
logger:
level: DEBUG #VERBOSE

api:
reboot_timeout: 0s

Multipul Networks

wifi:
reboot_timeout: 0s
output_power: 20db
power_save_mode: none

At 90% wifi Signal the pi pico w device constantly disconnects from the API and loos the wifi connection thus rendering the pi pico w to reboot permanently and in turn switch off all Outputs in the process and have to restart everything, very few times I find it stays connected for longer periods.

This happens on all my pi pico w devices even before the update to 2023.5.0 core. I do install all updates to test and see the results. anyone is welcome to ask questions regarding the system I'm running.

image

balloob pushed a commit that referenced this issue May 5, 2023
@botfixer
Copy link

botfixer commented May 5, 2023

hm, issue closed?

Does that mean that everthing is fine in 2023.5.1?

I try today but all esphome entities still not availbale,

@botfixer
Copy link

botfixer commented May 5, 2023

when i delete one esp from the integration and re-add it, everthing is fine. When i restart HA or the whole system, the entities are gone again.

CoMPaTech pushed a commit to plugwise/home-assistant.core that referenced this issue May 5, 2023
balloob pushed a commit that referenced this issue May 5, 2023
@freddiemare
Copy link
Author

Im testing today and still have a hard time with emonlib and time: when I enable any one of the two integrations I still experience the same after updating to 2023.5.2 I also try using different approaches like compiling with esphome, esphome(dev), and esphome (beta) and my results is still the same as before.
The moment I include time: then the device pi pico w struggled to connect on reboot, one new thing I noted that did change is that the UI now flickers active and disconnected as before the UI just stayed disconnected for some time when in the events I can see that the device struggle to connect when the device booted up

Note after all the failures the device miraculously stays connected for over 2 to 4 hours at a time, but I do not dare touch time: or emonlib. then it will never connect I have to manually upload any new changes wia wifi is not possible then.

If there is any other suggestion I can use instead of emonlib I will try that gladly I do know that emon lib is resource hungry
I have tested also zmpt101b_custom_sensor but I can only read voltage unless I Frankenstein the code to accommodate current and also to be able to read PF and whats RMS values. but at this point, I can't use any resource busy code else the device will stop communicating before the updates, all were working just fine not perfect but was working.

Here is my log.

INFO Reading configuration /config/esphome/plot35generator01.yaml...
INFO Starting log output from 192.168.2.135 using esphome API
WARNING Can't connect to ESPHome API for 192.168.2.135: Hello timed out
WARNING 192.168.2.135: Connection error occurred: Connection lost
INFO Trying to reconnect to 192.168.2.135 in the background
INFO Successfully connected to 192.168.2.135
[10:03:59][I][app:102]: ESPHome version 2023.4.4 compiled on May 6 2023, 06:54:15
[10:03:59][I][app:104]: Project plot35.Gen01 version 1.0.1
[10:03:59][C][wifi:505]: WiFi:
[10:03:59][C][wifi:363]: Local MAC: 28:CD:C1:05:39:76
[10:03:59][C][wifi:364]: SSID: [redacted]
[10:03:59][C][wifi:365]: IP Address: 192.168.2.135
[10:03:59][C][wifi:366]: BSSID: [redacted]
[10:03:59][C][wifi:368]: Hostname: 'plot35generator01'
[10:03:59][C][wifi:370]: Signal strength: -59 dB ▂▄▆█
[10:03:59][C][wifi:374]: Channel: 6
[10:03:59][C][wifi:375]: Subnet: 255.255.255.0
[10:03:59][C][wifi:376]: Gateway: 192.168.2.1
[10:03:59][C][wifi:377]: DNS1: 192.168.2.1
[10:03:59][C][wifi:378]: DNS2: 0.0.0.0
[10:03:59][C][logger:294]: Logger:
[10:03:59][C][logger:295]: Level: DEBUG
[10:03:59][C][logger:296]: Log Baud Rate: 115200
[10:03:59][C][logger:297]: Hardware UART: USB_CDC
[10:03:59][C][spi:101]: SPI bus:
[10:03:59][C][spi:102]: CLK Pin: GPIO18
[10:03:59][C][spi:103]: MISO Pin: GPIO16
[10:03:59][C][spi:106]: Using HW SPI: NO
[10:03:59][C][gpio.output:010]: GPIO Binary Output:
[10:03:59][C][gpio.output:011]: Pin: GPIO32
[10:03:59][C][gpio.output:010]: GPIO Binary Output:
[10:03:59][C][gpio.output:011]: Pin: GPIO15
[10:03:59][C][gpio.output:012]: Inverted: YES
[10:03:59][C][gpio.output:010]: GPIO Binary Output:
[10:03:59][C][gpio.output:011]: Pin: GPIO14
[10:03:59][C][gpio.output:012]: Inverted: YES
[10:03:59][C][gpio.output:010]: GPIO Binary Output:
[10:03:59][C][gpio.output:011]: Pin: GPIO13
[10:03:59][C][gpio.output:012]: Inverted: YES
[10:03:59][C][template.binary_sensor:018]: Template Binary Sensor 'Gen01 Conncted'
[10:03:59][C][gpio.binary_sensor:015]: GPIO Binary Sensor 'Gen01 Stoping'
[10:03:59][C][gpio.binary_sensor:016]: Pin: GPIO10
[10:03:59][C][gpio.binary_sensor:015]: GPIO Binary Sensor 'Gen01 Starting'
[10:03:59][C][gpio.binary_sensor:016]: Pin: GPIO9
[10:03:59][C][gpio.binary_sensor:015]: GPIO Binary Sensor 'Gen01 Running'
[10:03:59][C][gpio.binary_sensor:016]: Pin: GPIO8
[10:03:59][C][gpio.binary_sensor:015]: GPIO Binary Sensor 'Gen01 Overload'
[10:03:59][C][gpio.binary_sensor:016]: Pin: GPIO7
[10:03:59][C][gpio.binary_sensor:015]: GPIO Binary Sensor 'Gen01 Low Oil'
[10:03:59][C][gpio.binary_sensor:016]: Pin: GPIO6
[10:03:59][C][template.binary_sensor:018]: Template Binary Sensor 'Gen01 Idle'
[10:03:59][C][template.binary_sensor:018]: Template Binary Sensor 'Gen01 On'
[10:03:59][C][template.binary_sensor:018]: Template Binary Sensor 'Gen01 Start'
[10:03:59][C][template.binary_sensor:018]: Template Binary Sensor 'Gen01 Stop'
[10:03:59][C][template.binary_sensor:018]: Template Binary Sensor 'Gen01 Bat Charging'
[10:03:59][C][uptime.sensor:031]: Uptime Sensor 'Gen01 Uptime'
[10:03:59][C][uptime.sensor:031]: Device Class: 'duration'
[10:03:59][C][uptime.sensor:031]: State Class: 'total_increasing'
[10:03:59][C][uptime.sensor:031]: Unit of Measurement: 's'
[10:03:59][C][uptime.sensor:031]: Accuracy Decimals: 0
[10:03:59][C][uptime.sensor:031]: Icon: 'mdi:timer-outline'
[10:03:59][C][template.sensor:023]: Template Sensor 'Gen01 Battery Voltage'
[10:03:59][C][template.sensor:023]: Device Class: 'voltage'
[10:03:59][C][template.sensor:023]: State Class: 'measurement'
[10:03:59][C][template.sensor:023]: Unit of Measurement: 'V'
[10:03:59][C][template.sensor:023]: Accuracy Decimals: 1
[10:03:59][C][template.sensor:024]: Update Interval: 10.0s
[10:03:59][C][template.sensor:023]: Template Sensor 'Gen01 Fuel Level'
[10:03:59][C][template.sensor:023]: Device Class: 'volume'
[10:03:59][C][template.sensor:023]: State Class: 'measurement'
[10:03:59][C][template.sensor:023]: Unit of Measurement: 'L'
[10:03:59][C][template.sensor:023]: Accuracy Decimals: 1
[10:03:59][C][template.sensor:023]: Icon: 'mdi:gas-station'
[10:03:59][C][template.sensor:024]: Update Interval: 10.0s
[10:03:59][C][template.sensor:023]: Template Sensor 'Gen01 Flow Rate'
[10:03:59][C][template.sensor:023]: Device Class: 'volume'
[10:03:59][C][template.sensor:023]: State Class: 'measurement'
[10:03:59][C][template.sensor:023]: Unit of Measurement: 'L/s'
[10:03:59][C][template.sensor:023]: Accuracy Decimals: 1
[10:03:59][C][template.sensor:024]: Update Interval: 10.0s
[10:03:59][C][output.switch:075]: Output Switch 'Gen01 Board LED'
[10:03:59][C][output.switch:097]: Restore Mode: always OFF
[10:03:59][C][output.switch:075]: Output Switch 'Gen01 Idle Switch'
[10:03:59][C][output.switch:097]: Restore Mode: always OFF
[10:03:59][C][output.switch:075]: Output Switch 'Gen01 Start Switch'
[10:03:59][C][output.switch:097]: Restore Mode: always OFF
[10:03:59][C][output.switch:075]: Output Switch 'Gen01 Stop Switch'
[10:03:59][C][output.switch:097]: Restore Mode: always OFF
[10:03:59][C][output.switch:075]: Output Switch 'Gen01 On Switch'
[10:03:59][C][output.switch:097]: Restore Mode: always OFF
[10:03:59][C][restart:075]: Restart Switch 'Gen01 Restart'
[10:03:59][C][restart:077]: Icon: 'mdi:restart'
[10:03:59][C][restart:097]: Restore Mode: always OFF
[10:03:59][C][wifi_info:013]: WifiInfo Mac Address 'Gen01 Mac Wifi Address'
[10:03:59][C][adc:087]: ADC Sensor 'Gen01 Raw Battery Voltage'
[10:03:59][C][adc:087]: Device Class: 'voltage'
[10:03:59][C][adc:087]: State Class: 'measurement'
[10:03:59][C][adc:087]: Unit of Measurement: 'V'
[10:03:59][C][adc:087]: Accuracy Decimals: 3
[10:03:59][C][adc:087]: Icon: 'mdi:car-battery'
[10:03:59][C][adc:123]: Pin: GPIO28
[10:03:59][C][adc:126]: Update Interval: 0.5s
[10:03:59][C][adc:087]: ADC Sensor 'Gen01 Raw Fuel Level'
[10:03:59][C][adc:087]: Device Class: 'voltage'
[10:03:59][C][adc:087]: State Class: 'measurement'
[10:03:59][C][adc:087]: Unit of Measurement: 'V'
[10:03:59][C][adc:087]: Accuracy Decimals: 3
[10:03:59][C][adc:123]: Pin: GPIO26
[10:03:59][C][adc:126]: Update Interval: 0.5s
[10:03:59][C][max6675:025]: MAX6675 'Gen01 Engine Temperature'
[10:03:59][C][max6675:025]: Device Class: 'temperature'
[10:03:59][C][max6675:025]: State Class: 'measurement'
[10:03:59][C][max6675:025]: Unit of Measurement: '°C'
[10:03:59][C][max6675:025]: Accuracy Decimals: 1
[10:03:59][C][max6675:026]: CS Pin: GPIO19
[10:03:59][C][max6675:027]: Update Interval: 30.0s
[10:03:59][C][max6675:025]: MAX6675 'Gen01 Alternator Temperature'
[10:03:59][C][max6675:025]: Device Class: 'temperature'
[10:03:59][C][max6675:025]: State Class: 'measurement'
[10:03:59][C][max6675:025]: Unit of Measurement: '°C'
[10:03:59][C][max6675:025]: Accuracy Decimals: 1
[10:03:59][C][max6675:026]: CS Pin: GPIO20
[10:03:59][C][max6675:027]: Update Interval: 30.0s
[10:03:59][C][max6675:025]: MAX6675 'Gen01 Inverter Temperature'
[10:03:59][C][max6675:025]: Device Class: 'temperature'
[10:03:59][C][max6675:025]: State Class: 'measurement'
[10:03:59][C][max6675:025]: Unit of Measurement: '°C'
[10:03:59][C][max6675:025]: Accuracy Decimals: 1
[10:03:59][C][max6675:026]: CS Pin: GPIO21
[10:03:59][C][max6675:027]: Update Interval: 30.0s
[10:03:59][C][copy.sensor:015]: Copy Sensor 'Gen01 WiFi Signal Percent'
[10:03:59][C][copy.sensor:015]: Device Class: 'signal_strength'
[10:03:59][C][copy.sensor:015]: State Class: 'measurement'
[10:03:59][C][copy.sensor:015]: Unit of Measurement: '%'
[10:03:59][C][copy.sensor:015]: Accuracy Decimals: 0
[10:03:59][C][copy.sensor:015]: Icon: 'mdi:wifi-strength-alert-outline'
[10:03:59][C][status:034]: Status Binary Sensor 'Gen01 Connection Status'
[10:03:59][C][status:034]: Device Class: 'connectivity'
[10:03:59][C][mdns:108]: mDNS:
[10:03:59][C][mdns:109]: Hostname: plot35generator01
[10:03:59][C][ota:093]: Over-The-Air Updates:
[10:03:59][C][ota:094]: Address: 192.168.2.135:2040
[10:03:59][C][ota:097]: Using Password.
[10:03:59][C][api:138]: API Server:
[10:03:59][C][api:139]: Address: 192.168.2.135:6053
[10:03:59][C][api:143]: Using noise encryption: NO
[10:03:59][C][wifi_info:009]: WifiInfo IPAddress 'Gen01 IP Address'
[10:03:59][C][wifi_info:011]: WifiInfo SSID 'Gen01 Connected SSID'
[10:03:59][C][wifi_info:012]: WifiInfo BSSID 'Gen01 Connected BSSID'
[10:03:59][C][wifi_info:010]: WifiInfo Scan Results 'Gen01 Latest Scan Results'
[10:03:59][C][wifi_signal.sensor:009]: WiFi Signal 'Gen01 WiFi Signal dB'
[10:03:59][C][wifi_signal.sensor:009]: Device Class: 'signal_strength'
[10:03:59][C][wifi_signal.sensor:009]: State Class: 'measurement'
[10:03:59][C][wifi_signal.sensor:009]: Unit of Measurement: 'dB'
[10:03:59][C][wifi_signal.sensor:009]: Accuracy Decimals: 0
[10:03:59][C][wifi_signal.sensor:009]: Icon: 'mdi:wifi-strength-alert-outline'
[10:04:01][D][sensor:109]: 'Gen01 Raw Battery Voltage': Sending state 2.33401 V with 3 decimals of accuracy
[10:04:01][D][sensor:109]: 'Gen01 Battery Voltage': Sending state 13.39311 V with 1 decimals of accuracy
[10:04:02][D][sensor:109]: 'Gen01 WiFi Signal dB': Sending state -61.00000 dB with 0 decimals of accuracy
[10:04:02][D][sensor:109]: 'Gen01 WiFi Signal Percent': Sending state 78.00000 % with 0 decimals of accuracy
[10:04:02][D][sensor:109]: 'Gen01 Raw Fuel Level': Sending state 1.05866 V with 3 decimals of accuracy
[10:04:02][D][sensor:109]: 'Gen01 Fuel Level': Sending state 10.51617 L with 1 decimals of accuracy
[10:04:02][D][sensor:109]: 'Gen01 Battery Voltage': Sending state 13.39311 V with 1 decimals of accuracy
[10:04:02][D][api:102]: Accepted 192.168.2.140
[10:04:02][D][api.connection:961]: Home Assistant 2023.5.2 (192.168.2.140): Connected successfully
[10:04:03][W][api.connection:085]: Home Assistant 2023.5.2 (192.168.2.140): Connection reset
[10:04:03][D][api:102]: Accepted 192.168.2.140
[10:04:03][D][api.connection:961]: Home Assistant 2023.5.2 (192.168.2.140): Connected successfully
[10:04:04][W][api.connection:085]: Home Assistant 2023.5.2 (192.168.2.140): Connection reset
[10:04:04][D][api:102]: Accepted 192.168.2.140
[10:04:04][D][api.connection:961]: Home Assistant 2023.5.2 (192.168.2.140): Connected successfully
[10:04:05][W][api.connection:087]: Home Assistant 2023.5.2 (192.168.2.140): Connection closed
WARNING 192.168.2.135: Connection error occurred: [Errno 104] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for 192.168.2.135
WARNING Disconnected from API
INFO Successfully connected to 192.168.2.135
[10:04:20][D][api:102]: Accepted 192.168.2.140
[10:04:21][D][api.connection:961]: Home Assistant 2023.5.2 (192.168.2.140): Connected successfully
[10:04:21][D][sensor:109]: 'Gen01 WiFi Signal dB': Sending state -63.00000 dB with 0 decimals of accuracy
[10:04:21][D][sensor:109]: 'Gen01 WiFi Signal Percent': Sending state 74.00000 % with 0 decimals of accuracy
[10:04:22][D][api:102]: Accepted 192.168.2.140
[10:04:22][W][api.connection:087]: Home Assistant 2023.5.2 (192.168.2.140): Connection closed
[10:04:23][D][api.connection:961]: Home Assistant 2023.5.2 (192.168.2.140): Connected successfully
[10:04:23][D][sensor:109]: 'Gen01 Flow Rate': Sending state inf L/s with 1 decimals of accuracy
[10:04:23][D][sensor:109]: 'Gen01 Raw Fuel Level': Sending state 1.05866 V with 3 decimals of accuracy
[10:04:23][D][sensor:109]: 'Gen01 Fuel Level': Sending state 10.51617 L with 1 decimals of accuracy
[10:04:23][D][sensor:109]: 'Gen01 Raw Battery Voltage': Sending state 2.32971 V with 3 decimals of accuracy
[10:04:23][D][sensor:109]: 'Gen01 Battery Voltage': Sending state 13.36848 V with 1 decimals of accuracy
[10:04:24][W][api.connection:087]: Home Assistant 2023.5.2 (192.168.2.140): Connection closed
WARNING 192.168.2.135: Connection error occurred: [Errno 104] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for 192.168.2.135
WARNING Disconnected from API
INFO Successfully connected to 192.168.2.135
[10:04:39][D][api:102]: Accepted 192.168.2.140
[10:04:39][D][api.connection:961]: Home Assistant 2023.5.2 (192.168.2.140): Connected successfully
[10:04:40][W][api.connection:085]: Home Assistant 2023.5.2 (192.168.2.140): Connection reset
[10:04:40][D][api:102]: Accepted 192.168.2.140
[10:04:40][D][api.connection:961]: Home Assistant 2023.5.2 (192.168.2.140): Connected successfully
[10:04:41][W][api.connection:087]: Home Assistant 2023.5.2 (192.168.2.140): Connection closed
[10:04:41][D][api:102]: Accepted 192.168.2.140
[10:04:41][D][api.connection:961]: Home Assistant 2023.5.2 (192.168.2.140): Connected successfully
[10:04:42][D][sensor:109]: 'Gen01 Flow Rate': Sending state inf L/s with 1 decimals of accuracy
[10:04:42][W][api.connection:085]: Home Assistant 2023.5.2 (192.168.2.140): Connection reset
[10:04:42][D][api:102]: Accepted 192.168.2.140
[10:04:42][D][api.connection:961]: Home Assistant 2023.5.2 (192.168.2.140): Connected successfully
[10:04:42][D][sensor:109]: 'Gen01 Raw Fuel Level': Sending state 1.05866 V with 3 decimals of accuracy
[10:04:42][D][sensor:109]: 'Gen01 Fuel Level': Sending state 10.51617 L with 1 decimals of accuracy
[10:04:42][D][sensor:109]: 'Gen01 Raw Battery Voltage': Sending state 2.33132 V with 3 decimals of accuracy
[10:04:42][D][sensor:109]: 'Gen01 Battery Voltage': Sending state 13.37772 V with 1 decimals of accuracy
[10:04:43][D][api:102]: Accepted 192.168.2.140
[10:04:43][W][api.connection:085]: Home Assistant 2023.5.2 (192.168.2.140): Connection reset
[10:04:43][D][api.connection:961]: Home Assistant 2023.5.2 (192.168.2.140): Connected successfully
[10:04:43][D][sensor:109]: 'Gen01 WiFi Signal dB': Sending state -59.00000 dB with 0 decimals of accuracy
[10:04:43][D][sensor:109]: 'Gen01 WiFi Signal Percent': Sending state 82.00000 % with 0 decimals of accuracy
[10:04:44][W][api.connection:085]: Home Assistant 2023.5.2 (192.168.2.140): Connection reset
[10:04:44][D][api:102]: Accepted 192.168.2.140
[10:04:44][D][api.connection:961]: Home Assistant 2023.5.2 (192.168.2.140): Connected successfully
[10:04:45][W][api.connection:087]: Home Assistant 2023.5.2 (192.168.2.140): Connection closed
[10:04:45][D][api:102]: Accepted 192.168.2.140
[10:04:45][D][api.connection:961]: Home Assistant 2023.5.2 (192.168.2.140): Connected successfully
[10:04:46][W][api.connection:085]: Home Assistant 2023.5.2 (192.168.2.140): Connection reset
[10:04:46][D][api:102]: Accepted 192.168.2.140
[10:04:46][D][api.connection:961]: Home Assistant 2023.5.2 (192.168.2.140): Connected successfully
[10:04:46][D][api:102]: Accepted 192.168.2.140
[10:04:47][W][api.connection:085]: Home Assistant 2023.5.2 (192.168.2.140): Connection reset
[10:04:47][D][api.connection:961]: Home Assistant 2023.5.2 (192.168.2.140): Connected successfully
[10:04:47][W][api.connection:087]: Home Assistant 2023.5.2 (192.168.2.140): Connection closed
[10:04:47][D][api:102]: Accepted 192.168.2.140
[10:04:48][D][api.connection:961]: Home Assistant 2023.5.2 (192.168.2.140): Connected successfully
[10:04:49][W][api.connection:085]: Home Assistant 2023.5.2 (192.168.2.140): Connection reset
[10:04:49][D][api:102]: Accepted 192.168.2.140
[10:04:49][D][sensor:109]: 'Gen01 Battery Voltage': Sending state 13.37772 V with 1 decimals of accuracy
[10:04:49][D][api.connection:961]: Home Assistant 2023.5.2 (192.168.2.140): Connected successfully
[10:04:50][W][api.connection:085]: Home Assistant 2023.5.2 (192.168.2.140): Connection reset
[10:04:50][D][api:102]: Accepted 192.168.2.140
[10:04:50][D][api.connection:961]: Home Assistant 2023.5.2 (192.168.2.140): Connected successfully
[10:04:51][W][api.connection:085]: Home Assistant 2023.5.2 (192.168.2.140): Connection reset
[10:04:51][D][api:102]: Accepted 192.168.2.140
[10:04:51][D][api.connection:961]: Home Assistant 2023.5.2 (192.168.2.140): Connected successfully
[10:04:52][D][sensor:109]: 'Gen01 Flow Rate': Sending state -inf L/s with 1 decimals of accuracy
[10:04:52][D][sensor:109]: 'Gen01 Fuel Level': Sending state 10.51617 L with 1 decimals of accuracy
[10:04:52][W][api.connection:085]: Home Assistant 2023.5.2 (192.168.2.140): Connection reset
[10:04:52][D][api:102]: Accepted 192.168.2.140
[10:04:52][D][api.connection:961]: Home Assistant 2023.5.2 (192.168.2.140): Connected successfully
[10:04:53][D][sensor:109]: 'Gen01 WiFi Signal dB': Sending state -58.00000 dB with 0 decimals of accuracy
[10:04:53][D][sensor:109]: 'Gen01 WiFi Signal Percent': Sending state 84.00000 % with 0 decimals of accuracy
[10:04:53][D][api:102]: Accepted 192.168.2.140
[10:04:53][W][api.connection:085]: Home Assistant 2023.5.2 (192.168.2.140): Connection reset
[10:04:53][D][api.connection:961]: Home Assistant 2023.5.2 (192.168.2.140): Connected successfully
[10:04:54][W][api.connection:087]: Home Assistant 2023.5.2 (192.168.2.140): Connection closed
[10:04:54][D][api:102]: Accepted 192.168.2.140
[10:04:54][D][api.connection:961]: Home Assistant 2023.5.2 (192.168.2.140): Connected successfully
[10:04:55][W][api.connection:085]: Home Assistant 2023.5.2 (192.168.2.140): Connection reset
[10:04:55][D][api:102]: Accepted 192.168.2.140
[10:04:55][D][api.connection:961]: Home Assistant 2023.5.2 (192.168.2.140): Connected successfully
[10:04:56][D][max6675:046]: 'Gen01 Engine Temperature': Got temperature=29.5°C
[10:04:56][D][sensor:109]: 'Gen01 Engine Temperature': Sending state 29.12500 °C with 1 decimals of accuracy
[10:04:56][W][api.connection:085]: Home Assistant 2023.5.2 (192.168.2.140): Connection reset
[10:04:56][D][api:102]: Accepted 192.168.2.140
[10:04:56][D][api.connection:961]: Home Assistant 2023.5.2 (192.168.2.140): Connected successfully
[10:04:58][W][api.connection:087]: Home Assistant 2023.5.2 (192.168.2.140): Connection closed
[10:04:58][D][api:102]: Accepted 192.168.2.140
[10:04:59][D][api.connection:961]: Home Assistant 2023.5.2 (192.168.2.140): Connected successfully
[10:04:59][D][sensor:109]: 'Gen01 Battery Voltage': Sending state 13.37772 V with 1 decimals of accuracy
[10:05:00][W][api.connection:087]: Home Assistant 2023.5.2 (192.168.2.140): Connection closed
[10:05:00][D][api:102]: Accepted 192.168.2.140
[10:05:00][D][api.connection:961]: Home Assistant 2023.5.2 (192.168.2.140): Connected successfully
[10:05:01][W][max6675:040]: Got invalid value from MAX6675Sensor (0x2284)
[10:05:01][D][api:102]: Accepted 192.168.2.140
[10:05:01][W][api.connection:085]: Home Assistant 2023.5.2 (192.168.2.140): Connection reset
[10:05:01][D][api.connection:961]: Home Assistant 2023.5.2 (192.168.2.140): Connected successfully
[10:05:02][D][sensor:109]: 'Gen01 Flow Rate': Sending state 0.00000 L/s with 1 decimals of accuracy
[10:05:02][D][sensor:109]: 'Gen01 Fuel Level': Sending state 10.51617 L with 1 decimals of accuracy
[10:05:02][D][max6675:046]: 'Gen01 Alternator Temperature': Got temperature=28.0°C
[10:05:02][D][sensor:109]: 'Gen01 Alternator Temperature': Sending state 28.00000 °C with 1 decimals of accuracy
[10:05:03][D][sensor:109]: 'Gen01 WiFi Signal dB': Sending state -59.00000 dB with 0 decimals of accuracy
[10:05:03][D][sensor:109]: 'Gen01 WiFi Signal Percent': Sending state 82.00000 % with 0 decimals of accuracy
[10:05:09][D][sensor:109]: 'Gen01 Battery Voltage': Sending state 13.37772 V with 1 decimals of accuracy
[10:05:12][D][sensor:109]: 'Gen01 Flow Rate': Sending state 0.00000 L/s with 1 decimals of accuracy
[10:05:12][D][sensor:109]: 'Gen01 Fuel Level': Sending state 10.51617 L with 1 decimals of accuracy
[10:05:13][D][sensor:109]: 'Gen01 WiFi Signal dB': Sending state -64.00000 dB with 0 decimals of accuracy
[10:05:13][D][sensor:109]: 'Gen01 WiFi Signal Percent': Sending state 72.00000 % with 0 decimals of accuracy
[10:05:14][D][sensor:109]: 'Gen01 Raw Fuel Level': Sending state 1.21132 V with 3 decimals of accuracy
[10:05:14][D][sensor:109]: 'Gen01 Fuel Level': Sending state 8.03234 L with 1 decimals of accuracy
[10:05:14][D][sensor:109]: 'Gen01 Raw Battery Voltage': Sending state 2.33357 V with 3 decimals of accuracy
[10:05:14][D][sensor:109]: 'Gen01 Battery Voltage': Sending state 13.39057 V with 1 decimals of accuracy
[10:05:19][D][sensor:109]: 'Gen01 Battery Voltage': Sending state 13.39057 V with 1 decimals of accuracy
[10:05:22][D][sensor:109]: 'Gen01 Flow Rate': Sending state -0.24838 L/s with 1 decimals of accuracy
[10:05:22][D][sensor:109]: 'Gen01 Fuel Level': Sending state 8.03234 L with 1 decimals of accuracy
[10:05:23][D][sensor:109]: 'Gen01 WiFi Signal dB': Sending state -59.00000 dB with 0 decimals of accuracy
[10:05:23][D][sensor:109]: 'Gen01 WiFi Signal Percent': Sending state 82.00000 % with 0 decimals of accuracy
[10:05:26][D][max6675:046]: 'Gen01 Engine Temperature': Got temperature=29.2°C
[10:05:29][D][sensor:109]: 'Gen01 Battery Voltage': Sending state 13.39057 V with 1 decimals of accuracy
[10:05:29][D][sensor:109]: 'Gen01 Uptime': Sending state 56.68300 s with 0 decimals of accuracy

DarkStar1973 pushed a commit to DarkStar1973/homeassistant-core that referenced this issue May 9, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Jun 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.