I did not plan that oneâs thermostat would return a missing value which caused the error you identified. I have made a minor change to the ST_Python_Logic code to prevent this error condition. Please either manually copy the new ST_Logic_Python.py file and paste into the file in your BitBar Plugins directory or use the shortcut download option in the âST Actions and Shortcutsâ BitBar menu and replace the older version in your BitBar plugins directory.
In the history for presence the icon is showing an X regardless of the event. It did this in the previous version for me on a Life360 presence âdeviceâ but it worked correctly for my phone/ST app presence. In BitBar V2 it is not working for either.
Thanks for finding this bug in the event displays, I guess I thought I was always âawayâ when I saw the 'Xâs.
I have made a minor change to the ST_Python_Logic code to correct this false condition.
Please either manually copy the new ST_Logic_Python.py file and paste into the file in your BitBar Plugins directory or use the shortcut download option in the âST Actions and Shortcutsâ BitBar menu and replace the older version in your BitBar plugins directory.
Note, updating from the shortcut did not work. It did download a file and I copied it to the right directory but it seems like it was not the latest update as the issue was not corrected in events. I manually copied and pasted and all was good.
Maybe thereâs settings for this in the ST-app. Sure would be nice to have access to the preferences on the computer as well, instead of juggling multiple devices. Not complaining, just trying to streamline the UX
You can adjust the settings for # of items displayed. By default, it is set to auto-size between present/not present.
Open the ST app, go to Automation: SmartApps: BitBar Output App, then select BitBar Output Menu Display Options, then choose Sensor Status Icon Display Options. On that screen on the bottom Option: Min Number of Presence Sensors to Display, put 3 in that field. A blank field sets it to auto-size by default.
Looks like @jkp hit the nail on the head for the forced display of all your presence sensors.
I too would love to control all the various options from the Mac, leaving just the selected devices to the mobile client. Perhaps someday I can work on a means to change some settings locally and override global settings in the mobile client.
There are complexities & support downsides to creating global and local settings, being:
Local user options would need to be stored in a local preferences file that could get corrupted, moved, etc.
If BitBar would not display a menu for some reason because of an invalid local option setting, for example, I would be unable to help each user find their locally stored preferences file, delete it, and start over.
Hopefully the number of times one has to access the mobile client after finding the perfect look & feel for their menu would be minimal.
Great suggestion though, as I hate having to access both for support and new development.
@Nezmo: I analyzed STBitBarâs Actions and Shortcuts âDownloadâ old file problem that you identified above. I think I found the problem along with a fix. I appreciate you finding and reporting this.
Answer: A web proxy cache holds an outdated version of the ST_Python_Logic.py file in its local cache.
Action: Download updated 2.31 ST.5M.sh file. With your favorite text editor, like textedit, open the downloaded file and copy the contents from this version into the same filename in the BitBars Plugin directory.
When I click âRun in Terminalâ I receive the error message "ycetindil$ /Users/ycetindil/Documents/BitBar/ST.5m.sh File â/Users/ycetindil/Documents/BitBar/ST/ST_Python_Logic.pyâ, line 117
print âSevere Error:â + str(e)
^
SyntaxError: invalid syntax
WOW, Iâm brand new to ST, just bought a ST Hub V2 and couple sensors
I was able to follow your V2 instructions with out confusion, no issues, it worked with out a struggle.
Using one Samsung Multipurpose and one Visonic sensor from Temperature monitoring, no issues.
Iâve since added two more Visonic sensors. The new sensors are appearing fine on the Mobile App and Webpage, BUT not showing up in your macOS BitBar. Any tip on getting new added devices to show up?
Is there any chance you didnât authorize the new sensors in the bitbar app? Anytime you add a new device you will have to open the installed app and authorize new devices. Just a thought.
Here is where you authorize in the mobile BitBar Output App SmartApp to list your SmartThing Temperature Sensors in the macOS menu each time you add new or want to remove.
As you can see, I have several of these temperature sensors check-marked.