skydiver / ewelink-api

eWeLink API for JavaScript
https://www.npmjs.com/package/ewelink-api
MIT License
267 stars 108 forks source link

Receive updates from Sonoff Camera #77

Open fcsegalla opened 4 years ago

fcsegalla commented 4 years ago

I just installed a Sonoff Camera GK-200MP2-B and i'm trying to get motion detected updates but couldn't make it work.

After a getDevices() i get this about the camera: { group: '', online: true, shareUsersInfo: [], groups: [], devGroups: [], _id: '5e5003069145e10008ed', name: 'Camera Sonoff', type: 'a6', deviceid: 'a620001a03', apikey: 'b53faefe-xxxx-xxxx-a380-7c3b27c0xxxx', params: { partnerDevice: [Object], bindInfos: [Object], version: 7, romVersion: '24520191030' }, extra: { extra: [Object], _id: '5e5003069145e10008xxxxxx' }, createdAt: '2020-02-21T16:19:18.857Z', __v: 0, onlineTime: '2020-02-28T12:42:35.370Z', ip: '179.54.x.x', location: '', offlineTime: '2020-02-27T19:16:54.632Z', deviceStatus: '', sharedBy: { email: 'xxx@xxx.xxx', apikey: 'b53faefe-xxxx-xxxx-a380-7c3b27c0xxxx', permit: 15, shareTime: 1582985068238 }, devicekey: '290ba8dd-xxxx-xxxx-xxxx-6d706694f070', deviceUrl: '', brandName: 'coolkit', showBrand: true, brandLogoUrl: '', productModel: 'GK-200MP2B', devConfig: {}, uiid: 87 }

Did anyone make it work?

Tks,

Fernando

mzumbo commented 4 years ago

fcsegalla, so you have any news about it?

bwp91 commented 4 years ago

I too would be interested in the result of this for my homebridge plugin. I own the sonoff camera but have not managed to implement motion detection notifications!

mzumbo commented 4 years ago

We are talking about ewelink dsk .net platorm, to develop a webapp to control the devices, I can do that with some devices, but I don't have information about the camera.