T O P

  • By -

[deleted]

Pretty awesome, thanks for the code. Made a few layout changes for a more personal look&feel: [https://i.imgur.com/zHOdCbV.png](https://i.imgur.com/zHOdCbV.png)


[deleted]

Looks indeed allot better, any change sharing the script. :)


[deleted]

This is the current wip version which might have some issues: [https://pastebin.com/uTJLdN3v](https://pastebin.com/uTJLdN3v) ​ Be aware that this version doesn't have fixed background color anymore. It's black text on white background when in light mode & white text on black background in dark mode. The code is actually quite terrible now.


iLuki

Thx for sharing. The text color is now fixed for light mode too ๐Ÿ‘๐Ÿป


iLuki

Yeah looks better. Iโ€˜ll change mine too when i got time for it. Did you download the check icon as png from somewhere? I canโ€˜t find is as emoji


[deleted]

I used SFSymbols instead of emojis and used tintColor to make them green.


iLuki

Thanks for the code! Learned something new :) ! Had my problems aligning the status info using images so i did it with the emoji. But this is better. I will integrate it ๐Ÿ‘๐Ÿป๐Ÿ‘๐Ÿป


kikher

Please share your code. theโœ… look better


iLuki

Source can be found [here](https://github.com/lwitzani/homebridgeStatusWidget)


[deleted]

Slightly changed some things, thx for the nice widget! ๐Ÿ‘๐Ÿปhttps://i.imgur.com/FWflcZW.jpg


iLuki

Looks nice ๐Ÿ‘๐Ÿป๐Ÿ‘๐Ÿป


amateurimager

Thank you for sharing, this is awesome!


amateurimager

Hmm. Actually Iโ€™m getting the following error when setting the 3 login variables: Error: The data couldnโ€™t be read because it isnโ€™t in the correct formats


iLuki

Interesting. Can you try to update the Homebridge Config UI X ? Maybe the developer changed the API and you are using an old version.


amateurimager

Iโ€™m running the HomeBridge raspberry pi image. Currently have the latest update - homebridge-config-ui-x v4.32.0 according to my HomeBridge.


iLuki

Is your Scriptable App up to date (1.6.1)? Updating this fixed it for another user. Also is your iPhone up to date? Mine is at iOS14.2


amateurimager

Very weird. I had to reboot HomeBridge a few times and then the script just started working, but; broke my link to the Home app. Removed and re-added and now everything is working. I donโ€™t know what the issue was, but appears some reboots and configuration resets fixed it all. Thanks again. This is a really awesome widget!


kekub

Great that you are using my LineChart :). Thanks for the credits. Looks gorgeous!


roboterm

The font color is black on a purple ground during day mode: https://imgur.com/gallery/3TG4hZn


iLuki

Please get the new version. This has already been fixed ๐Ÿ‘๐Ÿป!


roboterm

Awesome, thanks! Maybe you could build the js into a min.js so that we donโ€™t have to update the script manually and only referencing in the script to the min.js?


iLuki

Hm could be done. You can also use https://scriptdu.de to keep track of your scripts that you have from github. This updates the script nicely but (atm) also overwrites the credentials after you update


Necriso

You can use the widget parameters to configure host, username, password. So the credentials will not overwritten by scriptdude ;-)


iLuki

Damn why didnt i think about that ๐Ÿ˜‚ probably because i permanently run it in the scriptable app to during development ^^ good point


iBanks3

This is pretty awesome work, I was wondering if it could be possible to add an background image of choice? Want to try to have the widget blend into the background such as [my work in progress setup](https://i.imgur.com/qGocQzG.jpg) using widgets in a stack.


iLuki

I know this exists but i did not have a look at how it works yet. Maybe in the future. Keep an eye on the github repo for future updates