Page 3 of 5

Re: Python plugin: Slide by Innovation in Motion

Posted: Friday 01 May 2020 21:10
by Lokonli
Good to know. Thanks for the update!

Re: Python plugin: Slide by Innovation in Motion

Posted: Saturday 02 May 2020 9:22
by heggink
Hey lokonki,

Talking to the slide people the other day, they mentioned a beta api that allows direct communications with the slides without their cloud. I have the API description. I would be very interested to have a plugin version that does not need an internet connection.

Unfortunately, the API cannot coexist with the internet one so it's either or but when they fix that, any interest to consider an alternative approach?

H

Sent from phone.


Re: Python plugin: Slide by Innovation in Motion

Posted: Sunday 03 May 2020 5:23
by RogerSch
I would also be interested in using a local API.

Re: Python plugin: Slide by Innovation in Motion

Posted: Sunday 03 May 2020 13:04
by RogerSch
@lokonki: I'm now building some scripts with the Slides. One of them is to control certain curtains when the TV is being used (this is the case for certain Logitech Harmony states).
Now I noticed that there is a delay of a few minutes after executing a command (like closing the curtain) and actual updating the status of the curtain in Domoticz. In order not to be limited by the device update interval, might it be an idea to set the device status in Domoticz at the same moment when the update command of that device is being sent out? Afterwards during the regular update interval the actual status will then be set (ideally thsi should be the same).
Or are there any limitations why this is not possible or advisable?

Re: Python plugin: Slide by Innovation in Motion

Posted: Sunday 03 May 2020 18:03
by Lokonli
RogerSch wrote: Sunday 03 May 2020 13:04 @lokonki: I'm now building some scripts with the Slides. One of them is to control certain curtains when the TV is being used (this is the case for certain Logitech Harmony states).
Now I noticed that there is a delay of a few minutes after executing a command (like closing the curtain) and actual updating the status of the curtain in Domoticz. In order not to be limited by the device update interval, might it be an idea to set the device status in Domoticz at the same moment when the update command of that device is being sent out? Afterwards during the regular update interval the actual status will then be set (ideally thsi should be the same).
Or are there any limitations why this is not possible or advisable?
After I send a command to Slide open/close, I start polling for position changes, and I keep on polling as long as the slide is moving.
Last months I noticed that the position of Slide is not always updated correctly. It seems that it's not a problem of the plugin, but a problem of the slide server, since the Slide app also reports an incorrect position.

But I'll do some checks, and think of an alternative solution. Maybe setting in Domoticz might be a solution, but at a certain moment I've to start requesting the slide position from the Slide server again.

Re: Python plugin: Slide by Innovation in Motion

Posted: Sunday 03 May 2020 18:05
by Lokonli
heggink wrote: Saturday 02 May 2020 9:22 Hey lokonki,

Talking to the slide people the other day, they mentioned a beta api that allows direct communications with the slides without their cloud. I have the API description. I would be very interested to have a plugin version that does not need an internet connection.

Unfortunately, the API cannot coexist with the internet one so it's either or but when they fix that, any interest to consider an alternative approach?

H

Sent from phone.
Can you send me the API description? I would like to get an idea of the mechanisms that are being the used, and the complexity to implement.

Re: Python plugin: Slide by Innovation in Motion

Posted: Sunday 03 May 2020 19:44
by RogerSch
Lokonli wrote: Sunday 03 May 2020 18:03 Last months I noticed that the position of Slide is not always updated correctly. It seems that it's not a problem of the plugin, but a problem of the slide server, since the Slide app also reports an incorrect position.

But I'll do some checks, and think of an alternative solution. Maybe setting in Domoticz might be a solution, but at a certain moment I've to start requesting the slide position from the Slide server again.
Maybe setting in Domoticz might be a solution, => That is what I also thought of. And thereafter just have the regular polling update. I have reviewed your python code and as I understand most of it I don't dare to update the onCommand procedure with the needed code for it.

Of course I'm more than happy to test it.

Re: Python plugin: Slide by Innovation in Motion

Posted: Sunday 03 May 2020 20:16
by Bikey
Lokonli wrote: Sunday 03 May 2020 18:05 Can you send me the API description? I would like to get an idea of the mechanisms that are being the used, and the complexity to implement.
As you probably also heard is that Slide IM have serious funding problems. So don't have your hopes up that this is coming soon, I think further development may be slowed down.

It is already worrisome that he App has not been updated in 4 months, still having a bug where the time setting is one minute before from what you have set. And then when you want to edit a set time, is shows a time that is 2 hours before the programmed time (depending on the daylight saving).

Also no more updates on e.g. Amazon Alexa support. But thanks to your plug-in (in combination with HA-Bridge) I have this working anyway ;-)

Just checked again for some news and noticed this Tweet, mentioning news "next week" (which was 16 march): https://twitter.com/Slide_by_IIM/with_replies No follow up, however. Does anybody know what that was about, Google integration?

Re: Python plugin: Slide by Innovation in Motion

Posted: Sunday 03 May 2020 22:02
by RogerSch
Bikey wrote: Sunday 03 May 2020 20:16
Lokonli wrote: Sunday 03 May 2020 18:05 Can you send me the API description? I would like to get an idea of the mechanisms that are being the used, and the complexity to implement.
As you probably also heard is that Slide IM have serious funding problems. So don't have your hopes up that this is coming soon, I think further development may be slowed down.
Sorry to say but hence it is even more crucial that a local API becomes available. In case Slide IM goes bankrupt, and I really hope this will not be the case, then the central servers might also be shut down. Hence the slides will not work anymore.... :cry:

Re: Python plugin: Slide by Innovation in Motion

Posted: Friday 07 August 2020 11:09
by heggink
The 'beta' API is already there. It requires you to enable it on the slides itself. They told me that it has some issues whereby, sometimes, the calibration gets lost requiring recalibration. I have not tested it myself.

I tried to get an investor connected to them but he backed off (which in itself, is a concern). I'll reach out to them again asking about the API updates. It requires a firmware update on the slides...

Re: Python plugin: Slide by Innovation in Motion

Posted: Friday 21 August 2020 10:09
by marcpos
Hi, I'm using this plugin with my slides for a few months now and I'm very happy, works great!
Local API would be great for future independence.
I'm using the plugin in Domoticz version 4.10717 but I want to update to the newest verion. Is it compatible with the newest version 2020.2?

Re: Python plugin: Slide by Innovation in Motion

Posted: Friday 21 August 2020 10:17
by heggink
Yes. I run it with one of the latest beta's.

Verstuurd vanaf mijn SM-G980F met Tapatalk


Re: Python plugin: Slide by Innovation in Motion

Posted: Friday 21 August 2020 11:51
by Lokonli
heggink wrote: Friday 21 August 2020 10:17 Yes. I run it with one of the latest beta's.

Verstuurd vanaf mijn SM-G980F met Tapatalk
I'm not sure how stable the local API firmware is.

Did someone test it?

Can you switch back the Slide to the cloud API?

Re: Python plugin: Slide by Innovation in Motion

Posted: Friday 21 August 2020 12:03
by heggink
I did not buy probably best to just contact them. Happy to do that. They seem pretty responsive and open on the state of the api. Last three told me, it had some issues where it would lose calibration...

Verstuurd vanaf mijn SM-G980F met Tapatalk


Re: Python plugin: Slide by Innovation in Motion

Posted: Friday 21 August 2020 16:50
by Lokonli
heggink wrote: Friday 21 August 2020 12:03 I did not buy probably best to just contact them. Happy to do that. They seem pretty responsive and open on the state of the api. Last three told me, it had some issues where it would lose calibration...

Verstuurd vanaf mijn SM-G980F met Tapatalk
ok. Let's try.

I have one spare slide. I switched it to local API mode. And yes, communication is working :)

The API is pretty straight forward. I'll make a test Domoticz plugin.

Re: Python plugin: Slide by Innovation in Motion

Posted: Friday 21 August 2020 16:53
by RogerSch
That would be really cool!

Re: Python plugin: Slide by Innovation in Motion

Posted: Friday 21 August 2020 18:20
by Lokonli
Lokonli wrote: Friday 21 August 2020 16:50
heggink wrote: Friday 21 August 2020 12:03 I did not buy probably best to just contact them. Happy to do that. They seem pretty responsive and open on the state of the api. Last three told me, it had some issues where it would lose calibration...

Verstuurd vanaf mijn SM-G980F met Tapatalk
ok. Let's try.

I have one spare slide. I switched it to local API mode. And yes, communication is working :)

The API is pretty straight forward. I'll make a test Domoticz plugin.
hmm.

The local API uses Digest Authorization. I'm not sure how to implement that with the Domoticz python plugin framework ...

Re: Python plugin: Slide by Innovation in Motion

Posted: Friday 21 August 2020 22:51
by Lokonli
ok. Making progress. Digest authorization is working. Now further finalize the plugin.

Re: Python plugin: Slide by Innovation in Motion

Posted: Monday 31 August 2020 20:49
by Lokonli
And there it is:
The first beta of the Slide plugin for Domoticz using the local API.

https://github.com/lokonli/slide-domoticz-local

Reminder:
The local API still is in beta. (and this plugin as well :) )

Re: Python plugin: Slide by Innovation in Motion

Posted: Monday 31 August 2020 21:01
by heggink
Yay, nice! What is your experience so far with the API? They mentioned the devices sometimes lose their calibration...

Verstuurd vanaf mijn SM-G980F met Tapatalk