Changing from Windows to Raspberry Pi

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
User avatar
Westcott
Posts: 423
Joined: Tuesday 09 December 2014 17:04
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: UK - Glos
Contact:

Changing from Windows to Raspberry Pi

Post 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.
Zwave - Sigma Z+ stick, Fibaro, Horstmann, Neo Coolcam, EUROtronic
RFlink - IR detectors and temperatures
Wifi - YeeLights, ESP32s, Anoop sockets
Zigbee - lots with zigbee2mqtt and ZbBridge
User avatar
bbqkees
Posts: 407
Joined: Sunday 17 August 2014 21:01
Target OS: Linux
Domoticz version: 4.1x
Location: The Netherlands
Contact:

Re: Changing from Windows to Raspberry Pi

Post 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.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
User avatar
Westcott
Posts: 423
Joined: Tuesday 09 December 2014 17:04
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: UK - Glos
Contact:

Re: Changing from Windows to Raspberry Pi

Post by Westcott »

BBQkees - thanks!
This means that the Windows back-up database is binary compatible with the RPi?
Zwave - Sigma Z+ stick, Fibaro, Horstmann, Neo Coolcam, EUROtronic
RFlink - IR detectors and temperatures
Wifi - YeeLights, ESP32s, Anoop sockets
Zigbee - lots with zigbee2mqtt and ZbBridge
markk
Posts: 267
Joined: Tuesday 14 January 2014 14:50
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Changing from Windows to Raspberry Pi

Post 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?
Running Domoticz on Pi3 with RFXtrx433e. LWRF power sockets and dimmer switches. Integrated my existing wirefree alarm PIRs and door contacts with domoticz. Geofencing with Pilot. Harmony Hub. Tado for Heating. Now playing with mysensors.
User avatar
jvdz
Posts: 2445
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: Changing from Windows to Raspberry Pi

Post 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
markk
Posts: 267
Joined: Tuesday 14 January 2014 14:50
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Changing from Windows to Raspberry Pi

Post by markk »

I'll google SAMBA. Thanks for the advice.
Running Domoticz on Pi3 with RFXtrx433e. LWRF power sockets and dimmer switches. Integrated my existing wirefree alarm PIRs and door contacts with domoticz. Geofencing with Pilot. Harmony Hub. Tado for Heating. Now playing with mysensors.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest