Skip to content
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

Push As Installation not working? #90

Closed
jasondborneman opened this issue Dec 27, 2021 · 8 comments
Closed

Push As Installation not working? #90

jasondborneman opened this issue Dec 27, 2021 · 8 comments

Comments

@jasondborneman
Copy link

I'm referencing the Push As Installation instructions: https://github.com/tidbyt/pixlet#push-as-an-installation

Just got my Tidbyt today, and I'm trying to write some code that shows my current lifetime solar power production, etc. When I add an Installation ID to my push command, it never shows up in the app on my phone as that Install ID or anything added by API as the instructions show should happen.

Here's the commands I'm running in a .sh file that I plan to have update daily from a Raspberry Pi and then I'd like it to show up in my rotation.

pixlet render solarlife.star

pixlet push --api-token <API TOKEN> <DEVICE ID> solarlife.webp Solar

Also tried it in quotes ("Solar") to no avail.

Is this a known issue?

Thanks!

@TaylorWh0
Copy link

Hello,

I am having a similar issue and would love help. I am able to push the .webp file and it shows up on the Tidbyt for about 30 seconds and then is gone. It never shows up on the Tidbyt app on my iPhone. I attempted giving it an installation ID in quotes and without quotes. Neither worked.
Any help would be great, thank you!

@joeyhoer
Copy link

joeyhoer commented Dec 27, 2021

I had this issue also; but I was able to work around it by quitting the iPhone app, and then opening it back up. The Tidbyt app will then display within the iPhone app.

(Make sure you're passing the installationID as noted above.)

@TaylorWh0
Copy link

TaylorWh0 commented Dec 27, 2021

I had this issue also; but I was able to work around it by quitting the iPhone app, and then opening it back up. The Tidbyt app will then display within the iPhone app.

(Make sure you're passing the installationID as noted above.)

Thank you for the quick reply. I did kill my iPhone app and it still did not show up. I added "installationID" and then the name of the file, still does not save. It does successfully push one time. I also rebooted the Tidbyt device its self, no luck.

@jasondborneman
Copy link
Author

jasondborneman commented Dec 28, 2021

Yeah same here, even tried rebooting my phone and the Tidbyt with no luck.

@joeyhoer when you say passing the installation ID "as noted" what format do you mean? I checked out the code and it should work as long as it's the third argument (after the api key). But maybe I misunderstood

@magicmq
Copy link

magicmq commented Dec 28, 2021

The installationID argument was added in 3588131, which is after the 0.7.0 release. You'll need to build the project yourself for it to work, or wait until they publish another release.

@joeyhoer
Copy link

joeyhoer commented Dec 29, 2021

Ah, that makes sense. I did have to build from source, as the homebrew cask isn’t currently working on M1 macs.

@jasondborneman
Copy link
Author

The installationID argument was added in 3588131, which is after the 0.7.0 release. You'll need to build the project yourself for it to work, or wait until they publish another release.

Gotcha. I should have noticed that when I was looking at the code! Thanks!

@jasondborneman
Copy link
Author

Building from latest source worked! Thanks, @magicmq!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants