Giter VIP home page Giter VIP logo

Comments (11)

MTrab avatar MTrab commented on September 15, 2024

Use the setzone function, specifying the zone as int 0 to 3

from pyworxcloud.

MarkResting avatar MarkResting commented on September 15, 2024

First of all MANY MANY THX for that quick response!!!!

Hm,.... now I'm getting always that the mover is offlinee,... but he isn't,.... at least i was able to send him last week,... I'm getting an update, but when i try to start it, it's telling me, that it's offline :-(

from pyworxcloud.

MTrab avatar MTrab commented on September 15, 2024

Offline/online state is reported by API and is not a calculated state.

from pyworxcloud.

MarkResting avatar MarkResting commented on September 15, 2024

ok, reboot soved this, noe i'm getting this as result after starting the setzone:

cloud.setzone("SERIAL_NUMBER",0)

raise RequestException("Cannot request this zone as it is not defined.")

from pyworxcloud.

MTrab avatar MTrab commented on September 15, 2024

Have you defined any zones?
From the error I guess not

from pyworxcloud.

MarkResting avatar MarkResting commented on September 15, 2024

Yes i have 3 Zones created :-(

from pyworxcloud.

MarkResting avatar MarkResting commented on September 15, 2024

oh,... it's still offline when i try to start it,... no idea what it could be,...

maybe i'm doin'g something totally wrong?!?
Sorry for all these questions,...

from pyworxcloud.

MTrab avatar MTrab commented on September 15, 2024

No idea what you might be doing wrong.
As far as I know it should work as intended (at least it does when I have been testing

from pyworxcloud.

MarkResting avatar MarkResting commented on September 15, 2024

ok, start stop is working now.
set zone not :-(

always the "not defined" Error :-(

File ~\pyworxcloud-3.1.4\pyworxcloud-3.1.4\pyworxcloud_init_.py:682 in setzone
raise RequestException("Cannot request this zone as it is not defined.")

RequestException: Cannot request this zone as it is not defined.

Can I read the defined Zones somewhere in the variables which i get after an update?

from pyworxcloud.

MTrab avatar MTrab commented on September 15, 2024

Oh - you are on an old version of pyworxcloud where this didn't work.
Please update to the latest version

from pyworxcloud.

MarkResting avatar MarkResting commented on September 15, 2024

Hi, sorry for the late answer!
I moved over and it works now!

Thax a lot for that nice implementation!!!

from pyworxcloud.

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.