Page 6 of 25
Re: Android app
Posted: Thursday 02 January 2014 9:51
by h4wkm00n
Same here. Can't connect.
For info, I connect to my domoticz instance with the url http://www.[mydomainname]/domoticz/
It's ok with a browser and with my xbmc add-on.
By the way, your app does not seem to support https. It should.
Re: Android app
Posted: Thursday 02 January 2014 10:04
by sebas
h4wkm00n wrote:Same here. Can't connect.
For info, I connect to my domoticz instance with the url http://www.[mydomainname]/domoticz/
It's ok with a browser and with my xbmc add-on.
By the way, your app does not seem to support https. It should.
Don't enter the http:// in the URL field. It's already added by the app.
You installed a SSL certificate on your server signed by a trusted supplier or is it self-signed?
Re: Android app
Posted: Thursday 02 January 2014 10:21
by h4wkm00n
I removed the http:// from the url and the trailing slash, as mentionned in the app.
Still, no luck.
I don't use https myself, but as your app automatically add the http://, it can't use https, right ? I don't think that's a big thing. There ought to be libraries to handle that.
Is there a github-like for your app, where we can create issues, and try to help you with them ?
Re: Android app
Posted: Thursday 02 January 2014 21:55
by Scoobydoo
Just had an update via the play store, not at home at the moment but the remote access is working fine, app is running fine and not crashing when going to menu now. Make sure that every field is entered in the settings because if any ate left blank I've found that this causes a crash.
Thanks for the fast fix and update. This app gets better and better, really looking forests to the future improvements

Re: Android app
Posted: Thursday 02 January 2014 23:28
by Gizmo
Seams like widgets dont work after last update but no more crashes when tilting phone

Thanks for a nice app.
Re: Android app
Posted: Friday 03 January 2014 8:07
by sebas
Updated the app yesterday evening, that fixed some errors. Good to hear it doesn't crash as often anymore.
Found out that it still crashes when you click " Settings" on the error dialogs you get when Dromotica can't connect to Domoticz. Clicking "Ok" doesn't crash the app and will allow you to go to the settings via the menu. Also the widgets for switches don't work as expected. The scene widgets do work.
I'll spend more time on QA for the next updates

Re: Android app
Posted: Friday 03 January 2014 9:24
by h4wkm00n
It worked well at home, using the IP of the PI. Very nice look & fell. I like it.
Thanks a lot. That's definitely something domoticz needs.
I don't have the update yet.
Guys, how do you make your domoticz instance reachable from the outside of your lan ? As for me, I used apache proxy. This prevent the need to open new port on my router, and works everywhere. Other ports than 80/443 are not open on some public wifi hotspots.
Re: Android app
Posted: Friday 03 January 2014 12:53
by capman
h4wkm00n wrote:
Guys, how do you make your domoticz instance reachable from the outside of your lan ? As for me, I used apache proxy. This prevent the need to open new port on my router, and works everywhere. Other ports than 80/443 are not open on some public wifi hotspots.
Can you explain this to me how to do this? A also have apache and domoticz working with port 28080. In the past a had domoticz running on windows , so i get it from everywhere. But now a have a raspberry pi with domoticz installation.
It works on my home network but don't now how to reach it through the internet.
Thanks.
Re: Android app
Posted: Friday 03 January 2014 13:04
by sebas
I've setup port forwarding in my router to make Domoticz reachable from the internet. Forward traffic from a port of your liking to the ip of your raspberry and port 8080 or whatever port domoticz is running on.
Do setup a username and password.
Re: Android app
Posted: Saturday 04 January 2014 21:29
by sebas
New update coming up.
Added support for temperature and temperature + humidity sensors.
Added support for weight scales.
Stability improvements.
Re: Android app
Posted: Saturday 04 January 2014 23:59
by Scoobydoo
Thanks for the quick updates, app is running stable

Re: Android app
Posted: Sunday 05 January 2014 14:41
by Sappien
I like your app, but it still crashing when opening the temperature section
Re: Android app
Posted: Sunday 05 January 2014 16:41
by sebas
Sappien wrote:I like your app, but it still crashing when opening the temperature section
It's getting crazy with these crashes. The app works fine on the three phones I've got for testing but it still manages to crash on other phones.
I've got the same crash report from several different users, thank you for that. I've just uploaded a small update that hopefully solves the crashes for temperatures.
Re: Android app
Posted: Sunday 05 January 2014 19:15
by wizzard72
Nice clean app. I use it every day. On my galaxy S2 and Asus transformer the app crashes when I rotate the device. Also when I start a scene that dim my lights, the section Switches is not updated always. It updates only when the dimmer is at 100 percent. If a start a scene with 50% dimmed lights, the Switch section shows that the dimmers are off, but they are actually on at 50%
Re: Android app
Posted: Sunday 05 January 2014 19:22
by supergroover
sebas wrote:Sappien wrote:I like your app, but it still crashing when opening the temperature section
It's getting crazy with these crashes. The app works fine on the three phones I've got for testing but it still manages to crash on other phones.
I've got the same crash report from several different users, thank you for that. I've just uploaded a small update that hopefully solves the crashes for temperatures.
I just installed the latest update( the second update from today) but the app is still crashing when I open the temperature tab on my HTC one S with android 4.2.2 (MaximusHD 10.0 Rom)
Re: Android app
Posted: Sunday 05 January 2014 19:25
by Sappien
On my LG G2 with Cyanogenmod 11.0 (Android 4.4.2) en my Sony Ericsson M (4.2) same issue
Re: Android app
Posted: Sunday 05 January 2014 19:40
by sebas
wizzard72 wrote:Nice clean app. I use it every day. On my galaxy S2 and Asus transformer the app crashes when I rotate the device. Also when I start a scene that dim my lights, the section Switches is not updated always. It updates only when the dimmer is at 100 percent. If a start a scene with 50% dimmed lights, the Switch section shows that the dimmers are off, but they are actually on at 50%
I'll have a look at the dimmers.
@supergroover and @Sappien: could you send me the output of: http://[domoticz url]:[domoticz port]/json.htm?type=devices&filter=temp&used=true&order=Name. Maybe it has to do with the output Domoticz gives. The other screens are working for you?
Re: Android app
Posted: Sunday 05 January 2014 22:20
by wizzard72
sebas wrote:wizzard72 wrote:Nice clean app. I use it every day. On my galaxy S2 and Asus transformer the app crashes when I rotate the device. Also when I start a scene that dim my lights, the section Switches is not updated always. It updates only when the dimmer is at 100 percent. If a start a scene with 50% dimmed lights, the Switch section shows that the dimmers are off, but they are actually on at 50%
I'll have a look at the dimmers.
@supergroover and @Sappien: could you send me the output of: http://[domoticz url]:[domoticz port]/json.htm?type=devices&filter=temp&used=true&order=Name. Maybe it has to do with the output Domoticz gives. The other screens are working for you?
The temperature section crashes the app. The other screens works great.
The app has the ability now to connect to domoticz through LAN and WAN. This is done by exposing domoticz directly to the internet (port forwarding on the internet router). This isn't what I have in mind. I already setup (open)VPN. The app is working with VPN, but i have to start it manually. Is it possible to make a VPN connection directly from within the app depending on which SSID I'm connected?
Re: Android app
Posted: Monday 06 January 2014 8:37
by sebas
wizzard72 wrote:sebas wrote:wizzard72 wrote:Nice clean app. I use it every day. On my galaxy S2 and Asus transformer the app crashes when I rotate the device. Also when I start a scene that dim my lights, the section Switches is not updated always. It updates only when the dimmer is at 100 percent. If a start a scene with 50% dimmed lights, the Switch section shows that the dimmers are off, but they are actually on at 50%
I'll have a look at the dimmers.
@supergroover and @Sappien: could you send me the output of: http://[domoticz url]:[domoticz port]/json.htm?type=devices&filter=temp&used=true&order=Name. Maybe it has to do with the output Domoticz gives. The other screens are working for you?
The temperature section crashes the app. The other screens works great.
The app has the ability now to connect to domoticz through LAN and WAN. This is done by exposing domoticz directly to the internet (port forwarding on the internet router). This isn't what I have in mind. I already setup (open)VPN. The app is working with VPN, but i have to start it manually. Is it possible to make a VPN connection directly from within the app depending on which SSID I'm connected?
To be honest I have no idea

I'll have to see what's possible and if Android apps are allowed to start a VPN connection. I have planned to support the client certificate option to secure the access to Domoticz. That's more secure than the username & password option and should be doable based on the research I've done so far.
Re: Sv: Android app
Posted: Monday 06 January 2014 19:00
by odbro
Hello i have some problems with the app. When a lamp is turned on by the original switch the app is not recognize this but when I log in at pi:8080 it's there

It's not always like this :/