Create a Dataset Snapshot using Homeassistant service.
Snapshot name will be automatically generated using datetime iso format with microseconds and âcustomâ prefix.
Hi!
Yesterday I noticed that I wasnât getting any info of any TrueNAS sensor. They where switching between the default value (ex: 0) and unavailable. It was the same today so I tried to remove the integration and reinstall it. It only did worst as only the TrueNAS system was found. No disk or dataset. I then looked at the log and found this:
Logger: custom_components.truenas.truenas_api
Source: custom_components/truenas/truenas_api.py:99
Integration: TrueNAS (documentation, issues)
First occurred: 19:26:39 (1 occurrences)
Last logged: 19:26:39
TrueNAS 192.168.1.5 unable to fetch data âupdate/check_availableâ (504)
that means remote server did not respond. so you may have problem with internet access on you truenas.
any error reporting should be done on github tho, not here.
This is awesome, Thanks!
I did have an issue today - I was creating a new pool and pasting 3TB of data into the dataset.
My homeassistant.log was going mad and filling up at an alarming rate.
I disabled the truenas integration instantly , deleted the log file, restarted and monitored. Ok afterwards.
Log was so big I was unable to open it.
I added an exception to the recorder to exclude truenas*.
This worked after enabling it again.
So the recorder is the one creating the log.file also? I thought the recorder was for the database (in my case mariadb on a different disk).
Please correct me if I am misunderstanding.
Is there another setting I can add to prevent the log file from growing like that again?
Do I need to configure it using these suggestions?
There is no such thing as file being too large to open. You can read a file no matter what, except hardware failure.
Adding exception to recorder has no effect on HA log file.
Without knowing what was reported in HA log, we dont even know if its related to truenas integration. Chance it is related is very small actually.
(shutdown from up above comment) How do I do it though, I just tried it from the Developer tools and nothing happened. Tried calling TrueNAS shutdown with the TrueNAS System device selected, felt about right. I suspect this should have done something and just did not.
i am running my ha on my True nas scale app works great
merged over with little difficutly
my true nas integration cannot find host is this because they are running on the same machine
true nas ip 192.168.4.200
ha 192.168.4.93