0

Smartthings HebCal Integration

Ephrayim 1 year ago updated by Brielle Luna 21 hours ago 5

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,

Shai

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. 

It also didn't worked for me, but I have to admit I am not really sure if I did it right. Could someone please send help? Thanks a lot! www.application-filing-service.com