I have a folder with multiple pictures per day....
path: /config/www/timelapses/
filter: **/*.jpg
number_of_files: 10936
bytes: 340396584
fileList: /config/www/timelapses/20210303/202103031954.jpg, / ....(list of 10k files)
State Engine works so far, just a bit slow... :-)
recorder/mysql has some limitations - an recorder exclusion could help but I guess my Use case is beyond what this cpmponent was planned for.
home-assistant | 2021-04-14 21:46:29 ERROR (Recorder) [homeassistant.components.recorder] Unexpected error saving events: (MySQLdb._exceptions.DataError) (1406, "Data too long for column 'attributes' at row 1")
home-assistant | [SQL: INSERT INTO states (domain, entity_id, state, attributes, event_id, last_changed, last_updated, created, old_state_id) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s)]
home-assistant | [parameters: ('sensor', 'sensor.balkon_jpg', '340.4', '{"path": "/config/www/timelapses/", "filter": "**/*.jpg", "number_of_files": 10936, "bytes": 340396584, "fileList": ["/config/www/timelapses/20210303 ... (568608 characters truncated) ... ses/20210414/202104142013.jpg"], "sort": "date", "recursive": true, "unit_of_measurement": "MB", "friendly_name": "balkon-jpg", "icon": "mdi:folder"}', 13928857, datetime.datetime(2021, 4, 14, 19, 46, 26, 686915, tzinfo=datetime.timezone.utc), datetime.datetime(2021, 4, 14, 19, 46, 26, 686915, tzinfo=datetime.timezone.utc), datetime.datetime(2021, 4, 14, 19, 46, 26, 686915, tzinfo=datetime.timezone.utc), None)]
home-assistant | (Background on this error at: http://sqlalche.me/e/13/9h9h)
Can the fileList attribut removed or shortened? or is it madatory for the Frontend component?
I have a folder with multiple pictures per day....
State Engine works so far, just a bit slow... :-)
recorder/mysql has some limitations - an recorder exclusion could help but I guess my Use case is beyond what this cpmponent was planned for.
Can the fileList attribut removed or shortened? or is it madatory for the Frontend component?