# setCameraImage not showing all images

**URL:** <https://community.homey.app/t/setcameraimage-not-showing-all-images/78405>\
**Category:** Developers\
**Created:** [March 26, 2023, 9:13am UTC](https://community.homey.app/t/setcameraimage-not-showing-all-images/78405 "2023-03-26T09:13:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![WouterV](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wouterv/32/14740_2.png) [@WouterV](https://community.homey.app/u/WouterV)\
**Post date:** [March 26, 2023, 9:13am UTC](https://community.homey.app/t/setcameraimage-not-showing-all-images/78405/1 "2023-03-26T09:13:09Z")

</div>

I’m using the following code below to show Hikvision camera images.  
On the old homey this is working great. On the new homey I have 2 problems.

1. not all 5 camera are showing up, randomly camera’s are showing up after I restart the app but never all 5 are showing up. sometimes 3 and sometimes 4 are showing. When logging all 5 camera’s are beeing registered: console.log("initiatecams: "+camID + " : "+camName);

2. when I click the dropdown in the app I cant select a camera. In the web interface this works.

Here is my code:  
this.image = await this.homey.images.createImage();  
this.image.setStream(async (stream) =\> {  
request({url: protocol + this.settings.address + “:” + this.settings.port + “/ISAPI/Streaming/channels/”+ camID +“01/picture”, strictSSL: this.settings.strict, rejectUnauthorized: this.settings.strict}).auth(this.settings.username,this.settings.password,false).pipe(stream);  
});  
await this.setCameraImage('Camera '+camID, “[”+camID+"] " + camName, this.image );

Am I doing something wrong here?

---

<div class="post-metadata">

**Author:** ![WouterV](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wouterv/32/14740_2.png) [@WouterV](https://community.homey.app/u/WouterV)\
**Post date:** [March 29, 2023, 11:18am UTC](https://community.homey.app/t/setcameraimage-not-showing-all-images/78405/2 "2023-03-29T11:18:05Z")

</div>

Anyone? 😃

---

<div class="post-metadata">

**Author:** ![OlaSt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/olast/32/17168_2.png) [@OlaSt](https://community.homey.app/u/OlaSt)\
**Post date:** [June 23, 2025, 5:38pm UTC](https://community.homey.app/t/setcameraimage-not-showing-all-images/78405/3 "2025-06-23T17:38:09Z")

</div>

Dit you ever find out? Struggling with the same.
