That’s an interesting issue. Tagging @spelcheck to get his input on that one. Can’t say it’s overly surprising HE only misses device uses Marcus’s drivers. Disappointing to say the least.
The only advice I can offer is a workaround. You can set the icon via CSS. The more I think on it, that would be a mess since the battery icon changes with the % level. Let’s give the master a bit to opine on the subject.
In that case @Mattias use one of the many averaging apps to give you a virtual device mimicking those devices with no decimal. Unless of course you can simply change the output in the driver.
I vote for this! I don’t know anything about groovy code, so I hesitate to try. It does seem odd that we get decimal precision for battery life- no way are the battery measurements made by these cheap devices anywhere close to accurate enough to require decimal representation. Anyone with skill- can you post a code patch?
I agree with you, but from a cursory overview of the drivers that I think you are using, could you post the ones just so I am sure, battery is being generated from a voltage reading and then scaling that to the 0-100% scale, which is generating decimal place. But from the code I am seeing, it seems to round as the last step, but my guess is the type is still decimal. I wonder if it would be as simple as casting the rounded output as an int.
Unfortunately, I do not use any of those drivers so I cannot test it out.
I have a weird issue.
Every time I paste the layout in Smartly, it doubles the size of each tile.
Take, for example, the top left tile (HSM Status) #41. It’s original size was 8x4:
Welcome I think I can shed some light on this issue for ya.
This is a known ‘bug’, when using the “autofit” setting in HE.
If you have it set as auto smartly will convert you to “half height mod” and double your grid each time. Make sure you have something in the Column and Row fields before updating smartly (you can remove them after if you want auto fit). Smartly default are shown below.
I remember building in a way to reverse (aka double) the half height mod. Try putting in 911 for column width and row height, then update, copy the JSON back into smartly, save, repeat.
For every time you’ve updated where it has doubled the size of each tile, use 911 and update again.
Let me know how it goes, thank you for reaching out
EDIT: Save a copy of your JSON before doing anything more though.
Hello I come from another thread because I have a problem with smartly, when I modify icons, I put them on the dashboard to the size I want, when I want to modify again and I copy the json when I paste it, the measures of the icons are deconfigured again and it They see me in great shape, I have to do everything again, can you help me?
Can someone help me, every time I change something in the smartly, and I update the .json, it changes the larger, round icons and I have to do it again, the font size and the icon size, the truth is a delay to do this every time
This is a known issue. There was a version that allowed those changes to be omitted, but it no longer function. For now you must making those changes each time. I need to do the same, so I feel your pain.
Sorry @chicoprat I misunderstood. It sounds like it’s just those icon size settings that are getting overridden. Yes what @techmedx said is true, those particular values will need to be changed back to what you want them to be after each update.
Not sure if you are still supporting this mod but with the lastest versions of hubitat firmware 2.3.3.134 the save button no longer seems to work on the injection driver. It says it worked but when you exit by clicking paw or reload the changes weren’t saved.
Just wanted to let everyone know this is being looked into. As of now I can say running version 2.3.2.141 smartly drag and drop still works, but soon after that it breaks (not 100% sure exactly which version as of yet)
I want to take a minute to thank everyone that has supported smartly over the years. When my friend @spelcheck started this project he had one simple vision in mind.
“Make it (HE) prettier and more ‘marketable’, hubitat sales will increase, hubitat will hire more developers that fix all the things, smartly ends up being unnecessary.”
While this project may have been…, misdirected, as a personal friend to the original dev I wanted to post an “un-official” end to this chapter of smartly. The official announcement is linked here
IMHO smartly did accomplish @spelcheck’s dream of making HE dashboards prettier, and that functionality still remains. There are no plans to remove the smartly transmogrifier website (credit @danabw ), or any of the hosted icons and such that make its main objective accomplishable.
However in closing, there will be no future development, or patches to smartly in the foreseeable future. I’ve never claimed to be a dev; just a friend, and faithful minion to a very talented one, that unfortunately, is no longer directly available. If there is a dev willing and able to continue this project, my simple services, and connections are always available.
To mirror a post I just made on the HE Community…:
I’d also like to extend my thanks to all those responsible for the Smartly project. This kick-started a lot of my interest in modifying dashboards and producing tools to make that easier.
With the recent issue reported with the Drag and Drop feature not working post platform version 2.3.3.x, I have modified the Javascript file for the Drag and Drop feature of Smartly, which will now copy the updated layout JSON to the clipboard when you click the Save (disk) icon. This text can then be manually pasted into the Layout section of the Advanced dashboard Settings.
I have spoken with @markus and he was happy for me to maintain this feature, suggesting I setup my own copy under a separate repository, which I have done. I still need to do some more housekeeping like bringing the device driver across and setting it up for HPM use, so for now you will need to manually download the file to your PC from the link below, then upload it to your HE hub via File Manager. You can then open / refresh your dashboard to start using the updated process.