Page 8 of 25

Re: Android app

Posted: Monday 13 January 2014 18:49
by Scoobydoo
Luckily I haven't updated domoticz so the old version without the compression is still working fine with your app :-)

Re: Android app

Posted: Monday 13 January 2014 19:46
by sebas
Scoobydoo wrote:Luckily I haven't updated domoticz so the old version without the compression is still working fine with your app :-)
Good to hear that it works with the older versions of Domoticz.

Found the cause of the problem. Normally an hhtp header is set when content is encoded with gzip. I use that header to detect if I need to unzip the response from Domoticz first. However with Domoticz that header is not set. The app because of that thinks it's plain text and thus can't do anything with the response. That's why it does work with the old Domoticz version as that's not returning gzip but plain text.

I've asked Rob if he can add the header to Domoticz.

Re: Android app

Posted: Monday 13 January 2014 20:38
by sebas
The update for Dromotica that will fix the issue with the invalid response is on it's way. Just put it in the store.
Found a way to detect the gzip without the header.

Re: Android app

Posted: Monday 13 January 2014 22:13
by Scoobydoo
That's a fast fix, excellent. I know everyone really appreciates your hard work.
I've said it before and I'll say it again, excellent app :-) makes domoticz practical to use from my phone and tablet

Re: Android app

Posted: Monday 13 January 2014 23:12
by Gizmo
Great, now you just need to take another look at dimmers, when lights are on the app shows off and the other way around :?

Re: Android app

Posted: Tuesday 14 January 2014 0:00
by Skippiemanz
Great work,

But when the app reloads the status it jumps all the way to the top. Can that be fixed? itsvery annoying.

Re: Android app

Posted: Tuesday 14 January 2014 17:12
by Sappien
I can connect again 8-)

A other issue is that on my Android I often get the Dromo App background.. And nothing happens...I've got to restart the app

Re: Android app

Posted: Tuesday 14 January 2014 21:45
by andriej
I've set 'remote' to my dyndns no-ip address, port is high value (like: 23445) and forwarded to 443 by router.
I cannot connect via 'secure' remote option.

Re: Android app

Posted: Tuesday 14 January 2014 22:19
by sebas
andriej wrote:I've set 'remote' to my dyndns no-ip address, port is high value (like: 23445) and forwarded to 443 by router.
I cannot connect via 'secure' remote option.
Do you have a valid SSL certificate for the no-ip address as the domain? The certificate does not need to be signed by a trusted CA but the SSL certificate needs to be for the domain name that you are connecting to. Also Domoticz does not come with SSL support built in. You'll need an Nginx proxy for that. When you connect with a browser, does that work?

Re: Android app

Posted: Wednesday 15 January 2014 6:54
by andriej
sebas wrote:Do you have a valid SSL certificate for the no-ip address as the domain? The certificate does not need to be signed by a trusted CA but the SSL certificate needs to be for the domain name that you are connecting to. Also Domoticz does not come with SSL support built in. You'll need an Nginx proxy for that. When you connect with a browser, does that work?
It's not 'valid' certificate as its own-signed by RPI.
It came from default installation of Domoticz, as default, on image. It works in browser, just the 'https' is lined-out in Chrome tho.
Do you mean I need to re-do the certificate to match 'no-ip' address?

Re: Android app

Posted: Wednesday 15 January 2014 8:02
by sebas
andriej wrote:
sebas wrote:Do you have a valid SSL certificate for the no-ip address as the domain? The certificate does not need to be signed by a trusted CA but the SSL certificate needs to be for the domain name that you are connecting to. Also Domoticz does not come with SSL support built in. You'll need an Nginx proxy for that. When you connect with a browser, does that work?
It's not 'valid' certificate as its own-signed by RPI.
It came from default installation of Domoticz, as default, on image. It works in browser, just the 'https' is lined-out in Chrome tho.
Do you mean I need to re-do the certificate to match 'no-ip' address?
A SSL certificate that is signed by yourself is still valid. Is just not signed by a trusted Certificate Authority. I've disabled the check for that. However the certificate does need to be for the domain you're accessing Domoticz on. So if you've not created a new certificate probably the domain name (no-ip address) is not the same domain as the ssl certificate is for. Creating a new certificate will solve that.

Re: Android app

Posted: Wednesday 15 January 2014 21:19
by wizzard72
In the switch section the dimmers are not working correctly. The are off and the app reports they are on and at full capacity.

Re: Android app

Posted: Wednesday 15 January 2014 21:26
by supergroover
wizzard72 wrote:In the switch section the dimmers are not working correctly. The are off and the app reports they are on and at full capacity.
I've that problem too.

Re: Android app

Posted: Thursday 16 January 2014 14:23
by andriej
sebas wrote:A SSL certificate that is signed by yourself is still valid. Is just not signed by a trusted Certificate Authority. I've disabled the check for that. However the certificate does need to be for the domain you're accessing Domoticz on. So if you've not created a new certificate probably the domain name (no-ip address) is not the same domain as the ssl certificate is for. Creating a new certificate will solve that.
I've re-done the certificate for specially put-up domain. Still the same (Could not connect...)
In browser from the same phone everything works.
I hope it's not the problem that port (defined in 'port' section) is >5xxxx (high)?

Re: Android app

Posted: Thursday 16 January 2014 16:50
by sebas
andriej wrote:
sebas wrote:A SSL certificate that is signed by yourself is still valid. Is just not signed by a trusted Certificate Authority. I've disabled the check for that. However the certificate does need to be for the domain you're accessing Domoticz on. So if you've not created a new certificate probably the domain name (no-ip address) is not the same domain as the ssl certificate is for. Creating a new certificate will solve that.
I've re-done the certificate for specially put-up domain. Still the same (Could not connect...)
In browser from the same phone everything works.
I hope it's not the problem that port (defined in 'port' section) is >5xxxx (high)?
As long as it's less than 65535 it should be fine however ports above 49151 are Ephemeral ports so that might break things. Try setting one below 49151.
You don't have an error that's something like this: The identity of this website has not been verified. Server's certificate does not match the URL. in Chrome?

Maybe try this: https://www.startssl.com/. You can get a trusted certificate for free here.

Re: Android app

Posted: Thursday 16 January 2014 21:33
by Derik
Maybe a bug?

A dimmer switch is getting back on.
While he is in domoticz off nicely?

And of course the lamp is off.

Re: Android app

Posted: Thursday 16 January 2014 21:39
by remb0
what's next? do you have a roadmap?

what I miss:
- energie p1 cable is displayed but no values.
- the blue background earlier mentioned
- nice widgets? (maybe icons or text)
- android push notifications when a doorbell / door of something is open/on/off
- moving item order. when holding an item for x seconds
- open logs of an item (by holding for x seconds you can see historie.
- opening domoticz websites
- cam's

Re: Android app

Posted: Thursday 16 January 2014 22:45
by supergroover
remb0 wrote:what's next? do you have a roadmap?

what I miss:
- energie p1 cable is displayed but no values.
- the blue background earlier mentioned
- nice widgets? (maybe icons or text)
- android push notifications when a doorbell / door of something is open/on/off
- moving item order. when holding an item for x seconds
- open logs of an item (by holding for x seconds you can see historie.
- opening domoticz websites
- cam's
+ multiple tabs for the several rooms

Re: Android app

Posted: Thursday 16 January 2014 23:10
by Gizmo
Save diffrent connections also if you have more than one server to control would be nice.

Re: Android app

Posted: Saturday 18 January 2014 10:05
by sebas
remb0 wrote:what's next? do you have a roadmap?

what I miss:
- energie p1 cable is displayed but no values.
- the blue background earlier mentioned
- nice widgets? (maybe icons or text)
- android push notifications when a doorbell / door of something is open/on/off
- moving item order. when holding an item for x seconds
- open logs of an item (by holding for x seconds you can see historie.
- opening domoticz websites
- cam's
Well I'd like to add the weather part to it first so I got all the groups covered and I'm looking into the room support. Maybe also adding the dashboard.
Also there are still some device requests I need to add. I'll look into that p1 cable that's not showing values and the dimmer switch.

After that I wanted to start with the tablet design. I've got some ideas for that that I need to sketch out and see how they work out. That will take some more time to do.
Logs & Graphs, Widgets, NFC, Geofencing, cameras and notifications are also on the list but a bit further down. For the notifications I need help from the core developers as Domoticz needs to start pushing notifications to Google to get them to Dromotica.