domoticz scripts
Moderators: leecollings, remb0
-
webrazor
- Posts: 61
- Joined: Monday 09 November 2015 9:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: The Netherlands
- Contact:
domoticz scripts
Hello,
My domoticz is broken after a update to the latest version. Now i want to do a compleet reinstall of raspbian and domoticz.
I have had some scripts running that where made in domoticz using lua. Is there a location on the sd-card where i can find these scripts to make a backup?
thank you
My domoticz is broken after a update to the latest version. Now i want to do a compleet reinstall of raspbian and domoticz.
I have had some scripts running that where made in domoticz using lua. Is there a location on the sd-card where i can find these scripts to make a backup?
thank you
-
freijn
- Posts: 536
- Joined: Friday 23 December 2016 16:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: Netherlands Purmerend
- Contact:
Re: domoticz scripts
/home/pi/domoticz/scripts/lua
if you do not see them there, they are in your database.
if you do not see them there, they are in your database.
- jvdz
- Posts: 2445
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: domoticz scripts
They are either in the domoticz.db when created through the webinterface or in e directory /home/pi/domoticz/scripts/lua
Jos
Jos
-
webrazor
- Posts: 61
- Joined: Monday 09 November 2015 9:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: domoticz scripts
i made them in the web interface, any way to get them out of the database i still have a backup image of my Sd-card?
-
freijn
- Posts: 536
- Joined: Friday 23 December 2016 16:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: Netherlands Purmerend
- Contact:
Re: domoticz scripts
if you restore your last working domoticz.db into your fresh build image you will have your scripts back.webrazor wrote: Wednesday 26 February 2020 21:38 i made them in the web interface, any way to get them out of the database i still have a backup image of my Sd-card?
To be 100% save , grab the domoticz.db from your broken sd card as well. If you are lucky and nothing has changed in the .db you
also have your data history back.
-
webrazor
- Posts: 61
- Joined: Monday 09 November 2015 9:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: domoticz scripts
That sounds like a good plan, will try that. thxfreijn wrote: Wednesday 26 February 2020 22:26 if you restore your last working domoticz.db into your fresh build image you will have your scripts back.
To be 100% save , grab the domoticz.db from your broken sd card as well. If you are lucky and nothing has changed in the .db you
also have your data history back.
- psubiaco
- Posts: 233
- Joined: Monday 20 August 2018 9:38
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Italy
- Contact:
Re: domoticz scripts
Hi.
Most probably your problem is caused by missing lib. I had the same problem.
The new versions of Domoticz required some libs from Raspbian Buster: to solve this issue, just follow the easy instructions at
https://www.domoticz.com/forum/viewtopi ... 40#p236428
Then you'll get everything working, without the need to reinstall Domoticz!
Paolo
Most probably your problem is caused by missing lib. I had the same problem.
The new versions of Domoticz required some libs from Raspbian Buster: to solve this issue, just follow the easy instructions at
https://www.domoticz.com/forum/viewtopi ... 40#p236428
Then you'll get everything working, without the need to reinstall Domoticz!
Paolo
Paolo
--
I use DomBus modules to charge EV car, get a full alarm system, control heat pump, fire alarm detection, lights and much more. Video
Facebook page - Youtube channel
--
I use DomBus modules to charge EV car, get a full alarm system, control heat pump, fire alarm detection, lights and much more. Video
Facebook page - Youtube channel
-
webrazor
- Posts: 61
- Joined: Monday 09 November 2015 9:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: domoticz scripts
Will try that also, to get my data back and old image working. Thx.psubiaco wrote: Sunday 01 March 2020 21:34 Hi.
Most probably your problem is caused by missing lib. I had the same problem.
The new versions of Domoticz required some libs from Raspbian Buster: to solve this issue, just follow the easy instructions at
https://www.domoticz.com/forum/viewtopi ... 40#p236428
Then you'll get everything working, without the need to reinstall Domoticz!
Paolo
That Dombus1 board that you are using sound really interesting. Are you happy with it?
-
webrazor
- Posts: 61
- Joined: Monday 09 November 2015 9:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: domoticz scripts
Is that the only file i need to restore all the old data?freijn wrote: Wednesday 26 February 2020 22:26 if you restore your last working domoticz.db into your fresh build image you will have your scripts back.
To be 100% save , grab the domoticz.db from your broken sd card as well. If you are lucky and nothing has changed in the .db you
also have your data history back.
-
freijn
- Posts: 536
- Joined: Friday 23 December 2016 16:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: Netherlands Purmerend
- Contact:
Re: domoticz scripts
Can't tell you.......
I do have lots of other script in other places....
If you only created lua scripts from the webinterface the answer is yes.
But again.. doing so at your own risk!
I always have an aditional sd card. I leave the old card as it is. Re-building a fresh card.
If something is missing... Swap the old card back in , grab the required and go back to the new.
For a while I now have a production Raspberry and test lab... Makes live so much easier...
I do have lots of other script in other places....
If you only created lua scripts from the webinterface the answer is yes.
But again.. doing so at your own risk!
I always have an aditional sd card. I leave the old card as it is. Re-building a fresh card.
If something is missing... Swap the old card back in , grab the required and go back to the new.
For a while I now have a production Raspberry and test lab... Makes live so much easier...
-
webrazor
- Posts: 61
- Joined: Monday 09 November 2015 9:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: domoticz scripts
I need something like that, because of domoticz is not working alot of stuff in the house is not working so thats a problem.
Better to make a backup first before update or change something.
Better to make a backup first before update or change something.
Who is online
Users browsing this forum: No registered users and 1 guest