'Dromotica' app for controlling Domoticz from Android

Moderator: leecollings

User avatar
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

Post by remb0 »

My dromotica is crashing while the old version works well.
I use a dyndns port 433 and the fancy username and password.
I use cynogen mod v11 4.4
Peter112
Posts: 16
Joined: Tuesday 15 October 2013 14:16
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Uithuizen,Groningen,The Netherlands
Contact:

Re: Android app

Post by Peter112 »

works ok on my asus transformor TF101 Android 4.0.3
RaspberryPI domoticz, test server Intel Atom 230 dual core @1,6 GhzW7-32bit domoticz Test,RFXtrx433 USB, Kaku ,OWL
alfred_j_kwak
Posts: 110
Joined: Friday 20 September 2013 18:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.3530
Location: Finland
Contact:

Re: Android app

Post by alfred_j_kwak »

I have more than one screen of switches and when app do autorefresh it jumps in the top of switch pages.

-Jussi-
fifise
Posts: 10
Joined: Monday 15 July 2013 10:53
Target OS: -
Domoticz version:
Contact:

Re: Android app

Post by fifise »

Thx for this apps.
But I have something weird: it display the good status of the switch but when activate/desactivate one nothing happen in reality ?
Does it use a different port to send than to receive ? ( my domoticz is set on a rasp pi protect by a firewall)
sebas
Posts: 117
Joined: Tuesday 17 September 2013 7:46
Target OS: Linux
Domoticz version:
Location: Deventer, The Netherlands
Contact:

Re: Android app

Post by sebas »

fifise wrote:Thx for this apps.
But I have something weird: it display the good status of the switch but when activate/desactivate one nothing happen in reality ?
Does it use a different port to send than to receive ? ( my domoticz is set on a rasp pi protect by a firewall)
The port for sending and receiving is the same. Could be that you slide the switch instead of clicking on it.
Haven't figured that one out yet but when you slide the switch from on to off or off to on nothing happens. When you click on it then the switch will be send to Domoticz.
alfred_j_kwak wrote:I have more than one screen of switches and when app do autorefresh it jumps in the top of switch pages.
-Jussi-
Thanks for mentioning it. I'll see if I can change that.
sebas
Posts: 117
Joined: Tuesday 17 September 2013 7:46
Target OS: Linux
Domoticz version:
Location: Deventer, The Netherlands
Contact:

Re: Android app

Post by sebas »

remb0 wrote:My dromotica is crashing while the old version works well.
I use a dyndns port 433 and the fancy username and password.
I use cynogen mod v11 4.4
Did you report the crash? If so I can view the details of the crash in the store. I'll see what's going on.
fifise
Posts: 10
Joined: Monday 15 July 2013 10:53
Target OS: -
Domoticz version:
Contact:

Re: Re : Android app

Post by fifise »

sebas wrote:
The port for sending and receiving is the same. Could be that you slide the switch instead of clicking on it.
Haven't figured that one out yet but when you slide the switch from on to off or off to on nothing happens. When you click on it then the switch will be send to Domoticz.
Oups sorry you are right I was sliding and not clicking.
Work great now thanks a lot for your work.

Just a question are you planning to make it work from internet and if so could you add the option to authenticate on the websever with a certificate (I protect the access to my domotic from internet with the solution given in the wiki of domoticz)
User avatar
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

Post by remb0 »

sebas wrote:
remb0 wrote:My dromotica is crashing while the old version works well.
I use a dyndns port 433 and the fancy username and password.
I use cynogen mod v11 4.4
Did you report the crash? If so I can view the details of the crash in the store. I'll see what's going on.
I have used the crash reports indeed.
sebas
Posts: 117
Joined: Tuesday 17 September 2013 7:46
Target OS: Linux
Domoticz version:
Location: Deventer, The Netherlands
Contact:

Re: Re : Android app

Post by sebas »

fifise wrote:
sebas wrote:
The port for sending and receiving is the same. Could be that you slide the switch instead of clicking on it.
Haven't figured that one out yet but when you slide the switch from on to off or off to on nothing happens. When you click on it then the switch will be send to Domoticz.
Oups sorry you are right I was sliding and not clicking.
Work great now thanks a lot for your work.

Just a question are you planning to make it work from internet and if so could you add the option to authenticate on the websever with a certificate (I protect the access to my domotic from internet with the solution given in the wiki of domoticz)
I'm looking into a way to have both LAN and WAN access configured where the app will switch between the two connections. The two authentication methods currently supported are the two with a username and password. I'll have to see if I can get anything with certificates up and running. Can't give any promises about that :-)

You are using the client certificate option mentioned here? http://www.domoticz.com/wiki/Secure_Remote_Access

@remb0. Found the crash report. Seems that somethings going wrong with the displaying of errors. The app can't connect to the Domoticz server and then crashes because it can't show the error dialog. I'll fix that but maybe you can fix it for you by checking your server settings.
fifise
Posts: 10
Joined: Monday 15 July 2013 10:53
Target OS: -
Domoticz version:
Contact:

Re: Re : Android app

Post by fifise »

sebas wrote: You are using the client certificate option mentioned here? http://www.domoticz.com/wiki/Secure_Remote_Access
Yes, for me the login/password is too weak to expose my house on the web (working in computer have perhaps make me too paranoid :roll: ) .
Once it's set, it simplify a little the use from internet: authentication is done by the certificate user install on my android and there is no more need of typing login/password (so no possibility to brut force), the browser popup the users certificate install on the phone and you just have to choose which one to use (most of the time there is only one).
User avatar
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

Post by remb0 »

its crashing when you enter a wrong port number :)
I've send a crash report.

but now I use the right one: Awesome!.
sebas
Posts: 117
Joined: Tuesday 17 September 2013 7:46
Target OS: Linux
Domoticz version:
Location: Deventer, The Netherlands
Contact:

Re: Android app

Post by sebas »

remb0 wrote:its crashing when you enter a wrong port number :)
I've send a crash report.

but now I use the right one: Awesome!.
Great to hear that you got it to work.
I've found where it crashes and got it to crash less but it's not completely gone. Sometimes it still crashes for some reason. I'll be working on that some more for the next update.
NoiseMaker
Posts: 1
Joined: Wednesday 18 December 2013 9:46
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Android app

Post by NoiseMaker »

Hi!
I have yet to get a Domoticz system since I've not moved into my new house yet. I have also not read this entire thread. Still I thought I'd tell you two functions that I will want when I've gotten my system and that is Notifications and Widgets. Both control widgets and information widgets.

Ciao!
sebas
Posts: 117
Joined: Tuesday 17 September 2013 7:46
Target OS: Linux
Domoticz version:
Location: Deventer, The Netherlands
Contact:

Re: Android app

Post by sebas »

I just published a new version to the Play store. You should be receiving it the coming hours.
The update brings better stability in using the app. When Domoticz doesn't return anything the app handles this better and gives better error messages.

Also an about page is added.
User avatar
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

Post by remb0 »

I have updated. But u tot only the new ! Sign. No devices etc available. The same settings as the previous version. Something broke since last update.
User avatar
XL-Network
Posts: 13
Joined: Thursday 21 November 2013 14:15
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Norg, The Netherlands
Contact:

Re: Android app

Post by XL-Network »

Here the same story. I've updated and my settings are correct (and I've resaved them), but the switches (and other) pages gives me an error.

Error loading content
Could not get a response from the Domoticz server.
Please check your settings and Domoticz server.
2x RPi (B) + RFXtrx433 and beta Domoticz
KAKU: AYCT-102, AKCT-510, 9x AWST-8800, AWST-8802, AMST-606, wireless doorbell, 2x ACD-300, ACD-200, 5x AMWD-250, ACD-1000, 2x ACDB-7000C
Marmitek: DS90, 2x MS13E
Other: 3x FA20RF, 5m RGB LED strip, P1 Smart Meter
sebas
Posts: 117
Joined: Tuesday 17 September 2013 7:46
Target OS: Linux
Domoticz version:
Location: Deventer, The Netherlands
Contact:

Re: Android app

Post by sebas »

remb0 wrote:I have updated. But u tot only the new ! Sign. No devices etc available. The same settings as the previous version. Something broke since last update.
Did you get a notification of the update? Normally I'm reminded by the Play Store that an update is available but I haven't had that yet. When I go to the app in the store manually it does show the update button.
I'll update the app on my phone and see if I can get a list of switches etc. During testing yesterday it did work.
sebas
Posts: 117
Joined: Tuesday 17 September 2013 7:46
Target OS: Linux
Domoticz version:
Location: Deventer, The Netherlands
Contact:

Re: Android app

Post by sebas »

XL-Network wrote:Here the same story. I've updated and my settings are correct (and I've resaved them), but the switches (and other) pages gives me an error.

Error loading content
Could not get a response from the Domoticz server.
Please check your settings and Domoticz server.
Checked to see if I can pull the update from the store but that's not possible :-(
Apparently something went really wrong with this. I'll fix it today.
User avatar
XL-Network
Posts: 13
Joined: Thursday 21 November 2013 14:15
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Norg, The Netherlands
Contact:

Re: Android app

Post by XL-Network »

sebas wrote:
XL-Network wrote:Here the same story. I've updated and my settings are correct (and I've resaved them), but the switches (and other) pages gives me an error.

Error loading content
Could not get a response from the Domoticz server.
Please check your settings and Domoticz server.
Checked to see if I can pull the update from the store but that's not possible :-(
Apparently something went really wrong with this. I'll fix it today.
I'll wait and see. I'm not home again until late this evening. Otherwise the other people might also not be able to use the app. ;-)

PS. I have an Nexus 4 with Android 4.4.2 and it showed an icon in the notification bar that said I had an update (just to reply to the question you asked remb0). Clicked it in anticipation with the earlier mentioned result. Looks like it cannot reach the server.

PS2. My setup has a Ngnix reverse proxy between the phone and Domoticz. Just basic authentication, nothing fancy. Maybe there is a problem there but I could not imagine it.

TIP. Maybe you want to rename the property 'Domoticz URL' in the Settings page to 'Domoticz hostname' (because that's what it actually is). And you might want to hide the password/change it to stars (now it's readable).
2x RPi (B) + RFXtrx433 and beta Domoticz
KAKU: AYCT-102, AKCT-510, 9x AWST-8800, AWST-8802, AMST-606, wireless doorbell, 2x ACD-300, ACD-200, 5x AMWD-250, ACD-1000, 2x ACDB-7000C
Marmitek: DS90, 2x MS13E
Other: 3x FA20RF, 5m RGB LED strip, P1 Smart Meter
User avatar
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

Post by remb0 »

I don't saw a notification and went to the playstore manually. there I saw the update.
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest