Pilot: Home Automation Control (iOS app)

Moderator: leecollings

patoo77
Posts: 296
Joined: Thursday 17 July 2014 18:20
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Paris, France
Contact:

Re: Pilot: Home Automation Control (iOS app)

Post by patoo77 »

rgroothuis wrote:
patoo77 wrote:
OK I understand! Since you're on the phone, you have no DATA coverage, so your phone can't send the signal to your Domoticz server.
Might be able to implement some sort of "retry" when the sending fails. Good idea :)

Will try to get it done for 1.5 release ;)
Indeed that is the idea. Thanks. Let me know when it is available so that I can test it.
Good news mate, I successfully added the "retry" feature ;)
You'll be able to test it during betatest next week

Works like that:
- When you get home, it tries to send the update to your server 5 times (tried every minute for 5 minutes). Could be longer, but 5 times seems more than enough.
- If you leave home while app is trying to send the "getting home" update, the first attempt is cancelled, and the app will send the "leave home" event instead (up to 5 times too).

Been trying it today in real life and seems to be doing OK :)
rgroothuis
Posts: 347
Joined: Friday 03 April 2015 17:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Pilot: Home Automation Control (iOS app)

Post by rgroothuis »

patoo77 wrote:
rgroothuis wrote:
patoo77 wrote:
OK I understand! Since you're on the phone, you have no DATA coverage, so your phone can't send the signal to your Domoticz server.
Might be able to implement some sort of "retry" when the sending fails. Good idea :)

Will try to get it done for 1.5 release ;)
Indeed that is the idea. Thanks. Let me know when it is available so that I can test it.
Good news mate, I successfully added the "retry" feature ;)
You'll be able to test it during betatest next week

Works like that:
- When you get home, it tries to send the update to your server 5 times (tried every minute for 5 minutes). Could be longer, but 5 times seems more than enough.
- If you leave home while app is trying to send the "getting home" update, the first attempt is cancelled, and the app will send the "leave home" event instead (up to 5 times too).

Been trying it today in real life and seems to be doing OK :)
Excellent, that is good news. Would be nice if I can configure the 5 minutes. And/or if the check Pilot check is done after the phone call is finished. Maybe it is possible within the app to check if there is a phone call on going and then delay the update of Domoticz. My phone calls are sometimes conference calls of over 30 min or longer. Then the 5 mins will not be sufficient, sorry.
Bikey
Posts: 331
Joined: Sunday 22 February 2015 12:19
Target OS: Linux
Domoticz version: 2020.x
Location: Netherlands
Contact:

Re: Pilot: Home Automation Control (iOS app)

Post by Bikey »

OK, I have done some more testing with the dimming using swipe.

I can not set the dimming level to 100%, only if you are very carefull and precise you can swipe the lamp block in such a way the the green block (that gives a global idea of the level) is 98% dark green.
If you swipe it just a little further the green block gets completely filled suggesting 100%, but instead of sending a 100% dimming level to the lamp, it probably just sends an "on" signal. Domoticz however does not do anything if you send an on signal to a lamp that is already on.

Result: if you have lamp on at e.g. 50% and you want to swipe it to 100% nothing happens.

Sulution: If you swipe the lamp control (or slider) to th right, showing the green block, the App should first check if the lamp is already on.

If it is Off, it the control is swiped to 100% or beyond, it should send an "On": the lamp will turn on to the previous used dimming level. If it is Off and the control is swiped to a dimming level, the lamp should be turned on at that dimming level. This is how it currently works.

However, if the lamp is already On, it should only send a dimming level. If the control is swiped to 100% or more it should set a 100% dimming level.

If you swipe to the left the red block appears. Currently with this you can als do "reversed" dimming. Very confusing: so please use a right swipe only for switching a lamp "Off".

Also, please not only show a partially "filled" green block, but show a percentage in that bkock while swiping.

It would also be useful to easaly see which lamps are on an which are off, not only by text, but also by using a bold or coloured label.

These are my thoughts/feedback, I hope you find them useful, keep up the good work!
patoo77
Posts: 296
Joined: Thursday 17 July 2014 18:20
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Paris, France
Contact:

Re: Pilot: Home Automation Control (iOS app)

Post by patoo77 »

1.5.0 version is out!
New features for the full version:
* Push notifications (Domoticz)
* Full thermostat support
* Location services improvements

