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.
Official
Comments
So now I bind everything to the device instead. Tested it, found a bug where the 'polling' only worked directly after turning it on but not after a Homey reboot, or app upgrade... so I fixed that as well. New version submitted to the app store for approval but not yet published.
Can you try to disable the app under 'Settings > Apps' and then enable it again? That forces a reboot. Perhaps then it works.
I received a few errors from the Synology app regarding timeouts on the IP this morning, perhaps that is what happened in your case.
I made 2 flows:
1- When 'woonkamer' camera starts recording, say "Start"
2- When 'woonkamer' camera stops recording, say "Stop"
Then I made a 3rd flow, when anything was said, start recording on "woonkamer" camera.
I did a 'test' on the 3rd flow, and within a few seconds Homey said "start".
Then I changed the 3rd flow, to stop recording instead. I tested the flow, and Homey immediately said "Stop".
=============
This was after checking the "polling" box.
Then I stopped the app and started it again, to make sure it ran the polling function automaticly after an app restart. And then ran the same test. It worked well.
I did come across some "error: code 105" while testing. Synology sometimes does that. And then it didn't poll the device anymore.
So I decided to move the 'activation of polling' upwards in the code so it should still owork after an error code. And that seems to have worked. Even after some error codes (105 and 117) it now still polls.
So the 1.1.5 is now submitted to the app store for review.
I want to use it to email a picture when a movement is detected, however most of the time the picture has nothing on it. When I look at the recorded movie on the NAS I do see people on it. Is it possible to add a card that makes it also possible to send the recorded video once the recoding stops?
I think that it is not possible to do the same with video, but I might test it in a few days.
Just search on 'app password google'
https://www.google.nl/url?sa=t&source=web&rct=j&url=https://support.google.com/accounts/answer/185833?hl=nl&ved=0ahUKEwjT2qnGwPvNAhXJPRQKHZQICjMQFggpMAA&usg=AFQjCNF3-biCGGHy0clbFjq8Zb9eD_76rA&sig2=MUk2pMMQ7YJBRBGa98KFlw
You can create passwords for apps.
Received two emails yesterday but after that no more emails
Sometimes the connection Homey <---> Synology doesn't do what it should do. The commands generate an error in Synology. I blame Synology for this.
Disabling and re-enabling the app won't help.
The SMTP settings work fine, I get the test mail.
enablepolling = undefined
Synology Surveillance Station app - got get_devices from front-end, hostname =192.168.89.2
[CMD] Login called
RESPONSE END "{\"error\":{\"code\":402},\"success\":false}\n"
[CMD] List called
RESPONSE END "{\"error\":{\"code\":105},\"success\":false}"
[CMD] Logout called
RESPONSE END "{\"success\":true}\n"
-=
I am using a non-standard port for my NAS. http , not https. If I set in on a non-responding port, I don't get this output. If I use a incorrect password, I get the same output. If I use an incorrect username, I get the same output.
It looks like something with authentication on the WebAPI
-=-