Reply
Thread Tools
Posts: 1,096 | Thanked: 760 times | Joined on Dec 2008
#11
there was one parameter for 'hidden' but even though i changed it to false, there was nothing at all in settings. There was though, a little thing at top of contacts while sync was under way 'syncing with memotoo' or something like that.
 

The Following User Says Thank You to quipper8 For This Useful Post:
Posts: 11 | Thanked: 7 times | Joined on Dec 2009 @ London
#12
Thanks sharing all the experiences so far on the n9 - looks like I might be ok to get an N9 now

I have also found an enhancement request which I just voted for to provide a more flexible UI for synchronisation management which covers the need for a SyncML configuration and management UI
 
caco3's Avatar
Posts: 560 | Thanked: 423 times | Joined on May 2010 @ Switzerland
#13
I am using syncevolution already since several months to sync my contacts and calendar with my egroupware server.
As you can see in http://forum.meego.com/showthread.php?t=4588, I wrote a simple GUI to run a sync. If there is more interest in it, I can develop it further, i.e. create an official package.

The thread also should give all needed info to get the config from N900 working on the N9.
__________________
On N9 check out this:
CacheMe 4 the N9, a geocaching client / MiniBible, a bible viewer / TheWord brings daily bible verses onto your phone / BatteryGraph to monitor the battery drainage / doublepress2unlock to unlock your phone with a double press onto the power button / GPRS Data Usage to monitor your GPRS data usage /
and more...

On N900 check out this: SleepAnalyser to analyse your sleep movements / PasswordMaker a for a password generator
 

The Following 3 Users Say Thank You to caco3 For This Useful Post:
Posts: 1,096 | Thanked: 760 times | Joined on Dec 2008
#14
btw, the integrated sync framework supports scheduling sync and it can be configured in the xml conf file
 

The Following 2 Users Say Thank You to quipper8 For This Useful Post:
Posts: 112 | Thanked: 26 times | Joined on Sep 2009
#15
Would love to get this up and running. Looks promising.
 
Posts: 479 | Thanked: 1,284 times | Joined on Jan 2012 @ Enschede, The Netherlands
#16
I can't get it to work with Buteo I'm using memotoo.com. I created memotoo.com.xml (the one with username and password) to /home/user/.sync/profiles/sync, entered username and password.
When running the dbus-command all I get is:
Code:
method return sender=:1.101 -> dest=:1.103 reply_serial=2
   boolean false
Weird thing is, if I delete the memotoo.com.xml and try again I get "boolean true". It also takes a bit longer, as if it is doing something. But nothing obvious happened, because my account is nowhere defined.

Do I have to put the service-xml somewhere? Wouldn't it conflict with the ones in /etc/sync/profiles?

I'm using PR1.2, in PR1.1 I used syncevolution, which worked fine. But since Buteo is the native solution and supports scheduling I'd like to use that instead.
 
Posts: 1,096 | Thanked: 760 times | Joined on Dec 2008
#17
It has been a while and i just reflashed 1.2 so i dont have it resetup yet, but i think you need a memotoo xml file in the service directory too.
 
Posts: 479 | Thanked: 1,284 times | Joined on Jan 2012 @ Enschede, The Netherlands
#18
There already is a memotoo.com.xml in /etc/sync/profiles/service. But I also created a dir service in ~/.sync/profiles, and added memotoo.com.xml (the service spec) in that dir. No success.
 
Posts: 1,096 | Thanked: 760 times | Joined on Dec 2008
#19
i will try to write it up in some wiki this eveningwhen i redo it
 
Posts: 1,096 | Thanked: 760 times | Joined on Dec 2008
#20
OK, here is my config that works. And by the way, my dbus command just returns true too...

If you want to make sure it is working you can see synchronization history on memotoo or you can increase sync log level on device and tail it.

The sync logs are in /home/user/.sync/profiles/sync/logs/

here is the log file from just now setting this up and running it:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<synclog name="my-memotoo.com">
    <syncresults scheduled="false" minorcode="402" majorcode="1" time="2012-03-01T20:34:38"/>
    <syncresults scheduled="false" minorcode="0" majorcode="0" time="2012-03-01T20:39:51">
        <target name="./Notepad">
            <local modified="0" added="3" deleted="0"/>
            <remote modified="0" added="0" deleted="0"/>
        </target>
        <target name="./calendar">
            <local modified="0" added="1" deleted="0"/>
            <remote modified="0" added="19" deleted="0"/>
        </target>
        <target name="./contacts">
            <local modified="0" added="6" deleted="0"/>
            <remote modified="0" added="0" deleted="0"/>
        </target>
        <target name="./sms">
            <local modified="0" added="126" deleted="0"/>
            <remote modified="0" added="26" deleted="0"/>
        </target>
    </syncresults>
    <syncresults scheduled="false" minorcode="0" majorcode="0" time="2012-03-01T20:45:40"/>
    <syncresults scheduled="false" minorcode="0" majorcode="0" time="2012-03-01T21:07:58">
        <target name="./contacts">
            <local modified="0" added="0" deleted="0"/>
            <remote modified="0" added="1" deleted="0"/>
        </target>
    </syncresults>
    <syncresults scheduled="false" minorcode="0" majorcode="0" time="2012-03-01T21:50:04">
        <target name="./sms">
            <local modified="0" added="0" deleted="0"/>
            <remote modified="3" added="0" deleted="0"/>
        </target>
    </syncresults>
</synclog>

I renamed these my-memotoo* to avoid confusion with the included memotoo xml files.

/home/user/.sync/profiles/sync/my-memotoo.xml

Code:
<?xml version="1.0" encoding="UTF-8"?>
<profile type="sync" name="my-memotoo.com">
    <key value="My-Memotoo" name="displayname"/>
    <key value="true" name="enabled"/>
    <key value="true" name="hidden"/>
    <key value="false" name="use_accounts"/>
    <profile type="service" name="my-memotoo.com"/>
    <profile type="storage" name="hcontacts">
        <key value="true" name="enabled"/>
        <key value="false" name="hidden"/>
    </profile>
    <profile type="storage" name="hcalendar">
        <key value="Personal" name="Notebook Name"/>
        <key value="true" name="enabled"/>
        <key value="false" name="hidden"/>
    </profile>
    <profile type="storage" name="hnotes">
        <key value="true" name="enabled"/>
        <key value="false" name="hidden"/>
    </profile>
    <profile type="storage" name="hsms">
        <key value="true" name="enabled"/>
        <key value="false" name="hidden"/>
    </profile>
    <schedule enabled="false" interval="0" days="" syncconfiguredtime="" time="">
        <rush begin="" enabled="false" interval="0" end="" days=""/>
    </schedule>
</profile>
you can see in the schedule enabled item where you can set that up if you want to. I just run it manually occasionally.

/home/user/.sync/profiles/service/my-memotoo.xml

Code:
<?xml version="1.0" encoding="UTF-8"?>
<profile name="my-memotoo.com" type="service">
        <key name="Remote database" value="http://sync.memotoo.com/syncml" />

        <key name="Username" value="YOURMEMOTOOUSERNAME" />
        <key name="Password" value="YOURMEMOTOOPASSWORD" />


        <key name="destinationtype" value="online"/>

        <profile name="syncml" type="client" >
                <key name="use_wbxml" value="false" />
                <key name="Sync Transport" value="HTTP" />
                <key name="Sync Direction" value="two-way" />
                <key name="Sync Protocol" value="SyncML12" />
        </profile>

        <profile name="hcontacts" type="storage" >
                <key name="Local URI" value="./contacts" />
                <key name="Target URI" value="contact" />
        </profile>

        <profile name="hcalendar" type="storage" >
                <key name="Local URI" value="./calendar" />
                <key name="Target URI" value="caltask" />
                <key name="Calendar Format" value="vcalendar" />
        </profile>

        <profile name="hnotes" type="storage" >
                <key name="Local URI" value="./Notepad" />
                <key name="Target URI" value="pnote" />

	 <profile name="hsms" type="storage" >
		<key name="Local URI" value="./sms" />
		<key name="Target URI" value="sms" />
	    </profile>

        </profile>
</profile>
Then run the sync with:

Code:
dbus-send --session --print-reply --dest=com.meego.msyncd /synchronizer com.meego.msyncd.startSync string:'my-memotoo.com'
note that the files in the sync and service directories are different...

You can also sync your MyDocs folder to memotoo files too if you want to.

First install lftp from ovi store

http://store.ovi.com/content/212267

lftp supports the TLS that memotoo uses for ftp. Maybe not as secure as scp or sftp, but I don't really care.

Here is my little script to sync files to memotoo(note you might need to purchase more space on memotoo if you do this!!!! I have excluded the movies and music folders though)

save this somewhere as something like syncmemotoo_files.sh

chmod +x whatever you name it.

Code:
#!/bin/sh

# Replace "login", "password" and "LCD" with your settings
HOST="ftp.memotoo.com"
USER="YOURMEMETOOUSER"
PASS="YOURMEMOTOOPASS"
# Local directory
LCD="/home/user/MyDocs/"
# Remote directory
RCD="/"

#excluding movies and music folder because it can take a loooooong time and take a lot of space which costs on memotoo,
#enable those if you want and have plenty of space on both targets
#also excluding pictures and cities folder

#also, there is no deletion setup in this mirror, so you would need to delete something in both places for it to be gone
#you can explore the --delete option of lftp mirror if you want to

#memotoo deos ftpes which uses TLS, so should be ok

lftp -c "set mirror:exclude-regex ^.*cities.*$\|^.*Movies.*$\|^.*Music.*$\|^.*Pictures.*$;
open ftp://$USER:$PASS@$HOST;
lcd $LCD;
cd $RCD;
mirror --reverse \
	--verbose"

lftp -c "set mirror:exclude-regex ^.*cities.*$\|^.*Movies.*$\|^.*Music.*$\|^.*Pictures.*$;
open ftp://$USER:$PASS@$HOST;
lcd $LCD;
cd $RCD;
mirror --verbose"
Also note that if you have contacts that are already set to sync by MFE, then they won't sync to syncml or even a second MFE account.

Hope that helps!

Last edited by quipper8; 2012-03-02 at 08:24.
 

The Following 6 Users Say Thank You to quipper8 For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 08:43.