And for everyone:
* Thermostat temperatures
* Zibase works again
* App won't crash anymore after getting the full version
* English is back!
* Many, many, many, many bug fixes

For those who wanna use the PUSH notifications feature, I made a tutorial: http://pilot.patrickferreira.com/tutori ... ions-push/
pvm
Posts: 550
Joined: Tuesday 17 June 2014 22:14
Target OS: NAS (Synology & others)
Domoticz version: 4.10538
Location: NL
Contact:

Re: Pilot: Home Automation Control (iOS app)

Post by pvm »

Thnx, i've installed it, but do not see the notifications, can you help me? I'm using the full version
Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
patoo77
Posts: 296
Joined: Thursday 17 July 2014 18:20
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Paris, France
Contact:

Re: Pilot: Home Automation Control (iOS app)

Post by patoo77 »

pvm wrote:Thnx, i've installed it, but do not see the notifications, can you help me? I'm using the full version
Can you be a bit more specific? Notifications section is missing in the settings screen? You're not receiving notifications?
pvm
Posts: 550
Joined: Tuesday 17 June 2014 22:14
Target OS: NAS (Synology & others)
Domoticz version: 4.10538
Location: NL
Contact:

Re: Pilot: Home Automation Control (iOS app)

Post by pvm »

I do not see the settings Image
Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
patoo77
Posts: 296
Joined: Thursday 17 July 2014 18:20
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Paris, France
Contact:

Re: Pilot: Home Automation Control (iOS app)

Post by patoo77 »

pvm wrote:I do not see the settings Image
Can you reinstall the app, see if it solves the issue?
pvm
Posts: 550
Joined: Tuesday 17 June 2014 22:14
Target OS: NAS (Synology & others)
Domoticz version: 4.10538
Location: NL
Contact:

Re: Pilot: Home Automation Control (iOS app)

Post by pvm »

Thnx, fixed. Same scenario for my iPad Image
Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
pvm
Posts: 550
Joined: Tuesday 17 June 2014 22:14
Target OS: NAS (Synology & others)
Domoticz version: 4.10538
Location: NL
Contact:

Re: Pilot: Home Automation Control (iOS app)

Post by pvm »

Is it possible to send notifications to 2 phones at once?
Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
patoo77
Posts: 296
Joined: Thursday 17 July 2014 18:20
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Paris, France
Contact:

Re: Pilot: Home Automation Control (iOS app)

Post by patoo77 »

pvm wrote:Is it possible to send notifications to 2 phones at once?
Not at the moment. First I want to see if the notifications work flawlessly on 1 device per user. ;)
patoo77
Posts: 296
Joined: Thursday 17 July 2014 18:20
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Paris, France
Contact:

Re: Pilot: Home Automation Control (iOS app)

Post by patoo77 »

I am looking for someone to translate Pilot to NL!
If interested, contact me: [email protected]
pvm
Posts: 550
Joined: Tuesday 17 June 2014 22:14
Target OS: NAS (Synology & others)
Domoticz version: 4.10538
Location: NL
Contact:

Re: Pilot: Home Automation Control (iOS app)

Post by pvm »

patoo77 wrote:I am looking for someone to translate Pilot to NL!
If interested, contact me: [email protected]
I can help, will send you an email
Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
User avatar
Dynamic
Posts: 109
Joined: Friday 12 July 2013 14:50
Target OS: -
Domoticz version:
Location: Enschede
Contact:

Re: Pilot: Home Automation Control (iOS app)

Post by Dynamic »

Looks like translation is already completed! :D
patoo77
Posts: 296
Joined: Thursday 17 July 2014 18:20
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Paris, France
Contact:

Re: Pilot: Home Automation Control (iOS app)

Post by patoo77 »

Dynamic wrote:Looks like translation is already completed! :D
Indeed! I can't believe how fast it went!
Will make it available in 1.6 version. ;)
User avatar
Dynamic
Posts: 109
Joined: Friday 12 July 2013 14:50
Target OS: -
Domoticz version:
Location: Enschede
Contact:

Re: Pilot: Home Automation Control (iOS app)

Post by Dynamic »

Any plans for Apple Watch-support?
patoo77
Posts: 296
Joined: Thursday 17 July 2014 18:20
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Paris, France
Contact:

Re: Pilot: Home Automation Control (iOS app)

Post by patoo77 »

Dynamic wrote:Any plans for Apple Watch-support?
Definitely! Getting an watch for Christmas, so I'm gonna need Pilot on it for personnal use aswell! :P

This is what I am currently working on:
  • Huge interface improvements. I am getting rid of all the swipe features. Many people would prefer standard controls. Here is a work in progress (tell me what you think): http://cl.ly/image/0v2y473U0t3U
  • "Today extension" widget for the notification center. Will allow to control your "favorite" devices.
Next step should be an apple watch companion app (and an Apple TV interface for the fun). ;)

Lots of other good stuff incoming, can't wait to have you guys try it out ;)
User avatar
Dynamic
Posts: 109
Joined: Friday 12 July 2013 14:50
Target OS: -
Domoticz version:
Location: Enschede
Contact:

Re: Pilot: Home Automation Control (iOS app)

Post by Dynamic »

patoo77 wrote:
Dynamic wrote:Any plans for Apple Watch-support?
Definitely! Getting an watch for Christmas, so I'm gonna need Pilot on it for personnal use aswell! :P

This is what I am currently working on:
  • Huge interface improvements. I am getting rid of all the swipe features. Many people would prefer standard controls. Here is a work in progress (tell me what you think): http://cl.ly/image/0v2y473U0t3U
  • "Today extension" widget for the notification center. Will allow to control your "favorite" devices.
Next step should be an apple watch companion app (and an Apple TV interface for the fun). ;)

Lots of other good stuff incoming, can't wait to have you guys try it out ;)
You will love the Apple Watch! Can't wait for a good (native) app that is able to control my domotica-devices. When you need a beta-tester for the Appe Watch-support, please contact me!

The standard controls (as shown in your screenshot) are way better. My girlfriend still can't find the right way to swipe the controls :lol:

Looking forward for your further development!
Bikey
Posts: 331
Joined: Sunday 22 February 2015 12:19
Target OS: Linux
Domoticz version: 2020.x
Location: Netherlands
Contact:

Re: Pilot: Home Automation Control (iOS app)

Post by Bikey »

I'm using the latest version of Pilot which works fine on my internal network. When accessed from an external location however only partly:

Externaly I'm using NGinx as a reverse proxy which forwards all external HTTPS-request internaly to the HTTP-port 8080 on my Domoticz.

NGINX and Domoticz goth run on the same Raspberry PI 2. I also let NGinx do the authentication (username/password), so I have no authentication set on Domoticz (first tried by excluding the internal IP-addresses and 127.0.0.*, but that didn't work. Then by removing the username/password altogether in Domoticz).

The strange thing is, that I can succesfully control Domoticz externally (so authentication on NGinx is Ok, self-signed certificated is Ok), but I still get, for each successfull action or update, also an Error: Failed login attempt from 127.0.0.1 for user 'xxxx' ! (xxx is the name as set in the settings screen).

So it looks like the authentication is done first in Nginx (successfull), but then also tried in Domoticz. How can we fix this?

Has anybody else got this working succesfully with NGinx?

* EDIT *
I tested again, now with setting the same username and password in Domoticz as in NGinx and now I only get this error once:
Error: Failed login attempt from 127.0.0.1 for 'xxxxx' ! Notice that this error is slighly different from:
Error: Failed login attempt from 127.0.0.1 for user 'xxxx' !
Perhaps GizmoGuz can explain?

P.s. I'm using NGinx because that allows me to block access from specific countries, have better logging and also block IP-adresses after too many unsuccessful attempts.
fantastrick
Posts: 6
Joined: Thursday 03 December 2015 8:35
Target OS: OS X
Domoticz version:
Contact:

Re: Pilot: Home Automation Control (iOS app)

Post by fantastrick »

Let me start by saying I am quite the n00b... :)
So here is my question; I downloaded the app and installed it but after filling in the data (as listed below) it can't connect to anything.

My steps:
Installed the app on the iPhone
Filled out the following in the app:
Address: http://my ddns.net address
Port: My custom port (forwarding is working)
SSL No
Self signed: No
Requires login: my user and pass

Tried with local server on and off, when on:
Network name: filled out with the correct name
Address: http://192.xxxxxxxxx
Port: My custom port

I searched the forum but could not find a good solution yet. Anyone some suggestions maybe?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest