Giter Club home page Giter Club logo

slide-domoticz's People

Contributors

heggink avatar lokonli avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

sonar98 heggink

slide-domoticz's Issues

Sill crashing

Looks like the patch didn't work. After having debug on for a couple of days, I noticed the plugin still dies multiple connects even though I check for connecting(). Suspect that multiple parallel requests lead to these multiple connects and they in turn lead to a crash on the next disconnect.

Implemented my own semaphore and testing that now but it depends on how these requests are executed. Will report later.

Plugin & domoticz crash Plugin_ASIO

Done a little digging and found the following:
crash happens when I switch a group of slides together
just before the crash, the connection is disconnected
the plugin then does an onCommand for every slide (6 in my case) leading to 6x slideRequest which calls self.myConn.Connect() 6x (all onCommands are handled in parallel).
All of that seems to be handled fine (6x IIM connected succesfully). Then a few messages received (onMessage with good content) and then a "Disconnect event received" from the plugin framework followed by an onDisconnect called.

Normally, that message is followed straight by an onMessage with a message ("Connection": 'close') but this doesn't happen and domoticz crashes. My suspicion is that the 6 parallel connects mess something up...

Async Secure Read Exception

Hey Lokonli,

Many thanks for the plugin. I had been watching these guys and now I can finally add them to domoticz -). I have 1 Slide (ordered 4 more) and am on one of the latest domoticz beta's.

I do get a couple of errors in the log:
2019-12-12 13:07:38.276 Error: (Slide): Async Secure Read Exception: 1, stream truncated
(many of these ) and
2019-12-12 13:23:51.733 Error: (Slide) IIM returned a status: 424
(less but also a bunch)
Any idea?

Moving to a local API

Hey lokonli,

I was contacted by the Slide guys the other day where we were discussing all sorts of things. One of them was my wish to not be dependent on external web services and control the slides locally. They mentioned that there is a beta API that allows you to do that over http. They will send me the info.

Would it be an option to build support for that? Supposedly, the interface is quite simple (uses simple http without security which is fine for me as my home network is completely secured)?

Thanks!

H

New Domoticz blinds subsystem changed commands on 0% and 100%

Old construction was:

  %  Command
  0: Off
  1: Set Level
 99: Set Level
100: On

New situation is:

  %  Command
  0: Close
  1: Set Level
 99: Set Level
100: Open

Proposed change in plugin.py to be compatible with old and new situation could be:

Line       Code
219:       if (Command == 'Off' or Command == 'Close'):
221:       if (Command == 'On' or Command == 'Open'):

Status is reversed

Since updating to Domoticz version 2022.2 en slide-domoticz 1.01, the open and close status are reversed. The percentage bar is correct. I allready removed and re-added the slide but that did not fix it. Nor stopping and starting domoticz.
I also tried removing the plugin from the plugins folder and instaling it again.

Is there a way to fix this?

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.