This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Comments
I'm still a believer in the Telegram Groups
But If I can send it to a group that is also fine.
Maybe someone can explain me how to do that?
But how safe is it to send photos to a Telegam bot.
If I'm signed in with a different account on telegram that has no rights to the by me created bot, but this account can search find and add the bot I created. In that account, no messages will appear on this bot as far as I can see.
But why is "my" bot visible when a "strange" user searches and why can he add him?
Maybe future plans of using Wire End-to-End encrypted bots or similar, or perhaps PushBullet or PushOver for which I see there are already apps for in Homey.
Bots are actually meant for multiple users, but that's the only way to make a connection between Telegram and Homey. The "default bot" for the Homey app is also shared amongst multiple people, but the conversations (and thus the messages) are "private" (as in, you can only see the messages that are sent to you, not to others).
grabbing flow
with the URL in a browser I get a nice still image of the camera.
the sending flow
just to try several ways of delivery I tried these 3
but when image grabbed only pushover is getting a notification on my phone, where it doesnt show an image, but a long string of characters.
When i test the sending flow with image 'undefined' all 3 deliverable options sent a notification.
when i test the grabbing flow only the pushover gets that notification.
any idea?
The Homey app does not support the imagetokens (yet, might be possible in the real near future) and I think the same counts for the Pushover notification (although I have a vague memory of assisting there a little, but I think that would also mean there is a separate card for it).
when testing the grabbing an image the image also doesnt get to telegram
You cannot test it unless you base64-encode a JPG-image and put it in the token, so with the "undefined token" it will not work for sure.
I will also google it but that base64-encode, is that something that might be wrong?
The jpeg link shows on the snapshot url in a browser so i think that is good. (is that something i can test somehow if the image is grabbed correct?
If you want to have more information you can try running the app as a developer with the developer tools (https://developers.athom.com/) and see what it shows in the log lines
The grabbing card does show a green check on testing so based on that I think its working correctly. Strange that i"m not able to get it through telegram or something to my phone than.
Will retry to build the flows from scratch, you never know
As soon as you grab an image from another camera, it overwrites the stored image in memory.
@Peke do you have an example of an API call getting the url of an image?
I was looking here but don't know if thats the correct docu.