Tag Archives: sync

Is it alright that my Helium Hotspot is taking forever to sync?

So, you’ve got your Helium hotspot set up and it has started to sync, then you find that it is taking days to weeks to sync. You’ll likely question if it is normal to take this long?

Short answer is, likely ok. But let’s not assume and figure out how to be certain about it.

Why sync? What is it syncing?

If you are not interested in the inner workings, you can skip to the next section.

When Helium started, the network is primarily made up of hotspots. Each device will participate in the blockchain, and so needs to have its own local copy of the blockchain. That sync, is basically what the hotspot is doing, downloading the blockchain and then start to keep up with the progress of the blockchain.

At the point of writing this post, hotspots have transitioned to light hotspots. However we are still in the transition period and all hotspots are still syncing the blockchain. It is the plan to eventually remove the blockchain from all hotspots.

As a result of this time of transition, there are hotspots which are being shipped from manufacturers and are with the firmware that is unaware of the light hotspot operations. So, initial set up will still need the blockchain sync to happen, until it catches up to block 1,350,664. That block is when the variable was set to flick hotspots to light hotspots.

Eventually, when the blockchain is removed from the light hotspots, they will no longer need to sync, and their daily data consumption will also reduce significantly.

The true source of truth on sync status

Almost all of us rely on the Helium Explorer, and rightfully so. However, it was notoriously terrible in being up to date about a hotspot’s status. For example, a hotspot may be in “syncing” state for many weeks, even though it could have completed within a few hours of coming online. This leads to many unnecessary questions on how to speed up the sync, when it is not required.

Having personal experience of setting up and observing several hotspots, I can be certain to say that even when a hotspot is “syncing”, it will already start to participate in PoC and getting some rewards. So, being fully “sync” isn’t a critical factor. Furthermore, with light hotspots, being in sync is no longer a requirement, so much so that even the Explorer is no longer showing sync status.

Now, you are here, perhaps you are new owner and is doing some due diligence to make sure things are healthy. I have experience with Kerlink and Nebra models, and they have something in common. Both have status/diagnostic pages to look up, so you can at least get some fundamental details about the status of each and every hotspot.

Kerlink has it on their onboarding page, which is exactly the same place where you initially set up the miner.

Nebra has it on the device itself.

Below is a screenshot from my Nebra hotspot. The part that is essential for you to look at is the Height Status. Both Kerlink and Nebra represents them differently, and I’m sure the other makers have their own uniqueness too. However, the same key metrics are there, the current height your miner has sync up to, and the actual height the entire blockchain is at. You won’t always see the numbers to be the same, and more oftehn the current height is typically trailing behind by a few blocks.

Since we are not in light hotspot mode, the only number you’ll really want to pay attention to is that the miner’s height to be equal or bigger than 1,350,664. Beyond that number, the miner should be operating as light hotspot, and blockchain on the hotspot becomes irrelevant.

Wrapping up….

thank you for reading this far, and if you have recently started your journey on Helium, welcome to the community!

I will wrap up this post with one little tidbit. With my experience with Kerlink and Nebra, the nice thing is that you’ll should never really need to do any firmware updates yourself. The hotspot makers will be pushing the firmware over-the-air to your devices. If there is anything you want to keep watch on, is just the Firmware version. You’ll normally see new versions announced on the Helium discord, and in typical fashion, within a few days to a week, your hotspot will be running on the newer version.

With this, I with you good luck, lots of witnessing and HNT to the moon!

iTunes 10.5 can sync 2 devices simultaneously

Things have been different, and I didn’t have anything good to write about. Until now…

I’ve just updated my iPhone 3GS then my iPad to IOS5. The sync was taking quite some time and I decided to try to sync my 3GS while the iPad is being restored. Searched around a bit and found some old posts saying that Windows iTunes can’t sync simultaneously. Yea, that post is a little old, from 2009.

So now, I’m trying it myself. It works!! The improvement now is that for music, videos and app sync, the device doesn’t stay in the lock screen anymore. It’s more like a background process.

There’s more to be discovered with iOS5, hopefully some more good stuffs to write about!

iPhone How-to : calendar sync with Google Calendar via caldav

if you’ve read my earlier post, my choice to sync my personal Google calendar with my iPhone 3GS is to use caldav. The other option is activesync (MS Exchange), which I used prior to OS3.0 on my iPhone 3G. To understand why, do read my earlier post here.

This post will specifically guide you, step by step, to be able to get your Google based calendar on your iPhone (with OS3.0+). The calendar app on the iPhone will be the default app, nothing additional you’ll need from the app store.

I will create another post to show you how to add other calendars to your iPhone, e.g. your spouse’s or your kid’s calendars.

  1. first, you’ll need your email address… which would be something like “myemail@gmail.com”
    or “myemail@mysuperdomain.com” if you are on Google Apps
  2. next, you’ll need to compose your own “server string”… it looks something like this
    https://www.google.com:443/calendar/dav/myemail@gmail.com/user
  3. pretty much just simply replace the section “myemail@gmail.com” with your Google based email address, be it with “gmail.com” or “whatever.com”
  4. If you’ve got email setup on your iPhone already, you can just email the “Server string” to yourself, which you can copy and paste later… or just type it out carefully on the phone
  5. next, pick up your iPhone,  go into “Settings” -> “Mail, Contacts, Calendars” -> “Add Account…” -> “Other” -> “Add CalDAV Account”
  6. here’s what you put in
    Server : paste or slowly thumb in the “server string” from above (customized with your own email address of course). When you move to the next field, it’s normal for the “server” to only show “www.google.com”, so don’t worry about it.
    User Name : your full email address, e.g. “myemail@whateverdomain.com”
    Password : the password to the account you put in above
    Description : what ever you’d like to call it, doesn’t matter what you put, it’s for your own identification
  7. click “next” when done
  8. If all went well, you’ll be taken back to the “Mail, Contacts, Calendars” screen… if you had a typo in the “Server”, “User Name” or “Password” field.. then you’ll be stuck here. Just fix the typo and try again
  9. Validation…. Launch the “Calendar” app
  10. check and see if your calendar items are showing up, or if you have multiple calendars and it’s hard to validate you can select to see only one calendar
  11. in the “Calendar” app, on the top left, tap the “Calendars” button
  12. you’ll be presented with the list of Calendars you have configured, select the one you want to check
  13. You should now see only the entries belonging to that calendar

have fun =)

iPhone Calendar sync with Google – comparison between activesync & caldav

If you haven’t realized it from my previous post, I am a fan of Google. So, besides syncing my iPhone contacts with Google, I also sync my Calendar.

I don’t have a Mac (YET), and I don’t have a copy of Microsoft Outlook, so I pretty much don’t have anything I can sync with on my Vista Desktop and XP netbook. Without Google, all I can do is backup my calendar to iTunes.

So, prior to OS3.0, I have setup my iPhone to do over-the-air activesync just for my calendar. It worked great and I loved it. What really surprised me that it also took care of subscribed calendars. e.g. My wife shares her Google calendar with me, and that also syncs to my phone; I also subscribe to a public holiday calendar for Singapore, and that syncs to my phone as well.

What impresses me is that once you have more than 1 calendar sync to the phone, all the items will get color coded. E.g. my calendar items will show up with a blue dot, my wife’s an orange dot, etc… On top of that I have permissions (set in Google Calendar) to add/delete/modify my wife’s calendar and I can do all those on the iPhone as well. There’s an option for me to choose which calendar an item is for when creating it.

When I was just surfing around on what’s new and what people are doing, I came across the new feature of the iPhone OS 3.0 and also supported by Google. That feature is caldav sync, as opposed to activesync. So, what’s the differences?

In short, very few differences. I’ll list the few I know

  1. Activesync – just need to setup your main account, and everything that is subscribed to in the Google Calendar interface will show up automatically
  2. Caldav – each calendar must be added for it to show up in iPhone, so this is more tedious.
  3. The advantage here is that activesync and caldav can both be used at the same time! A lot of people will likely sync their calendar with the office calendar via activesync. By using caldav, you can then also add on your personal calendar from Google. Lot’s of feedback I read in forums is that people are really pleased to be able to have both their work and personal calendars in the iPhone AT THE SAME TIME, and still kept separate. This is one of the biggest advantage, the marriage of both protocols.
  4. One thing that is important for me is reminders. In Google Calendar, you can set to receive multiple reminders for an item. E.g. for important events, I like to set pop-up reminders 10hrs, 1hr and 15mins before the event time. The activesync protocol only allows one of the reminders to go through to the phone, however caldav will sync all through. So, my phone will alert me at all the set reminders. Now, this is of a huge advantage for me.

As you probably guess, I’ve dropped activesync totally and now using caldav. Just a note though, when I started using caldav, in my appointments, I can start to specify “second alerts”, which is great! However, if you have more than 2 alerts/reminders for an item, you’ll only see the first and last one. I have items with 3 reminders, and all 3 will pop up in the phone in due time, I just can’t see the settings of the middle one in the phone. But that’s only a minor issue, as I would not change the alerts, but if I need to, just need to log on to Google Calendar to change it.

I’ll just keep things short (relatively) for this post, may post a how-to setup caldav post in the future. The guides I found only managed to get me half way. Had to figure out the rest of it myself by trial and error.

iPhone Contacts Sync with Google – comparison via iTunes and over-the-air activesync

Traditionally, one would sync a mobile/smart phone’s address book with a proprietary software (e.g. Palm Desktop), or via some conduit with Microsoft Outlook. In the recent years syncing with Outlook seems more popular as it’s more widely supported and it was my preferred way to transfer contacts from a phone from manufacturer A to another phone from manufacturer B. e.g. I once transferred from my Nokia N82 to a Samsung i600, then from the i600 to my iPhone 3G.

