That all worked great thanks!
Not sure why it reports no status when in my smartthings app it says my lock is locked. But at least it is displaying all correctly now.
That all worked great thanks!
Not sure why it reports no status when in my smartthings app it says my lock is locked. But at least it is displaying all correctly now.
You can either clone/download the whole repository (including the SmartApp code) here by clicking the green Clone or Download button the right corner, then click Download ZIP. Or download individual files (for example, if you only want to update the python script without downloading the whole repo): Do this by clicking on the file, then right-click the Raw button and Save Link As…
Thank you,
Does it show “(No Status)” in the menu now?
If you want to debug the lock a little more: another thing we can check is what the status shows in the IDE. If you login, then My Devices > click your lock then screenshot or copy what it shows in the Current States section. I doubt it’s using a custom attribute but worth a check.
I guess I’m not having a good day.
I put the URL and secret inbetween the double quotes here. Is that correct because I am getting a syntax error from BitBar for line 115.
smartAppURL = cfgGetValue(‘smartAppURL’ , “” , True)
secret = cfgGetValue(‘secret’ , “” , True)
There’s a separate configuration file here which goes into the same directory as the ST_Python_Logic.py file. Sorry I still have to update the first post with the updated instructions (they have been updated on GitHub though). This makes it easier so updates can be made to the code without affecting your settings. So nothing in the py file needs to be changed, only the cfg file.
Got ya, thanks.
This is fantastic. Thank you for taking the time to do this. So much faster then opening up my app.
Question, do this automatically refresh or do I have to manually push?
Thanks for the feedback, glad you like it!
Right now it’s set to refresh every 5 minutes. You can change this to any interval you’d like, though. You just need to change the filename of the ST.5m.sh file. 5m = 5 minutes. Example: ST.1m.sh would refresh every 1 minute. You can also manually refresh when the menu is open with the shortcut ⌘+R.
Love the work you have done with the Thermostats, Night Mode and other changes! I have sent in some Github updates for your review that handle ST modes and routines.
I’m up and running and I must say thanks. This is really slick.
Any chance of getting it to handle more than one thermostat?
@kurtsanders Thanks for those changes! The mode menu looks great!
I merged in Kurt’s changes as well as modified the thermostat selection to allow multiple thermostats. This works but isn’t 100% yet since the main menu thermostat color (blue/red) defaults to the first thermostat (not selectable). Also, the last event timespan is an event on any thermostat and not individually. But there should be a menu item for each thermostat and each can be controlled individually. I don’t have multiple thermostats so I can’t fully test, but I don’t see any issues. @Nezmo please let me know if you see any issues.
This is a change to the python script as well as the SmartApp
The update is available on GitHub now.
Thanks for the feedback!
Awesome, thanks!
Yes sir, will do. I’ll update later tonight or first thing tomorrow.
All looks good from the multi-thermostat front, thanks again.
I added a new menu choice at the bottom of the STBitBarApp menu for your users to easily access files and websites to keep this application current.
Nice! The configuration menu looks great! I just updated GitHub with the changes. I made a few other small changes:
This is a change to the python script and plugin script:
Just a minor issue with this … the Browse SmartThings IDE looks like it assumes shard 01? Presumably that’s an easy edit in the code somewhere so I’ll have a look.
UPDATE: Easily fixed. Not sure if you want to make that a choice on the menu?
@Nezmo Ah good catch. I changed it so works off the base of the SmartApp URL (which I’m assuming changes based on the shard). I’m on the first so I can’t test. Can you see if it builds the correct URL for you?
Will do. Is it just a Python script change?
Yep, just the python script.