Page 8 of 26

Re: Domoticz App

Posted: Monday 31 July 2017 10:18
by marcotrumpet
galadril wrote:you could do that if you like.
There are little things to fix.. tell me how to do that or I can write you what and were


Inviato dal mio iPhone utilizzando Tapatalk

Re: Domoticz App

Posted: Monday 31 July 2017 10:21
by galadril
marcotrumpet wrote:
galadril wrote:you could do that if you like.
There are little things to fix.. tell me how to do that or I can write you what and were
We've a crowdin project for managing translations for both mobile apps:
https://crowdin.com/project/domoticz-for-android

Re: Domoticz App

Posted: Monday 31 July 2017 10:30
by bdormael
Great version so far, few minor suggestions (apologies if already suggested before):
- more slim version of dashboard (smaller boxes, less scrolling)
- show temperature also on right side in case of temp sensors
- handle set points like dimmers for setting temp (no free text box but like how dimmers work now)
- for multi select switches or sec panel, make a separation between the selections and ‘favorite’ as it looks now that this is a selection as well
- ultimately an iPad version as well (make use of screen estate)


Verzonden vanaf mijn iPad met Tapatalk

Re: Domoticz App

Posted: Monday 31 July 2017 11:49
by galadril
Thanks for the feedback.
BTW i've also updated first post with all new screenshots.

Ill add 5 more beta testers end of this week...

Re: Domoticz App

Posted: Monday 31 July 2017 13:11
by marcotrumpet
galadril wrote:
marcotrumpet wrote:
galadril wrote:you could do that if you like.
There are little things to fix.. tell me how to do that or I can write you what and were
We've a crowdin project for managing translations for both mobile apps:
https://crowdin.com/project/domoticz-for-android
Image
Can't find the talk back string in crowding



Inviato dal mio iPhone utilizzando Tapatalk

Re: Domoticz App

Posted: Monday 31 July 2017 16:18
by bdormael
Maybe one more thing:
All sensors are now shown as ON or OFF on the right side, it would be nice if it shows OPEN or CLOSED in case of contact sensors


Verzonden vanaf mijn iPad met Tapatalk

Re: Domoticz App

Posted: Monday 31 July 2017 16:21
by galadril
ill see what i can do

Re: Domoticz App

Posted: Monday 31 July 2017 16:32
by tequila
Hey,

I am still having this weird and very annoing issue with actions being executed several times from the app.
From my experience this only happens with sripts that require some time (a couple of seconds) to run.

For example, I have a push on button defined that triggers 3 scripts.
When I use the button from Domoticz web interface, everything runs as expected - each of the 3 scripts is executed once; I receive 3 reports (each of the 3 scripts sends a report).
If I use the same button from the app, the log says I initiated the push 6 times!
And indeed, I am getting 18 (6*3) reports.

Re: Domoticz App

Posted: Monday 31 July 2017 17:04
by galadril
tequila wrote:Hey,

I am still having this weird and very annoing issue with actions being executed several times from the app.
From my experience this only happens with sripts that require some time (a couple of seconds) to run.

For example, I have a push on button defined that triggers 3 scripts.
When I use the button from Domoticz web interface, everything runs as expected - each of the 3 scripts is executed once; I receive 3 reports (each of the 3 scripts sends a report).
If I use the same button from the app, the log says I initiated the push 6 times!
And indeed, I am getting 18 (6*3) reports.

Can you see with the new debugging panel (under settings screen) if the action is also triggered multiple times from the app??
Because else it's probably a domoticz system issue (api maybe)

Re: Domoticz App

Posted: Monday 31 July 2017 17:22
by galadril
marcotrumpet wrote: Can't find the talk back string in crowding
It's there, under the settings translations:
https://crowdin.com/translate/domoticz- ... -it#q=talk

Re: Domoticz App

Posted: Monday 31 July 2017 17:25
by marcotrumpet
galadril wrote:
marcotrumpet wrote: Can't find the talk back string in crowding
It's there, under the settings translations:
https://crowdin.com/translate/domoticz- ... -it#q=talk
There is the right translation. Vote up the right one and down the other one now in use..


Inviato dal mio iPhone utilizzando Tapatalk

Re: Domoticz App

Posted: Tuesday 01 August 2017 8:17
by tequila
galadril wrote:
tequila wrote:Hey,

I am still having this weird and very annoing issue with actions being executed several times from the app.
From my experience this only happens with sripts that require some time (a couple of seconds) to run.

For example, I have a push on button defined that triggers 3 scripts.
When I use the button from Domoticz web interface, everything runs as expected - each of the 3 scripts is executed once; I receive 3 reports (each of the 3 scripts sends a report).
If I use the same button from the app, the log says I initiated the push 6 times!
And indeed, I am getting 18 (6*3) reports.

Can you see with the new debugging panel (under settings screen) if the action is also triggered multiple times from the app??
Because else it's probably a domoticz system issue (api maybe)
I am getting:

onButtonClick
set idx XX to ON

and I have been receiving all reports again and again unless
com.android.volley.TimeOutError appears.

So no, the debug doesn't show I would be pressing the button several times, but all reports are being sent until the above timeout error appears.

Re: Domoticz App

Posted: Tuesday 01 August 2017 8:36
by galadril
tequila wrote:I am getting:
onButtonClick
set idx XX to ON


and I have been receiving all reports again and again unless
com.android.volley.TimeOutError appears.


So no, the debug doesn't show I would be pressing the button several times, but all reports are being sent until the above timeout error appears.
I would guess that it's an domoticz / api issue, because the event only fire once in the app. So that one api call of me, internally in domoticz has issues with your script.

Maybe some of the domoticz dev's can assist you on that :(

Re: Domoticz App

Posted: Tuesday 01 August 2017 8:50
by tequila
okay, I understand. thanks mate.

Re: Domoticz App

Posted: Tuesday 01 August 2017 9:31
by bdormael
Maybe a stupid question:
How do I enable notifications to work with the iOS app?
- I’ve enabled them in your app
- I’ve enabled gcm in Domoticz web app
- I’ve added a notification on a switch and enabled all

Now I don’t see any notifications coming on my iPhone

Sorry if this is a stupid question


Verzonden vanaf mijn iPad met Tapatalk

Re: Domoticz App

Posted: Tuesday 01 August 2017 9:35
by galadril
bdormael wrote:Maybe a stupid question:
How do I enable notifications to work with the iOS app?
Sorry if this is a stupid questionk
This is not a stupid question..

1) You need the latest beta version of domoticz system!!! (them made changes to gcm/notifications for ios)
2) Enable GCM notifications on settings in domoticz system.
3) Open the app iPhone, check if notifications is enabled on the app.
4) The app should register itself automaticly on Domoticz, so with the latest beta you have a new settings screen called 'Mobile Devices' under more options, you should see your device registered there
5) Try a notification on a test switch with gcm enabled.

it should work.. if not, enable debugging on the debug panel in the app.. and we'll see what happens..

Re: Domoticz App

Posted: Tuesday 01 August 2017 9:54
by bdormael
galadril wrote:
bdormael wrote:Maybe a stupid question:
How do I enable notifications to work with the iOS app?
Sorry if this is a stupid questionk
This is not a stupid question..

1) You need the latest beta version of domoticz system!!! (them made changes to gcm/notifications for ios)
2) Enable GCM notifications on settings in domoticz system.
3) Open the app iPhone, check if notifications is enabled on the app.
4) The app should register itself automaticly on Domoticz, so with the latest beta you have a new settings screen called 'Mobile Devices' under more options, you should see your device registered there
5) Try a notification on a test switch with gcm enabled.

it should work.. if not, enable debugging on the debug panel in the app.. and we'll see what happens..
Cool, thx for the swift answer, working fine now (without sound)


Verzonden vanaf mijn iPad met Tapatalk

Re: Domoticz App

Posted: Tuesday 01 August 2017 16:03
by tequila
galadril wrote:
tequila wrote:I am getting:
onButtonClick
set idx XX to ON


and I have been receiving all reports again and again unless
com.android.volley.TimeOutError appears.


So no, the debug doesn't show I would be pressing the button several times, but all reports are being sent until the above timeout error appears.
I would guess that it's an domoticz / api issue, because the event only fire once in the app. So that one api call of me, internally in domoticz has issues with your script.

Maybe some of the domoticz dev's can assist you on that :(
Perhaps a stupid question - how do you actually call that action? I assumed that the domoticz app is based on json url commands.
I wanted to open an ticket in Git but when I do following:

Code: Select all

curl 'http://USER:PASS@IP:PORT/json.htm?type=command&param=switchlight&idx=39&switchcmd=On'
It works as expected. So the domoticz app must be using something different than I thought it does.

In conclusion, I am not sure how to report that issue:-)

Cheers.

Re: Domoticz App

Posted: Tuesday 01 August 2017 17:03
by galadril
tequila wrote: In conclusion, I am not sure how to report that issue:-)

Cheers.
Maybe it'll improve if i make the timeout period longer on the data calls in the app......

Re: Domoticz App

Posted: Tuesday 01 August 2017 17:05
by galadril
bdormael wrote:- handle set points like dimmers for setting temp (no free text box but like how dimmers work now)
Ill have an improvement on set points for the next release with a minus+add button... for now