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
What is the token that I should fill in when sending an image in a flow? Where can I find it?
I see I can make a token with the Synology card, but the details to me aren't clear.
Is there something I'm doing wrong here?
Edit:
I did the same setup but with the new Image Grabber app, and this is working perfectly!
As for the group messaging, I don't suppose it's as easy as allowing a custom chat_id in the settings where we can add the relevant Telegram group ID?
Group messaging, it is probably as simple as that, yes. Still have to think of the best way though...
1. I can change the existing flow cards and just add an optional "chat_id" field.
2. I could just have multiple Telegram ID's connect to the same Homey using a "/register 12345a" command, then use a pulldown to be able to select the chat_id in the flow cards
3. I can do option 2 but create multiple "devices", one for each chat.
What are your thoughts on this?
Although I guess option 3 would probably the most user friendly in the long run.
For 2 & 3 though, do you really need to register multiple ID's? Or would it be easier to allow people to maintain their own list of chat_id's with a name in the Homey - Telegram settings. Then in the flow, the "new" chat_id field can just reference this list for the relevant id.
When it works, I am very anxious to investigate linking to pictures of my camera's and notifying via iPhone.
@Justjomi it should work with Synology, but Synology is very slow and sometimes refuses to take a snapshot. It works better if your camera has a (fast) snapshot function and if you paste the URL of the snapshot into the ImageGrabber app.
Then use that URL with https://apps.athom.com/app/image.grabber
I haven't had time to test this yet, but feel free to try and let me know if it works.
Is sending images to Telegram Bot currently not working?
I just tested it minutes before you posted and had no troubles sending an image.
It also only works on JPG files.
Check the URL in a browser to get snapshots from your camera, for a Foscam it should be something like the below (of course, replace the <IPAddress>, <username> and <password>):
http://<IPAddress>:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=<username>&pwd=<password>
Create the flows:
A flow to grab the image when something happens:
A flow to send the image when it is grabbed.
And that's it!
thanks
I have tried to do so, with two IP Cam's grabbing the images, but can't get it to work.
The grabbed images are coming from different cams/ip's, so they should be distinguishable with the tag "URL" from the Image Grab card, but can't get it to work.
i have also tried this with two cameras but i see only one snapshot with pussbullet app, how does imagegrabber see that there are two different urls's grabbed.
Did anyone test this yet?
The Telegram app always has been a "test" for me to see what is possible. I tried to build in commands that connect to other apps, like the Synology app to grab a snapshot.
I decided that that is not so useful anymore, now there are several other ways to accomplish this without any of the code built into the Telegram app. So I will not add that to the new version, and instead focus on other improvements for the app.
For example, I will make it possible to add multiple accounts to the Homeybot so all your accounts can be added (and removed) as devices.
I will soon start working on this, and will start working on my other apps (ImageGrabber, Webhooks and Synology Surveillance Station to start with) as well so they are compatible with both Homey v2 and the new way Athom introduced for image tokens.
Is there a way to accomplish this with the current version? Or do I need to wait for your next version?
I am not a programmer, but am willing to help in any way I can (testing for instance)
Perhaps you can try to see if it is possible to add Homeybot to a groupchat, and then use the /register command that the Homey app shows. That might work.