Python plugin: Slide by Innovation in Motion
Moderator: leecollings
-
- Posts: 2262
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python plugin: Slide by Innovation in Motion
Good to know. Thanks for the update!
- heggink
- Posts: 972
- Joined: Tuesday 08 September 2015 21:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12451
- Location: NL
- Contact:
Re: Python plugin: Slide by Innovation in Motion
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.
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.
Docker in Truenas scale, close to latest beta
DASHTICZ π
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
DASHTICZ π
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
-
- Posts: 51
- Joined: Saturday 04 April 2015 10:42
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Python plugin: Slide by Innovation in Motion
I would also be interested in using a local API.
-
- Posts: 51
- Joined: Saturday 04 April 2015 10:42
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Python plugin: Slide by Innovation in Motion
@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?
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?
-
- Posts: 2262
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python plugin: Slide by Innovation in Motion
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.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?
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.
-
- Posts: 2262
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python plugin: Slide by Innovation in Motion
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.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.
-
- Posts: 51
- Joined: Saturday 04 April 2015 10:42
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Python plugin: Slide by Innovation in Motion
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.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.
Of course I'm more than happy to test it.
-
- Posts: 331
- Joined: Sunday 22 February 2015 12:19
- Target OS: Linux
- Domoticz version: 2020.x
- Location: Netherlands
- Contact:
Re: Python plugin: Slide by Innovation in Motion
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?
-
- Posts: 51
- Joined: Saturday 04 April 2015 10:42
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Python plugin: Slide by Innovation in Motion
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....
- heggink
- Posts: 972
- Joined: Tuesday 08 September 2015 21:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12451
- Location: NL
- Contact:
Re: Python plugin: Slide by Innovation in Motion
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...
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...
Docker in Truenas scale, close to latest beta
DASHTICZ π
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
DASHTICZ π
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
-
- Posts: 7
- Joined: Friday 08 January 2016 8:35
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Python plugin: Slide by Innovation in Motion
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?
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?
- heggink
- Posts: 972
- Joined: Tuesday 08 September 2015 21:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12451
- Location: NL
- Contact:
Re: Python plugin: Slide by Innovation in Motion
Yes. I run it with one of the latest beta's.
Verstuurd vanaf mijn SM-G980F met Tapatalk
Verstuurd vanaf mijn SM-G980F met Tapatalk
Docker in Truenas scale, close to latest beta
DASHTICZ π
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
DASHTICZ π
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
- heggink
- Posts: 972
- Joined: Tuesday 08 September 2015 21:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12451
- Location: NL
- Contact:
Re: Python plugin: Slide by Innovation in Motion
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
Verstuurd vanaf mijn SM-G980F met Tapatalk
Docker in Truenas scale, close to latest beta
DASHTICZ π
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
DASHTICZ π
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
-
- Posts: 2262
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python plugin: Slide by Innovation in Motion
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.
-
- Posts: 51
- Joined: Saturday 04 April 2015 10:42
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Python plugin: Slide by Innovation in Motion
That would be really cool!
-
- Posts: 2262
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python plugin: Slide by Innovation in Motion
hmm.
The local API uses Digest Authorization. I'm not sure how to implement that with the Domoticz python plugin framework ...
-
- Posts: 2262
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python plugin: Slide by Innovation in Motion
ok. Making progress. Digest authorization is working. Now further finalize the plugin.
-
- Posts: 2262
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python plugin: Slide by Innovation in Motion
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 )
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 )
- heggink
- Posts: 972
- Joined: Tuesday 08 September 2015 21:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12451
- Location: NL
- Contact:
Re: Python plugin: Slide by Innovation in Motion
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
Verstuurd vanaf mijn SM-G980F met Tapatalk
Docker in Truenas scale, close to latest beta
DASHTICZ π
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
DASHTICZ π
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
Who is online
Users browsing this forum: No registered users and 0 guests