Code Monkey home page Code Monkey logo

Comments (20)

cgmckeever avatar cgmckeever commented on May 29, 2024 1

Yep -- will do now .. FWIW .. this is my environment, which is a pretty vanilla docker

FROM python:3.8-slim-buster

RUN pip install arlo

The rest is just my a (semi) more cleaned up version of the arm code above.

Will post that output shortly

from arlo.

cgmckeever avatar cgmckeever commented on May 29, 2024 1

Grabbing

from arlo.

cgmckeever avatar cgmckeever commented on May 29, 2024 1

That appears to have solved it ...

from arlo.

cgmckeever avatar cgmckeever commented on May 29, 2024

Looks like it may be the same issue as #168
Which gets fixes with changing that call (as describe in the issue), but I dont see that change reflected in the mainline branch

from arlo.

jeffreydwalter avatar jeffreydwalter commented on May 29, 2024

@cgmckeever if you want help, please fill out the entire set of questions in the template. Also, run this script https://github.com/jeffreydwalter/arlo/wiki/Arlo-Hardware-Schemas#overview and paste the output in your description.

from arlo.

cgmckeever avatar cgmckeever commented on May 29, 2024

still broken, but the fix from the other issue resolved it. Closing

from arlo.

jeffreydwalter avatar jeffreydwalter commented on May 29, 2024

@cgmckeever glad to hear it's working and thank you for the 🍺s! Is there a code change that needs to be made to the library? What was your fix?

from arlo.

cgmckeever avatar cgmckeever commented on May 29, 2024

I had to revert the CustomMode call to use

            #return self.request.post(f'https://{self.BASE_URL}/hmsweb/users/devices/automation/active', {'activeAutomations':[{'deviceId':device.get('deviceId'),'timestamp':self.to_timestamp(datetime.now()),'activeModes':[mode],'activeSchedules':schedules}]})
            return self.NotifyAndGetResponse(device, {"from":self.user_id+"_web", "to": device.get("parentId"), "action":"set","resource":"modes", "transId": self.genTransId(),"publishResponse":True,"properties":{"active":mode}})

from arlo.

jeffreydwalter avatar jeffreydwalter commented on May 29, 2024

Would you mind running that little script from my wiki (https://github.com/jeffreydwalter/arlo/wiki/Arlo-Hardware-Schemas#overview) and pasting the output here so I can figure out why that function is choosing the wrong method to call? It just prints out your device metadata, with all the sensitive info obfuscated. I would greatly appreciate it!

from arlo.

cgmckeever avatar cgmckeever commented on May 29, 2024
[
{
"cvrEnabled": false,
"dateCreated": 1639253036429,
"deviceId": "XXXXXXXXXXXXX",
"deviceName": "",
"deviceType": "siren",
"displayOrder": 1,
"lastModified": 1641263607202,
"mediaObjectCount": 0,
"modelId": "VMB4000-siren",
"owner": {
"firstName": "",
"lastName": "",
"ownerId": "XXXX-XXX-XXXXXXXX"
},
"parentId": "XXXXXXXXXXXXX",
"presignedFullFrameSnapshotUrl": "",
"presignedLastImageUrl": "",
"presignedSnapshotUrl": "",
"properties": {
"modelId": "VMB4000-siren",
"olsonTimeZone": "America/Chicago"
},
"state": "provisioned",
"timeZone": "America/Chicago",
"uniqueId": "XXXX-XXX-XXXXXXXX_XXXXXXXXXXXXX#X",
"userId": "XXXX-XXX-XXXXXXXX",
"userRole": "ADMIN",
"xCloudId": "XXXXXX-XXXX-XXX-XXXXXXXXX"
},
{
"arloMobilePlan": false,
"cvrEnabled": false,
"dateCreated": 1554578316831,
"deviceId": "XXXXXXXXXXXXX",
"deviceName": "",
"deviceType": "camera",
"displayOrder": 2,
"interfaceSchemaVer": "1",
"interfaceVersion": "i009",
"lastImageUploaded": "true",
"lastModified": 1641263607202,
"mediaObjectCount": 9,
"modelId": "VMC4030P",
"owner": {
"firstName": "",
"lastName": "",
"ownerId": "XXXX-XXX-XXXXXXXX"
},
"parentId": "XXXXXXXXXXXXX",
"presignedFullFrameSnapshotUrl": "",
"presignedLastImageUrl": "",
"presignedSnapshotUrl": "",
"properties": {
"hwVersion": "H4",
"modelId": "VMC4030P",
"olsonTimeZone": null
},
"state": "provisioned",
"uniqueId": "XXXX-XXX-XXXXXXXX_XXXXXXXXXXXXX",
"userId": "XXXX-XXX-XXXXXXXX",
"userRole": "ADMIN",
"xCloudId": "XXXXXX-XXXX-XXX-XXXXXXXXX"
},
{
"arloMobilePlan": false,
"cvrEnabled": false,
"dateCreated": 1553994780030,
"deviceId": "XXXXXXXXXXXXX",
"deviceName": "",
"deviceType": "camera",
"displayOrder": 3,
"interfaceSchemaVer": "1",
"interfaceVersion": "i009",
"lastImageUploaded": "true",
"lastModified": 1641263607202,
"mediaObjectCount": 8,
"modelId": "VMC4030P",
"owner": {
"firstName": "",
"lastName": "",
"ownerId": "XXXX-XXX-XXXXXXXX"
},
"parentId": "XXXXXXXXXXXXX",
"presignedFullFrameSnapshotUrl": "",
"presignedLastImageUrl": "",
"presignedSnapshotUrl": "",
"properties": {
"hwVersion": "H3",
"modelId": "VMC4030P",
"olsonTimeZone": "America/Chicago"
},
"state": "provisioned",
"timeZone": "America/Chicago",
"uniqueId": "XXXX-XXX-XXXXXXXX_XXXXXXXXXXXXX",
"userId": "XXXX-XXX-XXXXXXXX",
"userRole": "ADMIN",
"xCloudId": "XXXXXX-XXXX-XXX-XXXXXXXXX"
},
{
"arloMobilePlan": false,
"cvrEnabled": false,
"dateCreated": 1553989199154,
"deviceId": "XXXXXXXXXXXXX",
"deviceName": "",
"deviceType": "camera",
"displayOrder": 4,
"interfaceSchemaVer": "1",
"interfaceVersion": "i009",
"lastImageUploaded": "true",
"lastModified": 1641263607202,
"mediaObjectCount": 13,
"modelId": "VMC4030P",
"owner": {
"firstName": "",
"lastName": "",
"ownerId": "XXXX-XXX-XXXXXXXX"
},
"parentId": "XXXXXXXXXXXXX",
"presignedFullFrameSnapshotUrl": "",
"presignedLastImageUrl": "",
"presignedSnapshotUrl": "",
"properties": {
"hwVersion": "H3",
"modelId": "VMC4030P",
"olsonTimeZone": "America/Chicago"
},
"state": "provisioned",
"timeZone": "America/Chicago",
"uniqueId": "XXXX-XXX-XXXXXXXX_XXXXXXXXXXXXX",
"userId": "XXXX-XXX-XXXXXXXX",
"userRole": "ADMIN",
"xCloudId": "XXXXXX-XXXX-XXX-XXXXXXXXX"
},
{
"arloMobilePlan": false,
"cvrEnabled": false,
"dateCreated": 1553989282360,
"deviceId": "XXXXXXXXXXXXX",
"deviceName": "",
"deviceType": "camera",
"displayOrder": 5,
"interfaceSchemaVer": "1",
"interfaceVersion": "i009",
"lastImageUploaded": "true",
"lastModified": 1641263607202,
"mediaObjectCount": 9,
"modelId": "VMC4030P",
"owner": {
"firstName": "",
"lastName": "",
"ownerId": "XXXX-XXX-XXXXXXXX"
},
"parentId": "XXXXXXXXXXXXX",
"presignedFullFrameSnapshotUrl": "",
"presignedLastImageUrl": "",
"presignedSnapshotUrl": "",
"properties": {
"hwVersion": "H3",
"modelId": "VMC4030P",
"olsonTimeZone": null
},
"state": "provisioned",
"uniqueId": "XXXX-XXX-XXXXXXXX_XXXXXXXXXXXXX",
"userId": "XXXX-XXX-XXXXXXXX",
"userRole": "ADMIN",
"xCloudId": "XXXXXX-XXXX-XXX-XXXXXXXXX"
},
{
"automationRevision": 20,
"certAvailable": true,
"connectivity": {
"connected": true,
"mepStatus": "unknown",
"type": "ethernet"
},
"cvrEnabled": false,
"dateCreated": 1553988384655,
"deviceId": "XXXXXXXXXXXXX",
"deviceName": "",
"deviceType": "basestation",
"displayOrder": 2,
"firmwareVersion": "1.17.0.0_3953_6ba79e5",
"interfaceSchemaVer": "17",
"interfaceVersion": "i028",
"lastModified": 1641263607230,
"mediaObjectCount": 0,
"migrateActivityZone": false,
"modelId": "VMB4000",
"owner": {
"firstName": "",
"lastName": "",
"ownerId": "XXXX-XXX-XXXXXXXX"
},
"presignedFullFrameSnapshotUrl": "",
"presignedLastImageUrl": "",
"presignedSnapshotUrl": "",
"properties": {
"hwVersion": "VMB4000r3",
"modelId": "VMB4000",
"olsonTimeZone": "America/Chicago"
},
"state": "provisioned",
"timeZone": "America/Chicago",
"uniqueId": "XXXX-XXX-XXXXXXXX_XXXXXXXXXXXXX",
"userId": "XXXX-XXX-XXXXXXXX",
"userRole": "ADMIN",
"xCloudId": "XXXXXX-XXXX-XXX-XXXXXXXXX"
}
]

from arlo.

jeffreydwalter avatar jeffreydwalter commented on May 29, 2024

Awesome, thank you! Will you please try the release I just published (1.2.58) and let me know if it works for you? Thanks again!

from arlo.

cgmckeever avatar cgmckeever commented on May 29, 2024

pip is still finding 1.2.57 do you know a way to force it to grab something newer?

from arlo.

cgmckeever avatar cgmckeever commented on May 29, 2024

got it

Requirement already satisfied: arlo in /usr/local/lib/python3.8/site-packages (1.2.58)

from arlo.

jeffreydwalter avatar jeffreydwalter commented on May 29, 2024

Awesome, guess it takes a minute to show up after I publish. 🤷🏻

from arlo.

jeffreydwalter avatar jeffreydwalter commented on May 29, 2024

Awesome! Thank you for confirming! 💪🏻 And thanks again for the 🍺 !

from arlo.

cgmckeever avatar cgmckeever commented on May 29, 2024

What was the fix? I see some Timestamp changes?

from arlo.

jeffreydwalter avatar jeffreydwalter commented on May 29, 2024

50d14cf

Someone submitted support for arloq there and I merged it in without really looking at it. My basestation gave up the goose, so I don't have any arlo cameras anymore. 🤷🏻

from arlo.

cgmckeever avatar cgmckeever commented on May 29, 2024

ah, there you go ..
WAIT -- and you are still supporting this? THANK YOU

from arlo.

jeffreydwalter avatar jeffreydwalter commented on May 29, 2024

Happy to help! It's kinda my baby. These days I do it for the people and the... 🍺 🍺 🍺 ! lolz 😂 Cheers!

from arlo.

cgmckeever avatar cgmckeever commented on May 29, 2024

Thanks again for building this ..
The community needs to get you a new basestation! .. Someone has to have a spare one

from arlo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.