Smartthings HebCal Integration

Ephrayim 2 years ago updated by dotan_shai 3 months ago 9

The HebCal Smartthings integration changes modes based on the candle lighting time provided by the HebCal API. The smart app code can be seen here. Recently I noticed that the smart app is switching to Sabbath mode at candle lighting time on Chanukah due to chanukah candles being listed under the "candles" category. Because of the way the JSON is parsed this is causing the smart app to trigger Sabbath mode at candle lighting time during Chanukah. 

I'm not saying this is an API issue because it can be resolved by changing the app's programing, but since there are many people using this Smartthings smart app (which is an official app available in the Smartthings store)  perhaps the API could be slightly adjusted so as to avoid this error?

I tried to use this smartapp in Israel / Rehovot. 

It didn't worked for me, I wasn't able to receive a popup notification. I suspect it is something with the Zip code. Can someone please explain how to use in Israel? 

Shai Dotan 

Smartthings is not supported in Israel. I agree there is likely an issue with the zip code lookup in that country. As far as the push notification, this feature is broken in the version of the smart app provided in the Smartthings store but I have corrected it a custom smart app that I use. 

I would suggest that you instead import the HebCal data into a Google calendar and use either IFTTT or GCal Search to trigger a mode change based on "candle lighting" and "Havdalah". 

Thanks for replying.

I want to avoid using GCAL and IFTTT for that. Is it possible to allow 7 digits ZIP code as in Israel in HebCal or allow in SmartThings using City name instead of Zip code while keeping exact city name spelling as in HebCal.
Another solution might be finding a city in US that have exact  "candle lighting" and "Havdalah" timing as the city in Israel. the SmartApp is using local time , can you suggest how to do that ?

Pleas advise,


Not sure why you want to avoid GCal and IFTTT, the HebCal integration is also reliant on the cloud (HebCal and Smartthings). And honestly, the way the official app queries at 8 am exactly has caused the integration to be unreliable (this could be for several reasons). You are much better off using Google calendar which is very reliable. 

Ephrayim, thank you for your help and expertise. I have downloaded Hebcal to Gcal, now how to I get smarthings to query Gcal/IFTTT over the Samsung server. thanks 

Gcal is the name of a custom app for Smartthings. Whether you use Gcal or IFTTT you are going to create a virtual switch in Smartthings that gets turned on and off based on the start of an event in the Google calendar. Candle lighting events mean the start of shabbos and yom tov and havdalah events signify the end. You then program the mode to follow the switch's state. 


Hi, friend of mind just rewrite the SmartApp to include Israel as well . If someone is interested, his work can be found here :
The ReadMe is in Hebrew and he refers in the SmartApp to geonameid that can be find web page address after generating the calander and not the Zip Code. I hope this is clear...


the drive folder is empty...