To backup running QEMU/KVM machine I use script made by Daniel Berteaud. I've installed it in this way:
as you can see current version is 0.2.17-1
There is also a fork of virt-backup: github.com/vazhnov/virt-backup.pl - it's based on some earlier version.
Example command to backup centos-test machine (name shown by virsh list) to /mnt/backups directory.
I would like to have light with switch (it should work even without domoticz) but I would like to use power of domoticz also ;-)
In ESP (ESP6) I've devices:
- Switch input:
- name: button
- IDX: 25
- 1st GPIO: GPIO16
- Pull UP: set
- Inversed: not set
- Switch Type: Switch
- Switch Button Type: Push Button Active Low
- Send Boot state: not set (you can set it if you want)
- Send Data: set
- Switch input
- name: okno
- IDX: 23
- 1st GPIO: GPIO16
- Pull UP: set
- Inversed: set
- Switch Type: Input
- Switch Button Type: Normal Switch
- Send Boot state: not set (you can set it if you want)
- Send Data: set
- Switch input
- name: zlew
- IDX: 24
- 1st GPIO: GPIO12
- Pull UP: set
- Inversed: set
- Switch Type: Input
- Switch Button Type: Normal Switch
- Send Boot state: not set (you can set it if you want)
- Send Data: set
In domoticz I've three "On/off" switches:
- "ESP6-okno"
- IDX: 23
- On Action: http://esp6.lan/tools?cmd=GPIO,14,0
- Off Action: http://esp6.lan/tools?cmd=GPIO,14,1
- "ESP6-zlew"
- IDX: 24
- On Action: http://esp6.lan/tools?cmd=GPIO,12,0
- Off Action: http://esp6.lan/tools?cmd=GPIO,12,1
- "ESP6-both"
- IDX: 25
- On Action: http://esp6.lan/control?cmd=event,zapal
- Off Action: http://esp6.lan/control?cmd=event,zgas
ESPeasy Rules:
As you can see when ESP6-both is changed I call "rules" from ESP
You can read more about rules in Rules Tutorial.
If you forgot to set-up power policy during container creation you can easy modify it:
you can check it:
I want to import my pictures tags made in F-Spot (0.8.2) to digiKam (4.10)
I found Roland Geider script but it doesn't work in totay's Linux (differences in DBUS structure): Original F-Spot to digiKam script.
I've made trivial correction (comment-out problematic code) and now script looks like this:
You have to provide collection with the same path like in F-Spot. It can import tags.
If your F-Spot path doesn't exists anymore you have to alter photos.db. In my case some of pictures had path /home/zdjatka and some /mnt/zdjatka, but now all pictures are in the same place /mnt/zdjatka, so I alter path:
as you can see photos.db is sqlite3 database (usually located at ~/.config/f-spot/photos.db) and I copied file to home directory (not to modify original file).
Assuming you digiKam is initialized in Pictures directory and you have defined collection in same folder as is defined in F-Spot database (photos.db) complete command to convert is:
Add comment