AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Copy log3/1/2024 Other question : is there a way to define the file name of the backup ? Because it’s not really easy to read 18:41 080f51ab. But I would like to push it instead, and mainly, I would like to understant how to proceed I have writter a script in python which connect in sftp to homeassistant and retreive the file. I have setup a workaround which work, but I don’t like it : I have configured a SSH Access to homeassistant, and I’m retrieving the file in the other way. When you perform a Bulk Copy operation, AutoCAD Map 3D toolset creates a log file that displays information about the source and target of the Bulk Copy. I’m sure it’s not so difficult, but I’m a bit lost with all the different concept. I don’t understand what to do to create an automated task which will copy my log file on the mount point I have declared. ![]() The example: Rename-Item -Path 'C:\logs\robocopy.log' -NewName 'robocopy-(Get-Date -F yyyy.MM.dd)(.Extension).log' The result will be a dated file like this: robocopy-2021.06.22. NAS samba point declared and mounted (both for backup and shared folder).Īnd I’m stuck there. You can just call robocopy in PowerShell or batch command file and do your file manipulation and have it create the log, then rename the log file on the next line.Automation created to trigger a notification in a dedicated log file :Ĭonfiguration of my automation alias: Detection Aspirationĭescription: Detection Aspiration GranuleĮntity_id: tered_wall_plug_switch_power.Configuration.yaml file updated to declare my own log file :Ĭonfiguration.yaml # Adding additional notifier file.Fibaro plug wall configured and monitored.This was working fine in jeedom, and I would like to do the same in home assistant. The log file is then sent to my nas where I can make my excel sheet review. ![]() ![]() For that, I’m using a ZWave Fibaro Wall Plug which measure the power consumption of the vaccum which bring the pellet to the boiler.Įach time the vaccum is triggered, I log a line which allow me to determine the quantity of pellet sucked in the boiler, and determine approximatly the overall consumption. I was using jeedom to monitor my consumption of wood pellets in my boiler. I was using JeeDom previously, but I have just migrated to Home Assistant when JeedDom crashed once again after an update …
0 Comments
Read More
Leave a Reply. |