
'Dromotica' app for controlling Domoticz from Android
Moderator: leecollings
Re: Android app
Luckily I haven't updated domoticz so the old version without the compression is still working fine with your app 

-
- Posts: 117
- Joined: Tuesday 17 September 2013 7:46
- Target OS: Linux
- Domoticz version:
- Location: Deventer, The Netherlands
- Contact:
Re: Android app
Good to hear that it works with the older versions of Domoticz.Scoobydoo wrote:Luckily I haven't updated domoticz so the old version without the compression is still working fine with your app
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.
-
- Posts: 117
- Joined: Tuesday 17 September 2013 7:46
- Target OS: Linux
- Domoticz version:
- Location: Deventer, The Netherlands
- Contact:
Re: Android app
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.
Found a way to detect the gzip without the header.
Re: Android app
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
I've said it before and I'll say it again, excellent app

-
- Posts: 8
- Joined: Monday 11 November 2013 18:35
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Android app
Great, now you just need to take another look at dimmers, when lights are on the app shows off and the other way around 

-
- Posts: 230
- Joined: Sunday 14 July 2013 20:21
- Target OS: Linux
- Domoticz version: 4.10233
- Location: Alkmaar, The Netherlands
- Contact:
Re: Android app
Great work,
But when the app reloads the status it jumps all the way to the top. Can that be fixed? itsvery annoying.
But when the app reloads the status it jumps all the way to the top. Can that be fixed? itsvery annoying.
-
- Posts: 114
- Joined: Saturday 24 August 2013 9:59
- Target OS: Linux
- Domoticz version: beta
- Contact:
Re: Android app
I can connect again
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

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
- Attachments
-
- Screenshot_2014-01-14-17-06-40 (2).png (171.66 KiB) Viewed 4412 times
-
- Posts: 46
- Joined: Tuesday 10 December 2013 22:27
- Target OS: Linux
- Domoticz version: beta
- Contact:
Re: Android app
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.
I cannot connect via 'secure' remote option.
Orange Pi (@ Debian) / MySensors Serial / GPIO / Custom Serial 433 MHz Transmitter (for plug switches and livolo wall switches) / JSON&Bash API scripts
-
- Posts: 117
- Joined: Tuesday 17 September 2013 7:46
- Target OS: Linux
- Domoticz version:
- Location: Deventer, The Netherlands
- Contact:
Re: Android app
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?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.
-
- Posts: 46
- Joined: Tuesday 10 December 2013 22:27
- Target OS: Linux
- Domoticz version: beta
- Contact:
Re: Android app
It's not 'valid' certificate as its own-signed by RPI.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 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?
Orange Pi (@ Debian) / MySensors Serial / GPIO / Custom Serial 433 MHz Transmitter (for plug switches and livolo wall switches) / JSON&Bash API scripts
-
- Posts: 117
- Joined: Tuesday 17 September 2013 7:46
- Target OS: Linux
- Domoticz version:
- Location: Deventer, The Netherlands
- Contact:
Re: Android app
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.andriej wrote:It's not 'valid' certificate as its own-signed by RPI.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 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?
-
- Posts: 116
- Joined: Friday 20 December 2013 7:45
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Android app
In the switch section the dimmers are not working correctly. The are off and the app reports they are on and at full capacity.
- supergroover
- Posts: 23
- Joined: Friday 12 July 2013 19:37
- Target OS: Linux
- Domoticz version: Beta
- Location: The Netherlands
- Contact:
Re: Android app
I've that problem too.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.
-
- Posts: 46
- Joined: Tuesday 10 December 2013 22:27
- Target OS: Linux
- Domoticz version: beta
- Contact:
Re: Android app
I've re-done the certificate for specially put-up domain. Still the same (Could not connect...)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.
In browser from the same phone everything works.
I hope it's not the problem that port (defined in 'port' section) is >5xxxx (high)?
Orange Pi (@ Debian) / MySensors Serial / GPIO / Custom Serial 433 MHz Transmitter (for plug switches and livolo wall switches) / JSON&Bash API scripts
-
- Posts: 117
- Joined: Tuesday 17 September 2013 7:46
- Target OS: Linux
- Domoticz version:
- Location: Deventer, The Netherlands
- Contact:
Re: Android app
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.andriej wrote:I've re-done the certificate for specially put-up domain. Still the same (Could not connect...)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.
In browser from the same phone everything works.
I hope it's not the problem that port (defined in 'port' section) is >5xxxx (high)?
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.
-
- Posts: 1602
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: Android app
Maybe a bug?
A dimmer switch is getting back on.
While he is in domoticz off nicely?
And of course the lamp is off.
A dimmer switch is getting back on.
While he is in domoticz off nicely?
And of course the lamp is off.
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
- remb0
- Posts: 499
- Joined: Thursday 11 July 2013 22:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: The Netherlands
- Contact:
Re: Android app
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
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
- supergroover
- Posts: 23
- Joined: Friday 12 July 2013 19:37
- Target OS: Linux
- Domoticz version: Beta
- Location: The Netherlands
- Contact:
Re: Android app
+ multiple tabs for the several roomsremb0 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
-
- Posts: 8
- Joined: Monday 11 November 2013 18:35
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Android app
Save diffrent connections also if you have more than one server to control would be nice.
-
- Posts: 117
- Joined: Tuesday 17 September 2013 7:46
- Target OS: Linux
- Domoticz version:
- Location: Deventer, The Netherlands
- Contact:
Re: Android app
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.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
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.
Who is online
Users browsing this forum: No registered users and 1 guest