App not supported for Homey v2.x
I'm running Homey v2.0, but with this version, it is not possible to install this app because it is not compatible. Is it possible to update the app so it will run on v2?
Thanks already, Olof
Comments (19)
-
-
I've stopped development on the App for now. Feel free to make a Pull Request to this repository.
-
A very useful application, it would be good to adapt it Homey v.2.0
-
I'm looking for project collaborators... :)
-
+1 ;-) Would love to help but i'm not a developer. Perhaps Homey developers are willing to help? This will directly solve their problem with built-in home/away presence.
Anyone willing to help Terry with making SmartPresence great again?
-
It would be great if Athom made this method build-in. But I don't think they want it, it's been out there for a while.
-
Home/away detection worked awesome with your app! Hope someone is willing to help get it working on v2 again. *hashisfingerscrossed
-
Vote for this! Make SmartPresence great again!
-
Hi Terry,
Only thing that has to be done is up the compatibility to >1.5.7, see https://community.athom.com/t/presence/9737/4
I wouldn't mind taking over the app but don't know bitbucket enough. And tbh you are the only one I saw who uses this repo...
-
@bvdbos I could simply invite you to the team to collaborate in this workspace.
-
The solution (for now) to be able to use Smart Presence again on Homey v2.0 !
I have found some usefull information on the internet and created a manual.
Hope this helps for now! Best would be that someone could create a new version of the app here and upload it into the Homey app-store.
Cheers
-
Upping the compatibility is not eough. The app is still written in sdk-v1 and not in sdk-v2. If you only up the compatibility, the app will crash after adding a device but will work after a restart. With help on Slack I created a workaround, if Terry can give me rights, I'll up the PR. However, I don't know if Athom will allow the app in the store... @terryhendrix-kate you can also apply the fix in the function Device yourself. Exchange the this.loadsettings... for
this.loadSettings(function() { console.log(this.getName(), ": Loaded device with settings", this.settings, "for", this.device_data); if(this.settings == null || !this.settings.hasOwnProperty('away_delay')){ console.error('Could not retrieve away delay from settings'); }else{ this.last_seen_at = new Date().getTime() - (this.settings.away_delay * 1001); } }.bind(this)); }
-
@bvdbos Why wouldn't Athom allow it? I'll add rights for you.
-
repo owner You have been granted access @bvdbos
-
Because the V1-api has been decrepated long time ago already....
The master-branch is still protected probably:
remote: Permission denied to update branch master. To https://bitbucket.org/terryhendrix/homey-smartpresence.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'https://bvdbos@bitbucket.org/terryhendrix/homey-smartpresence.git'
-
You may not push on master. Please push a feature/branch and create a Pull Request to the development branch.
-
PR-request for master created from branch "fix-for-v2"... And learned something today :)
-
- changed status to resolved
Fixed in the new beta version 0.5.0
-
Awesome! Hopefully Athom will fix the majority of issues also. My Homey is almost unuseable after installing V2.
Really looking forward installing the update!!! Thanks!!!
- Log in to comment
Would be really really welcome yeah!