2023.5: Let's talk!

Does your ESP device logs state that it tries to request voice etc ? as soon as you push the button a couple processese send output

to really make sure, dont reboot, but really shutdown power on the device.
Also, I use ZHA + that sonoff dongle - and no issues

INFO Reading configuration /config/esphome/m5stack-atom-echo-a829d4.yaml...
INFO Starting log output from m5stack-atom-echo-a829d4.local using esphome API
INFO Successfully connected to m5stack-atom-echo-a829d4.local
[10:58:14][I][app:102]: ESPHome version 2023.4.4 compiled on May  4 2023, 09:24:59
[10:58:14][I][app:104]: Project m5stack.atom-echo-voice-assistant version 1.0
[10:58:14][C][wifi:505]: WiFi:
[10:58:14][C][wifi:363]:   Local MAC: 0C:8B:95:A8:29:D4
[10:58:14][C][wifi:364]:   SSID: [redacted]
[10:58:14][C][wifi:365]:   IP Address: 192.168.178.111
[10:58:14][C][wifi:367]:   BSSID: [redacted]
[10:58:14][C][wifi:368]:   Hostname: 'm5stack-atom-echo-a829d4'
[10:58:14][C][wifi:370]:   Signal strength: -62 dB ā–‚ā–„ā–†ā–ˆ
[10:58:14][C][wifi:374]:   Channel: 6
[10:58:14][C][wifi:375]:   Subnet: 255.255.255.0
[10:58:14][C][wifi:376]:   Gateway: 192.168.178.1
[10:58:14][C][wifi:377]:   DNS1: 192.168.178.1
[10:58:14][C][wifi:378]:   DNS2: 0.0.0.0
[10:58:14][C][logger:294]: Logger:
[10:58:14][C][logger:295]:   Level: DEBUG
[10:58:14][C][logger:296]:   Log Baud Rate: 115200
[10:58:14][C][logger:297]:   Hardware UART: UART0
[10:58:14][C][gpio.binary_sensor:015]: GPIO Binary Sensor 'Button'
[10:58:14][C][gpio.binary_sensor:016]:   Pin: GPIO39
[10:58:14][C][fastled:021]: FastLED light:
[10:58:14][C][fastled:022]:   Num LEDs: 1
[10:58:14][C][fastled:023]:   Max refresh rate: 400
[10:58:14][C][light:103]: Light 'M5Stack Atom Echo'
[10:58:14][C][light:105]:   Default Transition Length: 0.0s
[10:58:14][C][light:106]:   Gamma Correct: 2.80
[10:58:14][C][captive_portal:088]: Captive Portal:
[10:58:14][C][mdns:108]: mDNS:
[10:58:14][C][mdns:109]:   Hostname: m5stack-atom-echo-a829d4
[10:58:14][C][ota:093]: Over-The-Air Updates:
[10:58:14][C][ota:094]:   Address: m5stack-atom-echo-a829d4.local:3232
[10:58:14][C][api:138]: API Server:
[10:58:14][C][api:139]:   Address: m5stack-atom-echo-a829d4.local:6053
[10:58:14][C][api:141]:   Using noise encryption: YES
[10:58:14][C][improv_serial:032]: Improv Serial:
[10:58:14][C][audio:190]: Audio:
[10:58:54][D][binary_sensor:036]: 'Button': Sending state ON
[10:58:54][D][voice_assistant:065]: Requesting start...
[10:58:54][D][voice_assistant:045]: Starting...
[10:58:56][D][binary_sensor:036]: 'Button': Sending state OFF
[10:58:56][D][voice_assistant:073]: Signaling stop...

Same here all gone.

1 Like

seems to have finished in an unexpected long time for an add-on updateā€¦ took more than 20 mins. just so you knowā€¦

add-on is green. but logs:

