Page 1 of 1

Changing from Windows to Raspberry Pi

Posted: Friday 08 January 2016 13:27
by Westcott
Hello,

I've been running Domotics on a Windows PC for a year now, seeing it get steadily better.
This means that the PC has to be on 24/7, so to save power I've got an RPi.
What I want to do is migrate my Windows setup to the RPi.
Which files to copy?
I'm guessing that any config newer than my last Domoticz update has to be copied.
Also need to migrate the database.
Is it as 'simple' as exporting the Windows database to a .sql file, and importing into the RPi's db?

Thanks.

Re: Changing from Windows to Raspberry Pi

Posted: Friday 08 January 2016 15:42
by bbqkees
Install the domoticz Pi SD image from the website onto the SD card and put it in the Pi and start the Pi.

Backup the 'old' database on the Windows machine via Settings->Backup Database.

Upload the file on the Pi via Settings->Restore Database.

That should do it for the most part.

Next make sure the ZWave and RFXCOM transceivers are connected to the Pi and that you select the correct serial port in the Hardware menu.

If you have floorplan images and Lua scripts etc you need to copy them manually.

Re: Changing from Windows to Raspberry Pi

Posted: Saturday 09 January 2016 13:27
by Westcott
BBQkees - thanks!
This means that the Windows back-up database is binary compatible with the RPi?

Re: Changing from Windows to Raspberry Pi

Posted: Friday 06 May 2016 13:55
by markk
I'm looking to take the plunge and move from windows to Pi as well. I have installed the service on an sd card, put in the Pi, configured the time zone, copied the old windows database and restored it to the Pi, changed the port of the of the RFXcom. All good so far.

However, I am now trying to copy my LUA scripts from windows to the Pi via WINSCP but all the scripts copy over with no content! I can see the script in the folder on the pi but it's size is 0kb and when I open it it is blank. Can someone tell me what I might be doing wrong please?

Re: Changing from Windows to Raspberry Pi

Posted: Friday 06 May 2016 14:01
by jvdz
I am simply running SAMBA on the RPI to enable me to do the copying and modifications of scripts from my Win10 laptop.
Maybe an easier option? :)

Jos

Re: Changing from Windows to Raspberry Pi

Posted: Friday 06 May 2016 14:27
by markk
I'll google SAMBA. Thanks for the advice.