Recently I changed jobs and no longer have access to MS Outlook (it was on my work notebook), so I started searching for alternatives. Here are the options I have (in the Windows world)

  • via iTunes – sync with Google
  • via iTunes – sync with Windows Vista Contacts (or Windows Address Book on Windows XP)
  • over-the-air – sync with Google using Activesync protocol

I have been a fan of Google, and been using Gmail for years.  Little did I know, I have been shifting towards cloud computing without planning for it. This seems to be the all new popular shift the industry is heading towards. A lot of what we know now will eventually be hosted in the Internet cloud.

I decided that syncing with my Google account will likely be the best option. One advantage will be that I’ll never have to really worry about backing up my Gmail account. It’s something I trust Google to take care of. I also expect to see more support on syncing the contacts and calendar with more devices. So, this should protect future change of devices. In the worse case, I can export contacts as CSV files to be imported to other PIM tools.

Going off track a little, I tested out syncing with my Vista Contacts. Just to see what it does. The good side is that it can sync contact photos, which Google does not support. But the bad side is that when you delete contacts from the iPhone, they remain in Vista Contacts.

The real test started first with syncing via iTunes. Let me start off with what I started the test with

  • on the iPhone – I have my full set of contatcs with phone numbers, some email addresses, etc.
  • in my Google Contacts – I have some email addresses Gmail auto saved into the contacts.

I put in the config in Tunes to sync contacts with Google. Then I let it rip. The initial sync took about 10mins (I have about 1200 contacts in the phone).

When it was done, I looked through Google contacts and everything was uploaded nicely. I had some contacts with numerous phone numbers and all showed up well. Even some has custom phone types, e.g. I have a contact with a “home kitchen” as a phone type. Google accepted it as well. I was pleased.

Syncing with iTunes over a few days proved the updates and sync are working nicely.

Then, I decided to try out syncing over-the-air. It would be nice not having to remember to plug the phone to sync every other day. Any updates to the contacts will sync within minutes with “push”.

On the iPhone, I went to settings -> mail, contacts, calendars -> add account -> Microsoft Exchange. Went through the account creation wizard, and picked to only sync Contacts, keeping mail and calendar off. (side note, the server you want to connect to is m.google.com)

It prompted that all contacts in the phone will be wiped out (this was pre OS3.0). I know that my contacts are already well sync with Google already so I could confidently hit yes.

My contacts on the phone became blank, and then the over-the-air sync started. I could see contacts starting to be populated. If you scroll right to the bottom of the contacts, you could see the total count of contacts in the phone. In under 10 mins, I could see all my contacts downloaded.

Verification : the number of contacts were right, all contacts were downloaded. Then I picked up some names and check… looked fine. Until I hit some special contacts with a lot of numbers and email addresses… not everything was downloaded. Some numbers and email addresses were missing. Double checking in the Gmail interface, they were still on Google. So the sync was not perfect. After searching around, I found that it was a limitation of the activesync protocol.

You can read the actual post here. But here’s the essence of the issue. It’s not an iPhone nor Google issue. It’s a limitation of the activesync protocol.

Activesync only allows the following per contact

  • up to 3 email addresses
  • 2 Home numbers
  • 1 Home Fax
  • 1 Mobile
  • 1 Pager
  • 3 Work (which one will be labeled as ‘Company Main’)
  • 1 Work fax

So, if you have contacts with 2 Mobile (type) numbers, only one will show up after the sync. You won’t lose the other number, but it will stay at the original source. If you have custom phone types, they won’t show up either. So, this did not work for me.

One more shortcoming when using activesync is that the phone types becomes limited. The list that I used to be able to choose in the iPhone becomes limited to that listed above. It would make sense to conclude that it’s due to the limitations of activesync.

Other than the above though, the sync worked pretty well. The push updates went well and I was pleased with that as well. But since I have needs beyond just a few numbers and email addresses, I prefer to sync via iTunes.

On the 11th July, I picked up my new iPhone 3GS from my service provider, Singtel. Out of the box, I put in my SIM card, quickly configured activesync, and BAM! my contacts came in over the air. Even before I paid for it my contacts are ready for use. That was one proud geek moment :D. But when I got home, did a restore from my 3G backup, I reverted back to sync via iTunes instead.

So, in conclusion, syncing of your iPhone contacts with Google has 2 methods. You just need to pick the option most suitable for you. If all your contacts have very minimal numbers and email address, and you have a mobile data plan, go with over-the-air. Otherwise, sync via iTunes should be preferred. At when during moments where you’ve lost your contacts somehow, or you’ve picked up a new iPhone, you can turn on activesync until you can get back to your computer to sync.