This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb.OperationalError) (2013, 'Lost connection to MySQL server during query')
[SQL: INSERT INTO states (entity_id, state, attributes, event_id, last_changed, last_changed_ts, last_updated, last_updated_ts, old_state_id, attributes_id, context_id, context_user_id, context_parent_id, origin_idx, context_id_bin, context_user_id_bin, co ... 2957 characters truncated ... s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s) RETURNING states.state_id, states.state_id AS state_id__1]
[parameters: (None, '2551.3461914062', None, None, None, None, None, 1683190018.986812, 188488564, 481994, None, None, None, 0, b'\x01\x87\xe5\xf1s\xaakp\xa8&\x8e}>c\x80"', None, None, 192, None, '2463.3461914062', None, None, None, None, None, 1683190018.987947, 188488591, 1031883, None, None, None, 0, b'\x01\x87\xe5\xf1s\xaakp\xa8&\x8e}>c\x80"', None, None, 98, None, '2639.3461914062', None, None, None, None, None, 1683190018.988582, 188488592, 38485, None, None, None, 0 ... 620 parameters truncated ... None, None, None, 1683190022.092821, 188488589, 454297, None, None, None, 0, b'\x01\x87\xe5\xf1\x7f\xcc\xc3Bl\x84\xf9\rW\x1c\xcb\x0b', None, None, 31, None, '232.209', None, None, None, None, None, 1683190022.443321, 188488594, 454298, None, None, None, 0, b'\x01\x87\xe5\xf1\x81+\xd9\x08-\xd1\r\x0f\x82[\x9b\xd6', None, None, 6, None, '160.499', None, None, None, None, None, 1683190022.7181, 188488595, 914748, None, None, None, 0, b'\x01\x87\xe5\xf1\x82>\x89z\t\xd1\x15w\xb8T"r', None, None, 19)]
(Background on this error at: https://sqlalche.me/e/20/e3q8) (Background on this error at: https://sqlalche.me/e/20/7s2a)

and

Logger: homeassistant.components.recorder.util
Source: components/recorder/util.py:226 
Integration: Recorder (documentation, issues) 
First occurred: 11:04:43 (27 occurrences) 
Last logged: 11:04:45

Error executing query: (MySQLdb.OperationalError) (2002, "Can't connect to MySQL server on 'core-mariadb' (115)") (Background on this error at: https://sqlalche.me/e/20/e3q8)
1 Like

Thanks for the heads up, I updated MariaDB on HA 2023.4.6 and it is taking a long time, Iā€™ll wait it out.

Wish I had seen this before I updated. Same here for entities exposed to Alexa, which has now broken about 100 Alexa routines. Really not happy. :slightly_frowning_face: This should be listed as a breaking change!

2 Likes

Same for me. Also posted this above.

No idea why this restriction is needed. Those who value security have their system closed off or using ssl and those who do not donā€™t care about ssl for their mic.

My MariaDB is set to auto-update and that seems to have gone through without issues.

EDIT for your edit:
Of course I do not know if it took 20 min or not because I disabled that kind of logging and with auto-update I donā€™t notice. But I would not be surprised.

1 Like

Localtuya, Tapo camera and Wiz lights, all three broke for me with 2023.5

I maybe missing something here, but I use home assistant core, as a docker container within Unraid. Other add-ons, I have managed to download a docker container for them and link them to HA core, however I am struggling to set up the Piper and Whisper dockers. I have found them on dockerhub, under Rhasspy repository, and composed the docker file as per the parameters in dockerhub, but neither containers start, or even download anything to the specified folder location. any help would be great, thanks

Same here with my M5 Atom. I can control HA but I donā€™t receive any feedback from the Assist neither can I play any tts message on it (on the media_player that has been created). Not sure if Iā€™m missing anything to make it work.

1 Like

Fantastic update. It has little use for me now, but I am excited for the groundwork being laid, for running a fully local speech assistant.

The ideal scenario for me, is that I can make use of my existing Sonos setup for speech and output. But I guess that is unlikely.

Next best thing would be someone to pickup the mantle and produce a small, pretty unit with good microphone capabilities, that I can spread around my home.

1 Like

If you are having trouble with the ECOWITT Integration, make sure you have migrated from the HACS Versions (GitHub - garbled1/homeassistant_ecowitt: Ecowitt Weather Station integration for homeassistant) to the official version

Here is the official ECOWITT integration

I far as I understand, the HACS version is no longer maintained.

You can link it to google assistant and do a command using the google assistant sdk to execute room cleaning.

1 Like

19 posts were split to a new topic: Templates misbehaving in 2023.5

What a nightmare this is.

All my Echo entities are gone and I now have to add hundreds of entities again by hand. This is not even funny. One more catastrophic update again and Iā€™m back to ioBroker or openHAB. I donā€™t care much about voice assistants so at least make such stupid changes optional. This will take me hours again of unpaid work. Very frustrating. This is not how I saw my day going ā€¦

Edit:

No, I wonā€™t do it manually, I just donā€™t have the time now. I will roll back everything to the previous version. If that doesnā€™t work Iā€™m done with HA. The previous Alexa integration was fantastic - easy to use and easy to understand. Why did you destroy that and replaced it with this unusable crappy UI? :smirk:

Going back to the previous version went ok but ESPHome is now empty - no devices anymore. And I had dozens of them. Also Code Server can not find any yaml configuration anymore - all empty.

HA is a lemon and I want my money back ā€¦ :angry:


6 Likes

The MariaDB 2.6.0 update appeared for me yesterday (Iā€™ve not yet installed 2023.5.0) and yes, it took ages here too - probably 20 minutes or thereabouts on my RPi4. Worked ok in the end, though and whatever it was doing was pre-startup as, once installed, it started up in 7 seconds.

1 Like

same hereā€¦

Love to use Voice Assistant but thereā€™s little to NO documentation on how to get a usb mic to work in HAā€¦ VERY frustrating.

1 Like