'Dromotica' app for controlling Domoticz from Android

Moderator: leecollings

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 »

Ok, it seems the forum is stil buggy. Two posts I just added and one from brutus are gone.
blackstrider
Posts: 2
Joined: Friday 21 November 2014 15:38
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Android app

Post by blackstrider »

This might sound a bit of gimmick, what about voices control to show off to our friend and family plus apple fan boys.
ThinkPad
Posts: 890
Joined: Tuesday 30 September 2014 8:49
Target OS: Linux
Domoticz version: beta
Location: The Netherlands
Contact:

Re: Android app

Post by ThinkPad »

Some wishes/ideas:
- Option to hide battery level, i see a lot of '255' but i don't have any device running on battery :lol:
- Be able to check log of switch
- Make a view/menu option to only list some favorite switches, instead of the whole list
- Maybe do something with green and red for on/off state of switches? I understand that blue is more in line with the GUI, but using green/red for a switch makes it immediately clear for someone what the state of a switch is.
- When i have the app open, and press home button, and then open the app again, the list of switches/scenes/whatever stays white, i have to click that menu item again to reload it. Maybe force a reload when app is opened?

And a question: I have geofencing enabled. I left my home this morning, and i see in the log of my virtual switch for my phone that it went off, like it should. However, a few minutes later it turned on, while i am at my work. This is unwanted, because my central heating kicks in, however nobody is home. How can i make the geofencing more reliable/stable to prevent this unwanted on/off/on scenario?
Image
I left my home at 07:23, and returned at 16:10.. I turned the switch off by hand at 08:16
I am not active on this forum anymore.
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 »

That's odd. Do you get the notification that the geofence was triggered?

Narrowing down the radius of the geofence will increase the reliability. Android will trigger the geofence when it's 100% sure that you transitioned in or out of the geofence. When it's locating you using GPS it's very precise but when using cell towers it is very unreliable. Your location may then be off by 1,5 kilometer. If you have a large radius it's easy to transition in and out of it when using cell towers for determining the location.

During testing I noticed when I set a 500m radius I'm transitioning out of the geofence I setup around my home while I was sitting on the couch. Narrowing that down made that go away.
User avatar
Brutus
Posts: 249
Joined: Friday 26 September 2014 9:33
Target OS: Windows
Domoticz version:
Location: Netherlands
Contact:

Re: Android app

Post by Brutus »

Sebastiaan...

The Dashboard is imported!!! :D Nice :D Looking good thnx for yet another nice and usefull update ;)

Greetings Brutus.
1x Intel NUC8i5BEK (Windows 10 x64) Domoticz on Virtualbox with DietPi.
1x Aeon Labs USB Z-Stick S2
1x P1 Smart Meter USB
28x Fibaro Modules
SMA Solar System
Daikin Airco / Heating
Denon DHT-S716H & DSW-1H
Schim57300
Posts: 27
Joined: Thursday 31 July 2014 13:14
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Location: France
Contact:

Re: Android app

Post by Schim57300 »

Brutus wrote: The Dashboard is imported!!! :D Nice
Yes Great ! Thank you very much
Eric

Raspberry 3b+
Debian GNU/Linux 11 (bullseye)
Mobile App : Home made progressive web app
RFXTrx433E transceiver (for my RTS devices)
Somfy Tahoma Switch (for my IO devices)
Aeon Labs Z-Stick S2
Derik
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

Post by Derik »

SEBAS..

Very NICE update!!!!!
A option to choose the rooms....
And you got 5 stars.....

Can i give you a donotion without the playstore options, and then a lifetime license? :roll: :roll:
Better for you...??
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
thorbj
Posts: 113
Joined: Thursday 20 November 2014 22:11
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Norway
Contact:

Re: Android app

Post by thorbj »

Hi, first: Thank you for a great app!

But I have an issue with the Dromotica app.
When I'm in the app, and my phone's screen times out, the apps "pages" like Dashbord, Switches, etc. it blank when I activate the phone again. Same issue if I press "home" button on my phone, and then open the app again.
I need to manually close the app using "recent apps", and then start the app again to get back my devices in the different "pages".
Is this a known issue, or is it just me?
This is how it should look
This is how it should look
screenshot1.jpg (44.11 KiB) Viewed 5105 times
This is how it looks after screen timeout, or switching to an other app.
This is how it looks after screen timeout, or switching to an other app.
screenshot2.jpg (25.7 KiB) Viewed 5105 times
I need to swipe to close the app, and then start it again.
I need to swipe to close the app, and then start it again.
screenshot3.jpg (48.99 KiB) Viewed 5105 times
2xRaspberry Pi Model 2 w/RaZberry z-wave chip (master/slave)|Fibaro Wall Plug|Fibaro Universal Dimmer 500W|Aeon Labs Multisensor|RFXtrx433E|Nexa WMR-1000|Nexa Pe-3|Nexa Remote|Nexa LGDR3500|Lightify Gateway|Lightify RGBW bulb
User avatar
Brutus
Posts: 249
Joined: Friday 26 September 2014 9:33
Target OS: Windows
Domoticz version:
Location: Netherlands
Contact:

