-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
not an issue but not sure where to have a discussion :) #110
Comments
This is a great place for discussions, and thanks for the kind words! I assumed one day I'll need to support this "multi device deploy" feature, but that hasn't really been on my list just yet, as all devices I have around the house have slightly different things running on them. The best way to do this today is to create one scene, save it as a template ("save to my scenes"), install that on other devices, and then deploy. It's not the end result, but should be fine if you don't make changes often... Yet if you do... I'd be happy to make it work. I have an idea on how to do it, however as I wrote here, I already have a bunch of work queued up over the holidays that I need to get through first. So.. soon... 😆. |
1 - makes sense |
COOOL I got it working in a basic way - it is showing the temperature over the image. next question - what is the formatting or basis of $state{"outside_temp"}{"state"}.getStr ? I want to see if I can round the temp and add on the units, and such. Again, thanks! What a cool project. |
for example
how should I round that to one decimal place? is that possible? |
That's great! As for rounding, it's all nim code in the end, so whatever works in nim, should work here. A quick google led me to this page, which seems to suggest either formatFloat(9.779999999999999,format=ffDecimal,precision=2) or &"{9.779999999999999:0.2f}" So I'd try something like: &"{state{"outside_temp"}{"state"}.getFloat:0.2f}" |
Oh, and in case it helps, I finally created a Discord for FrameOS: https://discord.gg/pb2EHnfn I'm happy to help here, especially as it leaves a trail for others to leave, though feel free to join if you need some quick help on things. I'll link it from the main frameos.net site once I'm done with the HA addon... |
in the end we got this to work : formatFloat((try: parseFloat(state{"outside_temp"}{"state"}.getStr) except: 0.0), ffDecimal, 1) & "°F" THANKS! |
This project is really cool! I was about to start to write a way jankier version and then found it.
I have 6 eink frames embedded in the wall of my bathroom to do rotating art and into in the morning. I have a larger repurposed monitor that I also show images on from trips and family and such.
I want them all to be identical. What would you do as a best practice to make that happen? Right now I have a basic SD RAM example working and I had to remake it 8 times. I would love to understand how you might just deploy the same to all devices.
Second is that I use Home Assistant and for the life of me I cannot figure out how to get it to show the status of a sensor using your flow diagram. Anyone have an example of a flow that might make that happen? I tried modifying the text message one, but no luck.
The text was updated successfully, but these errors were encountered: