AdyRock / com.switchbot

GNU General Public License v3.0
11 stars 6 forks source link

Support of Camera Pan/Tilt #123

Open papounet-git opened 4 months ago

papounet-git commented 4 months ago

Hello, Do you plan to add support of Camera Pan/Tilt? Can integration with Homey be handled through IFTTT meanwhile? Thanks in advance, Guillaume

AdyRock commented 4 months ago

The app supports the camera but as a motion sensor only, as that's all the API provides.

There's no way to control the camera or fetch an image, so please add your request to the SwitchBot GitHub repo 'OpenWonderLabs/SwitchBotAPI

papounet-git commented 4 months ago

I am currently not able to add the device in Homey as Motion Sensor. I can see it using get status command in the application. Get status doesn’t return any output. Any advice? Thanks.

AdyRock commented 4 months ago

You should be able to add it as a camera, but the camera device only supports motion. Sorry I wasn't clear about that before.

papounet-git commented 4 months ago

Hello,I am not able to add the camera device: it doesn’t find it.I have several SwitchBot devices and follow the normal process to add devices by selecting the application and the type of device.Any idea what could cause the issue?ThanksGuillaume Le 27 juin 2024 à 09:11, Adrian Rockall @.***> a écrit : You should be able to add it as a camera, but the camera device only supports motion. Sorry I wasn't clear about that before.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

AdyRock commented 4 months ago

Could you go to the app settings page and tap on the Get HUB Devices button, then Send the Log.

papounet-git commented 4 months ago

Here it is:Camera device appears first on the list.Status function for this ID returns nothing: {}{ "deviceList": [ { "deviceId": "B0E9FE005306", "deviceName": "Caméra Pan/Tilt 2K 06", "enableCloudService": true, "hubDeviceId": "B0E9FE005306" }, { "deviceId": "C6A810E26930", "deviceName": "Chambre Julia", "deviceType": "Meter", "enableCloudService": true, "hubDeviceId": "D524626CE103" }, { "deviceId": "CF183C39B372", "deviceName": "Chambre parentale", "deviceType": "Meter", "enableCloudService": true, "hubDeviceId": "D524626CE103" }, { "deviceId": "D2F8382F99A8", "deviceName": "Garage", "deviceType": "Meter", "enableCloudService": true, "hubDeviceId": "D524626CE103" }, { "deviceId": "D524626CE103", "deviceName": "Hub Mini 03", "deviceType": "Hub Mini", "hubDeviceId": "000000000000" }, { "deviceId": "D9CC366C62F4", "deviceName": "Lumière cuisine", "deviceType": "Bot", "enableCloudService": true, "hubDeviceId": "D524626CE103" }, { "deviceId": "D9E6B77FC5F9", "deviceName": "Cuisine", "deviceType": "Meter", "enableCloudService": true, "hubDeviceId": "D524626CE103" }, { "deviceId": "D9EA95A745DD", "deviceName": "Porte garage gauche", "deviceType": "Bot", "enableCloudService": true, "hubDeviceId": "D524626CE103" }, { "deviceId": "E1F91E0019A4", "deviceName": "Porte garage droit", "deviceType": "Bot", "enableCloudService": true, "hubDeviceId": "D524626CE103" }, { "deviceId": "E524E2577AD1", "deviceName": "Salle de bains", "deviceType": "Meter", "enableCloudService": true, "hubDeviceId": "D524626CE103" }, { "deviceId": "F2B3CFF79285", "deviceName": "Véranda", "deviceType": "Meter", "enableCloudService": true, "hubDeviceId": "D524626CE103" }, { "deviceId": "F6ED17200975", "deviceName": "Chambre Emmy", "deviceType": "Meter", "enableCloudService": true, "hubDeviceId": "D524626CE103" } ], "infraredRemoteList": [], "sceneList": [] }Le 27 juin 2024 à 22:15, Adrian Rockall @.***> a écrit : Could you go to the app settings page and tap on the Get HUB Devices button, then Send the Log.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

AdyRock commented 4 months ago

For some reason, the entry has no deviceType field. Without that, it can't be recognised. I have seen others report a similar issue with other devices. If SwitchBot ever answers the reports, I will get back to you.

papounet-git commented 4 months ago

Ok, thank you for the feedback !Le 27 juin 2024 à 22:47, Adrian Rockall @.***> a écrit : For some reason, the entry has no deviceType field. Without that, it can't be recognised. I have seen others report a similar issue with other devices. If SwitchBot ever answers the reports, I will get back to you.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>