Re: Android app

Post by Brutus »

I noticed this problem to. When you close the app with the home button and reopen the app at a later time you get a white screen.
When you select the back button you get back to your previous selection (switches, utility, etc). So I preffer the use of the home button.

Greetings Brutus.
1x Intel NUC8i5BEK (Windows 10 x64) Domoticz on Virtualbox with DietPi.
1x Aeon Labs USB Z-Stick S2
1x P1 Smart Meter USB
28x Fibaro Modules
SMA Solar System
Daikin Airco / Heating
Denon DHT-S716H & DSW-1H
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 »

eborn wrote:Just out of curiosity: is this a native app, of is it build with something like Cordova?
It's a native app.
Derik wrote:SEBAS..

Very NICE update!!!!!
A option to choose the rooms....
And you got 5 stars.....

Can i give you a donotion without the playstore options, and then a lifetime license? :roll: :roll:
Better for you...??
There's a donate button at the bottom of this page. However for the premium features to work you'll need to buy the in-app purchase. There's no way for me to handle the licenses some other way. The in-app purchase is a lifetime purchase you only need to buy once.

For notifications Domoticz will need to talk to Google Cloud Messaging. I think that's indeed a nice feature to have in Dromotica but it will require development in C in Domoticz itself. So, no promises on that front :-)

The bug with the empty screens I'll fix in a next update. That will take a bit before it's available as I'm working on a new feature that will also be included.
pezku
Posts: 4
Joined: Thursday 20 February 2014 14:06
Target OS: Windows
Domoticz version:
Contact:

Re: Android app

Post by pezku »

Hi, and thank you for the beautiful app!

I've noticed a small bug with geofences. Geofence entry action is executed if phone is rebooted while inside the geofence. I dont think this is the desired functionality.

Another great improvement would be having some kind of GUI for setting up the geofences (like in Tasker for example), where you can point a place on map and set the radius.

Just sharing some thoughts. Keep up the great 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 »

pezku wrote:Hi, and thank you for the beautiful app!

I've noticed a small bug with geofences. Geofence entry action is executed if phone is rebooted while inside the geofence. I dont think this is the desired functionality.

Another great improvement would be having some kind of GUI for setting up the geofences (like in Tasker for example), where you can point a place on map and set the radius.

Just sharing some thoughts. Keep up the great work!
Hi, the reboot is by design. When you reboot your phone all geofences stored on your device are lost and need to be recreated. Dromotica does this but when you are inside a geonfence when it is created Android will trigger it. The same will happen when you create a new geofence and you're inside it's radius. This is how Android works unfortunately.

A map view is a nice enhancement for geofence creation indeed.
Derik
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

Post by Derik »

Some one have a example of geofences.... :P
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
JurjenH
Posts: 2
Joined: Saturday 29 November 2014 17:18
Target OS: Linux
Domoticz version:
Contact:

Re: Android app

Post by JurjenH »

Hi good evening,

I'm trying to get Domoticz working on my samsung S4.
Unfortately i'm not so good with IP addresses and port forwarding and so on, so i want to ask for some help.

I really try to find a solution on the forum, but i couldn't find.
Please if i missed something just let me know.

This are my details:
Software computer: Domoticz (here everything is working)
Software phone: Dromotica
Hardware: RFXtrx (new version)
Modem: KPN Experia V8

My questions:
-Do i need to forward a port in my modem?
-What i exactly have to fill in at Domoticz / application?
-What i exactly have to fill in at Dromotica app
-How do i know which IP address and port i need?

Sorry for all those questions!
But already thanks for all you help in advance.

Regards,
User avatar
Brutus
Posts: 249
Joined: Friday 26 September 2014 9:33
Target OS: Windows
Domoticz version:
Location: Netherlands
Contact:

Re: Android app

Post by Brutus »

JurjenH wrote:Hi good evening,

I'm trying to get Domoticz working on my samsung S4.
Unfortately i'm not so good with IP addresses and port forwarding and so on, so i want to ask for some help.

I really try to find a solution on the forum, but i couldn't find.
Please if i missed something just let me know.

This are my details:
Software computer: Domoticz (here everything is working)
Software phone: Dromotica
Hardware: RFXtrx (new version)
Modem: KPN Experia V8

My questions:
-Do i need to forward a port in my modem?
-What i exactly have to fill in at Domoticz / application?
-What i exactly have to fill in at Dromotica app
-How do i know which IP address and port i need?

Sorry for all those questions!
But already thanks for all you help in advance.

Regards,
Hi there,

Hope you can something with these answers.

My questions:
-Do i need to forward a port in my modem?
Yes port 8080 to the IP address of your computer. (make it a Fixed IP address not DHCP).
-What i exactly have to fill in at Domoticz / application?
I mean nothing...
-What i exactly have to fill in at Dromotica app
You need the answer all the questions at "Remote Server Settings"
- Username and password you use to get in to the domoticz page.
- Domoticz URL: ip form your internet connection (see next question how you can find it).
- Domoticz port: 8080
- Secure: insecure
- Authentication method: Login form

-How do i know which IP address and port i need?
Port 8080 is used by domoticz. (look in the browser when you open Domoticz in your browser).To look up your Internet IP adress go to: www.watismijnip.nl and use the given IP adress in the app

Greetings Brutus.
1x Intel NUC8i5BEK (Windows 10 x64) Domoticz on Virtualbox with DietPi.
1x Aeon Labs USB Z-Stick S2
1x P1 Smart Meter USB
28x Fibaro Modules
SMA Solar System
Daikin Airco / Heating
Denon DHT-S716H & DSW-1H
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 »

When you forward port 8080 you'll be sending your username and password in plain text. Before opening ports to Domoticz I recommend you read the Wiki page on secure remote access first.
Derik wrote:Some one have a example of geofences.... :P
Turn on the heating at home when you leave work. Turn on the lights when you arrive at your home.
Derik
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

Post by Derik »

Derik wrote:Some one have a example of geofences.... :P

Turn on the heating at home when you leave work. Turn on the lights when you arrive at your home.
I mean some pictures from the settings.... ;) ;)
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
JurjenH
Posts: 2
Joined: Saturday 29 November 2014 17:18
Target OS: Linux
Domoticz version:
Contact:

Re: Android app

Post by JurjenH »

Brutus wrote:
JurjenH wrote:Hi good evening,

I'm trying to get Domoticz working on my samsung S4.
Unfortately i'm not so good with IP addresses and port forwarding and so on, so i want to ask for some help.

I really try to find a solution on the forum, but i couldn't find.
Please if i missed something just let me know.

This are my details:
Software computer: Domoticz (here everything is working)
Software phone: Dromotica
Hardware: RFXtrx (new version)
Modem: KPN Experia V8

My questions:
-Do i need to forward a port in my modem?
-What i exactly have to fill in at Domoticz / application?
-What i exactly have to fill in at Dromotica app
-How do i know which IP address and port i need?

Sorry for all those questions!
But already thanks for all you help in advance.

Regards,
Hi there,

Hope you can something with these answers.

My questions:
-Do i need to forward a port in my modem?
Yes port 8080 to the IP address of your computer. (make it a Fixed IP address not DHCP).
-What i exactly have to fill in at Domoticz / application?
I mean nothing...
-What i exactly have to fill in at Dromotica app
You need the answer all the questions at "Remote Server Settings"
- Username and password you use to get in to the domoticz page.
- Domoticz URL: ip form your internet connection (see next question how you can find it).
- Domoticz port: 8080
- Secure: insecure
- Authentication method: Login form

-How do i know which IP address and port i need?
Port 8080 is used by domoticz. (look in the browser when you open Domoticz in your browser).To look up your Internet IP adress go to: http://www.watismijnip.nl and use the given IP adress in the app

Greetings Brutus.
Hi Brutus,

Believe it or not but everything works.
Just start it up and everything was on my phone already.
I think i had to restart the modem yesterday and i didn't.........
Today i had short circuit in my house (testing coffeemachine) so after this all worked.
For this moment installed everything on my laptop with no fixed IP but that will change soon.
Thinking for normal computer or Raspberry B+........

Thanks for you help and up to the next question!

Regards
User avatar
Brutus
Posts: 249
Joined: Friday 26 September 2014 9:33
Target OS: Windows
Domoticz version:
Location: Netherlands
Contact:

Re: Android app

Post by Brutus »

Hi JurjenH

Nice to hear it all works. The Raspberry Pi for using domoticz is a recommendation. I use it my self and its a very nice piece of hardware, and for me important very low on power usage.

Greetings Brutus.
1x Intel NUC8i5BEK (Windows 10 x64) Domoticz on Virtualbox with DietPi.
1x Aeon Labs USB Z-Stick S2
1x P1 Smart Meter USB
28x Fibaro Modules
SMA Solar System
Daikin Airco / Heating
Denon DHT-S716H & DSW-1H
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 »

Hi Sebas,

Please can you fix the essent thermostat?
I can't read the values when setting the temperature. the values are grey on white.
plus not correct. when I choose a random one. nothing change.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest